/third_party/node/lib/ |
H A D | os.js | 144 const result = []; 147 ArrayPrototypePush(result, { 159 return result; 278 const result = {}; 281 return result; 296 const existing = result[name]; 300 result[name] = [entry]; 303 return result;
|
/third_party/node/test/pseudo-tty/ |
H A D | testcfg.py | 100 result = [self.config.context.GetVm(self.arch, self.mode)] 104 result += flags_match.group(1).strip().split() 105 result.append(self.file) 106 return result 141 result = [] 146 return result 155 result.append(TTYTestCase(tst, file_path, output_path, 157 return result
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/ |
H A D | gen_exceptions.js | 26 // Add tests matching error regexp to result array. 37 // map test -> duration in result map. 104 const result = failedList.map(path => babelTypes.stringLiteral(path)); 105 if (result.length) { 106 babelTypes.addComment(result[0], 'leading', leadingComment); 108 return result; 113 const result = slowList.map(([path, duration]) => { 119 if (result.length) { 120 babelTypes.addComment(result[0], 'leading', leadingComment); 122 return result; [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | dictionarydata.cpp | 55 UStringTrieResult result = (codePointsMatched == 0) ? uct.first(c) : uct.next(c); in matches() local 58 if (USTRINGTRIE_HAS_VALUE(result)) { in matches() 71 if (result == USTRINGTRIE_FINAL_VALUE) { in matches() 75 else if (result == USTRINGTRIE_NO_MATCH) { in matches() 122 UStringTrieResult result = (codePointsMatched == 0) ? bt.first(transform(c)) : bt.next(transform(c)); in matches() local 125 if (USTRINGTRIE_HAS_VALUE(result)) { in matches() 138 if (result == USTRINGTRIE_FINAL_VALUE) { in matches() 142 else if (result == USTRINGTRIE_NO_MATCH) { in matches()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | gender.cpp | 107 const GenderInfo* result = nullptr; in getInstance() local 111 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance() 113 if (result) { in getInstance() 114 return result; in getInstance() 118 result = loadInstance(locale, status); in getInstance() 129 result = temp; in getInstance() 131 uhash_put(gGenderInfoCache, uprv_strdup(key), (void*) result, &status); in getInstance() 137 return result; in getInstance()
|
H A D | strmatch.cpp | 162 UnicodeString& StringMatcher::toPattern(UnicodeString& result, in toPattern() argument 165 result.truncate(0); in toPattern() 168 result.append((char16_t)40); /*(*/ in toPattern() 174 ICU_Utility::appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern() 176 ICU_Utility::appendToRule(result, m->toPattern(str, escapeUnprintable), in toPattern() 181 result.append((char16_t)41); /*)*/ in toPattern() 183 // Flush quoteBuf out to result in toPattern() 184 ICU_Utility::appendToRule(result, -1, in toPattern() 186 return result; in toPattern()
|
/third_party/libphonenumber/cpp/src/phonenumbers/base/strings/ |
H A D | string_piece.cc | 51 const char* result = std::search(ptr_ + pos, ptr_ + length_, in find() local 53 const size_type xpos = result - ptr_; in find() 61 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); in find() local 62 return result != ptr_ + length_ ? static_cast<size_t>(result - ptr_) : npos; in find() 73 const char* result = std::find_end(ptr_, last, s.ptr_, s.ptr_ + s.length_); in rfind() local 74 return result != last ? static_cast<size_t>(result - ptr_) : npos; in rfind()
|
/third_party/node/deps/v8/src/debug/ |
H A D | debug-property-iterator.cc | 110 auto result = JSReceiver::GetPropertyAttributes(receiver, raw_name()); in attributes() local 111 if (result.IsNothing()) return Nothing<v8::PropertyAttribute>(); in attributes() 132 v8::base::SNPrintF(property_message, "Invalid result for property \"%s\"\n", in attributes() 134 DCHECK_WITH_MSG(result.FromJust() != ABSENT, property_message.begin()); in attributes() 136 return Just(static_cast<v8::PropertyAttribute>(result.FromJust())); in attributes() 214 base::Flags<debug::NativeAccessorType, int> result; in GetNativeAccessorDescriptorInternal() 222 result |= debug::NativeAccessorType::HasGetter; in GetNativeAccessorDescriptorInternal() 225 result |= debug::NativeAccessorType::HasSetter; in GetNativeAccessorDescriptorInternal() 227 return result; in GetNativeAccessorDescriptorInternal()
|
/third_party/node/deps/v8/src/heap/ |
H A D | heap-allocator-inl.h | 216 AllocationResult result; in AllocateRawWith() local 219 result = AllocateRaw<AllocationType::kYoung>(size, origin, alignment); in AllocateRawWith() 220 if (result.To(&object)) { in AllocateRawWith() 224 result = AllocateRaw<AllocationType::kOld>(size, origin, alignment); in AllocateRawWith() 225 if (result.To(&object)) { in AllocateRawWith() 231 result = AllocateRawWithLightRetrySlowPath(size, allocation, origin, in AllocateRawWith() 235 result = AllocateRawWithRetryOrFailSlowPath(size, allocation, origin, in AllocateRawWith() 239 if (result.To(&object)) { in AllocateRawWith()
|
/third_party/node/deps/v8/src/torque/ |
H A D | declarable.cc | 99 std::vector<Declarable*> result; in Lookup() local 101 result = ParentScope()->Lookup(name); in Lookup() 104 result.push_back(declarable); in Lookup() 106 return result; in Lookup() 136 std::vector<TypeConstraint> result; in ComputeConstraints() local 139 result.push_back(TypeConstraint::SubtypeConstraint( in ComputeConstraints() 142 result.push_back(TypeConstraint::Unconstrained()); in ComputeConstraints() 145 return result; in ComputeConstraints()
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | first_sets.py | 48 result: Set[str] = set() 54 result |= new_terminals 56 result -= to_remove 70 result.discard("") 72 return result 117 result: Set[str] = set() 119 result |= self.visit(alt) 120 return result
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | ccp_test.cpp | 647 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 648 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1104 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 1105 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1158 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 1159 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F() 1208 auto result = SinglePassRunAndMatch<CCPPass>(text, true); in TEST_F() local 1209 EXPECT_EQ(std::get<1>(result), Pass::Status::SuccessWithChange); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_non_uniform_test.cpp | 132 sstr << "%result = " << opcode << " "; in TEST_P() 138 spv_result_t result = ValidateInstructions(SPV_ENV_VULKAN_1_1); in TEST_P() local 141 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 143 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 152 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 165 sstr << "%result = " << opcode << " "; in TEST_P() 171 spv_result_t result = ValidateInstructions(SPV_ENV_UNIVERSAL_1_3); in TEST_P() local 175 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 177 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 183 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrXferProcessor.cpp | 160 AnalysisProperties result; in GetAnalysisProperties() local 162 result = factory->analysisProperties(color, coverage, caps, clampType); in GetAnalysisProperties() 164 result = GrPorterDuffXPFactory::SrcOverAnalysisProperties(color, coverage, caps, clampType); in GetAnalysisProperties() 167 result |= AnalysisProperties::kCompatibleWithCoverageAsAlpha; in GetAnalysisProperties() 169 SkASSERT(!(result & AnalysisProperties::kRequiresDstTexture)); in GetAnalysisProperties() 170 if ((result & AnalysisProperties::kReadsDstInShader) && in GetAnalysisProperties() 172 result |= AnalysisProperties::kRequiresDstTexture | in GetAnalysisProperties() 175 return result; in GetAnalysisProperties()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_non_uniform_test.cpp | 132 sstr << "%result = " << opcode << " "; in TEST_P() 138 spv_result_t result = ValidateInstructions(SPV_ENV_VULKAN_1_1); in TEST_P() local 141 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 143 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 152 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 165 sstr << "%result = " << opcode << " "; in TEST_P() 171 spv_result_t result = ValidateInstructions(SPV_ENV_UNIVERSAL_1_3); in TEST_P() local 175 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 177 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 183 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | gender.cpp | 102 const GenderInfo* result = NULL; in getInstance() local 106 result = (const GenderInfo*) uhash_get(gGenderInfoCache, key); in getInstance() 108 if (result) { in getInstance() 109 return result; in getInstance() 113 result = loadInstance(locale, status); in getInstance() 124 result = temp; in getInstance() 126 uhash_put(gGenderInfoCache, uprv_strdup(key), (void*) result, &status); in getInstance() 132 return result; in getInstance()
|
H A D | strmatch.cpp | 162 UnicodeString& StringMatcher::toPattern(UnicodeString& result, in toPattern() argument 165 result.truncate(0); in toPattern() 168 result.append((UChar)40); /*(*/ in toPattern() 174 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern() 176 ICU_Utility::appendToRule(result, m->toPattern(str, escapeUnprintable), in toPattern() 181 result.append((UChar)41); /*)*/ in toPattern() 183 // Flush quoteBuf out to result in toPattern() 184 ICU_Utility::appendToRule(result, -1, in toPattern() 186 return result; in toPattern()
|
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | sprintf.cpp | 54 const UChar *result, in u_sprintf_pad_and_justify() 79 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 87 written += u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 92 written = u_sprintf_write(output, result, resultLen); in u_sprintf_pad_and_justify() 226 int32_t result = 0; /* test the return value of u_printf_parse */ in u_vsnprintf_u() local 243 result = u_printf_parse(&g_sprintf_stream_handler, patternSpecification, &outStr, &outStr, &outStr.fBundle, &written, ap); in u_vsnprintf_u() 254 if (result < 0) { in u_vsnprintf_u() 255 return result; in u_vsnprintf_u() 52 u_sprintf_pad_and_justify(void *context, const u_printf_spec_info *info, const UChar *result, int32_t resultLen) u_sprintf_pad_and_justify() argument
|
/third_party/skia/third_party/externals/oboe/src/common/ |
H A D | Utilities.cpp | 90 default: return "Unrecognized result"; in convertToText() 125 const char *convertToText<DataCallbackResult>(DataCallbackResult result) { in convertToText() argument 126 switch (result) { in convertToText() 129 default: return "Unrecognized data callback result"; in convertToText() 270 std::string result; in getPropertyString() local 274 result = valueText; in getPropertyString() 279 return result; in getPropertyString() 283 int result = defaultValue; in getPropertyInteger() local 287 result = atoi(valueText); in getPropertyInteger() 292 return result; in getPropertyInteger() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | CommandAllocator.h | 168 T* result = reinterpret_cast<T*>( in Allocate() local 170 if (!result) { in Allocate() 173 new (result) T; in Allocate() 174 return result; in Allocate() 180 T* result = reinterpret_cast<T*>(AllocateData(sizeof(T) * count, alignof(T))); in AllocateData() local 181 if (!result) { in AllocateData() 185 new (result + i) T; in AllocateData() 187 return result; in AllocateData()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/ |
H A D | WGPUHelpers.cpp | 159 BindGroupEntry result; in GetAsBinding() local 161 result.binding = binding; in GetAsBinding() 162 result.sampler = sampler.Get(); in GetAsBinding() 163 result.textureView = textureView.Get(); in GetAsBinding() 164 result.buffer = buffer.Get(); in GetAsBinding() 165 result.offset = offset; in GetAsBinding() 166 result.size = size; in GetAsBinding() 168 return result; in GetAsBinding()
|
/third_party/python/Modules/ |
H A D | _bisectmodule.c | 124 PyObject *result, *key_x; in _bisect_insort_right_impl() local 145 result = _PyObject_CallMethod(a, state->str_insert, "nO", index, x); in _bisect_insort_right_impl() 146 if (result == NULL) in _bisect_insort_right_impl() 148 Py_DECREF(result); in _bisect_insort_right_impl() 252 PyObject *result, *key_x; in _bisect_insort_left_impl() local 272 result = _PyObject_CallMethod(a, state->str_insert, "nO", index, x); in _bisect_insort_left_impl() 273 if (result == NULL) in _bisect_insort_left_impl() 275 Py_DECREF(result); in _bisect_insort_left_impl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 23 ConversionResult result = conversionOK; in ConvertUTF8toWide() local 28 result = sourceIllegal; in ConvertUTF8toWide() 36 // FIXME: Make the type of the result buffer correct instead of in ConvertUTF8toWide() 40 result = ConvertUTF8toUTF16( in ConvertUTF8toWide() 43 if (result == conversionOK) in ConvertUTF8toWide() 49 // FIXME: Make the type of the result buffer correct instead of in ConvertUTF8toWide() 53 result = ConvertUTF8toUTF32( in ConvertUTF8toWide() 56 if (result == conversionOK) in ConvertUTF8toWide() 61 assert((result != targetExhausted) in ConvertUTF8toWide() 63 return result in ConvertUTF8toWide() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 22 ConversionResult result = conversionOK; in ConvertUTF8toWide() local 27 result = sourceIllegal; in ConvertUTF8toWide() 35 // FIXME: Make the type of the result buffer correct instead of in ConvertUTF8toWide() 39 result = ConvertUTF8toUTF16( in ConvertUTF8toWide() 42 if (result == conversionOK) in ConvertUTF8toWide() 48 // FIXME: Make the type of the result buffer correct instead of in ConvertUTF8toWide() 52 result = ConvertUTF8toUTF32( in ConvertUTF8toWide() 55 if (result == conversionOK) in ConvertUTF8toWide() 60 assert((result != targetExhausted) in ConvertUTF8toWide() 62 return result in ConvertUTF8toWide() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | dictionarydata.cpp | 55 UStringTrieResult result = (codePointsMatched == 0) ? uct.first(c) : uct.next(c); in matches() local 58 if (USTRINGTRIE_HAS_VALUE(result)) { in matches() 71 if (result == USTRINGTRIE_FINAL_VALUE) { in matches() 75 else if (result == USTRINGTRIE_NO_MATCH) { in matches() 122 UStringTrieResult result = (codePointsMatched == 0) ? bt.first(transform(c)) : bt.next(transform(c)); in matches() local 125 if (USTRINGTRIE_HAS_VALUE(result)) { in matches() 138 if (result == USTRINGTRIE_FINAL_VALUE) { in matches() 142 else if (result == USTRINGTRIE_NO_MATCH) { in matches()
|