Home | History | Annotate | Download | only in utilities

Lines Matching refs:String

172     const char              *String,
177 char *String,
183 char *String,
193 char *String,
203 * PARAMETERS: String - String with boundary
204 * Count - Boundary of the string
206 * RETURN: Length of the string. Less than or equal to Count.
208 * DESCRIPTION: Calculate the length of a string with boundary.
214 const char *String,
220 while (*String && Count)
223 String++;
235 * PARAMETERS: String - String with boundary
236 * End - Boundary of the string
237 * c - Character to be output to the string
241 * DESCRIPTION: Output a character into a string with boundary check.
247 char *String,
252 if (String < End)
254 *String = c;
257 ++String;
258 return (String);
266 * PARAMETERS: String - Buffer to hold reverse-ordered string
273 * DESCRIPTION: Convert an integer into a string, note that, the string holds a
280 char *String,
290 Pos = String;
315 * PARAMETERS: String - String buffer
320 * DESCRIPTION: Scan a string for a decimal integer.
326 const char *String,
332 while (isdigit ((int) *String))
335 Number += *(String++) - '0';
339 return (String);
347 * PARAMETERS: String - String buffer
352 * DESCRIPTION: Print a decimal integer into a string.
358 char *String,
367 Pos2 = String;
375 return (String);
383 * PARAMETERS: String - String buffer with boundary
384 * End - Boundary of the string
393 * DESCRIPTION: Print an integer into a string with any base and any precision.
399 char *String,
463 /* Generate full string in reverse order */
477 /* Output the string */
483 String = AcpiUtBoundStringOutput (String, End, ' ');
488 String = AcpiUtBoundStringOutput (String, End, Sign);
492 String = AcpiUtBoundStringOutput (String, End, '0');
495 String = AcpiUtBoundStringOutput (
496 String, End, Upper ? 'X' : 'x');
503 String = AcpiUtBoundStringOutput (String, End, Zero);
509 String = AcpiUtBoundStringOutput (String, End, '0');
513 String = AcpiUtBoundStringOutput (String, End,
518 String = AcpiUtBoundStringOutput (String, End, ' ');
521 return (String);
531 * PARAMETERS: String - String with boundary
532 * Size - Boundary of the string
538 * DESCRIPTION: Formatted output to a string using argument list pointer.
544 char *String,
564 Pos = String;
566 Size = ACPI_MIN(Size, ACPI_PTR_DIFF(ACPI_MAX_PTR, String));
567 End = String + Size;
823 return ((int) ACPI_PTR_DIFF (Pos, String));
831 * PARAMETERS: String - String with boundary
832 * Size - Boundary of the string
837 * DESCRIPTION: Formatted output to a string.
843 char *String,
853 Length = vsnprintf (String, Size, Format, Args);
864 * PARAMETERS: String - String with boundary
869 * DESCRIPTION: Formatted output to a string.
875 char *String,
884 Length = vsnprintf (String, ACPI_UINT32_MAX, Format, Args);