Home
last modified time | relevance | path

Searched refs:separators (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/
DSeparatorsTest.java17 Separators separators = new Separators('5', '5', '5'); in testWithArrayValueSeparatorWithDigit() local
18 Separators separatorsTwo = separators.withArrayValueSeparator('5'); in testWithArrayValueSeparatorWithDigit()
23 assertSame(separatorsTwo, separators); in testWithArrayValueSeparatorWithDigit()
25 separatorsTwo = separators.withArrayValueSeparator('6'); in testWithArrayValueSeparatorWithDigit()
30 assertNotSame(separatorsTwo, separators); in testWithArrayValueSeparatorWithDigit()
36 Separators separators = new Separators('5', '5', '5'); in testWithObjectEntrySeparator() local
37 Separators separatorsTwo = separators.withObjectEntrySeparator('!'); in testWithObjectEntrySeparator()
44 assertEquals('5', separators.getArrayValueSeparator()); in testWithObjectEntrySeparator()
47 assertEquals('5', separators.getObjectFieldValueSeparator()); in testWithObjectEntrySeparator()
52 Separators separators = new Separators('5', '5', '5'); in testWithObjectFieldValueSeparatorWithDigit() local
[all …]
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DGlobToRegex.java48 public static String toRegex(String glob, String separators) { in toRegex() argument
49 return new GlobToRegex(glob, separators).convert(); in toRegex()
56 private final String separators; field in GlobToRegex
63 private GlobToRegex(String glob, String separators) { in GlobToRegex() argument
65 this.separators = separators; in GlobToRegex()
66 this.separatorMatcher = InternalCharMatcher.anyOf(separators); in GlobToRegex()
129 if (separators.length() == 1) { in appendSeparator()
130 appendNormal(separators.charAt(0)); in appendSeparator()
133 for (int i = 0; i < separators.length(); i++) { in appendSeparator()
134 appendInBracket(separators.charAt(i)); in appendSeparator()
[all …]
DPathMatchers.java50 String syntaxAndPattern, String separators, ImmutableSet<PathNormalization> normalizations) { in getPathMatcher() argument
60 pattern = GlobToRegex.toRegex(pattern, separators); in getPathMatcher()
/external/libchrome/base/strings/
Dstring_split.cc161 StringPiece separators, in SplitString() argument
164 if (separators.size() == 1) { in SplitString()
166 input, separators[0], whitespace, result_type); in SplitString()
169 input, separators, whitespace, result_type); in SplitString()
173 StringPiece16 separators, in SplitString() argument
176 if (separators.size() == 1) { in SplitString()
178 input, separators[0], whitespace, result_type); in SplitString()
181 input, separators, whitespace, result_type); in SplitString()
185 StringPiece separators, in SplitStringPiece() argument
188 if (separators.size() == 1) { in SplitStringPiece()
[all …]
Dstring_split.h48 StringPiece separators,
53 StringPiece16 separators,
71 StringPiece separators,
76 StringPiece16 separators,
/external/python/cpython2/Lib/json/
D__init__.py117 separators=None,
123 allow_nan=True, cls=None, indent=None, separators=None, argument
177 cls is None and indent is None and separators is None and
185 separators=separators, encoding=encoding,
194 allow_nan=True, cls=None, indent=None, separators=None, argument
242 cls is None and indent is None and separators is None and
250 separators=separators, encoding=encoding, default=default,
/external/python/cpython3/Lib/json/
D__init__.py116 separators=None,
121 allow_nan=True, cls=None, indent=None, separators=None, argument
167 cls is None and indent is None and separators is None and
175 separators=separators,
184 allow_nan=True, cls=None, indent=None, separators=None, argument
229 cls is None and indent is None and separators is None and
237 separators=separators, default=default, sort_keys=sort_keys,
/external/python/cpython3/Lib/test/test_json/
Dtest_separators.py33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(' ,', ' : '))
44 self.assertRaises(TypeError, self.dumps, h, separators=(b', ', ': '))
45 self.assertRaises(TypeError, self.dumps, h, separators=(', ', b': '))
46 self.assertRaises(TypeError, self.dumps, h, separators=(b', ', b': '))
Dtest_indent.py33 d2 = self.dumps(h, indent=2, sort_keys=True, separators=(',', ': '))
34 d3 = self.dumps(h, indent='\t', sort_keys=True, separators=(',', ': '))
/external/google-breakpad/src/processor/
Dtokenize.cc46 const char *separators, in Tokenize() argument
57 char *token = strtok_r(line, separators, &save_ptr); in Tokenize()
61 token = strtok_r(NULL, separators, &save_ptr); in Tokenize()
Dtokenize.h54 const char *separators,
/external/libtextclassifier/native/utils/tflite/
Dstring_projection.cc200 explicit ProjectionNormalizer(const std::string& separators, in ProjectionNormalizer() argument
202 InitializeSeparators(separators); in ProjectionNormalizer()
237 void InitializeSeparators(const std::string& separators) { in InitializeSeparators() argument
238 for (int i = 0; i < separators.length(); ++i) { in InitializeSeparators()
239 if (separators[i] != ' ') { in InitializeSeparators()
240 separators_.insert(separators[i]); in InitializeSeparators()
273 explicit ProjectionTokenizer(const std::string& separators) { in ProjectionTokenizer() argument
274 InitializeSeparators(separators); in ProjectionTokenizer()
321 void InitializeSeparators(const std::string& separators) { in InitializeSeparators() argument
322 for (int i = 0; i < separators.length(); ++i) { in InitializeSeparators()
[all …]
/external/pigweed/pw_bloat/py/pw_bloat/
Dbloat_output.py112 separators = self._row_separators([max_label] + column_widths)
115 padding = (len(separators['top']) - len(string)) // 2
134 separators['top'],
136 separators['hdg'],
154 rows.append(separators['bot' if row == len(self._diffs) -
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DMinimalPrettyPrinter.java59 public MinimalPrettyPrinter setSeparators(Separators separators) { in setSeparators() argument
60 _separators = separators; in setSeparators()
DDefaultPrettyPrinter.java241 public DefaultPrettyPrinter withSeparators(Separators separators) { in withSeparators() argument
242 _separators = separators; in withSeparators()
243 … _objectFieldValueSeparatorWithSpaces = " " + separators.getObjectFieldValueSeparator() + " "; in withSeparators()
/external/python/cpython2/Lib/plat-irix5/
Dpanelparser.py14 separators = operators + whitespace + ';' + '"' variable
45 if s[i] in separators: break
/external/python/cpython2/Lib/plat-irix6/
Dpanelparser.py14 separators = operators + whitespace + ';' + '"' variable
45 if s[i] in separators: break
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DRegexGlobMatcherTest.java97 private static void assertGlobRegexIs(String glob, String regex, String separators) { in assertGlobRegexIs() argument
98 assertEquals(regex, GlobToRegex.toRegex(glob, separators)); in assertGlobRegexIs()
/external/llvm/lib/Support/
DPath.cpp39 const char *separators = "\\/"; variable
42 const char separators = '/'; variable
69 size_t end = path.find_first_of(separators, 2); in find_first_component()
78 size_t end = path.find_first_of(separators); in find_first_component()
91 size_t pos = str.find_last_of(separators, str.size() - 1); in filename_pos()
125 return str.find_first_of(separators, 2); in root_dir_start()
295 size_t end_pos = Path.find_first_of(separators, Position); in operator ++()
470 size_t loc = component.find_first_not_of(separators); in append()
767 assert(P.find_first_of(separators) == StringRef::npos && in createTemporaryFile()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp39 const char *separators = "\\/"; variable
42 const char separators = '/'; variable
69 size_t end = path.find_first_of(separators, 2); in find_first_component()
78 size_t end = path.find_first_of(separators); in find_first_component()
91 size_t pos = str.find_last_of(separators, str.size() - 1); in filename_pos()
125 return str.find_first_of(separators, 2); in root_dir_start()
295 size_t end_pos = Path.find_first_of(separators, Position); in operator ++()
470 size_t loc = component.find_first_not_of(separators); in append()
769 assert(P.find_first_of(separators) == StringRef::npos && in createTemporaryFile()
/external/snakeyaml/src/test/resources/pyyaml/
Ddocument-separator-in-quoted-scalar.loader-error11 document separators"
/external/jcommander/src/test/java/com/beust/jcommander/args/
DSeparatorColon.java24 @Parameters(separators = ":")
DArgsEquals.java6 @Parameters(separators = "=")
DSeparatorMixed.java24 @Parameters(separators = ":=")
DSeparatorEqual.java24 @Parameters(separators = "=")

12345678910