Home
last modified time | relevance | path

Searched refs:strtok_r (Results 1 – 25 of 3993) sorted by relevance

12345678910>>...160

/dports/devel/llvm12/llvm-project-12.0.1.src/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
87 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
89 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
91 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
93 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
97 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
104 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
106 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
108 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
87 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
89 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
91 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
93 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
97 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
104 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
106 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
108 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
86 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
88 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
90 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
92 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
96 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
103 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
105 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
107 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
99 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
101 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
103 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
105 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
109 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
116 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
118 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
120 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
99 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
101 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
103 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
105 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
109 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
116 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
118 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
120 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
99 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
101 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
103 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
105 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
109 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
116 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
118 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
120 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/libc/test/src/string/
H A Dstrtok_r_test.cpp59 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
61 ASSERT_STREQ(__llvm_libc::strtok_r(src, ",", &reserve), "12"); in TEST()
99 char *token = __llvm_libc::strtok_r(src, ",.", &reserve); in TEST()
101 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
103 token = __llvm_libc::strtok_r(nullptr, ",.", &reserve); in TEST()
105 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
109 token = __llvm_libc::strtok_r(nullptr, "_:,_", &reserve); in TEST()
116 char *token = __llvm_libc::strtok_r(src, "_:", &reserve); in TEST()
118 token = __llvm_libc::strtok_r(nullptr, ":_", &reserve); in TEST()
120 token = __llvm_libc::strtok_r(nullptr, "_:,", &reserve); in TEST()
[all …]
/dports/games/legend-of-edgar/edgar-1.34/src/event/
H A Dscript.c174 line = strtok_r(NULL, "\n", &savePtr); in runScript()
238 token = strtok_r(line, " ", &savePtr); in readNextScriptLine()
267 token = strtok_r(NULL, "\0", &savePtr); in readNextScriptLine()
276 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
289 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
334 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
338 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
348 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
606 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
701 token = strtok_r(NULL, " ", &savePtr); in readNextScriptLine()
[all …]
/dports/chinese/libcangjie/libcangjie-1.3/src/
H A Ddbbuilder.c80 char *chchar = strtok_r(line, " ", &saveptr); in insert_line()
81 uint32_t zh = atoi(strtok_r(NULL, " ", &saveptr)); in insert_line()
82 uint32_t big5 = atoi(strtok_r(NULL, " ", &saveptr)); in insert_line()
83 uint32_t hkscs = atoi(strtok_r(NULL, " ", &saveptr)); in insert_line()
90 char *cj3_codes = strtok_r(NULL, " ", &saveptr); in insert_line()
91 char *cj5_codes = strtok_r(NULL, " ", &saveptr); in insert_line()
92 char *short_code = strtok_r(NULL, " ", &saveptr); in insert_line()
140 code = strtok_r(cj3_codes, ",", &saveptr); in insert_line()
145 code = strtok_r(NULL, ",", &saveptr); in insert_line()
150 code = strtok_r(cj5_codes, ",", &saveptr); in insert_line()
[all …]
/dports/benchmarks/siege/siege-4.1.1/src/
H A Dparser.c147 ptr = top = strtok_r(html, CONTROL_TOKENS, &aid); in __parse_control()
150 ptr = strtok_r(NULL, CONTROL_TOKENS_PLUS, &aid); in __parse_control()
157 …for (ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); ptr != NULL; ptr = strtok_r(NULL, CONTROL_TOKENS,… in __parse_control()
159 …for (ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); ptr != NULL; ptr = strtok_r(NULL, CONTROL_TOKENS,… in __parse_control()
173 ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); in __parse_control()
191 …for (ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); ptr != NULL; ptr = strtok_r(NULL, CONTROL_TOKENS,… in __parse_control()
211 …for (ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); ptr != NULL; ptr = strtok_r(NULL, CONTROL_TOKENS,… in __parse_control()
241 …for (ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); ptr != NULL; ptr = strtok_r(NULL, CONTROL_TOKENS,… in __parse_control()
263 ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); in __parse_control()
272 ptr = strtok_r(NULL, CONTROL_TOKENS, &aid); in __parse_control()
[all …]
/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libc/gen/
H A Dfstab.c64 _fs_fstab.fs_spec = strtok_r(cp, ":\n", &last); in fstabscan()
67 _fs_fstab.fs_file = strtok_r(NULL, ":\n", &last); in fstabscan()
68 _fs_fstab.fs_type = strtok_r(NULL, ":\n", &last); in fstabscan()
76 if ((cp = strtok_r(NULL, ":\n", &last))) { in fstabscan()
81 if ((cp = strtok_r(NULL, in fstabscan()
95 _fs_fstab.fs_spec = strtok_r(cp, " \t\n", &last); in fstabscan()
98 _fs_fstab.fs_file = strtok_r(NULL, " \t\n", &last); in fstabscan()
100 _fs_fstab.fs_mntops = strtok_r(NULL, " \t\n", &last); in fstabscan()
105 if ((cp = strtok_r(NULL, " \t\n", &last)) != NULL) { in fstabscan()
109 if ((cp = strtok_r(NULL, " \t\n", &last)) != NULL) { in fstabscan()
[all …]
/dports/sysutils/brut/brut-1.55/
H A Dtreeviews.c253 slice = strtok_r( NULL, " ", &brk1); in populate_treeview1()
490 next = strtok_r(buf, sep, &ptr); in buf_to_struct()
491 next = strtok_r(NULL, sep, &ptr); in buf_to_struct()
497 g.name = strtok_r(NULL, sep, &ptr); in buf_to_struct()
524 g.mode = strtok_r(NULL, sep, &ptr); in buf_to_struct()
542 g.last = strtok_r(NULL, sep, &ptr); in buf_to_struct()
556 g.last = strtok_r(NULL, sep, &ptr); in buf_to_struct()
565 next = strtok_r(NULL, sep, &ptr); in buf_to_struct()
580 g.end = strtok_r(NULL, sep, &ptr); in buf_to_struct()
591 next = strtok_r(NULL, sep, &ptr); in buf_to_struct()
[all …]
/dports/astro/gnuastro/gnuastro-0.16/bootstrapped/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 16
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/print/ttfautohint/ttfautohint-1.8.4/gnulib/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 16
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/security/libgsasl/gsasl-1.10.0/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/math/pspp/pspp-1.4.1/gl/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/devel/gnulib/gnulib-20140202-stable/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 13
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
65 AC_CHECK_DECLS_ONCE([strtok_r])
71 # Prerequisites of lib/strtok_r.c.
/dports/security/gnutls/gnutls-3.6.16/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/security/gsasl/gsasl-1.10.0/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/devel/gdb/gdb-11.1/gnulib/import/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/devel/rcs/rcs-5.10.0/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/security/shishi/shishi-1.0.2/gl/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 13
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
65 AC_CHECK_DECLS_ONCE([strtok_r])
71 # Prerequisites of lib/strtok_r.c.
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 16
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.
/dports/security/oath-toolkit/oath-toolkit-2.6.2/liboath/gl/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 13
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
65 AC_CHECK_DECLS_ONCE([strtok_r])
71 # Prerequisites of lib/strtok_r.c.
/dports/ftp/lftp/lftp-4.9.2/m4/
H A Dstrtok_r.m41 # strtok_r.m4 serial 15
10 dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
15 AC_CHECK_FUNCS([strtok_r])
18 dnl glibc 2.7 has a bug in strtok_r that causes a segmentation fault
19 dnl when the second argument to strtok_r is a constant string that has
23 AC_CACHE_CHECK([whether strtok_r works], [gl_cv_func_strtok_r_works],
37 strtok_r (delimiters, "x", &save_ptr);
38 strtok_r (NULL, "x", &save_ptr);
64 AC_CHECK_DECLS_ONCE([strtok_r])
70 # Prerequisites of lib/strtok_r.c.

12345678910>>...160