ReactOS  0.4.14-dev-293-g2b39b42
utprint.c File Reference
#include "acpi.h"
#include "accommon.h"
Include dependency graph for utprint.c:

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_UTILITIES
 
#define ACPI_FORMAT_SIGN   0x01
 
#define ACPI_FORMAT_SIGN_PLUS   0x02
 
#define ACPI_FORMAT_SIGN_PLUS_SPACE   0x04
 
#define ACPI_FORMAT_ZERO   0x08
 
#define ACPI_FORMAT_LEFT   0x10
 
#define ACPI_FORMAT_UPPER   0x20
 
#define ACPI_FORMAT_PREFIX   0x40
 

Functions

static ACPI_SIZE AcpiUtBoundStringLength (const char *String, ACPI_SIZE Count)
 
static charAcpiUtBoundStringOutput (char *String, const char *End, char c)
 
static charAcpiUtFormatNumber (char *String, char *End, UINT64 Number, UINT8 Base, INT32 Width, INT32 Precision, UINT8 Type)
 
static charAcpiUtPutNumber (char *String, UINT64 Number, UINT8 Base, BOOLEAN Upper)
 
const charAcpiUtScanNumber (const char *String, UINT64 *NumberPtr)
 
const charAcpiUtPrintNumber (char *String, UINT64 Number)
 
int vsnprintf (char *String, ACPI_SIZE Size, const char *Format, va_list Args)
 
int snprintf (char *String, ACPI_SIZE Size, const char *Format,...)
 
int sprintf (char *String, const char *Format,...)
 

Macro Definition Documentation

◆ _COMPONENT

#define _COMPONENT   ACPI_UTILITIES

Definition at line 47 of file utprint.c.

◆ ACPI_FORMAT_LEFT

#define ACPI_FORMAT_LEFT   0x10

Definition at line 55 of file utprint.c.

◆ ACPI_FORMAT_PREFIX

#define ACPI_FORMAT_PREFIX   0x40

Definition at line 57 of file utprint.c.

◆ ACPI_FORMAT_SIGN

#define ACPI_FORMAT_SIGN   0x01

Definition at line 51 of file utprint.c.

◆ ACPI_FORMAT_SIGN_PLUS

#define ACPI_FORMAT_SIGN_PLUS   0x02

Definition at line 52 of file utprint.c.

◆ ACPI_FORMAT_SIGN_PLUS_SPACE

#define ACPI_FORMAT_SIGN_PLUS_SPACE   0x04

Definition at line 53 of file utprint.c.

◆ ACPI_FORMAT_UPPER

#define ACPI_FORMAT_UPPER   0x20

Definition at line 56 of file utprint.c.

◆ ACPI_FORMAT_ZERO

#define ACPI_FORMAT_ZERO   0x08

Definition at line 54 of file utprint.c.

Function Documentation

◆ AcpiUtBoundStringLength()

static ACPI_SIZE AcpiUtBoundStringLength ( const char String,
ACPI_SIZE  Count 
)
static

Definition at line 105 of file utprint.c.

108 {
109  UINT32 Length = 0;
110 
111 
112  while (*String && Count)
113  {
114  Length++;
115  String++;
116  Count--;
117  }
118 
119  return (Length);
120 }
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
static WCHAR String[]
Definition: stringtable.c:55
unsigned int UINT32
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101

Referenced by vsnprintf().

◆ AcpiUtBoundStringOutput()

static char * AcpiUtBoundStringOutput ( char String,
const char End,
char  c 
)
static

Definition at line 138 of file utprint.c.

142 {
143 
144  if (String < End)
145  {
146  *String = c;
147  }
148 
149  ++String;
150  return (String);
151 }
static WCHAR String[]
Definition: stringtable.c:55
#define c
Definition: ke_i.h:80

Referenced by AcpiUtFormatNumber(), and vsnprintf().

◆ AcpiUtFormatNumber()

static char * AcpiUtFormatNumber ( char String,
char End,
UINT64  Number,
UINT8  Base,
INT32  Width,
INT32  Precision,
UINT8  Type 
)
static

Definition at line 290 of file utprint.c.

298 {
299  char *Pos;
300  char Sign;
301  char Zero;
302  BOOLEAN NeedPrefix;
303  BOOLEAN Upper;
304  INT32 i;
305  char ReversedString[66];
306 
307 
308  /* Parameter validation */
309 
310  if (Base < 2 || Base > 16)
311  {
312  return (NULL);
313  }
314 
315  if (Type & ACPI_FORMAT_LEFT)
316  {
318  }
319 
320  NeedPrefix = ((Type & ACPI_FORMAT_PREFIX) && Base != 10) ? TRUE : FALSE;
321  Upper = (Type & ACPI_FORMAT_UPPER) ? TRUE : FALSE;
322  Zero = (Type & ACPI_FORMAT_ZERO) ? '0' : ' ';
323 
324  /* Calculate size according to sign and prefix */
325 
326  Sign = '\0';
327  if (Type & ACPI_FORMAT_SIGN)
328  {
329  if ((INT64) Number < 0)
330  {
331  Sign = '-';
332  Number = - (INT64) Number;
333  Width--;
334  }
335  else if (Type & ACPI_FORMAT_SIGN_PLUS)
336  {
337  Sign = '+';
338  Width--;
339  }
341  {
342  Sign = ' ';
343  Width--;
344  }
345  }
346  if (NeedPrefix)
347  {
348  Width--;
349  if (Base == 16)
350  {
351  Width--;
352  }
353  }
354 
355  /* Generate full string in reverse order */
356 
357  Pos = AcpiUtPutNumber (ReversedString, Number, Base, Upper);
358  i = (INT32) ACPI_PTR_DIFF (Pos, ReversedString);
359 
360  /* Printing 100 using %2d gives "100", not "00" */
361 
362  if (i > Precision)
363  {
364  Precision = i;
365  }
366 
367  Width -= Precision;
368 
369  /* Output the string */
370 
372  {
373  while (--Width >= 0)
374  {
375  String = AcpiUtBoundStringOutput (String, End, ' ');
376  }
377  }
378  if (Sign)
379  {
381  }
382  if (NeedPrefix)
383  {
384  String = AcpiUtBoundStringOutput (String, End, '0');
385  if (Base == 16)
386  {
388  String, End, Upper ? 'X' : 'x');
389  }
390  }
391  if (!(Type & ACPI_FORMAT_LEFT))
392  {
393  while (--Width >= 0)
394  {
396  }
397  }
398 
399  while (i <= --Precision)
400  {
401  String = AcpiUtBoundStringOutput (String, End, '0');
402  }
403  while (--i >= 0)
404  {
406  ReversedString[i]);
407  }
408  while (--Width >= 0)
409  {
410  String = AcpiUtBoundStringOutput (String, End, ' ');
411  }
412 
413  return (String);
414 }
#define ACPI_FORMAT_PREFIX
Definition: utprint.c:57
#define ACPI_FORMAT_LEFT
Definition: utprint.c:55
#define TRUE
Definition: types.h:120
Type
Definition: Type.h:6
static char * AcpiUtBoundStringOutput(char *String, const char *End, char c)
Definition: utprint.c:138
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2343
ush Pos
Definition: deflate.h:92
#define ACPI_PTR_DIFF(a, b)
Definition: actypes.h:548
Definition: msg.c:1064
static WCHAR String[]
Definition: stringtable.c:55
static char * AcpiUtPutNumber(char *String, UINT64 Number, UINT8 Base, BOOLEAN Upper)
Definition: utprint.c:171
#define ACPI_FORMAT_SIGN_PLUS
Definition: utprint.c:52
#define ACPI_FORMAT_SIGN
Definition: utprint.c:51
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
unsigned char BOOLEAN
smooth NULL
Definition: ftsmooth.c:416
signed long long INT64
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
#define ACPI_FORMAT_SIGN_PLUS_SPACE
Definition: utprint.c:53
IN PVCB IN VBO IN ULONG OUT PBCB OUT PVOID IN BOOLEAN IN BOOLEAN Zero
Definition: fatprocs.h:402
signed int INT32
#define ACPI_FORMAT_UPPER
Definition: utprint.c:56
#define ACPI_FORMAT_ZERO
Definition: utprint.c:54

Referenced by vsnprintf().

◆ AcpiUtPrintNumber()

const char* AcpiUtPrintNumber ( char String,
UINT64  Number 
)

Definition at line 249 of file utprint.c.

252 {
253  char AsciiString[20];
254  const char *Pos1;
255  char *Pos2;
256 
257 
258  Pos1 = AcpiUtPutNumber (AsciiString, Number, 10, FALSE);
259  Pos2 = String;
260 
261  while (Pos1 != AsciiString)
262  {
263  *(Pos2++) = *(--Pos1);
264  }
265 
266  *Pos2 = 0;
267  return (String);
268 }
static WCHAR String[]
Definition: stringtable.c:55
static char * AcpiUtPutNumber(char *String, UINT64 Number, UINT8 Base, BOOLEAN Upper)
Definition: utprint.c:171
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204

◆ AcpiUtPutNumber()

static char * AcpiUtPutNumber ( char String,
UINT64  Number,
UINT8  Base,
BOOLEAN  Upper 
)
static

Definition at line 171 of file utprint.c.

176 {
177  const char *Digits;
178  UINT64 DigitIndex;
179  char *Pos;
180 
181 
182  Pos = String;
184 
185  if (Number == 0)
186  {
187  *(Pos++) = '0';
188  }
189  else
190  {
191  while (Number)
192  {
193  (void) AcpiUtDivide (Number, Base, &Number, &DigitIndex);
194  *(Pos++) = Digits[DigitIndex];
195  }
196  }
197 
198  /* *(Pos++) = '0'; */
199  return (Pos);
200 }
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
const char AcpiGbl_UpperHexDigits[]
Definition: utglobal.c:93
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2343
ush Pos
Definition: deflate.h:92
static WCHAR String[]
Definition: stringtable.c:55
const char AcpiGbl_LowerHexDigits[]
Definition: utglobal.c:92
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
unsigned long long UINT64
ACPI_STATUS AcpiUtDivide(UINT64 InDividend, UINT64 InDivisor, UINT64 *OutQuotient, UINT64 *OutRemainder)
Definition: utmath.c:402

Referenced by AcpiUtFormatNumber(), and AcpiUtPrintNumber().

◆ AcpiUtScanNumber()

const char* AcpiUtScanNumber ( const char String,
UINT64 NumberPtr 
)

Definition at line 217 of file utprint.c.

220 {
221  UINT64 Number = 0;
222 
223 
224  while (isdigit ((int) *String))
225  {
227  Number += *(String++) - '0';
228  }
229 
230  *NumberPtr = Number;
231  return (String);
232 }
ACPI_STATUS AcpiUtShortMultiply(UINT64 InMultiplicand, UINT32 Multiplier, UINT64 *Outproduct)
Definition: utmath.c:88
static WCHAR String[]
Definition: stringtable.c:55
#define isdigit(c)
Definition: acclib.h:68
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
unsigned long long UINT64

Referenced by vsnprintf().

◆ snprintf()

int snprintf ( char String,
ACPI_SIZE  Size,
const char Format,
  ... 
)

Definition at line 730 of file utprint.c.

735 {
736  va_list Args;
737  int Length;
738 
739 
740  va_start (Args, Format);
742  va_end (Args);
743 
744  return (Length);
745 }
int vsnprintf(char *String, ACPI_SIZE Size, const char *Format, va_list Args)
Definition: utprint.c:433
static WCHAR String[]
Definition: stringtable.c:55
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
char ** Args
Definition: acdebug.h:343
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
#define va_start(ap, A)
Definition: acmsvcex.h:91

◆ sprintf()

int sprintf ( char String,
const char Format,
  ... 
)

Definition at line 762 of file utprint.c.

766 {
767  va_list Args;
768  int Length;
769 
770 
771  va_start (Args, Format);
773  va_end (Args);
774 
775  return (Length);
776 }
int vsnprintf(char *String, ACPI_SIZE Size, const char *Format, va_list Args)
Definition: utprint.c:433
static WCHAR String[]
Definition: stringtable.c:55
#define va_end(ap)
Definition: acmsvcex.h:90
char * va_list
Definition: acmsvcex.h:78
char ** Args
Definition: acdebug.h:343
#define ACPI_UINT32_MAX
Definition: actypes.h:66
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define va_start(ap, A)
Definition: acmsvcex.h:91

◆ vsnprintf()

int vsnprintf ( char String,
ACPI_SIZE  Size,
const char Format,
va_list  Args 
)

Definition at line 433 of file utprint.c.

438 {
439  UINT8 Base;
440  UINT8 Type;
441  INT32 Width;
442  INT32 Precision;
443  char Qualifier;
444  UINT64 Number;
445  char *Pos;
446  char *End;
447  char c;
448  const char *s;
449  const void *p;
450  INT32 Length;
451  int i;
452 
453 
454  Pos = String;
455  End = String + Size;
456 
457  for (; *Format; ++Format)
458  {
459  if (*Format != '%')
460  {
462  continue;
463  }
464 
465  Type = 0;
466  Base = 10;
467 
468  /* Process sign */
469 
470  do
471  {
472  ++Format;
473  if (*Format == '#')
474  {
476  }
477  else if (*Format == '0')
478  {
480  }
481  else if (*Format == '+')
482  {
484  }
485  else if (*Format == ' ')
486  {
488  }
489  else if (*Format == '-')
490  {
492  }
493  else
494  {
495  break;
496  }
497 
498  } while (1);
499 
500  /* Process width */
501 
502  Width = -1;
503  if (isdigit ((int) *Format))
504  {
506  Width = (INT32) Number;
507  }
508  else if (*Format == '*')
509  {
510  ++Format;
511  Width = va_arg (Args, int);
512  if (Width < 0)
513  {
514  Width = -Width;
516  }
517  }
518 
519  /* Process precision */
520 
521  Precision = -1;
522  if (*Format == '.')
523  {
524  ++Format;
525  if (isdigit ((int) *Format))
526  {
528  Precision = (INT32) Number;
529  }
530  else if (*Format == '*')
531  {
532  ++Format;
533  Precision = va_arg (Args, int);
534  }
535 
536  if (Precision < 0)
537  {
538  Precision = 0;
539  }
540  }
541 
542  /* Process qualifier */
543 
544  Qualifier = -1;
545  if (*Format == 'h' || *Format == 'l' || *Format == 'L')
546  {
547  Qualifier = *Format;
548  ++Format;
549 
550  if (Qualifier == 'l' && *Format == 'l')
551  {
552  Qualifier = 'L';
553  ++Format;
554  }
555  }
556 
557  switch (*Format)
558  {
559  case '%':
560 
561  Pos = AcpiUtBoundStringOutput (Pos, End, '%');
562  continue;
563 
564  case 'c':
565 
566  if (!(Type & ACPI_FORMAT_LEFT))
567  {
568  while (--Width > 0)
569  {
570  Pos = AcpiUtBoundStringOutput (Pos, End, ' ');
571  }
572  }
573 
574  c = (char) va_arg (Args, int);
575  Pos = AcpiUtBoundStringOutput (Pos, End, c);
576 
577  while (--Width > 0)
578  {
579  Pos = AcpiUtBoundStringOutput (Pos, End, ' ');
580  }
581  continue;
582 
583  case 's':
584 
585  s = va_arg (Args, char *);
586  if (!s)
587  {
588  s = "<NULL>";
589  }
590  Length = (INT32) AcpiUtBoundStringLength (s, Precision);
591  if (!(Type & ACPI_FORMAT_LEFT))
592  {
593  while (Length < Width--)
594  {
595  Pos = AcpiUtBoundStringOutput (Pos, End, ' ');
596  }
597  }
598 
599  for (i = 0; i < Length; ++i)
600  {
601  Pos = AcpiUtBoundStringOutput (Pos, End, *s);
602  ++s;
603  }
604 
605  while (Length < Width--)
606  {
607  Pos = AcpiUtBoundStringOutput (Pos, End, ' ');
608  }
609  continue;
610 
611  case 'o':
612 
613  Base = 8;
614  break;
615 
616  case 'X':
617 
619  /* FALLTHROUGH */
620 
621  case 'x':
622 
623  Base = 16;
624  break;
625 
626  case 'd':
627  case 'i':
628 
630 
631  case 'u':
632 
633  break;
634 
635  case 'p':
636 
637  if (Width == -1)
638  {
639  Width = 2 * sizeof (void *);
641  }
642 
643  p = va_arg (Args, void *);
645  Pos, End, ACPI_TO_INTEGER (p), 16, Width, Precision, Type);
646  continue;
647 
648  default:
649 
650  Pos = AcpiUtBoundStringOutput (Pos, End, '%');
651  if (*Format)
652  {
654  }
655  else
656  {
657  --Format;
658  }
659  continue;
660  }
661 
662  if (Qualifier == 'L')
663  {
664  Number = va_arg (Args, UINT64);
665  if (Type & ACPI_FORMAT_SIGN)
666  {
667  Number = (INT64) Number;
668  }
669  }
670  else if (Qualifier == 'l')
671  {
672  Number = va_arg (Args, unsigned long);
673  if (Type & ACPI_FORMAT_SIGN)
674  {
675  Number = (INT32) Number;
676  }
677  }
678  else if (Qualifier == 'h')
679  {
680  Number = (UINT16) va_arg (Args, int);
681  if (Type & ACPI_FORMAT_SIGN)
682  {
683  Number = (INT16) Number;
684  }
685  }
686  else
687  {
688  Number = va_arg (Args, unsigned int);
689  if (Type & ACPI_FORMAT_SIGN)
690  {
691  Number = (signed int) Number;
692  }
693  }
694 
696  Width, Precision, Type);
697  }
698 
699  if (Size > 0)
700  {
701  if (Pos < End)
702  {
703  *Pos = '\0';
704  }
705  else
706  {
707  End[-1] = '\0';
708  }
709  }
710 
711  return ((int) ACPI_PTR_DIFF (Pos, String));
712 }
static ACPI_SIZE AcpiUtBoundStringLength(const char *String, ACPI_SIZE Count)
Definition: utprint.c:105
#define ACPI_TO_INTEGER(p)
Definition: actypes.h:553
#define ACPI_FORMAT_PREFIX
Definition: utprint.c:57
#define ACPI_FORMAT_LEFT
Definition: utprint.c:55
Type
Definition: Type.h:6
static char * AcpiUtBoundStringOutput(char *String, const char *End, char c)
Definition: utprint.c:138
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2343
ush Pos
Definition: deflate.h:92
#define ACPI_PTR_DIFF(a, b)
Definition: actypes.h:548
static WCHAR String[]
Definition: stringtable.c:55
#define ACPI_FORMAT_SIGN_PLUS
Definition: utprint.c:52
#define ACPI_FORMAT_SIGN
Definition: utprint.c:51
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
unsigned char
Definition: typeof.h:29
char ** Args
Definition: acdebug.h:343
#define isdigit(c)
Definition: acclib.h:68
const GLubyte * c
Definition: glext.h:8905
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
signed long long INT64
GLdouble s
Definition: gl.h:2039
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
Definition: ntpoapi.h:204
#define va_arg(ap, T)
Definition: acmsvcex.h:89
static char * AcpiUtFormatNumber(char *String, char *End, UINT64 Number, UINT8 Base, INT32 Width, INT32 Precision, UINT8 Type)
Definition: utprint.c:290
unsigned short UINT16
#define ACPI_FORMAT_SIGN_PLUS_SPACE
Definition: utprint.c:53
#define c
Definition: ke_i.h:80
signed int INT32
#define ACPI_FORMAT_UPPER
Definition: utprint.c:56
unsigned long long UINT64
GLfloat GLfloat p
Definition: glext.h:8902
unsigned char UINT8
#define ACPI_FORMAT_ZERO
Definition: utprint.c:54
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
const char * AcpiUtScanNumber(const char *String, UINT64 *NumberPtr)
Definition: utprint.c:217
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char * Format
Definition: acpixf.h:1206
signed short INT16

Referenced by snprintf(), and sprintf().