/third_party/node/deps/v8/third_party/jinja2/ |
H A D | exceptions.py | 89 parts = [] 93 parts.append(name._undefined_message) 95 parts.append(name) 98 imap(text_type, parts)
|
/third_party/python/Tools/scripts/ |
H A D | smelly.py | 67 parts = line.split(maxsplit=2) 68 if len(parts) < 3: 71 symtype = parts[1].strip() 72 symbol = parts[-1]
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | exceptions.py | 89 parts = [] 93 parts.append(name._undefined_message) 95 parts.append(name) 98 imap(text_type, parts)
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | TypeRegistry.java | 86 String[] parts = typeUrl.split("/"); in getTypeName() 87 if (parts.length == 1) { in getTypeName() 90 return parts[parts.length - 1]; in getTypeName()
|
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | format.cc | 372 std::vector<std::pair<std::string, std::string>> parts; in GenerateName() local 380 parts.push_back({name, type}); in GenerateName() 384 for (size_t i = 0; i < parts.size(); ++i) { in GenerateName() 385 name += parts[i].first; in GenerateName() 387 if (i + 1 < parts.size() && parts[i].second != parts[i + 1].second) in GenerateName() 388 name += "_" + parts[i].second + "_"; in GenerateName() 391 if (parts[i].first[0] == 'X') in GenerateName() 394 name += "_" + parts in GenerateName() [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | GPBUtil.php | 316 $parts = explode('.', $name); variable 317 foreach ($parts as $i => $part) { 318 $parts[$i] = static::getClassNamePrefix($parts[$i], $file_proto) . $parts[$i]; 320 return implode('\\', $parts); 371 $parts = array_map('ucwords', explode('.', $package)); variable 372 foreach ($parts as $i => $part) { 373 $parts[$i] = self::getClassNamePrefix($part, $file_proto).$part; 376 implode('\\', $parts) [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/regres/git/ |
H A D | git.go | 236 if parts := strings.Split(s, "ǀ"); len(parts) == 5 { 238 Hash: ParseHash(parts[0]), 239 Author: strings.TrimSpace(parts[2]), 240 Subject: strings.TrimSpace(parts[3]), 241 Description: strings.TrimSpace(parts[4]), 243 date, err := time.Parse(time.RFC3339, parts[1])
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | ExtractingFilePath.h | 16 Correct_FsPath() corrects path parts to prepare it for File System operations.
17 It also corrects empty path parts like "\\\\":
18 - frontal empty path parts : it removes them or changes them to "_"
19 - another empty path parts : it removes them
20 if (absIsAllowed && path is absolute) : it removes empty path parts after start absolute path prefix marker
23 if (!keepAndReplaceEmptyPrefixes) : it removes empty path parts
27 void Correct_FsPath(bool absIsAllowed, bool keepAndReplaceEmptyPrefixes, UStringVector &parts, bool isDir);
29 UString MakePathFromParts(const UStringVector &parts);
|
/third_party/python/Lib/ |
H A D | ipaddress.py | 1634 parts = ip_str.split(':') 1636 # An IPv6 address needs at least 2 colons (3 parts). 1638 if len(parts) < _min_parts: 1639 msg = "At least %d parts expected in %r" % (_min_parts, ip_str) 1643 if '.' in parts[-1]: 1645 ipv4_int = IPv4Address(parts.pop())._ip 1648 parts.append('%x' % ((ipv4_int >> 16) & 0xFFFF)) 1649 parts.append('%x' % (ipv4_int & 0xFFFF)) 1651 # An IPv6 address can't have more than 8 colons (9 parts). 1655 if len(parts) > _max_part [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/util/ |
H A D | oidc.js | 21 const parts = jwt.split('.', 3); 22 const payload = JSON.parse(core_1.encoding.base64Decode(parts[1]));
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_rtld.c | 194 struct ac_rtld_part *part = &binary->parts[part_idx]; in read_private_lds_symbols() 244 * Open a binary consisting of one or more shader parts. 262 binary->parts = calloc(sizeof(*binary->parts), i.num_parts); in ac_rtld_open() 263 if (!binary->parts) in ac_rtld_open() 315 /* First pass over all parts: open ELFs, pre-determine the placement of in ac_rtld_open() 323 struct ac_rtld_part *part = &binary->parts[part_idx]; in ac_rtld_open() 401 * maximum of its alignment over all shader parts where it occurs. in ac_rtld_open() 426 struct ac_rtld_part *part = &binary->parts[part_idx]; in ac_rtld_open() 482 struct ac_rtld_part *part = &binary->parts[ in ac_rtld_close() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APFloat.cpp | 81 Therefore it has two 53-bit mantissa parts that aren't necessarily adjacent 174 /* A tight upper bound on number of parts required to hold the value 179 However, whilst the result may require only this many parts, 183 requires two parts to hold the single-part result). So we add an 471 lostFractionThroughTruncation(const APFloatBase::integerPart *parts, in lostFractionThroughTruncation() argument 477 lsb = APInt::tcLSB(parts, partCount); in lostFractionThroughTruncation() 485 APInt::tcExtractBit(parts, bits - 1)) in lostFractionThroughTruncation() 493 shiftRight(APFloatBase::integerPart *dst, unsigned int parts, unsigned int bits) in shiftRight() argument 497 lost_fraction = lostFractionThroughTruncation(dst, parts, bits); in shiftRight() 499 APInt::tcShiftRight(dst, parts, bit in shiftRight() [all...] |
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/ |
H A D | multipart.rs | 35 parts: Vec<Part>, 52 parts: Vec::new(), in new() 69 self.parts.push(part); in part() 88 /// length of every parts, such as boundaries, headers, bodies, etc. 102 for part in self.parts.iter() { in total_bytes() 139 for part in self.parts.iter_mut() {
|
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/Config/ |
H A D | Query.pm | 112 my %parts = ( %{$self->get_sources(@sources)}, 114 my @parts = map { @{$_} } values %parts; 119 # if there are any generator parts, we ignore it, because that means 125 ( ( map { @{$_} } values %parts ), 126 ( grep { !defined($parts{$_}) } @sources, @generator ) );
|
/third_party/openssl/util/perl/OpenSSL/Config/ |
H A D | Query.pm | 112 my %parts = ( %{$self->get_sources(@sources)}, 114 my @parts = map { @{$_} } values %parts; 119 # if there are any generator parts, we ignore it, because that means 125 ( ( map { @{$_} } values %parts ), 126 ( grep { !defined($parts{$_}) } @sources, @generator ) );
|
/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | make_cpptoc_impl.py | 27 def make_cpptoc_impl_proto(name, func, parts, flag): 29 proto = parts['retval'] + ' ARK_WEB_CALLBACK' 31 proto = 'ARK_WEB_EXPORT ' + parts['retval'] 33 proto = parts['retval'] 35 proto += ' ' + name + '(' + ', '.join(parts['args']) + ')' 168 # retrieve the C API prototype parts 169 parts = func.get_capi_parts(defined_names, True) 170 result = make_cpptoc_impl_proto(name, func, parts, False) + ' {' 292 parts = func.get_capi_parts(defined_names, True) 294 impl += make_cpptoc_impl_proto(func_name + '_static', func, parts, Tru [all...] |
H A D | make_capi_header.py | 64 parts = func.get_capi_parts() 65 result += indent+parts['retval']+' (ARK_WEB_CALLBACK *'+parts['name'] + suffix + \ 66 ')('+', '.join(parts['args'])+');\n'
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/ |
H A D | Mf2DataModel.java | 128 private final List<Part> parts; field in Mf2DataModel.Pattern 131 parts = new ArrayList<>(); in Pattern() 132 parts.addAll(builder.parts); in Pattern() 154 return parts; in getParts() 166 for (Part part : parts) { in toString() 179 private final List<Part> parts = new ArrayList<>(); field in Mf2DataModel.Pattern.Builder 191 parts.add(part); in add() 201 parts.addAll(otherParts); in addAll()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | LikelySubtagsBuilder.java | 304 private static String asLocale(String... parts) { in asLocale() argument 306 !parts[0].equals("*") ? parts[0] : "und", in asLocale() 307 parts.length > 1 && !parts[1].equals("*") ? "_" + parts[1] : "", in asLocale() 308 parts.length > 2 && !parts[2].equals("*") ? "_" + parts[2] : ""); in asLocale()
|
/third_party/mesa3d/src/compiler/isaspec/ |
H A D | isa.py | 534 parts = [] 538 parts.append('%08x') 540 fmt = ''.join(parts) 546 parts = [] 550 parts.append('v[' + str(i) + ']') 552 return ', '.join(parts) 556 mask, parts = (1 << bitsize) - 1, [] 560 parts.append(hex(value & mask)) 564 while len(parts) < words: 565 parts [all...] |
/third_party/libphonenumber/migrator/src/main/java/com/google/phonenumbers/migrator/ |
H A D | RecipesTableSchema.java | 94 public static RangeKey read(List<String> parts) { in read() argument 98 rangeKeyLength = Collections.singleton(Integer.parseInt(parts.get(1))); in read() 100 throw new IllegalArgumentException("Invalid number '" + parts.get(1) + "' in column 'Old Length'"); in read() 102 return RangeKey.create(RangeSpecification.parse(parts.get(0)), rangeKeyLength); in read()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | conventions.py | 159 parts = [quantifier, prose] 163 parts.append(' are') 165 parts.append(' is') 166 return ''.join(parts)
|
/third_party/skia/tests/ |
H A D | SubsetPath.cpp | 19 int parts = 1 << (31 - leadingZero); in range() local 20 int partIndex = fSubset - parts; in range() 23 int start = count * partIndex / parts; in range() 24 *end = count * (partIndex + 1) / parts; in range()
|
/third_party/benchmark/tools/gbench/ |
H A D | report.py | 472 parts = [x for x in output_lines[i].split(' ') if x] 473 self.assertEqual(len(parts), 7) 474 self.assertEqual(expect_lines[i], parts) 650 parts = [x for x in output_lines[i].split(' ') if x] 651 self.assertEqual(len(parts), 7) 652 self.assertEqual(expect_lines[i], parts) 768 parts = [x for x in output_lines[i].split(' ') if x] 769 self.assertEqual(expect_lines[i], parts) 815 parts = [x for x in output_lines[i].split(' ') if x] 816 self.assertEqual(expect_lines[i], parts) [all...] |
/third_party/python/Lib/email/ |
H A D | message.py | 212 """Return True if the message consists of multiple parts.""" 562 parts = [] 565 parts.append(k.replace('_', '-')) 567 parts.append(_formatparam(k.replace('_', '-'), v)) 569 parts.insert(0, _value) 570 self[_name] = SEMISPACE.join(parts) 895 parts = [] 898 parts.append(k) 900 parts.append('%s=%s' % (k, v)) 901 val = SEMISPACE.join(parts) [all...] |