Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 25 of 1034) sorted by relevance

12345678910>>...42

/external/python/cpython2/Lib/test/
Dtest_print.py22 lambda args, sep, end, file: print(*args),
24 lambda args, sep, end, file: print(file=file, *args),
26 lambda args, sep, end, file: print(end=end, *args),
28 lambda args, sep, end, file: print(end=end, file=file, *args),
30 lambda args, sep, end, file: print(sep=sep, *args),
32 lambda args, sep, end, file: print(sep=sep, file=file, *args),
34 lambda args, sep, end, file: print(sep=sep, end=end, *args),
36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
48 sep=NotDefined, end=NotDefined, file=NotDefined): argument
55 fn = dispatch[(sep is not NotDefined,
[all …]
/external/python/cpython3/Lib/test/
Dtest_print.py16 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=sep, file=file, *args),
28 lambda args, sep, end, file: print(sep=sep, end=end, *args),
30 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
47 sep=NotDefined, end=NotDefined, file=NotDefined): argument
54 fn = dispatch[(sep is not NotDefined,
[all …]
Dtest_zipimport.py48 return path.replace(os.sep, '.')
99 if path[-1] == os.sep:
257 packdir = TESTPACK + os.sep
265 packdir = TESTPACK + os.sep
266 packdir2 = packdir + TESTPACK2 + os.sep
275 packdir = TESTPACK + os.sep
276 packdir2 = packdir + TESTPACK2 + os.sep
286 packdir = TESTPACK + os.sep
287 packdir2 = packdir + TESTPACK2 + os.sep
288 packdir3 = packdir2 + TESTPACK + '3' + os.sep
[all …]
/external/python/cpython3/Lib/
Dposixpath.py19 sep = '/' variable
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 = _get_sep(p)
105 i = p.rfind(sep) + 1
[all …]
Dntpath.py14 sep = '\\' variable
80 sep = b'\\'
84 sep = '\\'
89 path[:0] + sep #23780: Ensure compatible data type even if p is null.
109 result_path = result_path + sep
114 return result_drive + sep + result_path
146 sep = b'\\'
150 sep = '\\'
153 normp = p.replace(altsep, sep)
154 if (normp[0:2] == sep*2) and (normp[2:3] != sep):
[all …]
/external/ant-glob/src/org/apache/tools/ant/util/
DFileUtils.java121 char sep = File.separatorChar; in isAbsolutePath() local
122 filename = filename.replace('/', sep).replace('\\', sep); in isAbsolutePath()
125 return (c == sep); in isAbsolutePath()
127 if (c == sep) { in isAbsolutePath()
129 if (!(ON_DOS && len > 4 && filename.charAt(1) == sep)) { in isAbsolutePath()
133 int nextsep = filename.indexOf(sep, 2); in isAbsolutePath()
138 && filename.length() > 2 && filename.charAt(2) == sep) in isAbsolutePath()
150 char sep = File.separatorChar; in dissect() local
151 path = path.replace('/', sep).replace('\\', sep); in dissect()
164 root += sep; in dissect()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dtransform_unranked_hlo.cc37 #define MAP_XLA_OPERATION_CWISE_UNARY(fn, sep) \ argument
38 fn(AbsOp) sep fn(CeilOp) sep fn(ClzOp) sep fn(ConvertOp) sep fn(CosOp) \
39 sep fn(ExpOp) sep fn(Expm1Op) sep fn(FloorOp) sep fn(ImagOp) \
40 sep fn(IsFiniteOp) sep fn(LogOp) sep fn(Log1pOp) sep fn(LogisticOp) \
41 sep fn(NotOp) sep fn(NegOp) sep fn(PopulationCountOp) \
42 sep fn(RealOp) sep fn(RoundOp) sep fn(RsqrtOp) \
43 sep fn(SignOp) sep fn(SinOp) sep fn(SqrtOp) \
44 sep fn(TanhOp)
47 #define MAP_XLA_OPERATION_CWISE_BINARY(fn, sep) \ argument
48 fn(AddOp) sep fn(AndOp) sep fn(Atan2Op) sep fn(ComplexOp) sep fn(DivOp) \
[all …]
/external/libfuse/lib/
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 - t; in match_template()
229 const struct fuse_opt *opt, unsigned sep, in process_opt() argument
237 if (sep && opt->templ[sep + 1]) { in process_opt()
238 const char *param = arg + sep; in process_opt()
239 if (opt->templ[sep] == '=') in process_opt()
[all …]
/external/googletest/googlemock/src/
Dgmock-matchers.cc234 const char* sep = ""; in LogElementMatcherPairVec() local
236 os << sep << "\n (" in LogElementMatcherPairVec()
239 sep = ","; in LogElementMatcherPairVec()
269 const char* sep = ""; in DebugString() local
271 ss << sep; in DebugString()
275 sep = ";"; in DebugString()
304 const char* sep = ""; in DescribeToImpl() local
306 *os << sep; in DescribeToImpl()
314 sep = ", and\n"; in DescribeToImpl()
316 sep = "\n"; in DescribeToImpl()
[all …]
/external/elfutils/libdwelf/
Ddwelf_strtab.c189 searchstring (Dwelf_Strent **sep, Dwelf_Strent *newstr) in searchstring() argument
192 if (*sep == NULL) in searchstring()
194 *sep = newstr; in searchstring()
195 return sep; in searchstring()
199 int cmpres = memcmp ((*sep)->reverse, newstr->reverse, in searchstring()
200 MIN ((*sep)->len, newstr->len) - 1); in searchstring()
203 return sep; in searchstring()
205 return searchstring (&(*sep)->left, newstr); in searchstring()
207 return searchstring (&(*sep)->right, newstr); in searchstring()
228 Dwelf_Strent **sep = searchstring (&st->root, newstr); in strtab_add() local
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DSeparators.java37 public Separators withObjectFieldValueSeparator(char sep) { in withObjectFieldValueSeparator() argument
38 return (objectFieldValueSeparator == sep) ? this in withObjectFieldValueSeparator()
39 : new Separators(sep, objectEntrySeparator, arrayValueSeparator); in withObjectFieldValueSeparator()
42 public Separators withObjectEntrySeparator(char sep) { in withObjectEntrySeparator() argument
43 return (objectEntrySeparator == sep) ? this in withObjectEntrySeparator()
44 : new Separators(objectFieldValueSeparator, sep, arrayValueSeparator); in withObjectEntrySeparator()
47 public Separators withArrayValueSeparator(char sep) { in withArrayValueSeparator() argument
48 return (arrayValueSeparator == sep) ? this in withArrayValueSeparator()
49 : new Separators(objectFieldValueSeparator, objectEntrySeparator, sep); in withArrayValueSeparator()
/external/googletest/googletest/scripts/
Dgen_gtest_pred_impl.py190 def Iter(n, format, sep=''): argument
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=', '),
425 'int_vs' : Iter(n, 'int v%s', sep=', '),
[all …]
/external/llvm-project/llvm/utils/unittest/googlemock/src/
Dgmock-matchers.cc317 const char *sep = ""; in LogElementMatcherPairVec() local
319 os << sep << "\n (" in LogElementMatcherPairVec()
322 sep = ","; in LogElementMatcherPairVec()
348 const char *sep = "where:\n"; in FindPairing() local
350 *listener << sep << " - element #" << matches[mi].first in FindPairing()
352 sep = ",\n"; in FindPairing()
384 const char *sep = ""; in DebugString() local
386 ss << sep; in DebugString()
390 sep = ";"; in DebugString()
408 const char* sep = ""; in DescribeToImpl() local
[all …]
/external/grpc-grpc/src/core/lib/slice/
Dslice_string_helpers.cc40 static int slice_find_separator_offset(const grpc_slice str, const char* sep, in slice_find_separator_offset() argument
46 const size_t sep_len = strlen(sep); in slice_find_separator_offset()
52 if (memcmp(str_ptr + i, sep, sep_len) == 0) { in slice_find_separator_offset()
71 static void grpc_slice_split_inner(grpc_slice str, const char* sep, in grpc_slice_split_inner() argument
73 const size_t sep_len = strlen(sep); in grpc_slice_split_inner()
80 if (slice_find_separator_offset(str, sep, 0, &begin, &end) != 0) { in grpc_slice_split_inner()
87 } while (slice_find_separator_offset(str, sep, sep_pos + sep_len, &begin, in grpc_slice_split_inner()
105 void grpc_slice_split(grpc_slice str, const char* sep, grpc_slice_buffer* dst) { in grpc_slice_split() argument
106 grpc_slice_split_inner(str, sep, dst, false); in grpc_slice_split()
109 void grpc_slice_split_without_space(grpc_slice str, const char* sep, in grpc_slice_split_without_space() argument
[all …]
/external/python/cpython3/Python/
Dpystrhex.c8 const PyObject* sep, int bytes_per_sep_group, in _Py_strhex_impl() argument
14 if (sep) { in _Py_strhex_impl()
15 Py_ssize_t seplen = PyObject_Length((PyObject*)sep); 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()
30 sep_char = PyUnicode_READ_CHAR(sep, 0); in _Py_strhex_impl()
32 else if (PyBytes_Check(sep)) { in _Py_strhex_impl()
33 sep_char = PyBytes_AS_STRING(sep)[0]; in _Py_strhex_impl()
162 PyObject * _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, co… in _Py_strhex_with_sep() argument
[all …]
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py145 sep = '/' variable in _FakeFlavour
158 self.sep = filesystem.path_separator
174 def _splitroot_with_drive(self, path, sep): argument
177 if second == sep and first == sep:
186 if second == sep and first == sep and third != sep:
191 index = path.find(sep, 2)
193 index2 = path.find(sep, index + 1)
200 return prefix + path[1:index2], sep, path[index2 + 1:]
201 return path[:index2], sep, path[index2 + 1:]
207 if first == sep:
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_string_helpers.cc49 static int slice_find_separator_offset(const grpc_slice str, const char* sep, in slice_find_separator_offset() argument
55 const size_t sep_len = strlen(sep); in slice_find_separator_offset()
61 if (memcmp(str_ptr + i, sep, sep_len) == 0) { in slice_find_separator_offset()
80 static void grpc_slice_split_inner(grpc_slice str, const char* sep, in grpc_slice_split_inner() argument
82 const size_t sep_len = strlen(sep); in grpc_slice_split_inner()
89 if (slice_find_separator_offset(str, sep, 0, &begin, &end) != 0) { in grpc_slice_split_inner()
96 } while (slice_find_separator_offset(str, sep, sep_pos + sep_len, &begin, in grpc_slice_split_inner()
114 void grpc_slice_split(grpc_slice str, const char* sep, grpc_slice_buffer* dst) { in grpc_slice_split() argument
115 grpc_slice_split_inner(str, sep, dst, false); in grpc_slice_split()
118 void grpc_slice_split_without_space(grpc_slice str, const char* sep, in grpc_slice_split_without_space() argument
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dproc_cpuinfo_reader.h77 char* sep = static_cast<char*>(my_memchr(line, ':', line_len)); in GetNextField() local
78 if (sep == NULL) in GetNextField()
83 const char* val = sep+1; in GetNextField()
92 while (sep > line && my_isspace(sep[-1])) in GetNextField()
93 sep--; in GetNextField()
95 if (sep == line) in GetNextField()
99 *sep = '\0'; in GetNextField()
/external/icu/icu4c/source/data/translit/
DLatin_ConjoiningJamo.txt140 $sep = \-;
169 $sep $sep ↔ $sep;
174 $sep ← $latinMedialEnd s {} $SSi;
185 …case is a chain, like aeoeu. Normally interpreted as ae oe u. So for a-eoeu, we have to insert $sep
197 $sep ← a {} [$E $EO $EU];
198 $sep ← [^aow] e {} [$O $OE];
199 $sep ← [^aowy] e {} [$U $UI];
200 $sep ← [^ey] o {} [$E $EO $EU];
201 $sep ← [^y] u {} [$I];
203 $sep ← [^$latinMedial] [y] e {} $IEUNG [$O $OE];
[all …]
/external/libcups/cups/
Dencode.c397 *sep, /* Option separator */ in _cupsEncodeOption() local
430 for (count = 1, sep = (char *)value, quote = 0; *sep; sep ++) in _cupsEncodeOption()
432 if (*sep == quote) in _cupsEncodeOption()
434 else if (!quote && (*sep == '\'' || *sep == '\"')) in _cupsEncodeOption()
440 quote = *sep; in _cupsEncodeOption()
442 else if (*sep == ',' && !quote) in _cupsEncodeOption()
444 else if (*sep == '\\' && sep[1]) in _cupsEncodeOption()
445 sep ++; in _cupsEncodeOption()
500 for (i = 0, sep = val; i < count; val = sep, i ++) in _cupsEncodeOption()
508 for (quote = 0; *sep; sep ++) in _cupsEncodeOption()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DIssuingDistributionPoint.java223 String sep = Strings.lineSeparator(); in toString() local
227 buf.append(sep); in toString()
230 appendObject(buf, sep, "distributionPoint", distributionPoint.toString()); in toString()
234 appendObject(buf, sep, "onlyContainsUserCerts", booleanToString(onlyContainsUserCerts)); in toString()
238 appendObject(buf, sep, "onlyContainsCACerts", booleanToString(onlyContainsCACerts)); in toString()
242 appendObject(buf, sep, "onlySomeReasons", onlySomeReasons.toString()); in toString()
246 … appendObject(buf, sep, "onlyContainsAttributeCerts", booleanToString(onlyContainsAttributeCerts)); in toString()
250 appendObject(buf, sep, "indirectCRL", booleanToString(indirectCRL)); in toString()
253 buf.append(sep); in toString()
257 private void appendObject(StringBuffer buf, String sep, String name, String value) in appendObject() argument
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DIssuingDistributionPoint.java225 String sep = Strings.lineSeparator(); in toString() local
229 buf.append(sep); in toString()
232 appendObject(buf, sep, "distributionPoint", distributionPoint.toString()); in toString()
236 appendObject(buf, sep, "onlyContainsUserCerts", booleanToString(onlyContainsUserCerts)); in toString()
240 appendObject(buf, sep, "onlyContainsCACerts", booleanToString(onlyContainsCACerts)); in toString()
244 appendObject(buf, sep, "onlySomeReasons", onlySomeReasons.toString()); in toString()
248 … appendObject(buf, sep, "onlyContainsAttributeCerts", booleanToString(onlyContainsAttributeCerts)); in toString()
252 appendObject(buf, sep, "indirectCRL", booleanToString(indirectCRL)); in toString()
255 buf.append(sep); in toString()
259 private void appendObject(StringBuffer buf, String sep, String name, String value) in appendObject() argument
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DIssuingDistributionPoint.java225 String sep = Strings.lineSeparator(); in toString() local
229 buf.append(sep); in toString()
232 appendObject(buf, sep, "distributionPoint", distributionPoint.toString()); in toString()
236 appendObject(buf, sep, "onlyContainsUserCerts", booleanToString(onlyContainsUserCerts)); in toString()
240 appendObject(buf, sep, "onlyContainsCACerts", booleanToString(onlyContainsCACerts)); in toString()
244 appendObject(buf, sep, "onlySomeReasons", onlySomeReasons.toString()); in toString()
248 … appendObject(buf, sep, "onlyContainsAttributeCerts", booleanToString(onlyContainsAttributeCerts)); in toString()
252 appendObject(buf, sep, "indirectCRL", booleanToString(indirectCRL)); in toString()
255 buf.append(sep); in toString()
259 private void appendObject(StringBuffer buf, String sep, String name, String value) in appendObject() argument
[all …]
/external/python/cpython3/Objects/clinic/
Dbytesobject.c.h23 bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit);
33 PyObject *sep = Py_None; in bytes_split() local
44 sep = args[0]; in bytes_split()
67 return_value = bytes_split_impl(self, sep, maxsplit); in bytes_split()
90 bytes_partition_impl(PyBytesObject *self, Py_buffer *sep);
96 Py_buffer sep = {NULL, NULL}; in bytes_partition() local
98 if (PyObject_GetBuffer(arg, &sep, PyBUF_SIMPLE) != 0) { in bytes_partition()
101 if (!PyBuffer_IsContiguous(&sep, 'C')) { in bytes_partition()
105 return_value = bytes_partition_impl(self, &sep); in bytes_partition()
109 if (sep.obj) { in bytes_partition()
[all …]
/external/eigen/doc/snippets/
DIOFormat.cpp1 std::string sep = "\n----------------------------------------\n"; variable
10 std::cout << m1 << sep;
11 std::cout << m1.format(CommaInitFmt) << sep;
12 std::cout << m1.format(CleanFmt) << sep;
13 std::cout << m1.format(OctaveFmt) << sep;
14 std::cout << m1.format(HeavyFmt) << sep;

12345678910>>...42