Home
last modified time | relevance | path

Searched refs:strtok (Results 1 – 25 of 77) sorted by relevance

1234

/external/ppp/pppd/plugins/radius/
Dradrealms.c82 p = strtok(buffer, "\t "); in lookup_realm()
99 if ((p = strtok(NULL, "\t ")) == NULL) { in lookup_realm()
109 if ((p = strtok(NULL, ":")) == NULL) { in lookup_realm()
117 if ((p = strtok(NULL, "\t ")) == NULL) { in lookup_realm()
Dconfig.c102 while ((p = strtok(p, ", \t")) != NULL) { in set_option_srv()
148 p = strtok(p, ", \t"); in set_option_auo()
159 p = strtok(NULL, ", \t"); in set_option_auo()
480 if ((h = strtok (buffer, " \t\n")) == NULL) /* first hostname */ in rc_find_server()
492 if ((s = strtok (NULL, " \t\n")) == NULL) /* and secret field */ in rc_find_server()
514 strtok (hostnm, "/"); in rc_find_server()
517 host2 = strtok (NULL, " "); in rc_find_server()
/external/valgrind/main/memcheck/tests/
Dstr_tester.c731 equal(strtok(one, ", "), "first", 1); /* Basic test. */ in test_strtok()
733 equal(strtok((char *)NULL, ", "), "second", 3); in test_strtok()
734 equal(strtok((char *)NULL, ", "), "third", 4); in test_strtok()
735 check(strtok((char *)NULL, ", ") == NULL, 5); in test_strtok()
737 equal(strtok(one, ", "), "first", 6); /* Extra delims, 1 tok. */ in test_strtok()
738 check(strtok((char *)NULL, ", ") == NULL, 7); in test_strtok()
740 equal(strtok(one, ", "), "1a", 8); /* Changing delim lists. */ in test_strtok()
741 equal(strtok((char *)NULL, "; "), "1b", 9); in test_strtok()
742 equal(strtok((char *)NULL, ", "), "2a", 10); in test_strtok()
744 equal(strtok(two, "-"), "x", 11); /* New string before done. */ in test_strtok()
[all …]
/external/bluetooth/bluedroid/main/
Dbte_conf.c142 p_token = strtok(p_conf_value, CONF_COD_DELIMITERS); in device_class_cfg()
145 p_token = strtok(NULL, CONF_COD_DELIMITERS); in device_class_cfg()
148 p_token = strtok(NULL, CONF_COD_DELIMITERS); in device_class_cfg()
209 p_name = strtok(line, CONF_DELIMITERS); in bte_load_conf()
216 p_value = strtok(NULL, CONF_VALUES_DELIMITERS); in bte_load_conf()
292 p = strtok(line, CONF_DELIMITERS); in bte_parse_did_conf()
327 p = strtok(NULL, CONF_DELIMITERS); in bte_parse_did_conf()
/external/iptables/iptables/
Dip6tables-restore.c211 table = strtok(buffer+1, " \t\n"); in ip6tables_restore_main()
246 chain = strtok(buffer+1, " \t\n"); in ip6tables_restore_main()
280 policy = strtok(NULL, " \t\n"); in ip6tables_restore_main()
295 ctrs = strtok(NULL, " \t\n"); in ip6tables_restore_main()
344 pcnt = strtok(buffer+1, ":"); in ip6tables_restore_main()
350 bcnt = strtok(NULL, "]"); in ip6tables_restore_main()
Diptables-restore.c217 table = strtok(buffer+1, " \t\n"); in iptables_restore_main()
253 chain = strtok(buffer+1, " \t\n"); in iptables_restore_main()
286 policy = strtok(NULL, " \t\n"); in iptables_restore_main()
300 ctrs = strtok(NULL, " \t\n"); in iptables_restore_main()
349 pcnt = strtok(buffer+1, ":"); in iptables_restore_main()
355 bcnt = strtok(NULL, "]"); in iptables_restore_main()
Diptables-xml.c692 table = strtok(buffer + 1, " \t\n"); in iptables_xml_main()
709 chain = strtok(buffer + 1, " \t\n"); in iptables_xml_main()
720 policy = strtok(NULL, " \t\n"); in iptables_xml_main()
729 ctrs = strtok(NULL, " \t\n"); in iptables_xml_main()
757 pcnt = strtok(buffer + 1, ":"); in iptables_xml_main()
763 bcnt = strtok(NULL, "]"); in iptables_xml_main()
/external/srec/tools/parseStringTest/
DparseStringTest.c147 for (p = strtok(copy_of_trans, " "); p; p = strtok(NULL, " ")) in Parse()
475 if ((position = strtok(line, "\"")) != NULL) in process_single_key_line()
487 if ((position = strtok(NULL, " \t")) != NULL) in process_single_key_line()
499 if ((position = strtok(NULL, "\"")) != NULL) in process_single_key_line()
512 if ((position = strtok(NULL, " \t\r\n\"")) != NULL) in process_single_key_line()
568 p = strtok(line, ":"); in process_multi_key_line()
574 p = strtok(NULL, "\n\r"); in process_multi_key_line()
606 for (p = strtok(keyvals, ";"); p; p = strtok(NULL, ";")) in process_multi_key_line()
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dxvmc_bench.c101 char *token = strtok(argv[++i], ","); in ParseArgs()
115 token = strtok(NULL, ","); in ParseArgs()
120 char *token = strtok(argv[++i], ","); in ParseArgs()
134 token = strtok(NULL, ","); in ParseArgs()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
Dxvmc_bench.c101 char *token = strtok(argv[++i], ","); in ParseArgs()
115 token = strtok(NULL, ","); in ParseArgs()
120 char *token = strtok(argv[++i], ","); in ParseArgs()
134 token = strtok(NULL, ","); in ParseArgs()
/external/iproute2/misc/
Dlnstat.c277 for (tok = strtok(tmp, ","); in main()
279 tok = strtok(NULL, ",")) { in main()
298 for (tok = strtok(tmp, ","); in main()
300 tok = strtok(NULL, ",")) { in main()
/external/iproute2/tc/
Dq_mqprio.c71 tok = strtok(tmp, "@"); in mqprio_parse_opt()
77 tok = strtok(NULL, "@"); in mqprio_parse_opt()
/external/libppp/src/
Dcbcp.c282 for (next = strtok(list, ","); next; next = strtok(NULL, ",")) { in cbcp_SendReq()
431 for (next = strtok(list, ","); next; next = strtok(NULL, ",")) in cbcp_AdjustResponse()
457 for (next = strtok(list, ","); next; next = strtok(NULL, ",")) in cbcp_AdjustResponse()
558 for (next = strtok(list, ","); next; next = strtok(NULL, ",")) in cbcp_CheckResponse()
/external/ppp/pppd/plugins/pppoatm/
Dtext2atm.c201 if (!strtok(line,"\t\n ")) continue; in search()
202 while ((here = strtok(NULL,"\t\n "))) in search()
204 here = strtok(line,"\t\n "); in search()
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c155 for (dir=strtok(path,":"); dir!=NULL; in main()
156 dir=strtok(NULL,":")) { in main()
/external/chromium_org/third_party/skia/src/xml/
DSkJS.cpp123 for (comp = strtok(path, ":"); comp; comp = strtok(NULL, ":")) { in global_resolve()
/external/iptables/extensions/
Dlibip6t_ipv6header.c152 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) in parse_header()
Dlibxt_dccp.c83 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) { in parse_dccp_types()
/external/skia/src/xml/
DSkJS.cpp123 for (comp = strtok(path, ":"); comp; comp = strtok(NULL, ":")) { in global_resolve()
/external/srec/srec/crec/
Dtext_parser.c162 for (p = strtok(copy_of_transcription, " "); p; p = strtok(NULL, " ")) in FST_CheckPath_Complex()
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
Dparser.c217 token = strtok( fnamebuf, "\\" ); in line_source()
220 token = strtok( NULL, "\\" ); in line_source()
/external/linux-tools-perf/
Dbuiltin-report.c368 tok = strtok((char *)arg, ","); in parse_callchain_opt()
393 tok = strtok(NULL, ","); in parse_callchain_opt()
397 tok2 = strtok(NULL, ","); in parse_callchain_opt()
/external/srec/srec/Nametag/src/
DNametagImpl.c84 …for (multichar = strtok(long_pron, L(" \t\n\r")); multichar; multichar = strtok(NULL, L(" \t\n\r")… in SR_NametagCreate()
/external/e2fsprogs/misc/
Dfsck.c409 for(s = strtok(p, ":"); s; s = strtok(NULL, ":")) { in find_fsck()
773 s = strtok(list, ","); in compile_fs_type()
805 s = strtok(NULL, ","); in compile_fs_type()
822 s = strtok(list, ","); in opt_in_list()
828 s = strtok(NULL, ","); in opt_in_list()
/external/valgrind/main/coregrind/m_gdbserver/
Dserver.h143 #define strtok(p,s) (char *) VG_(strtok) ((Char *)(p),(Char *)(s)) macro

1234