/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferMemoryRequirementsTests.cpp | 262 void getBufferMemoryRequirements (VkMemoryRequirements& result, 266 void getBufferMemoryRequirements2 (VkMemoryRequirements& result, 270 typedef void (BufferMemoryRequirementsInstance::* Method) (VkMemoryRequirements& result, 664 void BufferMemoryRequirementsInstance::getBufferMemoryRequirements2 (VkMemoryRequirements& result, in getBufferMemoryRequirements2() argument 681 result // VkMemoryRequirements memoryRequirements in getBufferMemoryRequirements2() 693 result = desiredRequirements.memoryRequirements; in getBufferMemoryRequirements2() 696 void BufferMemoryRequirementsInstance::getBufferMemoryRequirements (VkMemoryRequirements& result, in getBufferMemoryRequirements() argument 701 vkd.getBufferMemoryRequirements(device, buffer, &result); in getBufferMemoryRequirements()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawShaderLayerTests.cpp | 556 std::vector<Vec4> result; in generateColors() local 557 result.reserve(numColors); in generateColors() 561 result.push_back(colors[i % DE_LENGTH_OF_ARRAY(colors)]); in generateColors() 564 return result; in generateColors() 574 std::vector<PositionColorVertex> result; in generateVertices() local 575 result.reserve(total); in generateVertices() 599 result.push_back(PositionColorVertex(pos, colors[i/6])); in generateVertices() 602 return result; in generateVertices()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingPipelineLibraryTests.cpp | 320 "layout(r32ui, set = 0, binding = 0) uniform uimage2D result;\n" in initPrograms() 331 " imageStore(result, ivec2(gl_LaunchIDEXT.xy), hitValue);\n" in initPrograms() 409 std::vector<de::SharedPtr<BottomLevelAccelerationStructure> > result; in initBottomAccelerationStructures() local 445 result.push_back(de::SharedPtr<BottomLevelAccelerationStructure>(bottomLevelAccelerationStructure.release())); in initBottomAccelerationStructures() 448 return result; in initBottomAccelerationStructures() 460 de::MovePtr<TopLevelAccelerationStructure> result = makeTopLevelAccelerationStructure(); in initTopAccelerationStructure() local 461 result->setInstanceCount(instanceCount); in initTopAccelerationStructure() 472 result->addInstance(bottomLevelAccelerationStructures[currentInstanceIndex], identityMatrix3x4, 0, 0xFF, currentInstanceIndex % numShadersUsed, 0U); in initTopAccelerationStructure() 475 result->createAndBuild(vkd, device, cmdBuffer, allocator); in initTopAccelerationStructure() 477 return result; in initTopAccelerationStructure() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferMemoryRequirementsTests.cpp | 262 void getBufferMemoryRequirements (VkMemoryRequirements& result, 266 void getBufferMemoryRequirements2 (VkMemoryRequirements& result, 270 typedef void (BufferMemoryRequirementsInstance::* Method) (VkMemoryRequirements& result, 662 void BufferMemoryRequirementsInstance::getBufferMemoryRequirements2 (VkMemoryRequirements& result, in getBufferMemoryRequirements2() argument 679 result // VkMemoryRequirements memoryRequirements in getBufferMemoryRequirements2() 691 result = desiredRequirements.memoryRequirements; in getBufferMemoryRequirements2() 694 void BufferMemoryRequirementsInstance::getBufferMemoryRequirements (VkMemoryRequirements& result, in getBufferMemoryRequirements() argument 699 vkd.getBufferMemoryRequirements(device, buffer, &result); in getBufferMemoryRequirements()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrAAConvexTessellator.cpp | 352 SkPoint* result) const { 374 *result = bisector; 375 result->scale(t); 376 *result += newP; 673 SkScalar result = (depth - initialDepth) / (targetDepth - initialDepth) * 675 return SkTPin(result, 0.0f, 1.0f); 695 bool result = intersect(this->point(lastRing.index(cur)), lastRing.bisector(cur), 698 // The bisectors may be parallel (!result) or the previous ring may have become slightly 700 if (!result || t <= 0) {
|
/third_party/skia/src/sksl/ |
H A D | SkSLInliner.cpp | 194 bool result = INHERITED::visitStatement(stmt); variable 203 return result; 468 StatementArray result; in inlineStatement() 469 result.reserve_back(block.children().size()); in inlineStatement() 471 result.push_back(stmt(child)); in inlineStatement() 473 return result; in inlineStatement() 541 // inside an Block's scope, we don't need to store the result in a variable at all. Just in inlineStatement() 549 // For more complex functions, assign their result into a variable. in inlineStatement() 593 auto result = VarDeclaration::Make(*fContext, in inlineStatement() local 599 return result; in inlineStatement() [all...] |
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/ |
H A D | StackWalker.cpp | 725 DWORD result = ERROR_SUCCESS; in LoadModule() local 727 result = ERROR_NOT_ENOUGH_MEMORY; in LoadModule() 731 result = GetLastError(); in LoadModule() 803 this->m_parent->OnLoadModule(img, mod, baseAddr, size, result, szSymType, pdbName, in LoadModule() 810 return result; in LoadModule() 1049 this->LoadModules(); // ignore the result... in ShowCallstack() 1299 this->LoadModules(); // ignore the result... in ShowObject() 1343 //printf("ReadMemory: hProcess: %p, baseAddr: %p, buffer: %p, size: %d, read: %d, result: %d\n", hProcess, (LPVOID) qwBaseAddress, lpBuffer, nSize, (DWORD) st, (DWORD) bRet); in myReadProcMem() 1357 DWORD result, in OnLoadModule() 1368 _snprintf_s(buffer, maxLen, "%s:%s (%p), size: %d (result in OnLoadModule() 1353 OnLoadModule(LPCSTR img, LPCSTR mod, DWORD64 baseAddr, DWORD size, DWORD result, LPCSTR symType, LPCSTR pdbName, ULONGLONG fileVersion) OnLoadModule() argument [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/ |
H A D | cmap_table.cc | 139 CMapId result; in NewCMapId() local 140 result.platform_id = platform_id; in NewCMapId() 141 result.encoding_id = encoding_id; in NewCMapId() 142 return result; in NewCMapId() 146 CMapId result; in NewCMapId() local 147 result.platform_id = obj.platform_id; in NewCMapId() 148 result.encoding_id = obj.encoding_id; in NewCMapId() 149 return result; in NewCMapId()
|
/third_party/skia/third_party/externals/zlib/contrib/tests/ |
H A D | utils_unittest.cc | 28 int result = zlib_internal::CompressHelper( in TestPayloads() local 31 ASSERT_EQ(result, Z_OK); in TestPayloads() 35 result = zlib_internal::UncompressHelper(type, decompressed.data(), in TestPayloads() 38 ASSERT_EQ(result, Z_OK); in TestPayloads() 79 int result = zlib_internal::CompressHelper( in TEST() local 82 ASSERT_EQ(result, Z_OK); in TEST() 86 result = zlib_internal::UncompressHelper(type, decompressed.data(), in TEST() 89 ASSERT_EQ(result, Z_OK); in TEST()
|
/third_party/python/Parser/ |
H A D | tokenizer.c | 98 char* result = (char *)PyMem_Malloc(len + 1); in new_string() local 99 if (!result) { in new_string() 103 memcpy(result, s, len); in new_string() 104 result[len] = '\0'; in new_string() 105 return result; in new_string() 343 stored the result in tok->decoding_buffer 530 will result in surrogates in range D800-DFFF. Surrogates are in valid_utf8() 659 char* result = PyMem_Realloc(buf, final_length); in translate_newlines() local 660 if (result == NULL) { in translate_newlines() 663 buf = result; in translate_newlines() 2136 int result = tok_get(tok, p_start, p_end); _PyTokenizer_Get() local [all...] |
/third_party/rust/crates/regex/src/ |
H A D | compile.rs | 4 use std::result; 18 type Result = result::Result<Patch, Error>; 19 type ResultOrEmpty = result::Result<Option<Patch>, Error>; 49 // on an empty sub-expression can result in the compiler using a very large 129 pub fn compile(mut self, exprs: &[Hir]) -> result::Result<Program, Error> { in compile() 139 fn compile_one(mut self, expr: &Hir) -> result::Result<Program, Error> { in compile_one() 168 ) -> result::Result<Program, Error> { in compile_many() 205 fn compile_finish(mut self) -> result::Result<Program, Error> { in compile_finish() 834 fn check_size(&self) -> result::Result<(), Error> { in check_size() 1168 // We need to mark all ranges of bytes whose pairs result i in set_word_boundary() [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | bn.rs | 198 /// Returns the result of `self` modulo `w`. 462 /// Places the result of `a * b` in `self`. 484 /// Places the result of `a / b` in `self`. The remainder is discarded. 507 /// Places the result of `a % b` in `self`. 527 /// Places the result of `a / b` in `self` and `a % b` in `rem`. 548 /// Places the result of `a²` in `self`. 554 /// Places the result of `a mod m` in `self`. As opposed to `div_rem` 555 /// the result is non-negative. 574 /// Places the result of `(a + b) mod m` in `self`. 595 /// Places the result o 1433 let mut result = BigNum::from_dec_str(&range.to_dec_str().unwrap()).unwrap(); test_rand_range() variables 1442 let mut result = BigNum::from_dec_str(&range.to_dec_str().unwrap()).unwrap(); test_pseudo_rand_range() variables [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | scalar_replacement_pass.cpp | 871 std::unique_ptr<std::unordered_set<int64_t>> result( in GetUsedComponents() 876 def_use_mgr->WhileEachUser(inst, [&result, def_use_mgr, in GetUsedComponents() 890 result->insert(t.begin(), t.end()); in GetUsedComponents() 893 result.reset(nullptr); in GetUsedComponents() 911 result->insert(index_const->GetSignExtendedValue()); in GetUsedComponents() 915 result.reset(nullptr); in GetUsedComponents() 921 result.reset(nullptr); in GetUsedComponents() 926 return result; in GetUsedComponents()
|
/third_party/vk-gl-cts/framework/qphelper/ |
H A D | qpTestLog.c | 21 * \brief Test case result logging 493 * \param result Test result 497 deBool qpTestLog_endCase (qpTestLog* log, qpTestResult result, const char* resultDetails) in qpTestLog_endCase() argument 499 const char* statusStr = QP_LOOKUP_STRING(s_qpTestResultMap, result); in qpTestLog_endCase() 588 * \param result Result code, only Crash and Timeout are allowed. 591 deBool qpTestLog_terminateCase (qpTestLog* log, qpTestResult result) in qpTestLog_terminateCase() argument 593 const char* resultStr = QP_LOOKUP_STRING(s_qpTestResultMap, result); in qpTestLog_terminateCase() 596 DE_ASSERT(result == QP_TEST_RESULT_CRASH || result in qpTestLog_terminateCase() 1582 qpGetTestResultName(qpTestResult result) qpGetTestResultName() argument [all...] |
/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | ast.py | 483 result = [] 498 result.append(Type(name_tokens[0].start, name_tokens[-1].end, 532 return result 593 result = [] 611 result.append(p) 660 return result 730 result = self._GenerateOne(token) 731 if result is not None: 732 yield result 1437 result [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateTimeGeneratorTest.java | 203 {"yyyyMMMddhhmmss", "Oct 14, 1999, 6:58:59\u202FAM"}, // (fixed expected result per ticket 6872<-7180) in TestSimple() 204 {"EyyyyMMMddhhmmss", "Thu, Oct 14, 1999, 6:58:59\u202FAM"}, // (fixed expected result per ticket 6872<-7180) in TestSimple() 206 {"hhmm", "6:58\u202FAM"}, // (fixed expected result per ticket 6872<-7180) in TestSimple() 207 {"hhmmVVVV", "6:58\u202FAM GMT"}, // (fixed expected result per ticket 6872<-7180) in TestSimple() 223 // *** expected result should be "1999-10-14 6:58:59" with current data, changed test temporarily to match current result, needs investigation in TestRoot() 269 StringBuffer result = new StringBuffer(); in getRandomString() 274 UTF16.append(result, ch); in getRandomString() 276 return result.toString(); in getRandomString() 429 new String[] {"yM", "1.1999"}, // (fixed expected result pe [all...] |
/third_party/libcoap/examples/ |
H A D | coap-client.c | 990 * param[out] dst Conversion result. 1068 * sufficient space to hold the result. This function is supposed to 1073 * @param buf The result buffer. 1142 int result = 1; in cmdline_input_from_file() local 1185 result = 0; in cmdline_input_from_file() 1194 return result; in cmdline_input_from_file() 1583 int result = -1; in main() local 1932 result = coap_io_process(ctx, timeout_ms); in main() 1934 if (result >= 0) { in main() 1936 if ((unsigned)result > in main() [all...] |
/third_party/node/deps/minimatch/ |
H A D | index.js | 60 var begs, beg, left, right, result; 70 while (i >= 0 && !result) { 75 result = [begs.pop(), bi]; 87 result = [left, right]; 90 return result; 1367 let result = []; 1371 result.push(which === "b" ? b[bi] : a[ai]); 1375 result.push(a[ai]); 1378 result.push(b[bi]); 1384 result [all...] |
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 1467 struct amdgpu_bo_import_result result = {0}; in amdgpu_bo_from_handle() local 1486 r = amdgpu_bo_import(ws->dev, type, whandle->handle, &result); in amdgpu_bo_from_handle() 1491 bo = util_hash_table_get(ws->bo_export_table, result.buf_handle); in amdgpu_bo_from_handle() 1504 amdgpu_bo_free(result.buf_handle); in amdgpu_bo_from_handle() 1509 r = amdgpu_bo_query_info(result.buf_handle, &info); in amdgpu_bo_from_handle() 1514 result.alloc_size, in amdgpu_bo_from_handle() 1515 amdgpu_get_optimal_alignment(ws, result.alloc_size, in amdgpu_bo_from_handle() 1525 r = amdgpu_bo_va_op_raw(ws->dev, result.buf_handle, 0, result.alloc_size, va, in amdgpu_bo_from_handle() 1554 bo->bo = result in amdgpu_bo_from_handle() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineRenderToImageTests.cpp | 808 const auto result = vki.getPhysicalDeviceImageFormatProperties( in testWithSizeReduction() local 818 VK_CHECK(result); in testWithSizeReduction() 829 const auto result = vki.getPhysicalDeviceImageFormatProperties( in testWithSizeReduction() local 839 VK_CHECK(result); in testWithSizeReduction() 925 const VkResult result = vk.allocateMemory(device, &allocateInfo, DE_NULL, &object); in testWithSizeReduction() local 927 if (VK_ERROR_OUT_OF_DEVICE_MEMORY == result || VK_ERROR_OUT_OF_HOST_MEMORY == result) in testWithSizeReduction() 934 else if (VK_SUCCESS != result) in testWithSizeReduction() 1243 const auto result = vki.getPhysicalDeviceImageFormatProperties( in checkSupportAttachmentSize() local 1253 if (result ! in checkSupportAttachmentSize() 1263 const auto result = vki.getPhysicalDeviceImageFormatProperties( checkSupportAttachmentSize() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 459 VkResult result = vk.allocateMemory(device, &allocInfo, NULL, &memory); 461 if (result == VK_SUCCESS) 525 bool compareAndLogBuffer (TestLog& log, size_t size, size_t referenceSize, const deUint8* result, const deUint8* reference) 535 if (result[ndx * stride] != reference[ndx]) 560 resultValues << result[ndx * stride]; 615 tcu::ResultCollector result (log); 862 result.fail("Unexpected values read from mapped memory."); 872 result.fail("Live allocations remain after freeing mapped memory"); 884 result.fail(error.getMessage()); 889 result [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | FramebufferGL.cpp | 283 // Separate from constructor as there may be checked math result exception that needs to in Initialize() 845 angle::Result result = adjustSrcDstRegion(context, finalSourceArea, finalDestArea, in blit() local 847 if (result != angle::Result::Continue) in blit() 849 return result; in blit() 854 angle::Result result = clipSrcRegion(context, finalSourceArea, finalDestArea, in blit() local 856 if (result != angle::Result::Continue) in blit() 858 return result; in blit() 1503 angle::Result result = in readPixelsRowByRow() local 1506 if (result != angle::Result::Continue) in readPixelsRowByRow() 1508 return result; in readPixelsRowByRow() 1558 angle::Result result = readPixelsAllAtOnce() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | MultiviewDrawTest.cpp | 23 std::vector<Vector2> result(pixels.size()); in ConvertPixelCoordinatesToClipSpace() 31 result[i] = Vector2(xInClipSpace, yInClipSpace); in ConvertPixelCoordinatesToClipSpace() 33 return result; in ConvertPixelCoordinatesToClipSpace() 467 GLuint result = GL_TRUE; in drawAndRetrieveOcclusionQueryResult() local 468 glGetQueryObjectuivEXT(query, GL_QUERY_RESULT, &result); in drawAndRetrieveOcclusionQueryResult() 469 return result; in drawAndRetrieveOcclusionQueryResult() 1392 GLuint result = drawAndRetrieveOcclusionQueryResult(program); in TEST_P() local 1394 EXPECT_GL_FALSE(result); in TEST_P() 1431 GLuint result = drawAndRetrieveOcclusionQueryResult(program); in TEST_P() local 1433 EXPECT_GL_TRUE(result); in TEST_P() 1470 GLuint result = drawAndRetrieveOcclusionQueryResult(program); TEST_P() local [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngwrite.c | 2127 int result; in png_image_write_main() local 2131 result = png_safe_execute(image, png_write_image_16bit, display); in png_image_write_main() 2133 result = png_safe_execute(image, png_write_image_8bit, display); in png_image_write_main() 2139 if (result == 0) in png_image_write_main() 2230 int result; in png_image_write_to_memory() local 2242 result = png_safe_execute(image, png_image_write_memory, &display); in png_image_write_to_memory() 2246 if (result) in png_image_write_to_memory() 2252 result = 0; in png_image_write_to_memory() 2257 return result; in png_image_write_to_memory() 2290 int result; in png_image_write_to_stdio() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | ShaderModule.cpp | 618 EntryPointMetadataTable result; 629 ASSERT(result.count(entryPoint.name) == 0); 943 EntryPointMetadata::SamplerTexturePair result; 944 result.sampler = {BindGroupIndex(pair.sampler_binding_point.group), 946 result.texture = {BindGroupIndex(pair.texture_binding_point.group), 948 return result; 951 result[entryPoint.name] = std::move(metadata); 953 return std::move(result); 1011 auto result = tint::writer::wgsl::Generate(&program, options); 1012 DAWN_INVALID_IF(!result [all...] |