/third_party/skia/tests/ |
H A D | ColorSpaceTest.cpp | 63 test_space(r, colorSpace.get(), red, green, blue, expectSRGB); in test_path() 107 REPORTER_ASSERT(r, space.get() == newSpace1.get()); in test_serialize() 108 REPORTER_ASSERT(r, space.get() == newSpace2.get()); in test_serialize() 110 REPORTER_ASSERT(r, SkColorSpace::Equals(space.get(), newSpace1.get())); in test_serialize() 111 REPORTER_ASSERT(r, SkColorSpace::Equals(space.get(), newSpace2.get())); in test_serialize() 182 REPORTER_ASSERT(r, SkColorSpace::Equals(srgb.get(), srg in DEF_TEST() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | format_test.cc | 27 Format fmt(f32.get()); in TEST_F() 36 Format fmt(type.get()); in TEST_F() 47 Format fmt(type.get()); in TEST_F() 58 Format fmt(type.get()); in TEST_F() 80 Format fmt(type.get()); in TEST_P() 125 Format fmt(type.get()); in TEST_P() 265 Format fmt(type.get()); in TEST_F() 279 Format fmt(type.get()); in TEST_F() 295 Format fmt(type.get()); in TEST_F() 315 Format fmt(type.get()); in TEST_F() [all...] |
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_images.py | 282 self.assertEqual(image.get(4, 6), self.colorlist(0, 0, 0)) 289 self.assertEqual(image.get(4, 6), image.get(4, 6)) 296 self.assertEqual(image2.get(2, 2), image.get(4, 6)) 301 self.assertEqual(image2.get(2, 3), image.get(4, 6)) 308 self.assertEqual(image2.get(8, 18), image.get(4, 6)) 309 self.assertEqual(image2.get( [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_alloc_callback_tests.cpp | 68 uint64_t addr = (uint64_t)detail.allocation.get(); in allocate() 152 VkAllocationCallbacks* get() noexcept { return &callbacks; } 187 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 201 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 219 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 245 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 273 ASSERT_EQ(inst->vkCreateDevice(physical_device, dev_create_info.get(), tracker.get(), &device), VK_SUCCESS); in TEST() 278 inst->vkDestroyDevice(device, tracker.get()); in TEST() 294 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/ |
H A D | vktQueryPoolFragInvocationTests.cpp | 135 const auto vertModule = createShaderModule(ctx.vkd, ctx.device, binaries.get("vert")); in testInvocations() 136 const auto fragModule = createShaderModule(ctx.vkd, ctx.device, binaries.get("frag")); in testInvocations() 140 const auto framebuffer = makeFramebuffer(ctx.vkd, ctx.device, renderPass.get(), colorBuffer.getImageView(), vkExtent.width, vkExtent.height); in testInvocations() 163 const auto pipeline = makeGraphicsPipeline(ctx.vkd, ctx.device, pipelineLayout.get(), in testInvocations() 164 vertModule.get(), VK_NULL_HANDLE, VK_NULL_HANDLE, VK_NULL_HANDLE, fragModule.get(), renderPass.get(), in testInvocations() 169 VkCommandBuffer primaryCmdBuffer = cmd.cmdBuffer.get(); in testInvocations() 174 secCmdBufferPtr = allocateCommandBuffer(ctx.vkd, ctx.device, cmd.cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_SECONDARY); in testInvocations() 175 const auto secCmdBuffer = secCmdBufferPtr.get(); in testInvocations() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | valhall.py | 68 is_default = child.attrib.get('default', False) 226 lane = el.get('lane', None) 232 return Source(i, int(el.get('size', size)), 233 absneg = el.get('absneg', False), 234 is_float = el.get('float', False), 235 swizzle = el.get('swizzle', False), 236 halfswizzle = el.get('halfswizzle', False), 237 widen = el.get('widen', False), 238 lanes = el.get('lanes', False), 239 combine = el.get('combin [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | static_unisets_test.cpp | 12 using icu::unisets::get; 52 get(unisets::COMMA)->containsAll(*get(unisets::STRICT_COMMA))); in testSetCoverage() 55 get(unisets::PERIOD)->containsAll(*get(unisets::STRICT_PERIOD))); in testSetCoverage() 58 decimals.addAll(*get(unisets::STRICT_COMMA)); in testSetCoverage() 59 decimals.addAll(*get(unisets::STRICT_PERIOD)); in testSetCoverage() 63 grouping.addAll(*get(unisets::OTHER_GROUPING_SEPARATORS)); in testSetCoverage() 66 const UnicodeSet &plusSign = *get(unisets::PLUS_SIGN); in testSetCoverage() 67 const UnicodeSet &minusSign = *get(uniset in testSetCoverage() [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | json_h_generator.py | 97 if feature.get('api').find('vulkansc') != -1: 104 if typeName.get("name") != "": 105 self.featureDict[typeName.get("name")] = feature.get("name") 106 self.vkscFeatureList.append(typeName.get("name")) 112 if self.vkscFeatureList.count(item.get("name")) > 0: 113 self.vkscFeatureList.remove(item.get("name")) 119 if extension.get("supported").find("vulkansc") != -1: 124 self.featureDict[typeName.get("name")] = extension.get("nam [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | convertKeywordsYes.js | 19 var get = 0; variable 35 get , 53 g: get , 73 get: 0, 132 get; 191 public get = 0; 248 get, 303 class get { } 325 var get = 0;
variable 345 get [all...] |
H A D | functionsMissingReturnStatementsAndExpressions.js | 105 public get m1() { 106 // Errors; get accessors must return a value. 109 public get m2() { 114 public get m3() { 118 public get m4() { 123 public get m5() { 125 // if no return statements are present but we are a get accessor. 216 get: function () {
217 // Errors; get accessors must return a value.
223 get [all...] |
H A D | gettersAndSetters.js | 8 public get Foo() { return this.fooBack;} // ok 11 static get Bar() {return C.barBack;} // ok 14 public get = function() {} // ok 30 var o : {Foo:number;} = {get Foo() {return 0;}, set Foo(val:number){val}}; // o 47 get prop() { return x.toUpperCase() }, 59 this.get = function () { }; // ok
function 62 get Foo() { return this.fooBack; } // ok
64 static get Bar() { return C.barBack; } // ok
76 var o = { get Foo() { return 0; }, set Foo(val) { val; } }; // o
85 get pro [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/ |
H A D | index.js | 5 Object.defineProperty(exports, "DSSEBundleBuilder", { enumerable: true, get: function () { return bundler_1.DSSEBundleBuilder; } }); 6 Object.defineProperty(exports, "MessageSignatureBundleBuilder", { enumerable: true, get: function () { return bundler_1.MessageSignatureBundleBuilder; } }); 8 Object.defineProperty(exports, "InternalError", { enumerable: true, get: function () { return error_1.InternalError; } }); 10 Object.defineProperty(exports, "CIContextProvider", { enumerable: true, get: function () { return identity_1.CIContextProvider; } }); 12 Object.defineProperty(exports, "DEFAULT_FULCIO_URL", { enumerable: true, get: function () { return signer_1.DEFAULT_FULCIO_URL; } }); 13 Object.defineProperty(exports, "FulcioSigner", { enumerable: true, get: function () { return signer_1.FulcioSigner; } }); 15 Object.defineProperty(exports, "DEFAULT_REKOR_URL", { enumerable: true, get: function () { return witness_1.DEFAULT_REKOR_URL; } }); 16 Object.defineProperty(exports, "RekorWitness", { enumerable: true, get: function () { return witness_1.RekorWitness; } }); 17 Object.defineProperty(exports, "TSAWitness", { enumerable: true, get: function () { return witness_1.TSAWitness; } });
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 18 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType() 19 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType() 20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType() 21 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType() 22 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType() 26 Cs.push_back(ConstantFP::get(Ctx, APFloat::getZero(Sem))); in makeConstantsWithType() 27 Cs.push_back(ConstantFP::get(Ctx, APFloat::getLargest(Sem))); in makeConstantsWithType() 28 Cs.push_back(ConstantFP::get(Ctx, APFloat::getSmallest(Sem))); in makeConstantsWithType() 30 Cs.push_back(UndefValue::get(T)); in makeConstantsWithType()
|
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | transformation_add_no_contraction_decoration_test.cpp | 99 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 102 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 105 context.get(), transformation_context)); in TEST() 108 context.get(), transformation_context)); in TEST() 111 context.get(), transformation_context)); in TEST() 118 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 119 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 122 context.get(), validator_options, kConsoleMessageConsumer)); in TEST() 197 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
H A D | transformation_add_type_vector_test.cpp | 49 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 52 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 55 context.get(), transformation_context)); in TEST() 58 context.get(), transformation_context)); in TEST() 66 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 67 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 86 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 87 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 90 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 115 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_swap_two_functions_test.cpp | 129 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 133 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 138 context.get(), transformation_context), in TEST() 144 context.get(), transformation_context)); in TEST() 148 context.get(), transformation_context)); in TEST() 152 context.get(), transformation_context)); in TEST() 156 ASSERT_TRUE(swap_test5.IsApplicable(context.get(), transformation_context)); in TEST() 164 ApplyAndCheckFreshIds(swap_test5, context.get(), &transformation_context); in TEST() 171 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 252 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_add_no_contraction_decoration_test.cpp | 99 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 102 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 105 context.get(), transformation_context)); in TEST() 108 context.get(), transformation_context)); in TEST() 111 context.get(), transformation_context)); in TEST() 118 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 119 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 122 context.get(), validator_options, kConsoleMessageConsumer)); in TEST() 197 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
H A D | transformation_add_type_vector_test.cpp | 49 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 52 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 55 context.get(), transformation_context)); in TEST() 58 context.get(), transformation_context)); in TEST() 66 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 67 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 86 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 87 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 90 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 115 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_swap_two_functions_test.cpp | 129 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 133 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 138 context.get(), transformation_context), in TEST() 144 context.get(), transformation_context)); in TEST() 148 context.get(), transformation_context)); in TEST() 152 context.get(), transformation_context)); in TEST() 156 ASSERT_TRUE(swap_test5.IsApplicable(context.get(), transformation_context)); in TEST() 164 ApplyAndCheckFreshIds(swap_test5, context.get(), &transformation_context); in TEST() 171 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 252 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_no_contraction_decoration_test.cpp | 99 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 102 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 105 context.get(), transformation_context)); in TEST() 108 context.get(), transformation_context)); in TEST() 111 context.get(), transformation_context)); in TEST() 118 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 119 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 122 context.get(), validator_options, kConsoleMessageConsumer)); in TEST() 197 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | variant_test.cc | 285 EXPECT_EQ(0, absl::get<0>(x)); in TEST() 294 EXPECT_EQ(5, absl::get<0>(x).value); in TEST() 303 EXPECT_EQ(0, absl::get<0>(x)); in TEST() 312 EXPECT_EQ(5, absl::get<0>(x).value); in TEST() 393 EXPECT_EQ(10, absl::get<1>(v2).value); in TEST() 477 EXPECT_EQ(7, absl::get<int>(v1)); in TEST() 481 EXPECT_EQ("ABC", absl::get<std::string>(v2)); in TEST() 485 EXPECT_EQ("AB", absl::get<std::string>(v3)); in TEST() 492 EXPECT_THAT(absl::get<std::vector<int>>(v5), ::testing::ElementsAre(1, 2, 3)); in TEST() 500 EXPECT_EQ(7, absl::get<in in TEST() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTestsEXT.cpp | 886 const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR); in iterate() 942 imageResourceView = makeImageView(vkd, device, imageResource->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR); in iterate() 1005 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), setLayout.get()); in iterate() 1017 const auto bufferInfo = makeDescriptorBufferInfo(bufferResource->get(), 0ull, bufferSize); in iterate() 1018 updateBuilder.writeSingle(descriptorSet.get(), location, descriptorType, &bufferInfo); in iterate() 1024 auto descriptorImageInfo = makeDescriptorImageInfo(sampler.get(), imageResourceView.get(), imageDescriptorLayout); in iterate() 1025 updateBuilder.writeSingle(descriptorSet.get(), location, descriptorType, &descriptorImageInfo); in iterate() 1044 framebuffers.push_back(makeFramebuffer(vkd, device, renderPass.get(), colorBufferVie in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTestsEXT.cpp | 886 const auto colorBufferView = makeImageView(vkd, device, colorBuffer.get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR); in iterate() 942 imageResourceView = makeImageView(vkd, device, imageResource->get(), VK_IMAGE_VIEW_TYPE_2D, imageFormat, colorSRR); in iterate() 1005 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), setLayout.get()); in iterate() 1017 const auto bufferInfo = makeDescriptorBufferInfo(bufferResource->get(), 0ull, bufferSize); in iterate() 1018 updateBuilder.writeSingle(descriptorSet.get(), location, descriptorType, &bufferInfo); in iterate() 1024 auto descriptorImageInfo = makeDescriptorImageInfo(sampler.get(), imageResourceView.get(), imageDescriptorLayout); in iterate() 1025 updateBuilder.writeSingle(descriptorSet.get(), location, descriptorType, &descriptorImageInfo); in iterate() 1044 framebuffers.push_back(makeFramebuffer(vkd, device, renderPass.get(), colorBufferVie in iterate() [all...] |
/third_party/json/tests/src/ |
H A D | unit-pointer_access.cpp | 24 CHECK(*p1 == value.get<test_type>()); 28 CHECK(*p2 == value.get<test_type>()); 32 CHECK(*p3 == value.get<test_type>()); 53 CHECK(*p1 == value.get<test_type>()); 57 CHECK(*p2 == value.get<test_type>()); 61 CHECK(*p3 == value.get<test_type>()); 82 CHECK(*p1 == value.get<test_type>()); 86 CHECK(*p2 == value.get<test_type>()); 90 CHECK(*p3 == value.get<test_type>()); 111 CHECK(*p1 == value.get<test_typ [all...] |
/third_party/icu/icu4c/source/test/fuzzer/ |
H A D | ucasemap_fuzzer.cpp | 39 std::memcpy(fuzzbuff.get(), data, size); in LLVMFuzzerTestOneInput() 54 auto src = reinterpret_cast<const char*>(fuzzbuff.get()); in LLVMFuzzerTestOneInput() 57 case 0: ucasemap_utf8ToLower(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 60 case 1: ucasemap_utf8ToUpper(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 63 case 2: ucasemap_utf8ToTitle(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 66 case 3: ucasemap_utf8FoldCase(csm.get(), dst.get(), dst_siz in LLVMFuzzerTestOneInput() [all...] |