/external/llvm-project/libc/test/src/string/ |
D | strtok_test.cpp | 14 ASSERT_STREQ(__llvm_libc::strtok(empty, ""), nullptr); in TEST() 15 ASSERT_STREQ(__llvm_libc::strtok(empty, "_"), nullptr); in TEST() 18 ASSERT_STREQ(__llvm_libc::strtok(single, ""), "_"); in TEST() 21 ASSERT_STREQ(__llvm_libc::strtok(multiple, ":"), "1,2"); in TEST() 26 ASSERT_STREQ(__llvm_libc::strtok(src, "."), "123"); in TEST() 31 ASSERT_STREQ(__llvm_libc::strtok(src, ","), "12"); in TEST() 36 ASSERT_STREQ(__llvm_libc::strtok(src, ":"), "1234"); in TEST() 41 ASSERT_STREQ(__llvm_libc::strtok(src, "."), "12,"); in TEST() 42 ASSERT_STREQ(__llvm_libc::strtok(src, ".,"), "12"); in TEST() 43 ASSERT_STREQ(__llvm_libc::strtok(src, ",."), "12"); in TEST() [all …]
|
/external/f2fs-tools/tools/ |
D | f2fs_io_parse.c | 169 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() 195 ptr = strtok(NULL, " "); in handle_tp_ios() 198 ptr = strtok(NULL, " "); in handle_tp_ios() 217 ptr = strtok(line, ":"); in do_parse() [all …]
|
/external/llvm-project/compiler-rt/test/asan/TestCases/ |
D | strtok.c | 37 token = strtok(s, token_delimiter); in test1() 47 token = strtok(s, token_delimiter); in test2() 50 token = strtok(NULL, token_delimiter); in test2() 60 token = strtok(s, token_delimiter); in test3() 69 token = strtok(s, token_delimiter); in test4() 80 token = strtok(s, token_delimiter); in test5() 90 token = strtok(s, &token_delimiter[1]); in test6()
|
/external/adhd/cras/src/server/ |
D | cras_hfp_slc.c | 293 strtok(tokens, "="); in bluetooth_codec_selection() 294 codec = strtok(NULL, ","); in bluetooth_codec_selection() 338 strtok(tokens, "="); in apple_accessory_state_change() 339 num = strtok(NULL, ","); in apple_accessory_state_change() 346 key = strtok(NULL, ","); in apple_accessory_state_change() 347 val = strtok(NULL, ","); in apple_accessory_state_change() 394 strtok(tokens, "="); in apple_supported_features() 396 strtok(NULL, ","); in apple_supported_features() 397 features = strtok(NULL, ","); in apple_supported_features() 433 strtok(tokens, "="); in available_codecs() [all …]
|
/external/toybox/toys/other/ |
D | lsmod.c | 26 char *name = strtok(toybuf, " "), *size = strtok(NULL, " "), in lsmod_main() 27 *refcnt = strtok(NULL, " "), *users = strtok(NULL, " "); in lsmod_main()
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 171 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in cg_read_lc() 203 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root() 204 mount = strtok(NULL, delim); in cg_find_unified_root() 205 type = strtok(NULL, delim); in cg_find_unified_root() 206 strtok(NULL, delim); in cg_find_unified_root() 207 strtok(NULL, delim); in cg_find_unified_root() 208 strtok(NULL, delim); in cg_find_unified_root() 404 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in is_swap_enabled()
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 121 self.assertEqual(strtok(b, "\n"), "a") 122 self.assertEqual(strtok(None, "\n"), "b") 123 self.assertEqual(strtok(None, "\n"), "c") 124 self.assertEqual(strtok(None, "\n"), None)
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 121 self.assertEqual(strtok(b, b"\n"), b"a") 122 self.assertEqual(strtok(None, b"\n"), b"b") 123 self.assertEqual(strtok(None, b"\n"), b"c") 124 self.assertEqual(strtok(None, b"\n"), None)
|
/external/ltp/testcases/kernel/fs/doio/ |
D | string_to_tokens.c | 84 char *strtok(); in string_to_tokens() 93 if ((arg_array[num_toks] = strtok(arg_string, separator)) == NULL) { in string_to_tokens() 98 if ((arg_array[num_toks] = strtok(NULL, separator)) == NULL) in string_to_tokens()
|
/external/ppp/pppd/plugins/radius/ |
D | radrealms.c | 83 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()
|
D | config.c | 102 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/igt-gpu-tools/lib/ |
D | igt_eld.c | 111 tok = strtok(value, " "); in parse_sad_field() 118 tok = strtok(NULL, " "); in parse_sad_field() 171 key = strtok(buf, ELD_DELIM); in eld_parse_entry() 172 value = strtok(NULL, ""); in eld_parse_entry()
|
/external/grpc-grpc/src/core/ext/filters/workarounds/ |
D | workaround_cronet_compression_filter.cc | 145 char* head = strtok(user_agent_str, " "); in parse_user_agent() 157 head = strtok(nullptr, " "); in parse_user_agent() 160 major_version_str = strtok(major_version_str, "."); in parse_user_agent() 161 minor_version_str = strtok(nullptr, "."); in parse_user_agent()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/workarounds/ |
D | workaround_cronet_compression_filter.cc | 147 char* head = strtok(user_agent_str, " "); in parse_user_agent() 159 head = strtok(nullptr, " "); in parse_user_agent() 162 major_version_str = strtok(major_version_str, "."); in parse_user_agent() 163 minor_version_str = strtok(nullptr, "."); in parse_user_agent()
|
/external/toybox/toys/pending/ |
D | wget.c | 197 result = strtok(toybuf, "\r"); in wget_main() 198 strtok(result, " "); in wget_main() 199 rc = strtok(NULL, " "); in wget_main() 200 r_str = strtok(NULL, " "); in wget_main()
|
/external/selinux/policycoreutils/secon/ |
D | secon.c | 658 color.user_fg = strtok(color_str, " "); in disp_con() 661 color.user_bg = strtok(NULL, " "); in disp_con() 665 color.role_fg = strtok(NULL, " "); in disp_con() 668 color.role_bg = strtok(NULL, " "); in disp_con() 672 color.type_fg = strtok(NULL, " "); in disp_con() 675 color.type_bg = strtok(NULL, " "); in disp_con() 679 color.range_fg = strtok(NULL, " "); in disp_con() 682 color.range_bg = strtok(NULL, " "); in disp_con()
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo_slinks.c | 40 old_path = strtok(line_buffer, "\t "); in main() 41 new_path = strtok(NULL, "\t\n "); in main()
|
/external/ltp/testcases/network/nfsv4/locks/ |
D | netsync.c | 184 p = strtok(conf, ":"); in getConfiguration() 187 p = strtok(NULL, ":"); in getConfiguration() 190 p = strtok(NULL, ":"); in getConfiguration()
|
/external/e2fsprogs/lib/e2p/ |
D | encoding.c | 89 char *f = strtok(param, "-"); in e2p_str2encoding_flags() 115 f = strtok(NULL, "-"); in e2p_str2encoding_flags()
|
/external/python/pycparser/utils/internal/ |
D | zc.c | 63 stray = strtok(line, delim); in main() 67 stray = strtok(NULL, delim); in main()
|
/external/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | xvmc_bench.c | 103 char *token = strtok(argv[++i], ","); in ParseArgs() 117 token = strtok(NULL, ","); in ParseArgs() 122 char *token = strtok(argv[++i], ","); in ParseArgs() 136 token = strtok(NULL, ","); in ParseArgs()
|
/external/curl/src/ |
D | tool_dirhie.c | 125 tempdir = strtok(outdup, PATH_DELIMITERS); in create_dir_hierarchy() 129 tempdir2 = strtok(NULL, PATH_DELIMITERS); in create_dir_hierarchy()
|
/external/ltp/pan/ |
D | splitstr.c | 108 cur_tok = strtok(arg_string, separator); in splitstr() 111 cur_tok = strtok(NULL, separator); in splitstr()
|
/external/iproute2/tc/ |
D | q_mqprio.c | 73 tok = strtok(tmp, "@"); in mqprio_parse_opt() 79 tok = strtok(NULL, "@"); in mqprio_parse_opt()
|
/external/harfbuzz_ng/util/ |
D | options-subset.cc | 101 char *s = strtok((char *) arg, ", "); in parse_drop_tables() 118 s = strtok(nullptr, ", "); in parse_drop_tables()
|