/third_party/python/Lib/test/ |
H A D | test_queue.py | 109 actual_order = [q.get(), q.get(), q.get()] 133 self.do_blocking_test(q.put, (full,), q.get, ()) 134 self.do_blocking_test(q.put, (full, True, 10), q.get, ()) 137 q.get() 140 q.get(block=0) 145 q.get(timeout=0.01) 149 # Test a blocking get 150 self.do_blocking_test(q.get, (), [all...] |
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | public_method.py | 39 ip_config = data_dic.get("ip", "") 40 sn = data_dic.get("sn", "") 41 port = data_dic.get("port", "") 99 if testsuite in services_component_dict.get("dinput"): 104 elif testsuite in services_component_dict.get("softbus_server"): 112 server_name: component_gcda_dict.get(server_name) 128 server_name: component_gcda_dict.get(server_name) 132 server_list = system_info_dict.get(system_name) if system_info_dict.get(system_name) else [] 138 server_name: services_component_dict.get(server_nam [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | proxy_get.js | 20 var handler = { get (target) { 63 handler.get = function () {return "value 2"}; 69 var handler2 = new Proxy({get: function() {return "value 3"}}, {}); 76 var get = []; variable 77 var p = new Proxy([0,,2,,4,,], { get: function(o, k) { get.push(k); return o[k]; }}); 80 assert(get + '' === "length,0,4,2"); 82 // test when get throws an error 83 var handler = new Proxy({}, {get: function() {throw 42;}}); 94 var handler = new Proxy({}, {get [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | transformation_permute_phi_operands_test.cpp | 73 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 76 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 79 context.get(), transformation_context)); in TEST() 83 context.get(), transformation_context)); in TEST() 87 context.get(), transformation_context)); in TEST() 91 .IsApplicable(context.get(), transformation_context)); in TEST() 96 .IsApplicable(context.get(), transformation_context), in TEST() 102 .IsApplicable(context.get(), transformation_context)); in TEST() 106 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 107 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() [all...] |
H A D | transformation_add_type_boolean_test.cpp | 46 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 49 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 52 context.get(), transformation_context)); in TEST() 58 add_type_bool.IsApplicable(context.get(), transformation_context)); in TEST() 59 ApplyAndCheckFreshIds(add_type_bool, context.get(), &transformation_context); in TEST() 62 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 67 context.get(), transformation_context)); in TEST() 85 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
H A D | transformation_invert_comparison_operator_test.cpp | 63 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 66 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 69 context.get(), transformation_context)); in TEST() 73 context.get(), transformation_context)); in TEST() 77 context.get(), transformation_context)); in TEST() 84 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 85 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 131 ASSERT_TRUE(IsEqual(env, expected, context.get())); in TEST()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | code_sink_test.cpp | 178 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 214 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 251 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 291 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 329 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 367 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 406 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get<1>(result)); in TEST_F() 447 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 488 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 528 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get< in TEST_F() [all...] |
H A D | ir_builder.cpp | 119 InstructionBuilder builder(context.get(), &*bb->begin()); in TEST_F() 129 Match(text, context.get()); in TEST_F() 142 context.get(), &*bb->begin(), in TEST_F() 153 Match(text, context.get()); in TEST_F() 204 context.get(), SpvOpLabel, 0, context->TakeNextId(), {}))))); in TEST_F() 207 InstructionBuilder builder(context.get(), &*bb_true.begin()); in TEST_F() 214 context.get(), SpvOpLabel, 0, context->TakeNextId(), {}))))); in TEST_F() 217 InstructionBuilder builder(context.get(), &bb_cond); in TEST_F() 222 Match(text, context.get()); in TEST_F() 254 InstructionBuilder builder(context.get(), in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_permute_phi_operands_test.cpp | 73 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 76 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 79 context.get(), transformation_context)); in TEST() 83 context.get(), transformation_context)); in TEST() 87 context.get(), transformation_context)); in TEST() 91 .IsApplicable(context.get(), transformation_context)); in TEST() 96 .IsApplicable(context.get(), transformation_context), in TEST() 102 .IsApplicable(context.get(), transformation_context)); in TEST() 106 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 107 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() [all...] |
H A D | transformation_add_type_boolean_test.cpp | 46 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 49 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 52 context.get(), transformation_context)); in TEST() 58 add_type_bool.IsApplicable(context.get(), transformation_context)); in TEST() 59 ApplyAndCheckFreshIds(add_type_bool, context.get(), &transformation_context); in TEST() 62 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 67 context.get(), transformation_context)); in TEST() 85 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST()
|
H A D | transformation_invert_comparison_operator_test.cpp | 63 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 66 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 69 context.get(), transformation_context)); in TEST() 73 context.get(), transformation_context)); in TEST() 77 context.get(), transformation_context)); in TEST() 84 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 85 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 131 ASSERT_TRUE(IsEqual(env, expected, context.get())); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | code_sink_test.cpp | 178 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 214 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 251 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 291 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 329 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 367 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 406 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get<1>(result)); in TEST_F() 447 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 488 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 528 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get< in TEST_F() [all...] |
H A D | ir_builder.cpp | 119 InstructionBuilder builder(context.get(), &*bb->begin()); in TEST_F() 129 Match(text, context.get()); in TEST_F() 142 context.get(), &*bb->begin(), in TEST_F() 153 Match(text, context.get()); in TEST_F() 204 context.get(), SpvOpLabel, 0, context->TakeNextId(), {}))))); in TEST_F() 207 InstructionBuilder builder(context.get(), &*bb_true.begin()); in TEST_F() 214 context.get(), SpvOpLabel, 0, context->TakeNextId(), {}))))); in TEST_F() 217 InstructionBuilder builder(context.get(), &bb_cond); in TEST_F() 222 Match(text, context.get()); in TEST_F() 254 InstructionBuilder builder(context.get(), in TEST_F() [all...] |
/third_party/skia/tests/ |
H A D | PinnedImageTest.cpp | 57 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorRED)); in basic_test() 62 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 67 SkImage_pinAsTexture(img.get(), rContext); // pin at blue in basic_test() 70 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 75 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorGREEN)); in basic_test() 77 SkImage_unpinAsTexture(img.get(), rContext); in basic_test() 83 REPORTER_ASSERT(reporter, surface_is_expected_color(gpuSurface.get(), ii, SK_ColorBLUE)); in basic_test() 117 if (!SkImage_pinAsTexture(img.get(), dContext)) { in cleanup_test() 121 REPORTER_ASSERT(reporter, !SkImage_pinAsTexture(img.get(), mockContext.get())); in cleanup_test() [all...] |
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_permute_phi_operands_test.cpp | 73 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 76 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 79 context.get(), transformation_context)); in TEST() 83 context.get(), transformation_context)); in TEST() 87 context.get(), transformation_context)); in TEST() 91 .IsApplicable(context.get(), transformation_context)); in TEST() 96 .IsApplicable(context.get(), transformation_context), in TEST() 102 .IsApplicable(context.get(), transformation_context)); in TEST() 106 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 107 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | code_sink_test.cpp | 177 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 213 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 250 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 290 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 328 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 366 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 405 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get<1>(result)); in TEST_F() 446 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 487 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 527 EXPECT_EQ(Pass::Status::SuccessWithChange, std::get< in TEST_F() [all...] |
H A D | ir_builder.cpp | 117 InstructionBuilder builder(context.get(), &*bb->begin()); in TEST_F() 127 Match(text, context.get()); in TEST_F() 140 context.get(), &*bb->begin(), in TEST_F() 151 Match(text, context.get()); in TEST_F() 202 context.get(), spv::Op::OpLabel, 0, context->TakeNextId(), {}))))); in TEST_F() 205 InstructionBuilder builder(context.get(), &*bb_true.begin()); in TEST_F() 212 context.get(), spv::Op::OpLabel, 0, context->TakeNextId(), {}))))); in TEST_F() 215 InstructionBuilder builder(context.get(), &bb_cond); in TEST_F() 220 Match(text, context.get()); in TEST_F() 252 InstructionBuilder builder(context.get(), in TEST_F() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineDerivativeTests.cpp | 81 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByHandle() 94 shaderModule.get(), in testComputeDerivativeByHandle() 98 layout.get(), in testComputeDerivativeByHandle() 107 cpci.basePipelineHandle = basePipeline.get(); in testComputeDerivativeByHandle() 119 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByIndex() 132 shaderModule.get(), in testComputeDerivativeByIndex() 136 layout.get(), in testComputeDerivativeByIndex() 148 shaderModule.get(), in testComputeDerivativeByIndex() 152 layout.get(), in testComputeDerivativeByIndex() 175 addFunctionCaseWithPrograms(computeTests.get(), in createDerivativeTests() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/reduce/ |
H A D | merge_blocks_test.cpp | 69 context.get(), 0); in TEST() 113 CheckEqual(env, after_op_3, context.get()); in TEST() 152 CheckEqual(env, after_op_0, context.get()); in TEST() 189 CheckEqual(env, after_op_2, context.get()); in TEST() 224 CheckEqual(env, after_op_4, context.get()); in TEST() 257 CheckEqual(env, after_op_1, context.get()); in TEST() 359 context.get(), 0); in TEST() 438 CheckEqual(env, after, context.get()); in TEST() 477 context.get(), 0); in TEST() 509 CheckEqual(env, after, context.get()); in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/ |
H A D | merge_blocks_test.cpp | 69 context.get(), 0); in TEST() 113 CheckEqual(env, after_op_3, context.get()); in TEST() 152 CheckEqual(env, after_op_0, context.get()); in TEST() 189 CheckEqual(env, after_op_2, context.get()); in TEST() 224 CheckEqual(env, after_op_4, context.get()); in TEST() 257 CheckEqual(env, after_op_1, context.get()); in TEST() 359 context.get(), 0); in TEST() 438 CheckEqual(env, after, context.get()); in TEST() 477 context.get(), 0); in TEST() 509 CheckEqual(env, after, context.get()); in TEST() [all...] |
/third_party/spirv-tools/test/reduce/ |
H A D | merge_blocks_test.cpp | 69 context.get(), 0); in TEST() 113 CheckEqual(env, after_op_3, context.get()); in TEST() 152 CheckEqual(env, after_op_0, context.get()); in TEST() 189 CheckEqual(env, after_op_2, context.get()); in TEST() 224 CheckEqual(env, after_op_4, context.get()); in TEST() 257 CheckEqual(env, after_op_1, context.get()); in TEST() 359 context.get(), 0); in TEST() 438 CheckEqual(env, after, context.get()); in TEST() 477 context.get(), 0); in TEST() 509 CheckEqual(env, after, context.get()); in TEST() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | ComplexUnitsConverter.java | 54 this.inputUnit_ = this.units_.get(0).unitImpl; in ComplexUnitsConverter() 129 unitsConverters_.add(new UnitsConverter(this.inputUnit_, units_.get(i).unitImpl, conversionRates)); in init() 132 .add(new UnitsConverter(units_.get(i - 1).unitImpl, units_.get(i).unitImpl, conversionRates)); in init() 148 return unitsConverters_.get(0).convert(quantity).multiply(EPSILON_MULTIPLIER).compareTo(limit) >= 0; in greaterThanOrEqual() 184 quantity = (unitsConverters_.get(i)).convert(quantity); in convert() 219 Measure measure = new Measure(intValues.get(i).multiply(sign), units_.get(i).unitImpl.build()); in convert() 220 measures.set(units_.get(i).index, measure); in convert() 222 indexOfQuantity = units_.get( in convert() [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/ |
H A D | scoped_ptr.h | 139 // get_deleter()(get()) deletes this. In order to pevent this, reset() in reset() 159 T* get() const { return data_.ptr; } in get() function in i18n::phonenumbers::scoped_ptr_impl 203 // dereference it, you get the thread safety guarantees of T. 266 // Accessors to get the owned object. 269 assert(impl_.get() != NULL); in operator *() 270 return *impl_.get(); in operator *() 273 assert(impl_.get() != NULL); in operator ->() 274 return impl_.get(); in operator ->() 276 element_type* get() const { return impl_.get(); } in get() function in i18n::phonenumbers::scoped_ptr 360 element_type* get() const { return impl_.get(); } get() function in i18n::phonenumbers::scoped_ptr [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBindPointTests.cpp | 321 set = makeDescriptorSet(vkd, device, pool.get(), layout); in makePoolAndSet() 466 colorAttachmentView = makeImageView(vkd, device, colorAttachment->get(), imageViewType, imageFormat, subresourceRange); in iterate() 471 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY); in iterate() 472 const auto cmdBuffer = cmdBufferPtr.get(); in iterate() 487 if (hasGraphics) graphicsPipelineLayout = PipelineLayoutWrapper(m_params.pipelineConstructionType, vkd, device, graphicsSetLayout.get()); in iterate() 488 if (hasCompute) computePipelineLayout = PipelineLayoutWrapper(m_params.pipelineConstructionType, vkd, device, computeSetLayout.get()); in iterate() 489 if (hasRayTracing) rayTracingPipelineLayout = PipelineLayoutWrapper(m_params.pipelineConstructionType, vkd, device, rayTracingSetLayout.get()); in iterate() 497 if (hasGraphics) vertShader = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("vert"), 0u); in iterate() 498 if (hasGraphics) fragShader = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("frag"), 0u); in iterate() 499 if (hasCompute) compShader = ShaderWrapper(vkd, device, m_context.getBinaryCollection().get("com in iterate() [all...] |
/third_party/skia/third_party/externals/icu/fuzzers/ |
H A D | icu_ucasemap_fuzzer.cc | 37 case 0: ucasemap_utf8ToLower(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 40 case 1: ucasemap_utf8ToUpper(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 43 case 2: ucasemap_utf8ToTitle(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput() 46 case 3: ucasemap_utf8FoldCase(csm.get(), dst.get(), dst_size, src, size, in LLVMFuzzerTestOneInput()
|