Searched refs:str (Results 1 – 6 of 6) sorted by relevance
| /pciutils/lib/ |
| H A D | filter.c | 41 strcpy(buffer, str); in split_to_fields() 42 str = buffer; in split_to_fields() 51 fields[i++] = str; in split_to_fields() 52 while (*str && *str != sep) in split_to_fields() 53 str++; in split_to_fields() 54 if (!*str) in split_to_fields() 56 *str++ = 0; in split_to_fields() 83 if (!maskp && str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) in parse_hex_field() 84 str += 2; in parse_hex_field() 86 while (*str) in parse_hex_field() [all …]
|
| H A D | win32-cfgmgr32.c | 1330 endptr = strchr(str, '&'); in fill_data_from_string() 1331 endptr2 = strchr(str, '\\'); in fill_data_from_string() 1334 len = endptr ? endptr-str : (int)strlen(str); in fill_data_from_string() 1338 sscanf(str, "VEN_%x", &hex) == 1) in fill_data_from_string() 1366 (fmt_validate(str, len, "CC_####") || fmt_validate(str, len, "CC_######")) && in fill_data_from_string() 1388 str = endptr + 1; in fill_data_from_string() 1421 const char *str; in fill_data_from_hardware_ids() local 1477 for (str = hardware_ids; *str != '\0'; str += strlen(str) + 1) in fill_data_from_hardware_ids() 1479 if (strncmp(str, "PCI\\", 4) != 0) in fill_data_from_hardware_ids() 1481 str += 4; in fill_data_from_hardware_ids() [all …]
|
| /pciutils/compat/ |
| H A D | getopt.c | 176 static char *my_index(const char *str, int chr); 183 static int my_strlen(const char *str) in my_strlen() argument 186 while (*str++) in my_strlen() 191 static char *my_index(const char *str, int chr) in my_index() argument 193 while (*str) { in my_index() 194 if (*str == chr) in my_index() 195 return (char *) str; in my_index() 196 str++; in my_index()
|
| /pciutils/ |
| H A D | common.c | 49 xstrdup(const char *str) in xstrdup() argument 51 int len = strlen(str) + 1; in xstrdup() 53 memcpy(copy, str, len); in xstrdup()
|
| H A D | lspci.c | 756 const char *str; in show_htype_unknown() local 773 str = "\tI/O behind bridge"; in show_htype_unknown() 779 str = "\tPrefetchable memory behind bridge"; in show_htype_unknown() 781 str = "\tMemory behind bridge"; in show_htype_unknown() 786 str = "\tUnknown resource behind bridge"; in show_htype_unknown() 788 show_range(str, base, limit, bits, 0); in show_htype_unknown()
|
| H A D | pciutils.h | 42 char *xstrdup(const char *str);
|