/third_party/ninja/src/ |
D | clean_test.cc | 43 fs_.Create("in1", ""); in TEST_F() 44 fs_.Create("out1", ""); in TEST_F() 45 fs_.Create("in2", ""); in TEST_F() 46 fs_.Create("out2", ""); in TEST_F() 74 fs_.Create("in1", ""); in TEST_F() 75 fs_.Create("out1", ""); in TEST_F() 76 fs_.Create("in2", ""); in TEST_F() 77 fs_.Create("out2", ""); in TEST_F() 106 fs_.Create("in1", ""); in TEST_F() 107 fs_.Create("out1", ""); in TEST_F() [all …]
|
D | graph_test.cc | 30 fs_.Create("in", ""); in TEST_F() 31 fs_.Create("out", ""); in TEST_F() 46 fs_.Create("in", ""); in TEST_F() 47 fs_.Create("out", ""); in TEST_F() 49 fs_.Create("implicit", ""); in TEST_F() 65 fs_.Create("foo.cc", ""); in TEST_F() 66 fs_.Create("out.o.d", "out.o: ./foo/../implicit.h\n"); in TEST_F() 67 fs_.Create("out.o", ""); in TEST_F() 69 fs_.Create("implicit.h", ""); in TEST_F() 87 fs_.Create("implicit.h", ""); in TEST_F() [all …]
|
D | build_test.cc | 505 fs_.Create("in1", ""); in SetUp() 506 fs_.Create("in2", ""); in SetUp() 597 fs_->Create((*out)->path(), ""); in StartCommand() 758 fs_.Create("in2", ""); in TEST_F() 775 fs_.Create("in.txt", ""); in TEST_F() 791 fs_.Create("in.txt", ""); in TEST_F() 811 fs_.Create("in", ""); in TEST_F() 813 fs_.Create("in1", ""); in TEST_F() 829 fs_.Create("c1", ""); in TEST_F() 847 fs_.Create("c3", ""); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | bitcast_validation_test.cc | 27 static constexpr Type Create() { in Create() function 38 Type::Create<builder::f32>(), 39 Type::Create<builder::i32>(), 40 Type::Create<builder::u32>(), 43 Type::Create<builder::vec2<builder::f32>>(), 44 Type::Create<builder::vec2<builder::i32>>(), 45 Type::Create<builder::vec2<builder::u32>>(), 48 Type::Create<builder::vec3<builder::f32>>(), 49 Type::Create<builder::vec3<builder::i32>>(), 50 Type::Create<builder::vec3<builder::u32>>(), [all …]
|
/third_party/grpc/test/core/client_channel/ |
D | service_config_test.cc | 157 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 165 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 177 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 193 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 209 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 225 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 241 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 257 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 273 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() 286 auto svc_cfg = ServiceConfig::Create(test_json, &error); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | clone_context_test.cc | 25 T* Create(ARGS&&... args) { in Create() function 26 return alloc.Create<T>(this, std::forward<ARGS>(args)...); in Create() 48 auto* out = allocator->Create<Node>(ctx->Clone(name)); in Clone() 75 return allocator->Create<NotANode>(); in Clone() 88 return allocator->Create<ProgramNode>(cloned_program_id, cloned_program_id); in Clone() 104 auto* a_b = alloc.Create<Node>(builder.Symbols().New("a->b")); in TEST_F() 105 auto* a = alloc.Create<Node>(builder.Symbols().New("a"), nullptr, a_b); in TEST_F() 107 auto* b_b = alloc.Create<Node>(builder.Symbols().New("b->b")); in TEST_F() 108 auto* b = alloc.Create<Node>(builder.Symbols().New("b"), b_a, b_b); in TEST_F() 110 original_root = alloc.Create<Node>(builder.Symbols().New("root"), a, b, c); in TEST_F() [all …]
|
D | block_allocator_test.cc | 57 allocator.Create(&count); in TEST_F() 59 allocator.Create(&count); in TEST_F() 61 allocator.Create(&count); in TEST_F() 75 allocator_a.Create(&count); in TEST_F() 95 allocator_a.Create(&count_a); in TEST_F() 101 allocator_b.Create(&count_b); in TEST_F() 120 allocator.Create(i); in TEST_F()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShaderImageSizeTests.cpp | 1216 …addChild(new TestSubcase(m_context, "basic-nonMS-vs-float", TestSubcase::Create<BasicNonMS<vec4, 0… in init() 1217 …addChild(new TestSubcase(m_context, "basic-nonMS-vs-int", TestSubcase::Create<BasicNonMS<ivec4, 0>… in init() 1218 …addChild(new TestSubcase(m_context, "basic-nonMS-vs-uint", TestSubcase::Create<BasicNonMS<uvec4, 0… in init() 1219 …addChild(new TestSubcase(m_context, "basic-nonMS-tcs-float", TestSubcase::Create<BasicNonMS<vec4, … in init() 1220 …addChild(new TestSubcase(m_context, "basic-nonMS-tcs-int", TestSubcase::Create<BasicNonMS<ivec4, 1… in init() 1221 …addChild(new TestSubcase(m_context, "basic-nonMS-tcs-uint", TestSubcase::Create<BasicNonMS<uvec4, … in init() 1222 …addChild(new TestSubcase(m_context, "basic-nonMS-tes-float", TestSubcase::Create<BasicNonMS<vec4, … in init() 1223 …addChild(new TestSubcase(m_context, "basic-nonMS-tes-int", TestSubcase::Create<BasicNonMS<ivec4, 2… in init() 1224 …addChild(new TestSubcase(m_context, "basic-nonMS-tes-uint", TestSubcase::Create<BasicNonMS<uvec4, … in init() 1225 …addChild(new TestSubcase(m_context, "basic-nonMS-gs-float", TestSubcase::Create<BasicNonMS<vec4, 3… in init() [all …]
|
D | gl4cTextureGatherTests.cpp | 3524 addChild(new TestSubcase(m_context, "api-enums", TestSubcase::Create<GatherEnumsTest>)); in init() 3525 …addChild(new TestSubcase(m_context, "gather-glsl-compile", TestSubcase::Create<GatherGLSLCompile>)… in init() 3526 …addChild(new TestSubcase(m_context, "plain-gather-float-2d-rgba", TestSubcase::Create<PlainGatherF… in init() 3527 …addChild(new TestSubcase(m_context, "plain-gather-float-2d-rg", TestSubcase::Create<PlainGatherFlo… in init() 3528 …addChild(new TestSubcase(m_context, "plain-gather-unorm-2d", TestSubcase::Create<PlainGatherUnorm2… in init() 3529 …addChild(new TestSubcase(m_context, "plain-gather-int-2d-rgba", TestSubcase::Create<PlainGatherInt… in init() 3530 …addChild(new TestSubcase(m_context, "plain-gather-int-2d-rg", TestSubcase::Create<PlainGatherInt2D… in init() 3531 …addChild(new TestSubcase(m_context, "plain-gather-uint-2d", TestSubcase::Create<PlainGatherUint2D>… in init() 3532 …addChild(new TestSubcase(m_context, "plain-gather-depth-2d", TestSubcase::Create<PlainGatherDepth2… in init() 3533 …addChild(new TestSubcase(m_context, "plain-gather-float-2darray", TestSubcase::Create<PlainGatherF… in init() [all …]
|
/third_party/benchmark/test/ |
D | perf_counters_gtest.cc | 30 EXPECT_TRUE(PerfCounters::Create({kGenericPerfEvent1}).IsValid()); in TEST() 39 EXPECT_FALSE(PerfCounters::Create({}).IsValid()); in TEST() 40 EXPECT_FALSE(PerfCounters::Create({""}).IsValid()); in TEST() 41 EXPECT_FALSE(PerfCounters::Create({"not a counter name"}).IsValid()); in TEST() 43 EXPECT_TRUE(PerfCounters::Create({kGenericPerfEvent1, kGenericPerfEvent2, in TEST() 48 PerfCounters::Create({kGenericPerfEvent2, "", kGenericPerfEvent1}) in TEST() 50 EXPECT_FALSE(PerfCounters::Create({kGenericPerfEvent3, "not a counter name", in TEST() 54 EXPECT_TRUE(PerfCounters::Create({kGenericPerfEvent1, kGenericPerfEvent2, in TEST() 59 PerfCounters::Create({kGenericPerfEvent1, kGenericPerfEvent2, in TEST() 69 auto counters = PerfCounters::Create({kGenericPerfEvent1}); in TEST() [all …]
|
/third_party/mindspore/tests/ut/cpp/device/ |
D | ge_runtime_test.cc | 68 ASSERT_TRUE(TaskFactory::GetInstance().Create(model_context, nullptr) == nullptr); in TEST_F() 78 std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, aicpu_task_info); in TEST_F() 90 std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, aicpu_task_info); in TEST_F() 102 ASSERT_ANY_THROW(TaskFactory::GetInstance().Create(model_context, aicpu_task_info)); in TEST_F() 110 …std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, event_record_task_in… in TEST_F() 120 ASSERT_ANY_THROW(TaskFactory::GetInstance().Create(model_context, event_record_task_info)); in TEST_F() 128 …std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, event_record_task_in… in TEST_F() 138 ASSERT_ANY_THROW(TaskFactory::GetInstance().Create(model_context, event_record_task_info)); in TEST_F() 149 std::shared_ptr<Task> task = TaskFactory::GetInstance().Create(model_context, hccl_task_info); in TEST_F() 176 std::shared_ptr<Task> task_1 = TaskFactory::GetInstance().Create(model_context, hccl_task_info_1); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerGlobalDtors.cpp | 137 Function *CallDtors = Function::Create( in runOnModule() 145 BasicBlock *BB = BasicBlock::Create(C, "body", CallDtors); in runOnModule() 150 CallInst::Create(VoidVoid, Dtor, "", BB); in runOnModule() 151 ReturnInst::Create(C, BB); in runOnModule() 153 Function *RegisterCallDtors = Function::Create( in runOnModule() 161 BasicBlock *EntryBB = BasicBlock::Create(C, "entry", RegisterCallDtors); in runOnModule() 162 BasicBlock *FailBB = BasicBlock::Create(C, "fail", RegisterCallDtors); in runOnModule() 163 BasicBlock *RetBB = BasicBlock::Create(C, "return", RegisterCallDtors); in runOnModule() 167 Value *Res = CallInst::Create(AtExit, Args, "call", EntryBB); in runOnModule() 170 BranchInst::Create(FailBB, RetBB, Cmp, EntryBB); in runOnModule() [all …]
|
D | WebAssemblyFixFunctionBitcasts.cpp | 121 Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper() 123 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in createWrapper() 177 CallInst *Call = CallInst::Create(F, Args, "", BB); in createWrapper() 183 ReturnInst::Create(M->getContext(), BB); in createWrapper() 186 ReturnInst::Create(M->getContext(), UndefValue::get(RtnType), BB); in createWrapper() 188 ReturnInst::Create(M->getContext(), Call, BB); in createWrapper() 194 ReturnInst::Create(M->getContext(), Cast, BB); in createWrapper() 211 Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper() 213 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in createWrapper() 267 CallMain = CallInst::Create(MainTy, Casted, Args, "call_main"); in runOnModule()
|
/third_party/cef/tests/ceftests/ |
D | translator_unittest.cc | 11 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 31 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 50 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 64 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 85 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 112 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 139 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 155 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 174 CefRefPtr<CefTranslatorTest> obj = CefTranslatorTest::Create(); in TEST() 178 CefTranslatorTestRefPtrLibrary::Create(kTestVal); in TEST() [all …]
|
D | preference_unittest.cc | 75 value = CefValue::Create(); in ValidateBool() 98 value = CefValue::Create(); in ValidateInt() 121 value = CefValue::Create(); in ValidateDouble() 144 value = CefValue::Create(); in ValidateString() 168 value = CefValue::Create(); in ValidateList() 193 value = CefValue::Create(); in ValidateDict() 217 value = CefValue::Create(); in ValidateNoExist() 234 val->SetList(kPrefList, CefListValue::Create()); in PopulateRootDefaults() 235 val->SetDictionary(kPrefDict, CefDictionaryValue::Create()); in PopulateRootDefaults() 274 ValidateList(context, false, CefListValue::Create()); in ValidateDefaults() [all …]
|
D | values_unittest.cc | 148 binary_value = CefBinaryValue::Create(binary_data, binary_data_size); in TestDictionaryBinary() 167 dictionary_value = CefDictionaryValue::Create(); in TestDictionaryDictionary() 191 list_value = CefListValue::Create(); in TestDictionaryList() 363 binary_value = CefBinaryValue::Create(binary_data, binary_data_size); in TestListBinary() 385 dictionary_value = CefDictionaryValue::Create(); in TestListDictionary() 412 list_value = CefListValue::Create(); in TestListList() 591 CefBinaryValue::Create(binary_data, binary_data_size); in CreateBinaryValue() 600 CefRefPtr<CefListValue> list_value = CefListValue::Create(); in CreateListValue() 615 CefRefPtr<CefDictionaryValue> dict_value = CefDictionaryValue::Create(); in CreateDictionaryValue() 632 CefBinaryValue::Create(data, sizeof(data) - 1); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | UnifyFunctionExitNodes.cpp | 69 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction() 75 BranchInst::Create(UnreachableBlock, BB); in runOnFunction() 92 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in runOnFunction() 97 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in runOnFunction() 100 PN = PHINode::Create(F.getReturnType(), ReturningBlocks.size(), in runOnFunction() 103 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction() 116 BranchInst::Create(NewRetBlock, BB); in runOnFunction()
|
/third_party/flutter/flutter/examples/flutter_gallery/lib/gallery/ |
D | example_code.dart | 17 // Create a raised button. 25 // Create a disabled button. 33 // Create a button with an icon and a 45 // Create an outline button. 53 // Create a disabled button. 61 // Create a button with an icon and a 73 // Create a flat button. 81 // Create a disabled button. 157 // Create a checkbox. 167 // Create a tristate checkbox. [all …]
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | SliceBufferSafeHandleTest.cs | 32 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in Complete_EmptyBuffer() 42 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in Complete_TailSizeZero() 56 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in Complete_TruncateTailSpace() 71 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in SliceBufferIsReusable() 96 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in SliceBuffer_SizeHintZero() 112 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in SliceBuffer_BigPayload() 134 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in SliceBuffer_NegativeSizeHint() 144 using (var sliceBuffer = SliceBufferSafeHandle.Create()) in SliceBuffer_AdvanceBadArg()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | CLContext.cpp | 107 return Object::Create<CommandQueue>(errorCode, *this, device->cast<Device>(), in createCommandQueueWithProperties() 115 return Object::Create<CommandQueue>(errorCode, *this, device->cast<Device>(), properties); in createCommandQueue() 124 return Object::Create<Buffer>(errorCode, *this, Memory::PropArray{}, flags, size, hostPtr); in createBuffer() 143 return Object::Create<Image>(errorCode, *this, Memory::PropArray{}, flags, *format, imageDesc, in createImage() 157 return Object::Create<Image>(errorCode, *this, Memory::PropArray{}, flags, *format, imageDesc, in createImage2D() 173 return Object::Create<Image>(errorCode, *this, Memory::PropArray{}, flags, *format, imageDesc, in createImage3D() 219 return Object::Create<Sampler>(errorCode, *this, std::move(propArray), normalizedCoords, in createSamplerWithProperties() 228 return Object::Create<Sampler>(errorCode, *this, Sampler::PropArray{}, normalizedCoords, in createSampler() 260 return Object::Create<Program>(errorCode, *this, std::move(source)); in createProgramWithSource() 265 return Object::Create<Program>(errorCode, *this, il, length); in createProgramWithIL() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUUnifyDivergentExitNodes.cpp | 144 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), Name, &F); in unifyReturnBlockSet() 185 BranchInst::Create(NewRetBlock, BB); in unifyReturnBlockSet() 224 DummyReturnBB = BasicBlock::Create(F.getContext(), in runOnFunction() 258 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); in runOnFunction() 266 BranchInst::Create(LoopHeaderBB, DummyReturnBB, BoolTrue, BB); in runOnFunction() 274 BranchInst::Create(TransitionBB, DummyReturnBB, BoolTrue, BB); in runOnFunction() 285 UnreachableBlock = BasicBlock::Create(F.getContext(), in runOnFunction() 292 BranchInst::Create(UnreachableBlock, BB); in runOnFunction() 310 CallInst::Create(UnreachableIntrin, {}, "", UnreachableBlock); in runOnFunction() 315 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock); in runOnFunction()
|
D | SIAnnotateControlFlow.cpp | 214 Value *Ret = CallInst::Create(If, Term->getCondition(), "", Term); in openIf() 215 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in openIf() 216 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in openIf() 224 Value *Ret = CallInst::Create(Else, popSaved(), "", Term); in insertElse() 225 Term->setCondition(ExtractValueInst::Create(Ret, 0, "", Term)); in insertElse() 226 push(Term->getSuccessor(1), ExtractValueInst::Create(Ret, 1, "", Term)); in insertElse() 242 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition() 251 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition() 268 PHINode *Broken = PHINode::Create(IntMask, 0, "phi.broken", &Target->front()); in handleLoop() 286 Term->setCondition(CallInst::Create(Loop, Arg, "", Term)); in handleLoop() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUDevice.cpp | 106 interop::GPUDeviceLostInfo::Create<DeviceLostInfo>(self->env_, r, message)); in GPUDevice() 125 return interop::GPUSupportedFeatures::Create<Features>(env); in getFeatures() 133 return interop::GPUSupportedLimits::Create<GPUSupportedLimits>(env, limits); in getLimits() 138 return interop::GPUQueue::Create<GPUQueue>(env, device_.GetQueue(), async_); in getQueue() 143 promise.Resolve(interop::GPUDeviceLostInfo::Create<DeviceLostInfo>( in destroy() 161 return interop::GPUBuffer::Create<GPUBuffer>(env, device_.CreateBuffer(&desc), desc, in createBuffer() 179 return interop::GPUTexture::Create<GPUTexture>(env, device_.CreateTexture(&desc)); in createTexture() 201 return interop::GPUSampler::Create<GPUSampler>(env, device_.CreateSampler(&desc)); in createSampler() 221 return interop::GPUBindGroupLayout::Create<GPUBindGroupLayout>( in createBindGroupLayout() 236 return interop::GPUPipelineLayout::Create<GPUPipelineLayout>( in createPipelineLayout() [all …]
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/ |
D | ChannelCredentialsTest.cs | 36 …var composite = ChannelCredentials.Create(new FakeChannelCredentials(true), new FakeCallCredential… in ChannelCredentials_CreateComposite() 39 …Assert.Throws(typeof(ArgumentNullException), () => ChannelCredentials.Create(null, new FakeCallCre… in ChannelCredentials_CreateComposite() 40 …Assert.Throws(typeof(ArgumentNullException), () => ChannelCredentials.Create(new FakeChannelCreden… in ChannelCredentials_CreateComposite() 43 …var ex = Assert.Throws(typeof(ArgumentException), () => ChannelCredentials.Create(new FakeChannelC… in ChannelCredentials_CreateComposite()
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/ |
D | lock_test.cc | 66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); in BasicLockTest() 134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); in TryLockTest() 148 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); in TryLockTest() 196 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); in MutexTwoThreads() 217 EXPECT_TRUE(PlatformThread::Create(&thread1, &handle1)); in MutexFourThreads() 218 EXPECT_TRUE(PlatformThread::Create(&thread2, &handle2)); in MutexFourThreads() 219 EXPECT_TRUE(PlatformThread::Create(&thread3, &handle3)); in MutexFourThreads()
|