• Home
  • Raw
  • Download

Lines Matching refs:string

25 acpi_ut_bound_string_length(const char *string, acpi_size count);
27 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
29 static char *acpi_ut_format_number(char *string,
34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
50 acpi_ut_bound_string_length(const char *string, acpi_size count) in acpi_ut_bound_string_length() argument
54 while (*string && count) { in acpi_ut_bound_string_length()
56 string++; in acpi_ut_bound_string_length()
77 static char *acpi_ut_bound_string_output(char *string, const char *end, char c) in acpi_ut_bound_string_output() argument
80 if (string < end) { in acpi_ut_bound_string_output()
81 *string = c; in acpi_ut_bound_string_output()
84 ++string; in acpi_ut_bound_string_output()
85 return (string); in acpi_ut_bound_string_output()
104 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) in acpi_ut_put_number() argument
110 pos = string; in acpi_ut_put_number()
140 const char *acpi_ut_scan_number(const char *string, u64 *number_ptr) in acpi_ut_scan_number() argument
144 while (isdigit((int)*string)) { in acpi_ut_scan_number()
146 number += *(string++) - '0'; in acpi_ut_scan_number()
150 return (string); in acpi_ut_scan_number()
166 const char *acpi_ut_print_number(char *string, u64 number) in acpi_ut_print_number() argument
173 pos2 = string; in acpi_ut_print_number()
180 return (string); in acpi_ut_print_number()
201 static char *acpi_ut_format_number(char *string, in acpi_ut_format_number() argument
269 string = acpi_ut_bound_string_output(string, end, ' '); in acpi_ut_format_number()
273 string = acpi_ut_bound_string_output(string, end, sign); in acpi_ut_format_number()
276 string = acpi_ut_bound_string_output(string, end, '0'); in acpi_ut_format_number()
278 string = in acpi_ut_format_number()
279 acpi_ut_bound_string_output(string, end, in acpi_ut_format_number()
285 string = acpi_ut_bound_string_output(string, end, zero); in acpi_ut_format_number()
290 string = acpi_ut_bound_string_output(string, end, '0'); in acpi_ut_format_number()
293 string = acpi_ut_bound_string_output(string, end, in acpi_ut_format_number()
297 string = acpi_ut_bound_string_output(string, end, ' '); in acpi_ut_format_number()
300 return (string); in acpi_ut_format_number()
318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument
334 pos = string; in vsnprintf()
337 end = string + size; in vsnprintf()
554 return ((int)ACPI_PTR_DIFF(pos, string)); in vsnprintf()
571 int snprintf(char *string, acpi_size size, const char *format, ...) in snprintf() argument
577 length = vsnprintf(string, size, format, args); in snprintf()
596 int sprintf(char *string, const char *format, ...) in sprintf() argument
602 length = vsnprintf(string, ACPI_UINT32_MAX, format, args); in sprintf()