/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMLegalizerInfo.cpp | 37 addAndInterleaveWithUnsupported(LegalizerInfo::SizeAndActionsVec &result, in addAndInterleaveWithUnsupported() argument 40 result.push_back(v[i]); in addAndInterleaveWithUnsupported() 43 result.push_back({v[i].first + 1, Unsupported}); in addAndInterleaveWithUnsupported() 51 LegalizerInfo::SizeAndActionsVec result = {{1, Unsupported}, in widen_8_16() local 56 addAndInterleaveWithUnsupported(result, v); in widen_8_16() 57 auto Largest = result.back().first; in widen_8_16() 58 result.push_back({Largest + 1, Unsupported}); in widen_8_16() 59 return result; in widen_8_16() 437 // We have a result, but we need to transform it into a proper 1-bit 0 or in legalizeCustom()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
H A D | X86LegalizerInfo.cpp | 36 addAndInterleaveWithUnsupported(LegalizerInfo::SizeAndActionsVec &result, in addAndInterleaveWithUnsupported() argument 39 result.push_back(v[i]); in addAndInterleaveWithUnsupported() 42 result.push_back({v[i].first + 1, Unsupported}); in addAndInterleaveWithUnsupported() 50 LegalizerInfo::SizeAndActionsVec result = {{1, WidenScalar}, in widen_1() local 52 addAndInterleaveWithUnsupported(result, v); in widen_1() 53 auto Largest = result.back().first; in widen_1() 54 result.push_back({Largest + 1, Unsupported}); in widen_1() 55 return result; in widen_1()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
H A D | replace_identifier_test.cc | 509 auto result = writer::wgsl::Generate(&program, options); in TEST() local 510 ASSERT_TRUE(result.success) << result.error; in TEST() 518 ASSERT_EQ(expected_shader, result.wgsl); in TEST() 555 auto result = writer::wgsl::Generate(&program, options); in TEST() local 556 ASSERT_TRUE(result.success) << result.error; in TEST() 564 ASSERT_EQ(expected_shader, result.wgsl); in TEST()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_utils.h | 214 inline bool RoundUpForPixelSize (uint32 x, uint32 pixelSize, uint32 *result) in RoundUpForPixelSize() argument 234 return RoundUpUint32ToMultiple(x, multiple, result); in RoundUpForPixelSize() 1113 uint32 result; in Muluh86() local 1118 MOV result, EDX in Muluh86() local 1120 return (result); in Muluh86() 1141 int32 result; in Mulsh86() local 1146 MOV result, EDX in Mulsh86() local 1148 return (result); in Mulsh86()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | RopeByteString.java | 156 * tree depth and tree node count. The result is either a {@link 194 // new parent node so that the depth of the result is the same as the in concatenate() 355 * <p>Substrings of {@code length < 2} should result in at most a single recursive call chain, 356 * terminating at a leaf node. Thus the result will be a {@link 430 List<ByteBuffer> result = new ArrayList<ByteBuffer>(); in asReadOnlyByteBufferList() 434 result.add(byteString.asReadOnlyByteBuffer()); in asReadOnlyByteBufferList() 436 return result; in asReadOnlyByteBufferList() 620 * <p>One surprising aspect of the algorithm is the result of balancing is not necessarily 633 // Sweep stack to gather the result in balance() 645 // BAP95: Insert balanced subtrees whole. This means the result migh in doBalance() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | message_lite.cc | 106 std::string result; in InitializationErrorMessage() local 107 result += "Can't "; in InitializationErrorMessage() 108 result += action; in InitializationErrorMessage() 109 result += " message of type \""; in InitializationErrorMessage() 110 result += message.GetTypeName(); in InitializationErrorMessage() 111 result += "\" because it is missing required fields: "; in InitializationErrorMessage() 112 result += message.InitializationErrorString(); in InitializationErrorMessage() 113 return result; in InitializationErrorMessage()
|
/third_party/spirv-tools/test/val/ |
H A D | val_non_uniform_test.cpp | 179 sstr << "%result = " << opcode << " "; in TEST_P() 185 spv_result_t result = ValidateInstructions(SPV_ENV_VULKAN_1_1); in TEST_P() local 188 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 190 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 199 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 219 sstr << "%result = " << opcode << " "; in TEST_P() 225 spv_result_t result = ValidateInstructions(SPV_ENV_UNIVERSAL_1_3); in TEST_P() local 229 EXPECT_EQ(SPV_SUCCESS, result); in TEST_P() 231 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() 237 EXPECT_EQ(SPV_ERROR_INVALID_DATA, result); in TEST_P() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktSampleVerifierUtil.cpp | 46 const deInt32 result = a % n; in mod() local 48 return (result < 0) ? result + n : result; in mod() 767 deUint64 result = 0; 771 result = (result << 8U) | (deUint64) (cPtr[numBytes - byteNdx - 1]); 774 return result;
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | tls_openssl_ocsp.c | 502 enum ocsp_result result = OCSP_INVALID; in check_ocsp_resp() local 675 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 702 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 809 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 823 result = OCSP_REVOKED; in check_ocsp_resp() 830 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 835 result = OCSP_GOOD; in check_ocsp_resp() 843 return result; in check_ocsp_resp()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglChooseConfigReference.cpp | 450 tcu::BVec4 result; in getSpecifiedRGBColors() local 458 result[ndx] = true; in getSpecifiedRGBColors() 460 result[ndx] = false; in getSpecifiedRGBColors() 463 return result; in getSpecifiedRGBColors() 474 tcu::BVec2 result; in getSpecifiedLuminanceColors() local 482 result[ndx] = true; in getSpecifiedLuminanceColors() 484 result[ndx] = false; in getSpecifiedLuminanceColors() 487 return result; in getSpecifiedLuminanceColors()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | tls_openssl_ocsp.c | 502 enum ocsp_result result = OCSP_INVALID; in check_ocsp_resp() local 675 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 702 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 809 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 823 result = OCSP_REVOKED; in check_ocsp_resp() 830 result = OCSP_NO_RESPONSE; in check_ocsp_resp() 835 result = OCSP_GOOD; in check_ocsp_resp() 843 return result; in check_ocsp_resp()
|
/third_party/node/deps/v8/src/wasm/baseline/ |
H A D | liftoff-compiler.cc | 1626 Value* result) { in UnOp() 1746 // Now zero-extend the result to i64. in UnOp() 1758 // Prefer to overwrite one of the input registers with the result in UnOp() 1867 const Value& rhs, Value* result) { in BinOp() 2151 void I32Const(FullDecoder* decoder, Value* result, int32_t value) { 2155 void I64Const(FullDecoder* decoder, Value* result, int64_t value) { 2170 void F32Const(FullDecoder* decoder, Value* result, float value) { 2176 void F64Const(FullDecoder* decoder, Value* result, double value) { 2188 void RefFunc(FullDecoder* decoder, uint32_t function_index, Value* result) { 2197 void RefAsNonNull(FullDecoder* decoder, const Value& arg, Value* result) { 1866 BinOp(FullDecoder* decoder, WasmOpcode opcode, const Value& lhs, const Value& rhs, Value* result) BinOp() argument [all...] |
/third_party/typescript/lib/ |
H A D | tsc.js | 125 var result = callback(array[i], i); 126 if (result) { 127 return result; 137 var result = callback(array[i], i); 138 if (result) { 139 return result; 151 var result = callback(array[i], i); 152 if (result !== undefined) { 153 return result; 165 var result 35652 var result = []; global() variable 36593 var result = getPackageJsonTypesVersionsPaths(typesVersions); global() variable 58741 var result = -1; global() variable 94313 var result = ts.transformNodes(resolver, host, ts.factory, compilerOptions, file ? [file] : ts.filter(host.getSourceFiles(), ts.isSourceFileNotJson), [transformDeclarations], false); global() variable 95176 var result = transformTopLevelDeclaration(input); global() variable [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | objects.cc | 161 bool ComparisonResultToBool(Operation op, ComparisonResult result) { in ComparisonResultToBool() argument 164 return result == ComparisonResult::kLessThan; in ComparisonResultToBool() 166 return result == ComparisonResult::kLessThan || in ComparisonResultToBool() 167 result == ComparisonResult::kEqual; in ComparisonResultToBool() 169 return result == ComparisonResult::kGreaterThan; in ComparisonResultToBool() 171 return result == ComparisonResult::kGreaterThan || in ComparisonResultToBool() 172 result == ComparisonResult::kEqual; in ComparisonResultToBool() 224 auto result = isolate->factory()->NewHeapNumberWithHoleNaN(); in NewStorageFor() 226 result->set_value_as_bits(kHoleNanInt64, kRelaxedStore); in NewStorageFor() 229 result in NewStorageFor() 283 Handle<JSObject> result = isolate->factory()->NewJSObject(constructor); ToObjectImpl() local 486 Handle<String> result; NoSideEffectsToMaybeString() local 697 Reverse(ComparisonResult result) Reverse() argument 729 ComparisonResult result; Compare() local 952 Maybe<bool> result = JSReceiver::HasInPrototypeChain( OrdinaryHasInstance() local 977 Handle<Object> result; InstanceOf() local 993 Handle<Object> result; InstanceOf() local 1155 MaybeHandle<Object> result = GetProperty() local 1163 Handle<Object> result; GetProperty() local 1218 MaybeHandle<Object> result = Object::GetProperty(&it); GetProperty() local 1229 MaybeHandle<Object> result = GetProperty() local 1437 Handle<Object> result = args.CallAccessorGetter(info, name); GetPropertyWithAccessor() local 1550 Handle<Object> result = args.CallAccessorSetter(info, name, value); SetPropertyWithAccessor() local 2513 Maybe<bool> result = SetPropertyInternal() local 2631 Maybe<bool> result = SetProperty() local 2649 Maybe<bool> result = SetSuperProperty() local 3169 MaybeHandle<Object> result = SetProperty() local 3467 bool result = actual_new_len == new_len; ArraySetLength() local 3639 Handle<SwissNameDictionary> result = SetPrivateSymbol() local 3644 Handle<NameDictionary> result = SetPrivateSymbol() local 4094 Handle<FixedArray> result = isolate->factory()->NewFixedArray(length); Elements() local 4397 Handle<RegExpMatchInfo> result = Handle<RegExpMatchInfo>::cast( ReserveCaptures() local 6217 int result = 0; NumberOfEnumerableProperties() local [all...] |
/drivers/peripheral/input/udriver/src/ |
H A D | input_device_manager.cpp | 321 int32_t result = 0;
in DoInputDeviceAction() local 329 result = inotify_add_watch(mInotifyId_, devPath_.c_str(), IN_DELETE | IN_CREATE);
in DoInputDeviceAction() 330 if (result == INPUT_FAILURE) {
in DoInputDeviceAction() 332 return result;
in DoInputDeviceAction() 336 result = epoll_wait(mEpollId_, epollEventList_, EPOLL_MAX_EVENTS, EPOLL_WAIT_TIMEOUT);
in DoInputDeviceAction() 337 if (result <= 0) {
in DoInputDeviceAction() 340 for (int32_t i = 0; i < result; i++) {
in DoInputDeviceAction() 497 int32_t result = read(notifyFd, InfoBuf, BUFFER_SIZE);
in InotifyEventHandler() local 498 for (p = InfoBuf; p < InfoBuf + result;) {
in InotifyEventHandler() 533 int32_t result { in AddToEpoll() 800 RunCapacitanceTest(uint32_t devIndex, uint32_t testType, char *result, uint32_t length) RunCapacitanceTest() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dolby_e.c | 990 static void imdct_calc(DBEDecodeContext *s1, DBEGroup *g, float *result, float *values) in imdct_calc() argument 999 imdct->imdct_half(imdct, result, values); in imdct_calc() 1001 result[n2 + i] = result[n2 - i - 1]; in imdct_calc() 1004 imdct->imdct_calc(imdct, result, values); in imdct_calc() 1007 imdct->imdct_half(imdct, result + n2, values); in imdct_calc() 1009 result[i] = -result[n - i - 1]; in imdct_calc() 1019 LOCAL_ALIGNED_32(float, result, [1152]); in transform() 1023 memset(result, in transform() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_file.c | 698 snd_pcm_sframes_t result; in snd_pcm_file_mmap_commit() local 702 result = snd_pcm_mmap_begin(file->gen.slave, &areas, &ofs, &siz); in snd_pcm_file_mmap_commit() 703 if (result >= 0) { in snd_pcm_file_mmap_commit() 705 result = snd_pcm_mmap_commit(file->gen.slave, ofs, siz); in snd_pcm_file_mmap_commit() 706 if (result > 0) { in snd_pcm_file_mmap_commit() 707 if (snd_pcm_file_add_frames(pcm, areas, ofs, result) < 0) in snd_pcm_file_mmap_commit() 711 return result; in snd_pcm_file_mmap_commit() 718 int result; in snd_pcm_file_mmap_begin() local 720 result = snd_pcm_mmap_begin(file->gen.slave, areas, offset, frames); in snd_pcm_file_mmap_begin() 721 if (result < in snd_pcm_file_mmap_begin() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_resolve_cs.c | 232 VkResult result; in create_layout() local 254 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), &ds_create_info, in create_layout() 257 if (result != VK_SUCCESS) in create_layout() 268 result = radv_CreatePipelineLayout(radv_device_to_handle(device), &pl_create_info, in create_layout() 271 if (result != VK_SUCCESS) in create_layout() 275 return result; in create_layout() 282 VkResult result; in create_resolve_pipeline() local 309 result = radv_CreateComputePipelines(radv_device_to_handle(device), in create_resolve_pipeline() 312 if (result != VK_SUCCESS) in create_resolve_pipeline() 321 return result; in create_resolve_pipeline() 328 VkResult result; create_depth_stencil_resolve_pipeline() local [all...] |
H A D | radv_debug.c | 70 VkResult result; in radv_init_trace() local 72 result = ws->buffer_create( in radv_init_trace() 76 if (result != VK_SUCCESS) in radv_init_trace() 79 result = ws->buffer_make_resident(ws, device->trace_bo, true); in radv_init_trace() 80 if (result != VK_SUCCESS) in radv_init_trace() 707 struct tm *timep, result; in radv_check_gpu_hangs() local 713 timep = os_localtime(&raw_time, &result); in radv_check_gpu_hangs() 854 VkResult result; in radv_trap_handler_init() local 863 result = ws->buffer_make_resident(ws, device->trap_handler_shader->alloc->arena->bo, true); in radv_trap_handler_init() 864 if (result ! in radv_trap_handler_init() [all...] |
/third_party/node/deps/v8/src/d8/ |
H A D | d8-test.cc | 201 bool result = TryToCopyAndConvertArrayToCppBuffer< in AddAllSequenceFastCallback() local 203 if (!result) { in AddAllSequenceFastCallback() 509 int64_t result = static_cast<int64_t>(arg1_i32) + arg2_i32 + arg3_i32 + in AddAll32BitIntFastCallback_8Args() local 511 if (result > INT_MAX) return INT_MAX; in AddAll32BitIntFastCallback_8Args() 512 if (result < INT_MIN) return INT_MIN; in AddAll32BitIntFastCallback_8Args() 513 return static_cast<int>(result); in AddAll32BitIntFastCallback_8Args() 528 int64_t result = static_cast<int64_t>(arg1_i32) + arg2_i32 + arg3_i32 + in AddAll32BitIntFastCallback_6Args() local 530 if (result > INT_MAX) return INT_MAX; in AddAll32BitIntFastCallback_6Args() 531 if (result < INT_MIN) return INT_MIN; in AddAll32BitIntFastCallback_6Args() 532 return static_cast<int>(result); in AddAll32BitIntFastCallback_6Args() 619 bool result = false; IsFastCApiObjectSlowCallback() local [all...] |
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | macro-assembler-arm.h | 337 // Compare single values and move the result to the normal condition flags. 343 // Compare double values and move the result to the normal condition flags. 365 // Check whether d16-d31 are available on the CPU. The result is given by the 436 // for the result to alias either input register. 437 void FloatMax(SwVfpRegister result, SwVfpRegister left, SwVfpRegister right, 439 void FloatMin(SwVfpRegister result, SwVfpRegister left, SwVfpRegister right, 441 void FloatMax(DwVfpRegister result, DwVfpRegister left, DwVfpRegister right, 443 void FloatMin(DwVfpRegister result, DwVfpRegister left, DwVfpRegister right, 447 void FloatMaxOutOfLine(SwVfpRegister result, SwVfpRegister left, 449 void FloatMinOutOfLine(SwVfpRegister result, SwVfpRegiste [all...] |
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
H A D | makepng.c | 116 * the many possibilities to generate. The images that result (but not the code 151 /* Work round for GCC complaints about casting a (double) function result to 438 * has value 1 this should result in maximum compression. in generate_row() 996 load_file(png_const_charp name, png_bytepp result) in load_file() argument 1066 *result = data; in load_file() 1107 size_t result = (size_t)size; in load_fake() local 1112 if (result == size && (*profile = malloc(result)) != NULL) in load_fake() 1117 memset(out, *endptr, result); in load_fake() 1130 return result; in load_fake() 1159 int result; insert_iCCP() local 1583 png_charp result, bar; strstash_list() local [all...] |
/third_party/skia/tests/ |
H A D | VkHardwareBufferTest.cpp | 325 EGLint result = fEGLDestroySyncKHR(eglDisplay, eglsync); in flushSurfaceAndSignalSemaphore() local 326 if (EGL_TRUE != result) { in flushSurfaceAndSignalSemaphore() 327 ERRORF(reporter, "Failed to delete EGLSync, error: %d\n", result); in flushSurfaceAndSignalSemaphore() 347 EGLint result = fEGLWaitSyncKHR(eglDisplay, eglsync, 0); in importAndWaitOnSemaphore() local 348 if (EGL_TRUE != result) { in importAndWaitOnSemaphore() 349 ERRORF(reporter, "Failed called to eglWaitSyncKHR, error: %d\n", result); in importAndWaitOnSemaphore() 352 result = fEGLDestroySyncKHR(eglDisplay, eglsync); in importAndWaitOnSemaphore() 353 if (EGL_TRUE != result) { in importAndWaitOnSemaphore() 354 ERRORF(reporter, "Failed to delete EGLSync, error: %d\n", result); in importAndWaitOnSemaphore() 1038 bool result in check_read() local [all...] |
/third_party/skia/third_party/externals/freetype/src/cff/ |
H A D | cffparse.c | 256 FT_Long result, number, exponent; in cff_parse_real() local 264 result = 0; in cff_parse_real() 406 result = FT_DivFix( number, 10 ); in cff_parse_real() 436 result = (FT_Long)( (FT_ULong)number << 16 ); in cff_parse_real() 444 result = FT_DivFix( number, power_tens[fraction_length - 4] ); in cff_parse_real() 449 result = FT_DivFix( number, power_tens[fraction_length - 5] ); in cff_parse_real() 484 result = FT_DivFix( number, power_tens[fraction_length] ); in cff_parse_real() 493 result = (FT_Long)( (FT_ULong)number << 16 ); in cff_parse_real() 499 result = -result; in cff_parse_real() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Path.cpp | 548 void native(const Twine &path, SmallVectorImpl<char> &result) { 550 path.getSingleStringRef().data() != result.data()) && 551 "path and result are not allowed to overlap!"); 552 // Clear result. 553 result.clear(); 554 path.toVector(result); 555 native(result); 731 SmallString<256> result = remove_dots(p, remove_dot_dot); 732 if (result == path) 735 path.swap(result); [all...] |