/external/ltp/testcases/kernel/fs/doio/ |
string_to_tokens.c | 69 * This function uses strtok() to parse 'arg_string', and thus 84 char *strtok(); 90 * Use strtok() to parse 'arg_string', placing pointers to the 93 if ((arg_array[num_toks] = strtok(arg_string, separator)) == NULL) { 98 if ((arg_array[num_toks] = strtok(NULL, separator)) == NULL)
|
/external/syslinux/com32/lib/ |
strtok.c | 2 * strtok.c 7 char *strtok(char *s, const char *delim) function
|
/external/toybox/toys/other/ |
lsmod.c | 26 char *name = strtok(toybuf, " "), *size = strtok(NULL, " "), 27 *refcnt = strtok(NULL, " "), *users = strtok(NULL, " ");
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strtok.c | 33 strtok(char *s, const char *delim) function 39 DEF_STRONG(strtok); variable
|
/external/llvm/tools/llvm-c-test/ |
helpers.c | 32 tokbuf[c] = strtok(c ? NULL : line, " \n");
|
/external/f2fs-tools/tools/ |
f2fs_io_parse.c | 169 ptr = strtok(NULL, " "); 172 ptr = strtok(NULL, " "); 183 ptr = strtok(NULL, " "); 186 ptr = strtok(NULL, " "); 187 ptr = strtok(NULL, " "); 190 ptr = strtok(NULL, " "); 193 ptr = strtok(NULL, " "); 196 ptr = strtok(NULL, " "); 215 ptr = strtok(line, ":"); 217 ptr = strtok(NULL, " :") [all...] |
/system/core/libcutils/ |
canned_fs_config.cpp | 68 p->path = strdup(rootdir ? "" : strtok(line, " ")); 69 p->uid = atoi(strtok(rootdir ? line : NULL, " ")); 70 p->gid = atoi(strtok(NULL, " ")); 71 p->mode = strtol(strtok(NULL, " "), NULL, 8); // mode is in octal 75 token = strtok(NULL, " ");
|
/external/python/cpython2/Lib/ctypes/test/ |
test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 106 # Neither of this does work: strtok changes the buffer it is passed 107 ## strtok.argtypes = (c_char_p, c_char_p) 108 ## strtok.argtypes = (c_string, 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/ |
test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 106 # Neither of this does work: strtok changes the buffer it is passed 107 ## strtok.argtypes = (c_char_p, c_char_p) 108 ## strtok.argtypes = (c_string, 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)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 106 # Neither of this does work: strtok changes the buffer it is passed 107 ## strtok.argtypes = (c_char_p, c_char_p) 108 ## strtok.argtypes = (c_string, 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)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 106 # Neither of this does work: strtok changes the buffer it is passed 107 ## strtok.argtypes = (c_char_p, c_char_p) 108 ## strtok.argtypes = (c_string, 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)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 106 # Neither of this does work: strtok changes the buffer it is passed 107 ## strtok.argtypes = (c_char_p, c_char_p) 108 ## strtok.argtypes = (c_string, 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)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_funcptr.py | 104 strtok = lib.my_strtok 105 strtok.restype = c_char_p 106 # Neither of this does work: strtok changes the buffer it is passed 107 ## strtok.argtypes = (c_char_p, c_char_p) 108 ## strtok.argtypes = (c_string, 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/ppp/pppd/plugins/radius/ |
radrealms.c | 83 p = strtok(buffer, "\t "); 100 if ((p = strtok(NULL, "\t ")) == NULL) { 110 if ((p = strtok(NULL, ":")) == NULL) { 118 if ((p = strtok(NULL, "\t ")) == NULL) {
|
/external/ltp/testcases/kernel/fs/mongo/ |
mongo_slinks.c | 40 old_path = strtok(line_buffer, "\t "); 41 new_path = strtok(NULL, "\t\n ");
|
/hardware/broadcom/libbt/src/ |
conf.c | 112 p_name = strtok(line, CONF_DELIMITERS); 119 p_value = strtok(NULL, CONF_DELIMITERS);
|
/prebuilts/ndk/r16/sources/cxx-stl/system/include/ |
cstring | 64 using ::strtok;
|
/external/syslinux/com32/elflink/ |
test_com32.c | 61 * The command line is in the internal buffer of strtok. 71 crt_arg = strtok(NULL, COMMAND_DELIM); 97 * The command line is in the internal buffer of strtok. 104 while ((crt_lib = strtok(NULL, COMMAND_DELIM)) != NULL) { 154 cmd_name = strtok(cmd, COMMAND_DELIM);
|
/external/ltp/testcases/kernel/fs/acls/ |
acl_link_test.c | 31 tok = strtok(list, "\0");
|
/external/toybox/toys/pending/ |
wget.c | 162 result = strtok(toybuf, "\r"); 163 strtok(result, " "); 164 rc = strtok(NULL, " "); 165 r_str = strtok(NULL, " ");
|
/hardware/intel/common/libmix/mix_common/src/ |
mixlog.c | 50 item = strtok((char *) delog_list, MIX_DELOG_DELIMITERS); 53 item = strtok(NULL, MIX_DELOG_DELIMITERS); 167 item = strtok((char *) delog_list, MIX_DELOG_DELIMITERS); 173 item = strtok(NULL, MIX_DELOG_DELIMITERS);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
pcrt32.h | 36 #define _fstrtok strtok
|
/external/curl/src/ |
tool_dirhie.c | 123 /* Allow strtok() here since this isn't used threaded */ 125 tempdir = strtok(outdup, PATH_DELIMITERS); 128 tempdir2 = strtok(NULL, PATH_DELIMITERS); 129 /* since strtok returns a token for the last word even
|
/external/ltp/pan/ |
splitstr.c | 104 * Use strtok() to parse 'arg_string', placing pointers to the 108 cur_tok = strtok(arg_string, separator); 111 cur_tok = strtok(NULL, separator);
|
/external/python/cpython2/Launcher/ |
launcher_main.cpp | 88 for (warning = strtok(warnings_buf, ","); 90 warning = strtok(NULL, ","))
|