Home
last modified time | relevance | path

Searched refs:optlist (Results 1 – 18 of 18) sorted by relevance

/third_party/toybox/lib/
Dcommas.c64 int comma_scan(char *optlist, char *opt, int clean) in comma_scan() argument
68 if (optlist) for (;;) { in comma_scan()
69 char *s = comma_iterate(&optlist, &len); in comma_scan()
76 if (optlist) memmove(s, optlist, strlen(optlist)+1); in comma_scan()
86 int comma_scanall(char *optlist, char *scanlist) in comma_scanall() argument
93 i = comma_scan(optlist, s, 0); in comma_scanall()
103 int comma_remove(char *optlist, char *opt) in comma_remove() argument
107 if (optlist) for (;;) { in comma_remove()
108 char *s = comma_iterate(&optlist, &len); in comma_remove()
113 if (optlist) memmove(s, optlist, strlen(optlist)+1); in comma_remove()
Dlib.h381 int comma_scan(char *optlist, char *opt, int clean);
382 int comma_scanall(char *optlist, char *scanlist);
383 int comma_remove(char *optlist, char *opt);
/third_party/toybox/toys/posix/
Dsort.c334 char *temp2, *optlist; in sort_main() local
345 optlist = toys.which->options; in sort_main()
346 temp2 = strchr(optlist, *temp); in sort_main()
347 flag = (1<<(optlist-temp2+strlen(optlist)-1)); in sort_main()
/third_party/libcoap/examples/
Dcoap-client.c59 static coap_optlist_t *optlist = NULL; variable
596 coap_insert_optlist(&optlist, node); in cmdline_content_type()
612 coap_insert_optlist(&optlist, node); in cmdline_hop_limit()
649 coap_insert_optlist(&optlist, in cmdline_uri()
680 coap_insert_optlist(&optlist, in cmdline_uri()
694 coap_insert_optlist(&optlist, in cmdline_uri()
709 coap_insert_optlist(&optlist, in cmdline_uri()
770 coap_insert_optlist(&optlist, coap_new_optlist(opt, opt_length, buf)); in set_blocksize()
779 coap_insert_optlist(&optlist, in cmdline_subscribe()
866 coap_insert_optlist(&optlist, in cmdline_option()
[all …]
Dcoap-server.c1008 coap_optlist_t *optlist = NULL; in hnd_proxy_uri() local
1122 coap_insert_optlist(&optlist, in hnd_proxy_uri()
1131 coap_insert_optlist(&optlist, in hnd_proxy_uri()
1146 coap_insert_optlist(&optlist, in hnd_proxy_uri()
1161 coap_insert_optlist(&optlist, in hnd_proxy_uri()
1187 coap_insert_optlist(&optlist, in hnd_proxy_uri()
1196 coap_add_optlist_pdu(pdu, &optlist); in hnd_proxy_uri()
1197 coap_delete_optlist(optlist); in hnd_proxy_uri()
1605 coap_optlist_t *optlist = NULL; in proxy_message_handler() local
1690 coap_insert_optlist(&optlist, in proxy_message_handler()
[all …]
/third_party/libcoap/tests/
Dtest_pdu.c706 coap_optlist_t *optlist = NULL; in t_encode_pdu12() local
719 coap_insert_optlist(&optlist, coap_new_optlist(opt_num[n], in t_encode_pdu12()
722 coap_add_optlist_pdu(pdu, &optlist); in t_encode_pdu12()
736 coap_delete_optlist(optlist); in t_encode_pdu12()
741 coap_optlist_t *optlist = NULL; in t_encode_pdu13() local
754 coap_insert_optlist(&optlist, coap_new_optlist(opt_num[n], in t_encode_pdu13()
757 coap_add_optlist_pdu(pdu, &optlist); in t_encode_pdu13()
771 coap_delete_optlist(optlist); in t_encode_pdu13()
776 coap_optlist_t *optlist = NULL; in t_encode_pdu14() local
789 coap_insert_optlist(&optlist, coap_new_optlist(opt_num[n], in t_encode_pdu14()
[all …]
/third_party/toybox/toys/pending/
Dtraceroute.c539 unsigned char optlist[MAX_IPOPTLEN]; in traceroute_main() local
545 optlist[0] = IPOPT_NOP; in traceroute_main()
546 optlist[1] = IPOPT_LSRR;// loose source route option in traceroute_main()
548 optlist[2] = size + 3; in traceroute_main()
549 optlist[3] = IPOPT_MINOFF; in traceroute_main()
550 memcpy(optlist + 4, TT.gw_list, size); in traceroute_main()
553 (char *)optlist, size + sizeof(TT.gw_list[0])) < 0) in traceroute_main()
/third_party/icu/tools/scripts/
Duconfig_vars_test.py172 optlist, _ = getopt.getopt(sys.argv[1:], "pu")
173 for o, _ in optlist:
/third_party/python/Tools/scripts/
Dobjgraph.py155 optlist, args = getopt.getopt(sys.argv[1:], 'cdu')
168 for opt, void in optlist:
/third_party/python/Doc/library/
Dgetopt.rst99 >>> optlist, args = getopt.getopt(args, 'abc:d:')
100 >>> optlist
111 >>> optlist, args = getopt.getopt(args, 'x', [
113 >>> optlist
/third_party/toybox/porting/liteos_a/toys/lsb/
Dmount.c56 struct arg_list *optlist; in GLOBALS()
291 for (o = TT.optlist; o; o = o->next) comma_collate(&opts, o->arg); in mount_main()
/third_party/toybox/toys/lsb/
Dmount.c60 struct arg_list *optlist; in GLOBALS()
304 for (o = TT.optlist; o; o = o->next) comma_collate(&opts, o->arg); in mount_main()
/third_party/toybox/porting/liteos_a/lib/
Dlib.h373 int comma_scan(char *optlist, char *opt, int clean);
374 int comma_scanall(char *optlist, char *scanlist);
375 int comma_remove(char *optlist, char *opt);
/third_party/libcoap/include/coap3/
Doption.h376 coap_optlist_t *optlist);
/third_party/libcoap/src/
Dmem.c236 coap_optlist_t optlist; member
/third_party/python/Lib/
Dimaplib.py1554 optlist, args = getopt.getopt(sys.argv[1:], 'd:s:') variable
1556 optlist, args = (), () variable
1559 for opt,val in optlist:
/third_party/toybox/generated/
Dglobals.h101 struct arg_list *optlist; member
/third_party/libcoap/man/
Dcoap_pdu_setup.txt.in314 The *coap_delete_optlist*() function deletes and frees off all the optlist