Searched refs:options_list (Results 1 – 3 of 3) sorted by relevance
/external/toybox/toys/pending/ |
D | dhcp.c | 207 static option_val_t options_list[] = { variable 393 int count, size = ARRAY_LEN(options_list); in strtoopt() 404 if ((options_list[count].code & 0X00FF) == optcode) { in strtoopt() 405 flag = (options_list[count].code & 0XFF00); in strtoopt() 412 if (!strcmp(options_list[count].key, option)) { in strtoopt() 413 flag = (options_list[count].code & 0XFF00); in strtoopt() 414 optcode = (options_list[count].code & 0X00FF); in strtoopt() 428 options_list[count].len = sizeof(uint32_t); in strtoopt() 429 options_list[count].val = xmalloc(sizeof(uint32_t)); in strtoopt() 433 memcpy(options_list[count].val, &convtmp, sizeof(uint32_t)); in strtoopt() [all …]
|
D | dhcpd.c | 291 static option_val_t options_list[] = { variable 547 int count, size = ARRAY_LEN(options_list); in strtoopt() 558 if ((options_list[count].code & 0X00FF) == optcode) { in strtoopt() 559 flag = (options_list[count].code & 0XFF00); in strtoopt() 565 if (!strncmp(options_list[count].key, option, strlen(options_list[count].key))) { in strtoopt() 566 flag = (options_list[count].code & 0XFF00); in strtoopt() 567 optcode = (options_list[count].code & 0X00FF); in strtoopt() 586 options_list[count].len = sizeof(uint32_t); in strtoopt() 587 options_list[count].val = xmalloc(sizeof(uint32_t)); in strtoopt() 589 memcpy(options_list[count].val, &convtmp, sizeof(uint32_t)); in strtoopt() [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | main.py | 454 options_list = sys.argv[1:] or os.environ.get('OPTIONS', '').split() 455 if not options_list: 472 opts, args = getopt.getopt(options_list, short_opt, long_opt)
|