Home
last modified time | relevance | path

Searched refs:sep (Results 1 - 25 of 2043) sorted by relevance

12345678910>>...82

/third_party/python/Lib/test/
H A Dtest_print.py10 # 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 Dtest_zipimport.py46 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...]
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_opt.c144 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 Dposixpath.py19 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 Dntpath.py14 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 Dtables.py84 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 Dgmock-matchers.cc237 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 Ddwelf_strtab.c187 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...]
/kernel/linux/linux-6.6/drivers/parport/
H A Dprobe.c66 char *sep; in parse_data() local
69 sep = strchr(p, ':'); in parse_data()
70 if (sep) { in parse_data()
72 *(sep++) = 0; in parse_data()
74 u = sep + strlen (sep) - 1; in parse_data()
80 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
83 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
88 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
89 string_upper(sep, se in parse_data()
[all...]
/third_party/googletest/googletest/scripts/
H A Dgen_gtest_pred_impl.py190 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 Dfuse_opt.c174 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...]
/kernel/linux/linux-5.10/drivers/parport/
H A Dprobe.c66 char *sep; in parse_data() local
69 sep = strchr(p, ':'); in parse_data()
70 if (sep) { in parse_data()
72 *(sep++) = 0; in parse_data()
74 u = sep + strlen (sep) - 1; in parse_data()
84 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
87 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
92 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
93 for (u = sep; * in parse_data()
[all...]
/third_party/python/Python/
H A Dpystrhex.c8 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...]
/kernel/linux/linux-5.10/samples/pktgen/
H A Dfunctions.sh179 local sep=: sep2=::
180 local sep_cnt=$(tr -cd $sep <<< $1 | wc -c)
189 shrink=( $(egrep -o "$sep{2,}" <<< $addr) )
197 [[ ${addr:0:1} == $sep ]] && addr=0${addr}
198 [[ ${addr: -1} == $sep ]] && addr=${addr}0
211 local addr sep
224 [[ $IP6 ]] && sep=: || sep=.
225 IFS=$sep read -a addr <<< $net
272 local ip sep
[all...]
/kernel/linux/linux-6.6/samples/pktgen/
H A Dfunctions.sh185 local sep=: sep2=::
186 local sep_cnt=$(tr -cd $sep <<< $1 | wc -c)
195 shrink=( $(grep -E -o "$sep{2,}" <<< $addr) )
203 [[ ${addr:0:1} == $sep ]] && addr=0${addr}
204 [[ ${addr: -1} == $sep ]] && addr=${addr}0
217 local addr sep
230 [[ $IP6 ]] && sep=: || sep=.
231 IFS=$sep read -a addr <<< $net
278 local ip sep
[all...]
/third_party/ltp/testcases/kernel/mce-test/tools/
H A Dgcov_merge.py26 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))
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_debugfs.c34 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit()
37 seq_putc(m, *sep); in __seq_print_rq_state_bit()
39 *sep = '|'; in __seq_print_rq_state_bit()
41 seq_putc(m, *sep); in __seq_print_rq_state_bit()
43 *sep = '|'; in __seq_print_rq_state_bit()
48 bool is_set, char *sep, const char *set_name) in seq_print_rq_state_bit()
50 __seq_print_rq_state_bit(m, is_set, sep, set_name, NULL); in seq_print_rq_state_bit()
57 char sep = ' '; in seq_print_request_state() local
63 seq_print_rq_state_bit(m, s & RQ_IN_ACT_LOG, &sep, "in-AL"); in seq_print_request_state()
64 seq_print_rq_state_bit(m, s & RQ_POSTPONED, &sep, "postpone in seq_print_request_state()
33 __seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name, const char *unset_name) __seq_print_rq_state_bit() argument
47 seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name) seq_print_rq_state_bit() argument
233 char sep = ' '; seq_print_peer_request_flags() local
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_debugfs.c34 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit()
37 seq_putc(m, *sep); in __seq_print_rq_state_bit()
39 *sep = '|'; in __seq_print_rq_state_bit()
41 seq_putc(m, *sep); in __seq_print_rq_state_bit()
43 *sep = '|'; in __seq_print_rq_state_bit()
48 bool is_set, char *sep, const char *set_name) in seq_print_rq_state_bit()
50 __seq_print_rq_state_bit(m, is_set, sep, set_name, NULL); in seq_print_rq_state_bit()
57 char sep = ' '; in seq_print_request_state() local
63 seq_print_rq_state_bit(m, s & RQ_IN_ACT_LOG, &sep, "in-AL"); in seq_print_request_state()
64 seq_print_rq_state_bit(m, s & RQ_POSTPONED, &sep, "postpone in seq_print_request_state()
33 __seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name, const char *unset_name) __seq_print_rq_state_bit() argument
47 seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name) seq_print_rq_state_bit() argument
233 char sep = ' '; seq_print_peer_request_flags() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dtiff_common.c73 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/musl/libc-test/src/functionalext/supplement/string/
H A Dstrsep.c30 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()
/kernel/linux/linux-5.10/tools/perf/ui/tui/
H A Dutil.c85 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
87 if (sep == NULL) in ui_browser__input_window()
88 sep = strchr(t, '\0'); in ui_browser__input_window()
89 len = sep - t; in ui_browser__input_window()
93 if (*sep == '\0') in ui_browser__input_window()
95 t = sep + 1; in ui_browser__input_window()
175 const char *sep = strchr(t, '\n'); in __ui__info_window() local
178 if (sep == NULL) in __ui__info_window()
179 sep = strchr(t, '\0'); in __ui__info_window()
180 len = sep in __ui__info_window()
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/tui/
H A Dutil.c85 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
87 if (sep == NULL) in ui_browser__input_window()
88 sep = strchr(t, '\0'); in ui_browser__input_window()
89 len = sep - t; in ui_browser__input_window()
93 if (*sep == '\0') in ui_browser__input_window()
95 t = sep + 1; in ui_browser__input_window()
175 const char *sep = strchr(t, '\n'); in __ui__info_window() local
178 if (sep == NULL) in __ui__info_window()
179 sep = strchr(t, '\0'); in __ui__info_window()
180 len = sep in __ui__info_window()
[all...]
/third_party/python/Objects/clinic/
H A Dbytesobject.c.h24 "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 Do_str.c139 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 Do_str.c139 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...]

Completed in 11 milliseconds

12345678910>>...82