/third_party/curl/lib/ |
H A D | strtok.c | 33 Curl_strtok_r(char *ptr, const char *sep, char **end) in Curl_strtok_r() argument 40 while(*ptr && strchr(sep, *ptr)) in Curl_strtok_r() 52 while(**end && !strchr(sep, **end)) in Curl_strtok_r()
|
/third_party/musl/src/string/ |
H A D | wcstok.c | 3 wchar_t *wcstok(wchar_t *restrict s, const wchar_t *restrict sep, wchar_t **restrict p) in wcstok() argument 6 s += wcsspn(s, sep); in wcstok() 8 *p = s + wcscspn(s, sep); in wcstok()
|
/third_party/python/Tools/scripts/ |
H A D | suff.py | 21 name, sep, suff = filename.rpartition('.') 22 return sep + suff if sep else ''
|
/third_party/node/lib/ |
H A D | querystring.js | 223 * @param {string} [sep] 228 function stringify(obj, sep, eq, options) { 229 sep = sep || '&'; 253 fields += sep; 256 fields += sep; 262 fields += sep; 310 * @param {string} sep 318 function parse(qs, sep, eq, options) { 325 const sepCodes = (!sep [all...] |
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | model.py | 284 sep = '' 286 self.formatter.text(sep) 288 sep = ', ' 293 sep = '' 295 self.formatter.text(sep) 299 sep = ', ' 319 sep = '' 321 self.formatter.text(sep) 325 sep = ', '
|
/third_party/python/Tools/stringbench/ |
H A D | stringbench.py | 680 "join empty string, with 1 character sep", 100) 682 sep = STR("A") 684 sep_join = sep.join 689 "join empty string, with 5 character sep", 100) 691 sep = STR("ABCDE") 693 sep_join = sep.join 698 "join string with 26 characters, with 1 character sep", 1000) 700 sep = STR("A") 702 sep_join = sep.join 707 "join string with 26 characters, with 5 character sep", 100 [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_format.c | 60 char *cur, *sep; in init() local 85 sep = strchr(cur, '|'); in init() 86 if (sep) in init() 87 *sep++ = 0; in init() 92 cur = sep; in init()
|
/third_party/node/lib/internal/modules/ |
H A D | package_json_reader.js | 16 const { resolve, sep, toNamespacedPath } = require('path'); 149 const rootSeparatorIndex = StringPrototypeIndexOf(checkPath, sep); 152 separatorIndex = StringPrototypeLastIndexOf(checkPath, sep); 154 if (StringPrototypeEndsWith(checkPath, sep + 'node_modules')) { 157 const pjson = readPackage(checkPath + sep);
|
/third_party/musl/libc-test/src/functional/ |
H A D | fnmatch.c | 29 char *sep; in flagstr() local 37 sep = ""; in flagstr() 40 n += sprintf(buf+n, "%s%s", sep, map->str); in flagstr() 41 sep = "|"; in flagstr() 46 sprintf(buf, "%sunknown=%#x", sep, flags); in flagstr()
|
/third_party/openssl/test/ |
H A D | hexstr_test.c | 24 const char sep; member 71 if (!TEST_ptr(buf = ossl_hexstr2buf_sep(test->in, &len, test->sep)) in test_hexstr_sep_to_from() 73 || !TEST_ptr(out = ossl_buf2hexstr_sep(buf, len, test->sep)) in test_hexstr_sep_to_from() 92 if (test->sep != '_') { in test_hexstr_to_from() 97 if (test->sep == ':') { in test_hexstr_to_from()
|
/third_party/skia/infra/bots/ |
H A D | zip_utils.py | 42 zi.filename = zi.filename.replace(ntpath.sep, posixpath.sep) 70 dst_subpath = dst_subpath.replace(posixpath.sep, ntpath.sep) 72 if dst_path.endswith(os.path.sep):
|
/third_party/gn/misc/ |
H A D | help_as_html.py | 31 command, sep, rest = line.partition(':') 41 output_line.extend([sep + cgi.escape(rest) + '</li>']) 54 name, sep, rest = line.partition(':') 57 cgi.escape(name + sep + rest) + '</a></h3>')
|
/third_party/ltp/testcases/kernel/mce-test/tools/ |
H A D | scov_merge.py | 26 sep = l.find('\t') 27 die_on(sep <= 0, 'input error format error') 28 remain = l[sep:] 29 scnt = l[:sep]
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | ast_dump.py | 23 sep = ",\n" + indent * level 26 sep = ", " 60 return "%s(%s%s)" % (node.__class__.__name__, prefix, sep.join(args)), False 64 return "[%s%s]" % (prefix, sep.join(_format(x, level)[0] for x in node)), False
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_print.py | 54 sep = end = file = None 62 # Now synthesize a print(args, sep=..., end=..., file=...) node. 66 if sep is not None or end is not None or file is not None: 67 if sep is not None: 68 self.add_kwarg(l_args, "sep", String(repr(sep)))
|
/third_party/python/Objects/ |
H A D | accu.c | 10 PyObject *sep, *ret; in join_list_unicode() local 11 sep = PyUnicode_FromStringAndSize("", 0); in join_list_unicode() 12 ret = PyUnicode_Join(sep, lst); in join_list_unicode() 13 Py_DECREF(sep); in join_list_unicode()
|
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt_overlay.c | 449 char *sep, *endptr; in overlay_fixup_phandle() local 461 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle() 462 if (!sep || *sep != ':') in overlay_fixup_phandle() 465 path_len = sep - path; in overlay_fixup_phandle() 470 name = sep + 1; in overlay_fixup_phandle() 471 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle() 472 if (!sep || *sep != ':') in overlay_fixup_phandle() 475 name_len = sep in overlay_fixup_phandle() [all...] |
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt_overlay.c | 434 char *sep, *endptr; in overlay_fixup_phandle() local 446 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle() 447 if (!sep || *sep != ':') in overlay_fixup_phandle() 450 path_len = sep - path; in overlay_fixup_phandle() 455 name = sep + 1; in overlay_fixup_phandle() 456 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle() 457 if (!sep || *sep != ':') in overlay_fixup_phandle() 460 name_len = sep in overlay_fixup_phandle() [all...] |
/third_party/jinja2/ |
H A D | loaders.py | 31 os.path.sep in piece 217 # Use normpath to convert Windows altsep to sep. 228 .strip(os.path.sep) 229 .replace(os.path.sep, "/") 277 package_path = os.path.normpath(package_path).rstrip(os.path.sep) 282 elif package_path[:2] == os.path.curdir + os.path.sep: 303 template_root = os.path.join(pkgdir, package_path).rstrip(os.path.sep) 335 # convert Windows altsep to sep. 376 dirpath = dirpath[offset:].lstrip(os.path.sep) 378 os.path.join(dirpath, name).replace(os.path.sep, "/") [all...] |
/third_party/skia/modules/svg/src/ |
H A D | SkSVGDOM.cpp | 154 const char* sep = this->nextSeparator(); in next() local 155 SkASSERT(*sep == ';' || *sep == '\0'); in next() 158 if (valueSep && valueSep < sep) { in next() 160 value = TrimmedString(valueSep + 1, sep - 1); in next() 163 fPos = *sep ? sep + 1 : nullptr; in next() 171 const char* sep = fPos; in nextSeparator() local 172 while (*sep != ';' && *sep ! in nextSeparator() [all...] |
/third_party/markupsafe/ |
H A D | __init__.py | 123 self, sep: t.Optional[str] = None, maxsplit: int = -1 125 return [self.__class__(v) for v in super().split(sep, maxsplit)] 130 self, sep: t.Optional[str] = None, maxsplit: int = -1 132 return [self.__class__(v) for v in super().rsplit(sep, maxsplit)] 233 def partition(self, sep: str) -> t.Tuple["te.Self", "te.Self", "te.Self"]: 234 l, s, r = super().partition(self.escape(sep)) 238 def rpartition(self, sep: str) -> t.Tuple["te.Self", "te.Self", "te.Self"]: 239 l, s, r = super().rpartition(self.escape(sep))
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
H A D | generate_wgsl_corpus.py | 47 input_dir: str = os.path.abspath(sys.argv[1].rstrip(os.sep)) 55 out_file = in_file[len(input_dir) + 1:].replace(os.sep, '_') 56 shutil.copy(in_file, corpus_dir + os.sep + out_file)
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | WireHelper.cpp | 41 const char* sep = GetPathSeparator(); in WireServerTraceLayer() local 42 if (mDir.size() > 0 && mDir.back() != *sep) { in WireServerTraceLayer() 43 mDir += sep; in WireServerTraceLayer()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | exception_safety_testing.cc | 52 absl::string_view sep; in GetSpecString() local 54 absl::StrAppend(&out, sep, s); in GetSpecString() 55 sep = " | "; in GetSpecString()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | strlist.c | 144 char *sep; in strlist__parse_list() local 147 while ((sep = strchr(s, ',')) != NULL) { in strlist__parse_list() 148 *sep = '\0'; in strlist__parse_list() 150 *sep = ','; in strlist__parse_list() 153 s = sep + 1; in strlist__parse_list()
|