ReactOS  0.4.13-dev-241-g63286c6
utils.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VOID htoa (unsigned int, char *)
 
VOID strcpy_ (char *, const char *)
 
VOID strcpyw_ (wchar_t *, wchar_t *)
 

Function Documentation

◆ htoa()

VOID htoa ( unsigned int  ,
char  
)

Definition at line 10 of file utils.c.

11 {
12  int i;
13  buf += 7;
14 
15  for (i=0;i<8;i++)
16  {
17  *buf-- = hexvals[val & 0x0000000F];
18  val = val >> 4;
19  }
20 }
static const char hexvals[]
Definition: utils.c:9
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLuint GLfloat * val
Definition: glext.h:7180

Referenced by HandlePrintRect(), HandlePrintReturnHex(), and HandleSetHandlePrintHex().

◆ strcpy_()

VOID strcpy_ ( char ,
const char  
)

Definition at line 23 of file utils.c.

24 {
25  const char* p = src;
26  while ((*dst++ = *p++)) {}
27 }
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by HandleSetHandlePrintHex().

◆ strcpyw_()

VOID strcpyw_ ( wchar_t ,
wchar_t  
)

Definition at line 29 of file utils.c.

30 {
31  const wchar_t* p = src;
32  while ((*dst++ = *p++)) {}
33 }
GLenum src
Definition: glext.h:6340
GLenum GLenum dst
Definition: glext.h:6340
GLfloat GLfloat p
Definition: glext.h:8902

Referenced by HandleSetHandlePrintHex().