• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/

Lines Matching defs:string

64  * RETURN:      A string containing the exception text. NULL if exception is
68 * an ASCII string.
130 * PARAMETERS: Id - The HID/CID in string format
356 * PARAMETERS: src_string - The source string to convert
360 * DESCRIPTION: Convert string to uppercase
368 char *string;
376 /* Walk entire string, uppercasing the letters */
378 for (string = src_string; *string; string++) {
379 *string = (char)ACPI_TOUPPER(*string);
389 * PARAMETERS: String - Null terminated ASCII string
394 * DESCRIPTION: Dump an ASCII string with support for ACPI-defined escape
399 void acpi_ut_print_string(char *string, u8 max_length)
403 if (!string) {
409 for (i = 0; string[i] && (i < max_length); i++) {
413 switch (string[i]) {
445 acpi_os_printf("\\%c", (int)string[i]);
452 if (ACPI_IS_PRINT(string[i])) {
455 acpi_os_printf("%c", (int)string[i]);
459 acpi_os_printf("\\x%2.2X", (s32) string[i]);
466 if (i == max_length && string[i]) {
547 * Path - Additional path string to be appended.
713 * PARAMETERS: String - Null terminated string
714 * Base - Radix of the string: 16 or ACPI_ANY_BASE;
720 * DESCRIPTION: Convert a string into an unsigned value. Performs either a
727 acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 * ret_integer)
739 ACPI_FUNCTION_TRACE_STR(ut_stroul64, string);
751 if (!string) {
757 while ((*string) && (ACPI_IS_SPACE(*string) || *string == '\t')) {
758 string++;
766 if ((*string == '0') && (ACPI_TOLOWER(*(string + 1)) == 'x')) {
771 string += 2;
777 /* Any string left? Check that '0x' is not followed by white space. */
779 if (!(*string) || ACPI_IS_SPACE(*string) || *string == '\t') {
793 /* Main loop: convert the string to a 32- or 64-bit integer */
795 while (*string) {
796 if (ACPI_IS_DIGIT(*string)) {
800 this_digit = ((u8) * string) - '0';
807 this_digit = (u8) ACPI_TOUPPER(*string);
828 string++;
838 * No any restrictions for string-to-integer conversion,
859 string++;
1054 * Format - Printf format string + additional args
1128 * Format - Printf format string + additional args
1171 * Format - Printf format string + additional args