Lines Matching refs:string
461 char *acpi_db_get_next_token(char *string, in acpi_db_get_next_token() argument
470 if (!string || !(*string)) { in acpi_db_get_next_token()
476 while (*string && isspace((int)*string)) { in acpi_db_get_next_token()
477 string++; in acpi_db_get_next_token()
480 if (!(*string)) { in acpi_db_get_next_token()
484 switch (*string) { in acpi_db_get_next_token()
489 string++; in acpi_db_get_next_token()
490 start = string; in acpi_db_get_next_token()
495 while (*string && (*string != '"')) { in acpi_db_get_next_token()
496 string++; in acpi_db_get_next_token()
504 string++; in acpi_db_get_next_token()
505 start = string; in acpi_db_get_next_token()
510 while (*string && (*string != ')')) { in acpi_db_get_next_token()
511 string++; in acpi_db_get_next_token()
519 string++; in acpi_db_get_next_token()
520 start = string; in acpi_db_get_next_token()
525 while (*string && (*string != '}')) { in acpi_db_get_next_token()
526 string++; in acpi_db_get_next_token()
534 string++; in acpi_db_get_next_token()
536 start = string; in acpi_db_get_next_token()
541 while (*string) { in acpi_db_get_next_token()
545 if (*string == '"') { in acpi_db_get_next_token()
548 string++; in acpi_db_get_next_token()
549 while (*string && (*string != '"')) { in acpi_db_get_next_token()
550 string++; in acpi_db_get_next_token()
552 if (!(*string)) { in acpi_db_get_next_token()
555 } else if (*string == '[') { in acpi_db_get_next_token()
557 } else if (*string == ']') { in acpi_db_get_next_token()
564 string++; in acpi_db_get_next_token()
570 start = string; in acpi_db_get_next_token()
574 while (*string && !isspace((int)*string)) { in acpi_db_get_next_token()
575 string++; in acpi_db_get_next_token()
580 if (!(*string)) { in acpi_db_get_next_token()
583 *string = 0; in acpi_db_get_next_token()
584 *next = string + 1; in acpi_db_get_next_token()