/third_party/python/Lib/test/ |
H A D | test_print.py | 10 # sep, end, and file. 16 lambda args, sep, end, file: print(*args), 18 lambda args, sep, end, file: print(file=file, *args), 20 lambda args, sep, end, file: print(end=end, *args), 22 lambda args, sep, end, file: print(end=end, file=file, *args), 24 lambda args, sep, end, file: print(sep=sep, *args), 26 lambda args, sep, end, file: print(sep [all...] |
H A D | test_zipimport.py | 46 return path.replace(os.sep, '.') 97 if path[-1] == os.sep: 264 packdir = TESTPACK + os.sep 272 packdir = TESTPACK + os.sep 273 packdir2 = packdir + TESTPACK2 + os.sep 282 packdir = TESTPACK + os.sep 283 packdir2 = packdir + TESTPACK2 + os.sep 293 packdir = TESTPACK + os.sep 294 packdir2 = packdir + TESTPACK2 + os.sep 295 packdir3 = packdir2 + TESTPACK + '3' + os.sep [all...] |
H A D | test_locale.py | 166 self.sep = locale.localeconv()['thousands_sep'] 169 self._test_format("%f", 1024, grouping=1, out='1%s024.000000' % self.sep) 176 if self.sep: 178 out=('-4%s200' % self.sep).rjust(10)) 180 out=('-4%s200' % self.sep).ljust(10)) 183 self._test_format("%d", 4200, grouping=True, out='4%s200' % self.sep) 184 self._test_format("%+d", 4200, grouping=True, out='+4%s200' % self.sep) 185 self._test_format("%+d", -4200, grouping=True, out='-4%s200' % self.sep) 189 out=('4%s200' % self.sep).rjust(10)) 191 out=('-4%s200' % self.sep) [all...] |
/third_party/ntfs-3g/libfuse-lite/ |
H A D | fuse_opt.c | 144 const char *sep = strchr(t, '='); in match_template() local 145 sep = sep ? sep : strchr(t, ' '); in match_template() 146 if (sep && (!sep[1] || sep[1] == '%')) { in match_template() 147 int tlen = sep - t; in match_template() 148 if (sep[0] == '=') in match_template() 151 *sepp = sep in match_template() 196 process_opt(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) process_opt() argument 218 process_opt_sep_arg(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) process_opt_sep_arg() argument 244 unsigned sep; process_gopt() local 263 char *sep; process_real_option_group() local 297 const char *sep = strchr(opts, ','); process_option_group() local [all...] |
/third_party/python/Lib/ |
H A D | posixpath.py | 19 sep = '/' variable 36 "curdir","pardir","sep","pathsep","defpath","altsep","extsep", 63 sep = _get_sep(s) 64 return s.startswith(sep) 77 sep = _get_sep(a) 81 path[:0] + sep #23780: Ensure compatible data type even if p is null. 83 if b.startswith(sep): 85 elif not path or path.endswith(sep): 88 path += sep + b 104 sep [all...] |
H A D | ntpath.py | 14 sep = '\\' variable 31 "curdir","pardir","sep","pathsep","defpath","altsep", 91 sep = b'\\' 95 sep = '\\' 98 s = s[:3].replace(altsep, sep) 101 if s.startswith(sep) or s.startswith(colon_sep, 1): 110 sep = b'\\' 114 sep = '\\' 119 path[:0] + sep #23780: Ensure compatible data type even if p is null. 139 result_path = result_path + sep [all...] |
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | tables.py | 84 sep='\t', 95 sep=sep, 105 header = sep.join(header) 114 for row in _get_reader(lines, delimiter=sep or '\t'): 119 sep='\t', 134 sep=sep, 142 header = header.split(sep or '\t') 144 writer = _get_writer(outfile, delimiter=sep o [all...] |
/third_party/googletest/googlemock/src/ |
H A D | gmock-matchers.cc | 237 const char* sep = ""; in LogElementMatcherPairVec() local 239 os << sep << "\n (" in LogElementMatcherPairVec() 242 sep = ","; in LogElementMatcherPairVec() 272 const char* sep = ""; in DebugString() local 274 ss << sep; in DebugString() local 278 sep = ";"; in DebugString() 307 const char* sep = ""; in DescribeToImpl() local 309 *os << sep; in DescribeToImpl() local 317 sep = ", and\n"; in DescribeToImpl() 319 sep in DescribeToImpl() 348 const char* sep = ""; DescribeNegationToImpl() local 350 *os << sep; DescribeNegationToImpl() local 403 const char* sep = VerifyMatchMatrix() local 417 const char* sep = VerifyMatchMatrix() local 467 const char* sep = "where:\\n"; FindPairing() local [all...] |
/third_party/elfutils/libdwelf/ |
H A D | dwelf_strtab.c | 187 searchstring (Dwelf_Strent **sep, Dwelf_Strent *newstr) in searchstring() argument 190 if (*sep == NULL) in searchstring() 192 *sep = newstr; in searchstring() 193 return sep; in searchstring() 197 int cmpres = memcmp ((*sep)->reverse, newstr->reverse, in searchstring() 198 MIN ((*sep)->len, newstr->len) - 1); in searchstring() 201 return sep; in searchstring() 203 return searchstring (&(*sep)->left, newstr); in searchstring() 205 return searchstring (&(*sep)->right, newstr); in searchstring() 226 Dwelf_Strent **sep in strtab_add() [all...] |
/third_party/googletest/googletest/scripts/ |
H A D | gen_gtest_pred_impl.py | 190 def Iter(n, format, sep=''): 198 Iter(3, 'v%s', sep=', ') returns 'v1, v2, v3'. 203 return sep.join([format % (spec_count * (i,)) for i in OneTo(n)]) 212 'vs' : Iter(n, 'v%s', sep=', '), 213 'vts' : Iter(n, '#v%s', sep=', '), 247 << e%s""", sep=' << ", "') 421 'es' : Iter(n, 'e%s', sep=', '), 422 'vs' : Iter(n, 'v%s', sep=', '), 423 'vts' : Iter(n, '#v%s', sep=', '), 424 'tvs' : Iter(n, 'T%s v%s', sep [all...] |
/third_party/libfuse/lib/ |
H A D | fuse_opt.c | 174 const char *sep = strchr(t, '='); in match_template() local 175 sep = sep ? sep : strchr(t, ' '); in match_template() 176 if (sep && (!sep[1] || sep[1] == '%')) { in match_template() 177 int tlen = sep - t; in match_template() 178 if (sep[0] == '=') in match_template() 181 *sepp = sep in match_template() 228 process_opt(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) process_opt() argument 250 process_opt_sep_arg(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) process_opt_sep_arg() argument 276 unsigned sep; process_gopt() local [all...] |
/third_party/python/Python/ |
H A D | pystrhex.c | 8 PyObject* sep, int bytes_per_sep_group, in _Py_strhex_impl() 14 if (sep) { in _Py_strhex_impl() 15 Py_ssize_t seplen = PyObject_Length((PyObject*)sep); in _Py_strhex_impl() 20 PyErr_SetString(PyExc_ValueError, "sep must be length 1."); in _Py_strhex_impl() 23 if (PyUnicode_Check(sep)) { in _Py_strhex_impl() 24 if (PyUnicode_READY(sep)) in _Py_strhex_impl() 26 if (PyUnicode_KIND(sep) != PyUnicode_1BYTE_KIND) { in _Py_strhex_impl() 27 PyErr_SetString(PyExc_ValueError, "sep must be ASCII."); in _Py_strhex_impl() 30 sep_char = PyUnicode_READ_CHAR(sep, 0); in _Py_strhex_impl() 32 else if (PyBytes_Check(sep)) { in _Py_strhex_impl() 7 _Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen, PyObject* sep, int bytes_per_sep_group, const int return_bytes) _Py_strhex_impl() argument 162 _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, PyObject* sep, const int bytes_per_group) _Py_strhex_with_sep() argument 170 _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, PyObject* sep, const int bytes_per_group) _Py_strhex_bytes_with_sep() argument [all...] |
/third_party/ltp/testcases/kernel/mce-test/tools/ |
H A D | gcov_merge.py | 26 sep = l.find(':') 27 die_on(sep <= 0, 'input error format error') 28 remain = l[sep:] 29 scnt = l[:sep] 36 self.sep = sep 43 of.write("%*s" % (self.sep, '-')) 45 of.write("%*s" % (self.sep, '#####')) 47 of.write("%*d" % (self.sep, self.count))
|
/third_party/ffmpeg/libavcodec/ |
H A D | tiff_common.c | 73 static const char *auto_sep(int count, const char *sep, int i, int columns) in auto_sep() argument 75 if (sep) in auto_sep() 76 return i ? sep : ""; in auto_sep() 99 int ff_tadd_rational_metadata(int count, const char *name, const char *sep, in ff_tadd_rational_metadata() argument 116 av_bprintf(&bp, "%s%7"PRId32":%-7"PRId32, auto_sep(count, sep, i, 4), nom, denom); in ff_tadd_rational_metadata() 123 int ff_tadd_long_metadata(int count, const char *name, const char *sep, in ff_tadd_long_metadata() argument 137 av_bprintf(&bp, "%s%7i", auto_sep(count, sep, i, 8), ff_tget_long(gb, le)); in ff_tadd_long_metadata() 144 int ff_tadd_doubles_metadata(int count, const char *name, const char *sep, in ff_tadd_doubles_metadata() argument 158 av_bprintf(&bp, "%s%.15g", auto_sep(count, sep, i, 4), ff_tget_double(gb, le)); in ff_tadd_doubles_metadata() 165 int ff_tadd_shorts_metadata(int count, const char *name, const char *sep, in ff_tadd_shorts_metadata() argument 187 ff_tadd_bytes_metadata(int count, const char *name, const char *sep, GetByteContext *gb, int le, int is_signed, AVDictionary **metadata) ff_tadd_bytes_metadata() argument [all...] |
/third_party/python/Objects/clinic/ |
H A D | bytesobject.c.h | 24 "split($self, /, sep=None, maxsplit=-1)\n" 27 "Return a list of the sections in the bytes, using sep as the delimiter.\n" 29 " sep\n" 41 bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 47 static const char * const _keywords[] = {"sep", "maxsplit", NULL}; in bytes_split() 51 PyObject *sep = Py_None; in bytes_split() local 62 sep = args[0]; in bytes_split() 80 return_value = bytes_split_impl(self, sep, maxsplit); in bytes_split() 87 "partition($self, sep, /)\n" 92 "This will search for the separator sep i 109 Py_buffer sep = {NULL, NULL}; bytes_partition() local 152 Py_buffer sep = {NULL, NULL}; bytes_rpartition() local 202 PyObject *sep = Py_None; bytes_rsplit() local 804 PyObject *sep = NULL; bytes_hex() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | o_str.c | 139 const char *str, const char sep) in hexstr2buf_sep() 150 if (ch == sep && sep != CH_ZERO) in hexstr2buf_sep() 182 const char *str, const char sep) in OPENSSL_hexstr2buf_ex() 184 return hexstr2buf_sep(buf, buf_n, buflen, str, sep); in OPENSSL_hexstr2buf_ex() 188 const char sep) in ossl_hexstr2buf_sep() 207 if (hexstr2buf_sep(buf, buf_n, &tmp_buflen, str, sep)) { in ossl_hexstr2buf_sep() 223 const char sep) in buf2hexstr_sep() 229 int has_sep = (sep != CH_ZERO); in buf2hexstr_sep() 247 *q++ = sep; in buf2hexstr_sep() 138 hexstr2buf_sep(unsigned char *buf, size_t buf_n, size_t *buflen, const char *str, const char sep) hexstr2buf_sep() argument 181 OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, const char *str, const char sep) OPENSSL_hexstr2buf_ex() argument 187 ossl_hexstr2buf_sep(const char *str, long *buflen, const char sep) ossl_hexstr2buf_sep() argument 221 buf2hexstr_sep(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) buf2hexstr_sep() argument 259 OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) OPENSSL_buf2hexstr_ex() argument 266 ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep) ossl_buf2hexstr_sep() argument [all...] |
/third_party/openssl/crypto/ |
H A D | o_str.c | 139 const char *str, const char sep) in hexstr2buf_sep() 150 if (ch == sep && sep != CH_ZERO) in hexstr2buf_sep() 182 const char *str, const char sep) in OPENSSL_hexstr2buf_ex() 184 return hexstr2buf_sep(buf, buf_n, buflen, str, sep); in OPENSSL_hexstr2buf_ex() 188 const char sep) in ossl_hexstr2buf_sep() 207 if (hexstr2buf_sep(buf, buf_n, &tmp_buflen, str, sep)) { in ossl_hexstr2buf_sep() 223 const char sep) in buf2hexstr_sep() 229 int has_sep = (sep != CH_ZERO); in buf2hexstr_sep() 249 *q++ = sep; in buf2hexstr_sep() 138 hexstr2buf_sep(unsigned char *buf, size_t buf_n, size_t *buflen, const char *str, const char sep) hexstr2buf_sep() argument 181 OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, const char *str, const char sep) OPENSSL_hexstr2buf_ex() argument 187 ossl_hexstr2buf_sep(const char *str, long *buflen, const char sep) ossl_hexstr2buf_sep() argument 221 buf2hexstr_sep(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) buf2hexstr_sep() argument 261 OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, const unsigned char *buf, size_t buflen, const char sep) OPENSSL_buf2hexstr_ex() argument 268 ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep) ossl_buf2hexstr_sep() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/string/ |
H A D | strsep.c | 30 char *sep = "w"; in strsep_0100() local 31 char *result = strsep(&p, sep); in strsep_0100() 50 char *sep = "l"; in strsep_0200() local 51 char *result = strsep(&p, sep); in strsep_0200() 70 char *sep = "a"; in strsep_0300() local 71 char *result = strsep(&p, sep); in strsep_0300()
|
/third_party/curl/src/ |
H A D | tool_formparse.c | 473 char sep; in get_param_part() local 495 sep = *p; in get_param_part() 497 while(sep == ';') { in get_param_part() 519 sep = *p; in get_param_part() 534 sep = *p; in get_param_part() 557 sep = *p; in get_param_part() 584 sep = *p; in get_param_part() 606 sep = *p; in get_param_part() 614 sep = *p; in get_param_part() 620 sep in get_param_part() 753 int sep = '\\0'; formparse() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/ |
H A D | parse.go | 33 if suf.sep == "#" { 37 if suf.sep == ":" { 44 case suf.sep == ":": 46 case suf.sep == "-": 60 if suf.sep == "#" { 64 if suf.sep != ":" { 71 if suf.sep != ":" { 84 sep string
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
H A D | parse.go | 33 if suf.sep == "#" { 37 if suf.sep == ":" { 44 case suf.sep == ":": 46 case suf.sep == "-": 60 if suf.sep == "#" { 64 if suf.sep != ":" { 71 if suf.sep != ":" { 84 sep string
|
/third_party/spirv-tools/utils/vscode/src/lsp/span/ |
H A D | parse.go | 33 if suf.sep == "#" { 37 if suf.sep == ":" { 44 case suf.sep == ":": 46 case suf.sep == "-": 60 if suf.sep == "#" { 64 if suf.sep != ":" { 71 if suf.sep != ":" { 84 sep string
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | ext_password_file.c | 101 char *sep = os_strchr(pos, '='); in ext_password_file_get() local 103 if (!sep) { in ext_password_file_get() 109 if (!sep[1]) { in ext_password_file_get() 115 if (os_strncmp(name, pos, sep - pos) != 0) in ext_password_file_get() 118 password = wpabuf_alloc_copy(sep + 1, os_strlen(sep + 1)); in ext_password_file_get()
|
/third_party/jerryscript/tests/jerry/ |
H A D | array-prototype-tostring.js | 16 function join(sep) 18 sep = sep ? sep : ","; 24 result += sep;
|
/third_party/gn/src/gn/ |
H A D | ohos_components.cc | 175 const char *sep; in matchComponentByLabel() local 178 sep = strchr(label, '/'); in matchComponentByLabel() 179 if (sep) { in matchComponentByLabel() 180 len = sep - label; in matchComponentByLabel() 183 sep = strchr(label, ':'); in matchComponentByLabel() 184 if (sep) { in matchComponentByLabel() 185 len = sep - label; in matchComponentByLabel() 224 const char *sep; in addComponentToTree() local 227 sep = strchr(path, '/'); in addComponentToTree() 228 if (sep) { in addComponentToTree() 419 size_t sep = str_val.find(":"); GetExternalDepsLabel() local [all...] |