/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/ |
D | PrefixTreeTest.java | 31 assertThat(prefixes("123", "1234")).containsExactly("123"); in testNewInstancesNormalized() 32 assertThat(prefixes("70x", "7[1-9]")).containsExactly("7"); in testNewInstancesNormalized() 34 assertThat(prefixes("123xxx", "123x_xxx", "567xxx", "567x_xxx")).containsExactly("123", "567"); in testNewInstancesNormalized() 39 PrefixTree prefix = prefixes("123", "124", "126", "555"); in testRetainFrom() 46 PrefixTree prefix = prefixes("123", "124", "126", "555"); in testPrefixes() 47 assertThat(prefix.prefixes(seq("1230000"))).isTrue(); in testPrefixes() 48 assertThat(prefix.prefixes(seq("555000"))).isTrue(); in testPrefixes() 49 assertThat(prefix.prefixes(seq("12"))).isFalse(); in testPrefixes() 50 assertThat(prefix.prefixes(seq("120000"))).isFalse(); in testPrefixes() 56 PrefixTree zeroLength = prefixes("xxx"); in testEmptyVsZeroLength() [all …]
|
/third_party/libphonenumber/tools/java/data/test/com/google/i18n/phonenumbers/ |
D | CombineGeoDataTest.java | 59 String[] prefixes = CombineGeoData.createSortedPrefixArray(phonePrefixMap); in findRangeEndFromStart() local 60 int rangeEnd = CombineGeoData.findRangeEnd(prefixes, phonePrefixMap, 0); in findRangeEndFromStart() 72 String[] prefixes = CombineGeoData.createSortedPrefixArray(phonePrefixMap); in findRangeEndFromMiddle() local 73 int rangeEnd = CombineGeoData.findRangeEnd(prefixes, phonePrefixMap, 2); in findRangeEndFromMiddle() 85 String[] prefixes = CombineGeoData.createSortedPrefixArray(phonePrefixMap); in findRangeEndWithSameLocationButDifferentPrefix() local 86 int rangeEnd = CombineGeoData.findRangeEnd(prefixes, phonePrefixMap, 0); in findRangeEndWithSameLocationButDifferentPrefix() 99 String[] prefixes = CombineGeoData.createSortedPrefixArray(phonePrefixMap); in createRanges() local 100 List<Range> ranges = CombineGeoData.createRanges(prefixes, phonePrefixMap); in createRanges() 117 String[] prefixes = CombineGeoData.createSortedPrefixArray(phonePrefixMap); in findConflict() local 118 assertTrue(CombineGeoData.findConflict(prefixes, 3313, 0, 0)); in findConflict() [all …]
|
/third_party/libphonenumber/tools/java/data/src/com/google/i18n/phonenumbers/ |
D | CombineGeoData.java | 120 static int findRangeEnd(String[] prefixes, Map<String, String> phonePrefixMap, int start) { in findRangeEnd() argument 121 String previousPrefix = prefixes[start]; in findRangeEnd() 125 for (int i = start; i < prefixes.length; i++) { in findRangeEnd() 126 String currentPrefix = prefixes[i]; in findRangeEnd() 133 return prefixes.length - 1; in findRangeEnd() 145 static List<Range> createRanges(String[] prefixes, Map<String, String> phonePrefixMap) { in createRanges() argument 151 int rangeEnd = findRangeEnd(prefixes, phonePrefixMap, index); in createRanges() 169 static boolean findConflict(String[] prefixes, int candidate, int start, int end) { in findConflict() argument 172 String prefix = prefixes[i]; in findConflict() 190 static boolean hasConflict(List<Range> ranges, int rangeIndex, String[] prefixes, int candidate) { in hasConflict() argument [all …]
|
/third_party/flutter/skia/third_party/externals/wuffs/script/ |
D | print-lzw-example.go | 99 codeString(int(s.prefixes[key])), // Pre1 104 codeString(int(q.prefixes[key])), // PreQ 170 prefixes [4096]uint16 member 176 t.prefixes[i] = noPrefix 198 c = int(t.prefixes[c]) 213 t.prefixes[n] = uint16(prevCode) 223 prefixes [4096]uint16 member 230 t.prefixes[i] = noPrefix 258 c = int(t.prefixes[c]) 278 t.prefixes[n] = t.prefixes[prevCode] [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/ |
D | OptParser.td | 32 // An option which prefixes its (single) value. 85 class Option<list<string> prefixes, string name, OptionKind kind> { 87 list<string> Prefixes = prefixes; 104 class Flag<list<string> prefixes, string name> 105 : Option<prefixes, name, KIND_FLAG>; 106 class Joined<list<string> prefixes, string name> 107 : Option<prefixes, name, KIND_JOINED>; 108 class Separate<list<string> prefixes, string name> 109 : Option<prefixes, name, KIND_SEPARATE>; 110 class CommaJoined<list<string> prefixes, string name> [all …]
|
/third_party/parse5/packages/parse5/lib/common/ |
D | doctype.js | 88 function hasPrefix(publicId, prefixes) { argument 89 for (let i = 0; i < prefixes.length; i++) { 90 if (publicId.indexOf(prefixes[i]) === 0) { 127 …let prefixes = systemId === null ? QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES : QUIRKS_MODE_PUBLI… 129 if (hasPrefix(publicId, prefixes)) { 133 prefixes = 136 if (hasPrefix(publicId, prefixes)) {
|
/third_party/libevdev/libevdev/ |
D | make-event-names.py | 17 prefixes = [ variable 85 for prefix in prefixes: 104 if prefix + "_" in prefixes: 168 for prefix in prefixes: 191 for prefix in prefixes:
|
/third_party/libphonenumber/tools/cpp/src/cpp-build/ |
D | generate_geocoding_data.cc | 168 absl::btree_map<int32, string>* prefixes) { in ParsePrefixes() argument 169 prefixes->clear(); in ParsePrefixes() 207 (*prefixes)[prefix_code] = string(sep + 1, end); in ParsePrefixes() 346 const absl::btree_map<int, string>& prefixes, in WritePrefixDescriptions() argument 351 for (absl::btree_map<int, string>::const_iterator it = prefixes.begin(); in WritePrefixDescriptions() 352 it != prefixes.end(); ++it) { in WritePrefixDescriptions() 362 for (absl::btree_map<int, string>::const_iterator it = prefixes.begin(); in WritePrefixDescriptions() 363 it != prefixes.end(); ++it) { in WritePrefixDescriptions() 603 absl::btree_map<int32, string> prefixes; in WriteSource() local 604 if (!ParsePrefixes(path, &prefixes)) { in WriteSource() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | collationsets.cpp | 219 UCharsTrie::Iterator prefixes(p, 0, errorCode); in comparePrefixes() local 228 if(prefixes.next(errorCode)) { in comparePrefixes() 229 tp = &prefixes.getString(); in comparePrefixes() 245 addPrefix(data, *tp, c, (uint32_t)prefixes.getValue()); in comparePrefixes() 253 compare(c, (uint32_t)prefixes.getValue(), (uint32_t)basePrefixes.getValue()); in comparePrefixes() 310 UCharsTrie::Iterator prefixes(p, 0, errorCode); in addPrefixes() local 311 while(prefixes.next(errorCode)) { in addPrefixes() 312 addPrefix(d, prefixes.getString(), c, (uint32_t)prefixes.getValue()); in addPrefixes() 547 UCharsTrie::Iterator prefixes(p + 2, 0, errorCode); in handlePrefixes() local 548 while(prefixes.next(errorCode)) { in handlePrefixes() [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | collationsets.cpp | 219 UCharsTrie::Iterator prefixes(p, 0, errorCode); in comparePrefixes() local 228 if(prefixes.next(errorCode)) { in comparePrefixes() 229 tp = &prefixes.getString(); in comparePrefixes() 245 addPrefix(data, *tp, c, (uint32_t)prefixes.getValue()); in comparePrefixes() 253 compare(c, (uint32_t)prefixes.getValue(), (uint32_t)basePrefixes.getValue()); in comparePrefixes() 310 UCharsTrie::Iterator prefixes(p, 0, errorCode); in addPrefixes() local 311 while(prefixes.next(errorCode)) { in addPrefixes() 312 addPrefix(d, prefixes.getString(), c, (uint32_t)prefixes.getValue()); in addPrefixes() 547 UCharsTrie::Iterator prefixes(p + 2, 0, errorCode); in handlePrefixes() local 548 while(prefixes.next(errorCode)) { in handlePrefixes() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | collationsets.cpp | 219 UCharsTrie::Iterator prefixes(p, 0, errorCode); in comparePrefixes() local 228 if(prefixes.next(errorCode)) { in comparePrefixes() 229 tp = &prefixes.getString(); in comparePrefixes() 245 addPrefix(data, *tp, c, (uint32_t)prefixes.getValue()); in comparePrefixes() 253 compare(c, (uint32_t)prefixes.getValue(), (uint32_t)basePrefixes.getValue()); in comparePrefixes() 310 UCharsTrie::Iterator prefixes(p, 0, errorCode); in addPrefixes() local 311 while(prefixes.next(errorCode)) { in addPrefixes() 312 addPrefix(d, prefixes.getString(), c, (uint32_t)prefixes.getValue()); in addPrefixes() 547 UCharsTrie::Iterator prefixes(p + 2, 0, errorCode); in handlePrefixes() local 548 while(prefixes.next(errorCode)) { in handlePrefixes() [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | collationsets.cpp | 219 UCharsTrie::Iterator prefixes(p, 0, errorCode); in comparePrefixes() local 228 if(prefixes.next(errorCode)) { in comparePrefixes() 229 tp = &prefixes.getString(); in comparePrefixes() 245 addPrefix(data, *tp, c, (uint32_t)prefixes.getValue()); in comparePrefixes() 253 compare(c, (uint32_t)prefixes.getValue(), (uint32_t)basePrefixes.getValue()); in comparePrefixes() 310 UCharsTrie::Iterator prefixes(p, 0, errorCode); in addPrefixes() local 311 while(prefixes.next(errorCode)) { in addPrefixes() 312 addPrefix(d, prefixes.getString(), c, (uint32_t)prefixes.getValue()); in addPrefixes() 547 UCharsTrie::Iterator prefixes(p + 2, 0, errorCode); in handlePrefixes() local 548 while(prefixes.next(errorCode)) { in handlePrefixes() [all …]
|
/third_party/elfio/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/wayland-protocols_standard/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/mtdev/config-aux/ |
D | install-sh | 402 prefixes= 410 prefixes= 422 prefixes="$prefixes '$qprefix'" 428 if test -n "$prefixes"; then 431 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/libpng/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/python/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/eudev/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/libevdev/build-aux/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/skia/third_party/externals/microhttpd/ |
D | install-sh | 409 prefixes= 417 prefixes= 429 prefixes="$prefixes '$qprefix'" 435 if test -n "$prefixes"; then 438 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/freetype/builds/unix/ |
D | install-sh | 386 prefixes= 394 prefixes= 406 prefixes="$prefixes '$qprefix'" 412 if test -n "$prefixes"; then 415 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/libffi/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/skia/third_party/externals/libpng/ |
D | install-sh | 403 prefixes= 411 prefixes= 423 prefixes="$prefixes '$qprefix'" 429 if test -n "$prefixes"; then 432 eval "\$doit_exec \$mkdirprog $prefixes") ||
|
/third_party/boost/libs/spirit/classic/example/intermediate/ |
D | ipv4_opt.cpp | 51 std::vector<ipv4_prefix_data> prefixes; member 107 push_back_a(data.prefixes, temp) in ipv4() 161 for_each(data.prefixes.begin(), data.prefixes.end(), print_prefix); in parse_ipv4()
|