/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | UniformTest.cpp | 247 GLfloat result = 0; in TEST_P() local 248 glGetUniformfv(program, uniformLocation, &result); in TEST_P() 250 ASSERT_EQ(result, expected[i]); in TEST_P() 308 GLint result = 0; in TEST_P() local 309 glGetUniformiv(program, uniformLocation, &result); in TEST_P() 311 ASSERT_EQ(result, expected[i]); in TEST_P() 997 // - A chunk that will hold the result in CheckOneElement() 1111 out vec4 result; in TEST_P() 1139 result = (success) ? vec4(0, 1.0, 0, 1.0) : vec4(1.0, 0.0, 0.0, 1.0); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
H A D | libEGL.cpp | 1510 EGLBoolean result = GetSyncAttrib(dpy, sync, attribute, &attrib_value); in GetSyncAttribKHR() local 1512 return result; in GetSyncAttribKHR() 1605 const Function *result = std::lower_bound(eglFunctions, eglFunctionsEnd, needle, CompareFunctor()); in GetProcAddress() local 1606 if (result != eglFunctionsEnd && strcmp(procname, result->name) == 0) in GetProcAddress() 1608 return success((__eglMustCastToProperFunctionPointerType)result->address); in GetProcAddress()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_replace_linear_algebra_instruction.cpp | 105 protobufs::Transformation result; in ToMessage() local 106 *result.mutable_replace_linear_algebra_instruction() = message_; in ToMessage() 107 return result; in ToMessage() 253 // will be inserted. The first two OpFMul instructions will result the in GetRequiredFreshIdCount() 1032 std::unordered_set<uint32_t> result; in GetFreshIds() local 1034 result.insert(id); in GetFreshIds() 1036 return result; in GetFreshIds()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_replace_linear_algebra_instruction.cpp | 105 protobufs::Transformation result; in ToMessage() local 106 *result.mutable_replace_linear_algebra_instruction() = message_; in ToMessage() 107 return result; in ToMessage() 253 // will be inserted. The first two OpFMul instructions will result the in GetRequiredFreshIdCount() 1032 std::unordered_set<uint32_t> result; in GetFreshIds() local 1034 result.insert(id); in GetFreshIds() 1036 return result; in GetFreshIds()
|
/third_party/skia/tests/ |
H A D | BackendAllocationTest.cpp | 228 SkColor4f result; in get_expected_color() local 230 GrConvertPixels(GrPixmap(resultII, &result.fR, sizeof(result)), in get_expected_color() 232 return result; in get_expected_color() 423 bool result = dstFillContext->readPixels(dContext, actual, {0, 0}); in check_mipmaps() local 424 REPORTER_ASSERT(reporter, result); in check_mipmaps()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | MultisampledRenderingTests.cpp | 277 RGBA8 result; in ExpectedMSAAColor() local 278 result.r = static_cast<uint8_t>(std::min(255.0, 256 * color.r * msaaCoverage)); in ExpectedMSAAColor() 279 result.g = static_cast<uint8_t>(std::min(255.0, 256 * color.g * msaaCoverage)); in ExpectedMSAAColor() 280 result.b = static_cast<uint8_t>(std::min(255.0, 256 * color.b * msaaCoverage)); in ExpectedMSAAColor() 281 result.a = static_cast<uint8_t>(std::min(255.0, 256 * color.a * msaaCoverage)); in ExpectedMSAAColor() 282 return result; in ExpectedMSAAColor() 293 // storeOp should not affect the result in the resolve target. in TEST_P() 893 // Setting alpha <= 0 must result in alpha-to-coverage mask being empty. in TEST_P() 894 // Setting alpha = 0.5f should result in alpha-to-coverage mask including half the samples, in TEST_P() 897 // Setting alpha >= 1 must result i in TEST_P() [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | backward_references_hq.c | 419 size_t result = 0; in UpdateNodes() local 493 result = BROTLI_MAX(size_t, result, l); in UpdateNodes() 545 result = BROTLI_MAX(size_t, result, len); in UpdateNodes() 551 return result; in UpdateNodes()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | cffdecode.c | 404 FT_Int result; in cff_compute_bias() local 408 result = 0; in cff_compute_bias() 410 result = 107; in cff_compute_bias() 412 result = 1131; in cff_compute_bias() 414 result = 32768U; in cff_compute_bias() 416 return result; in cff_compute_bias() 1845 /* the result of `%' is negative if the first operand */ in FT_LOCAL_DEF()
|
/third_party/python/Lib/xml/dom/ |
H A D | expatbuilder.py | 911 result = builder.parseFile(fp) 913 result = builder.parseFile(file) 914 return result 942 result = builder.parseFile(fp) 944 result = builder.parseFile(file) 945 return result
|
/third_party/python/Lib/test/ |
H A D | test_threading.py | 277 result = set_async_exc(tid, exception) variable in ThreadTests.test_PyThreadState_SetAsyncExc.AsyncExc 289 self.assertEqual(result, 1) # one thread state modified 291 # The exception was raised too quickly for us to get the result. 323 result = set_async_exc(-1, exception) 324 self.assertEqual(result, 0) # no thread states modified 336 result = set_async_exc(t.id, exception) 337 self.assertEqual(result, 1) # one thread state modified
|
H A D | test_plistlib.py | 914 result = self.decode(*chunks, b'\x54seed', offset_size=4, ref_size=4) 919 self.assertIsInstance(result, list) 920 self.assertEqual(len(result), 1) 921 result = result[0] 922 self.assertEqual(result, 'seed')
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream.h | 255 // when we are parsing a size from the wire, truncating the value would result 259 // Read a tag. This calls ReadVarint32() and returns the result, or returns 283 std::pair<uint32, bool> result = ReadTagWithCutoffNoLastTag(cutoff); in ReadTagWithCutoff() local 284 last_tag_ = result.first; in ReadTagWithCutoff() 285 return result; in ReadTagWithCutoff() 431 // is expected to check that the second part of the result is non-negative (to 433 // later pass the first part of the result to PopLimit() or similar. 441 // bool result = ConsumedEntireMessage(); 444 // return result; } 450 // bool result 1286 int64 result = ReadVarint32Fallback(v); ReadVarint32() local [all...] |
/third_party/protobuf/js/ |
H A D | message.js | 59 * will result in an ExtensionFieldInfo object with these properties: 520 var result = []; 522 result[i] = toObjectFn.call(field[i], opt_includeInstance, field[i]); 524 return result; 1411 var result = {}; 1413 result[mapKeyGetterFn.call(field[i])] = opt_toObjectFn ? 1417 return result; 1568 * The result will contain the top-level fields of m2 that differ from those of 1569 * m1 at any level of nesting. No data is cloned, the result object will 1583 * array with result [all...] |
/third_party/python/PC/ |
H A D | winreg.c | 283 The result is the value of the handle before it is detached. If the 920 if (PySys_Audit("winreg.OpenKey/result", "n", in winreg_CreateKey_impl() 971 if (PySys_Audit("winreg.OpenKey/result", "n", in winreg_CreateKeyEx_impl() 1152 The result is a tuple of 3 items: 1386 The result is a new handle to the specified key. 1410 if (PySys_Audit("winreg.OpenKey/result", "n", in winreg_OpenKey_impl() 1422 The result is a new handle to the specified key. 1443 The result is a tuple of 3 items: 1581 PyObject *result; in winreg_QueryValueEx_impl() local 1622 result in winreg_QueryValueEx_impl() 1948 BOOL result; winreg_QueryReflectionKey_impl() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
H A D | demangle.cc | 1180 const bool result = ParseType(state); in ParseType() local 1181 if (!result) state->parse_state = copy; in ParseType() 1182 return result; in ParseType() 1191 const bool result = ParseType(state); in ParseType() local 1192 if (!result) state->parse_state = copy; in ParseType() 1193 return result; in ParseType()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_replace_linear_algebra_instruction.cpp | 105 protobufs::Transformation result; in ToMessage() local 106 *result.mutable_replace_linear_algebra_instruction() = message_; in ToMessage() 107 return result; in ToMessage() 253 // will be inserted. The first two OpFMul instructions will result the in GetRequiredFreshIdCount() 1033 std::unordered_set<uint32_t> result; in GetFreshIds() local 1035 result.insert(id); in GetFreshIds() 1037 return result; in GetFreshIds()
|
/third_party/spirv-tools/source/opt/ |
H A D | ir_context.h | 428 // defines a result id, its name and decorations will also be deleted. 450 // Collects the non-semantic instruction tree that uses |inst|'s result id 499 // Kill all name and decorate ops targeting the result id of |inst|. 887 // the result so it doesn't need to be rebuilt each time. 1175 // OpName and OpMemberName do not have result-ids. The target of the in AddDebug2Inst() 1254 auto result = id_to_name_->equal_range(id); in GetNames() local 1255 return make_range(std::move(result.first), std::move(result.second)); in GetNames() 1262 auto result = id_to_name_->equal_range(struct_type_id); in GetMemberName() local 1263 for (auto i = result in GetMemberName() [all...] |
H A D | optimizer.cpp | 98 // the opaque object with an intermediate object that is the result of the 103 // references to the structured buffers must use the result of OpVariable 567 auto result = std::from_chars(start, end, from_set); in RegisterPassFromFlag() local 568 if (result.ec != std::errc()) { in RegisterPassFromFlag() 574 start = result.ptr; in RegisterPassFromFlag() 582 result = std::from_chars(start, end, to_set); in RegisterPassFromFlag() 583 if (result.ec != std::errc() || result.ptr != end) { in RegisterPassFromFlag() 652 // We do not keep the result id of DebugScope in struct DebugScope. in Run()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 189 const PixelBufferAccess& result); 834 // create buffer for result transfer in iterate() 1091 // if result/reference is depth-stencil format then focus only on tested component in iterate() 1102 bool NoneStageTestInstance::verifyResult(const PixelBufferAccess& reference, const PixelBufferAccess& result) in verifyResult() argument 1128 IVec4 cmpPix = result.getPixelInt(x, y, 0); in verifyResult() 1139 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in verifyResult() 1145 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in verifyResult() 1152 return floatThresholdCompare(log, "Image comparison", "", reference, result, tcu::Vec4(0.01f), tcu::COMPARE_LOG_RESULT); in verifyResult()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
H A D | vktWsiDisplayTimingTests.cpp | 984 vk::VkResult result; in render() local 1039 &result in render() 1043 VK_CHECK_WSI(result); in render() 1047 vk::VkResult result; in render() local 1057 &result in render() 1061 VK_CHECK_WSI(result); in render()
|
H A D | vktWsiIncrementalPresentTests.cpp | 975 vk::VkResult result; in render() local 998 &result in render() 1002 VK_CHECK_WSI(result); in render() 1006 vk::VkResult result; in render() local 1016 &result in render() 1020 VK_CHECK_WSI(result); in render()
|
/third_party/vulkan-loader/scripts/ |
H A D | loader_extension_generator.py | 343 result = None 351 result = len.split(',')[0] 353 result = len 354 result = str(result).replace('::', '->') 355 return result
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineExtendedDynamicStateTests.cpp | 1063 std::vector<std::vector<deUint8>> result; variable 1064 result.reserve(6u); 1066 result.push_back(createSingleBindingVertexData<Zeros>(coords, dataOffset, trailingPadding, paddingPattern, patternSize)); // Not actually used. 1067 result.push_back(createSingleBindingVertexData<PaddingOnes>(coords, dataOffset, trailingPadding, paddingPattern, patternSize)); // Binding 1 contains location=0 as PaddingOnes. 1068 result.push_back(createSingleBindingVertexData<Zeros>(coords, dataOffset, trailingPadding, paddingPattern, patternSize)); // Not actually used. 1069 result.push_back(createSingleBindingVertexData<CoordsData>(coords, dataOffset, trailingPadding, paddingPattern, patternSize)); // Binding 3 contains location=1 as CoordsData. 1070 result.push_back(createSingleBindingVertexData<Zeros>(coords, dataOffset, trailingPadding, paddingPattern, patternSize)); // Not actually used. 1071 result.push_back(createSingleBindingVertexData<OneZeroPadding>(coords, dataOffset, trailingPadding, paddingPattern, patternSize)); // Binding 5 contains location=2 as OneZeroPadding. 1073 return result; 1418 using ColorVerificator = std::function<bool(const tcu::ConstPixelBufferAccess&/*result*/, cons 1652 verifyTopLeftCorner(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask, bool partialAlpha) verifyTopLeftCorner() argument 1673 verifyTopLeftCornerExactly(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask) verifyTopLeftCornerExactly() argument 1678 verifyTopLeftCornerWithPartialAlpha(const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference, const tcu::PixelBufferAccess& errorMask) verifyTopLeftCornerWithPartialAlpha() argument 3124 const auto result = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, colorImageInfo.format, colorImageInfo.imageType, colorImageInfo.tiling, colorImageInfo.usage, colorImageInfo.flags, &formatProps); checkSupport() local 3240 auto result = vki.getPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(physicalDevice, &combinationCount, nullptr); checkSupport() local 3869 logErrors(tcu::TestLog& log, const std::string& setName, const std::string& setDesc, const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& errorMask) logErrors() argument 4581 const auto result = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, dsImageInfo.format, dsImageInfo.imageType, dsImageInfo.tiling, dsImageInfo.usage, dsImageInfo.flags, &formatProps); iterate() local 6408 deUint8 result = storedValue; stencilResult() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_manager_service.h | 280 * Starts a new ability for result using the original caller information. 295 * Starts a new ability for result using the original caller information. 580 * @param connect, Callback used to notify caller the result of connecting or disconnecting. 612 * @param callBack, notify result back. 625 * @param callBack, notify result back. 656 * @param isSuccess, continuation result. 662 * NotifyContinuationResult, notify continue result to ability. 665 * @param result, continuation result. 668 virtual int NotifyContinuationResult(int32_t missionId, int32_t result) overrid [all...] |
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | context_impl.cpp | 974 TAG_LOGI(AAFwkTag::APPKIT, "Overlay event subscriber register result is %{public}d", subResult); in SubscribeToOverlayEvents() 1233 auto result = appMgrClient->GetProcessRunningInformation(info); in GetProcessRunningInformation() local 1234 TAG_LOGD(AAFwkTag::APPKIT, "result is %{public}d", result); in GetProcessRunningInformation() 1235 return result; in GetProcessRunningInformation() 1241 auto result = appMgrClient->GetAllRunningInstanceKeysBySelf(instanceKeys); in GetAllRunningInstanceKeys() local 1242 TAG_LOGD(AAFwkTag::APPKIT, "result is %{public}d", result); in GetAllRunningInstanceKeys() 1243 return result; in GetAllRunningInstanceKeys() 1248 auto result in RestartApp() local [all...] |