Home
last modified time | relevance | path

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

1234

/external/f2fs-tools/tools/
Df2fs_io_parse.c169 ptr = strtok(NULL, " "); in handle_tp_pid()
172 ptr = strtok(NULL, " "); in handle_tp_pid()
183 ptr = strtok(NULL, " "); in handle_tp_ios()
186 ptr = strtok(NULL, " "); in handle_tp_ios()
187 ptr = strtok(NULL, " "); in handle_tp_ios()
190 ptr = strtok(NULL, " "); in handle_tp_ios()
193 ptr = strtok(NULL, " "); in handle_tp_ios()
196 ptr = strtok(NULL, " "); in handle_tp_ios()
215 ptr = strtok(line, ":"); in do_parse()
217 ptr = strtok(NULL, " :"); in do_parse()
[all …]
/external/toybox/toys/other/
Dlsmod.c26 char *name = strtok(toybuf, " "), *size = strtok(NULL, " "), in lsmod_main()
27 *refcnt = strtok(NULL, " "), *users = strtok(NULL, " "); in lsmod_main()
/external/minijail/
Dminijail0.c62 char *src = strtok(arg, ","); in add_binding()
63 char *dest = strtok(NULL, ","); in add_binding()
64 char *flags = strtok(NULL, ","); in add_binding()
77 char *src = strtok(arg, ","); in add_mount()
78 char *dest = strtok(NULL, ","); in add_mount()
79 char *type = strtok(NULL, ","); in add_mount()
80 char *flags = strtok(NULL, ","); in add_mount()
/external/valgrind/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/ppp/pppd/plugins/radius/
Dradrealms.c83 p = strtok(buffer, "\t "); in lookup_realm()
100 if ((p = strtok(NULL, "\t ")) == NULL) { in lookup_realm()
110 if ((p = strtok(NULL, ":")) == NULL) { in lookup_realm()
118 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/opencv3/3rdparty/libjasper/
Djpc_util.c102 if ((cp = strtok(buf, delim))) { in jpc_atoaf()
104 while ((cp = strtok(0, delim))) { in jpc_atoaf()
119 if ((cp = strtok(buf, delim))) { in jpc_atoaf()
122 while ((cp = strtok(0, delim))) { in jpc_atoaf()
/external/iptables/iptables/
Dip6tables-restore.c289 table = strtok(buffer+1, " \t\n"); in ip6tables_restore_main()
325 chain = strtok(buffer+1, " \t\n"); in ip6tables_restore_main()
358 policy = strtok(NULL, " \t\n"); in ip6tables_restore_main()
372 ctrs = strtok(NULL, " \t\n"); in ip6tables_restore_main()
415 pcnt = strtok(buffer+1, ":"); in ip6tables_restore_main()
421 bcnt = strtok(NULL, "]"); in ip6tables_restore_main()
Diptables-restore.c289 table = strtok(buffer+1, " \t\n"); in iptables_restore_main()
325 chain = strtok(buffer+1, " \t\n"); in iptables_restore_main()
358 policy = strtok(NULL, " \t\n"); in iptables_restore_main()
372 ctrs = strtok(NULL, " \t\n"); in iptables_restore_main()
415 pcnt = strtok(buffer+1, ":"); in iptables_restore_main()
421 bcnt = strtok(NULL, "]"); in iptables_restore_main()
Diptables-xml.c690 table = strtok(buffer + 1, " \t\n"); in iptables_xml_main()
707 chain = strtok(buffer + 1, " \t\n"); in iptables_xml_main()
718 policy = strtok(NULL, " \t\n"); in iptables_xml_main()
727 ctrs = strtok(NULL, " \t\n"); in iptables_xml_main()
756 pcnt = strtok(buffer + 1, ":"); in iptables_xml_main()
762 bcnt = strtok(NULL, "]"); in iptables_xml_main()
/external/selinux/policycoreutils/secon/
Dsecon.c657 color.user_fg = strtok(color_str, " "); in disp_con()
660 color.user_bg = strtok(NULL, " "); in disp_con()
664 color.role_fg = strtok(NULL, " "); in disp_con()
667 color.role_bg = strtok(NULL, " "); in disp_con()
671 color.type_fg = strtok(NULL, " "); in disp_con()
674 color.type_bg = strtok(NULL, " "); in disp_con()
678 color.range_fg = strtok(NULL, " "); in disp_con()
681 color.range_bg = strtok(NULL, " "); in disp_con()
/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/dbus/tools/
Ddbus-send.c152 val = strtok (dupval, ","); in append_array()
156 val = strtok (NULL, ","); in append_array()
167 val = strtok (dupval, ","); in append_dict()
178 val = strtok (NULL, ","); in append_dict()
187 val = strtok (NULL, ","); in append_dict()
/external/curl/src/
Dtool_dirhie.c115 tempdir = strtok(outdup, DIR_CHAR); in create_dir_hierarchy()
118 tempdir2 = strtok(NULL, DIR_CHAR); in create_dir_hierarchy()
/external/tlsdate/src/
Dconf.c52 key = strtok (start, " \t"); in conf_parse()
53 val = strtok (NULL, ""); in conf_parse()
/external/iproute2/misc/
Dlnstat.c301 for (tok = strtok(tmp, ","); in main()
303 tok = strtok(NULL, ",")) { in main()
322 for (tok = strtok(tmp, ","); in main()
324 tok = strtok(NULL, ",")) { in main()
/external/jetty/src/java/org/eclipse/jetty/client/security/
DSecurityListener.java97 StringTokenizer strtok = new StringTokenizer( authString, ","); in scrapeAuthenticationDetails() local
99 while ( strtok.hasMoreTokens() ) in scrapeAuthenticationDetails()
101 String token = strtok.nextToken(); in scrapeAuthenticationDetails()
/external/iproute2/tc/
Dq_mqprio.c71 tok = strtok(tmp, "@"); in mqprio_parse_opt()
77 tok = strtok(NULL, "@"); in mqprio_parse_opt()
/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/giflib/
Dgif_font.c235 cp = strtok((char *)legend, "\r\n"); in GifDrawBoxedText8x8()
244 cp = strtok((char *)NULL, "\r\n"); in GifDrawBoxedText8x8()
/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/iptables/extensions/
Dlibip6t_ipv6header.c152 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) in parse_header()
/external/llvm/tools/llvm-c-test/
Dhelpers.c32 tokbuf[c] = strtok(c ? NULL : line, " \n"); in tokenize_stdin()
/external/vboot_reference/utility/
Dcrossystem.c265 char* name = strtok(argv[i], "=?"); in main()
266 char* value = strtok(NULL, "=?"); in main()
/external/libcap/pam_cap/
Dpam_cap.c52 cap_text = strtok(line, CAP_FILE_DELIMITERS); in read_capabilities_for_user()
63 while ((line = strtok(NULL, CAP_FILE_DELIMITERS))) { in read_capabilities_for_user()

1234