Searched refs:str_lookup (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/fs/doio/ |
D | iogen.c | 122 struct strmap *str_lookup(struct strmap *map, char *str); 1342 struct strmap *str_lookup(struct strmap *map, char *str) in str_lookup() function 1407 str_lookup(Aio_Strat_Map, cp)) == NULL) { in parse_cmdline() 1424 if ((flgs = str_lookup(Flag_Map, cp)) == NULL) { in parse_cmdline() 1511 str_lookup(Omode_Map, optarg)) == NULL) { in parse_cmdline() 1617 if ((sc = str_lookup(Syscall_Map, cp)) == NULL) { in parse_cmdline() 1631 } while ((sc = str_lookup(++sc, cp)) != NULL); in parse_cmdline() 1678 Offset_Mode = str_lookup(Omode_Map, "sequential"); in parse_cmdline() 1708 Syscall_List[Nsyscalls++] = str_lookup(Syscall_Map, "read"); in parse_cmdline() 1709 Syscall_List[Nsyscalls++] = str_lookup(Syscall_Map, "write"); in parse_cmdline() [all …]
|
/external/autotest/server/cros/power/ |
D | servo_charger.py | 185 str_lookup = {True: 'connected', False: 'disconnected'} 187 % (str_lookup[ec_opinion], 188 str_lookup[connected]))
|