/third_party/ninja/src/ |
D | build_test.cc | 487 builder_(&state_, config_, NULL, NULL, &fs_), in BuildTest() 492 builder_(&state_, config_, NULL, log, &fs_), in BuildTest() 499 builder_.command_runner_.reset(&command_runner_); in SetUp() 510 builder_.command_runner_.release(); in ~BuildTest() 534 Builder builder_; member 707 EXPECT_TRUE(builder_.AlreadyUpToDate()); in TEST_F() 715 EXPECT_TRUE(builder_.AddTarget("cat1", &err)); in TEST_F() 717 EXPECT_TRUE(builder_.Build(&err)); in TEST_F() 729 EXPECT_TRUE(builder_.AddTarget("cat1", &err)); in TEST_F() 731 EXPECT_TRUE(builder_.Build(&err)); in TEST_F() [all …]
|
/third_party/gn/src/gn/ |
D | analyzer_unittest.cc | 47 builder_(loader_.get()), in AnalyzerTest() 76 Analyzer analyzer(builder_, SourceFile("//build/config/BUILDCONFIG.gn"), in RunAnalyzerTest() 88 Builder builder_; member in gn_analyzer_unittest::AnalyzerTest 99 builder_.ItemDefined(std::move(t)); in TEST_F() 130 builder_.ItemDefined(std::move(t)); 161 builder_.ItemDefined(std::move(t)); 192 builder_.ItemDefined(std::move(c)); 211 builder_.ItemDefined(std::move(t)); 244 builder_.ItemDefined(std::move(t)); 276 builder_.ItemDefined(std::move(t)); [all …]
|
D | builder_unittest.cc | 66 builder_(loader_.get()), in BuilderTest() 77 builder_.ItemDefined(std::unique_ptr<Item>(tc)); in DefineToolchain() 83 Builder builder_; member in gn_builder_unittest::BuilderTest 104 builder_.ItemDefined(std::unique_ptr<Item>(a)); in TEST_F() 113 builder_.GetRecord(settings_.toolchain_label()); in TEST_F() 118 BuilderRecord* a_record = builder_.GetRecord(a_label); in TEST_F() 124 BuilderRecord* b_record = builder_.GetRecord(b_label); in TEST_F() 148 builder_.ItemDefined(std::unique_ptr<Item>(c)); in TEST_F() 159 builder_.ItemDefined(std::unique_ptr<Item>(b)); in TEST_F() 166 BuilderRecord* c_record = builder_.GetRecord(c_label); in TEST_F() [all …]
|
D | eclipse_writer.cc | 41 : build_settings_(build_settings), builder_(builder), out_(out) { in EclipseWriter() 79 std::vector<const Target*> targets = builder_.GetAllResolvedTargets(); in GetAllIncludeDirs() 94 std::vector<const Target*> targets = builder_.GetAllResolvedTargets(); in GetAllDefines() 118 builder_.loader()->GetDefaultToolchain(); in UsesDefaultToolchain()
|
D | ninja_writer.cc | 15 NinjaWriter::NinjaWriter(const Builder& builder) : builder_(builder) {} in NinjaWriter() 43 builder_.loader()->GetToolchainSettings(toolchain->label()); in WriteToolchains()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.cc | 86 : builder_(builder), in Resolver() 93 if (builder_->Diagnostics().contains_errors()) { in Resolve() 97 if (!DependencyGraph::Build(builder_->AST(), builder_->Symbols(), in Resolve() 98 builder_->Diagnostics(), dependencies_, in Resolve() 115 Mark(&builder_->AST()); in ResolveInternal() 119 for (auto* decl : builder_->AST().GlobalDeclarations()) { in ResolveInternal() 151 for (auto* node : builder_->ASTNodes().Objects()) { in ResolveInternal() 168 return builder_->create<sem::Void>(); in Type() 171 return builder_->create<sem::Bool>(); in Type() 174 return builder_->create<sem::I32>(); in Type() [all …]
|
D | resolver_constants.cc | 57 TINT_UNREACHABLE(Resolver, builder_->Diagnostics()); in EvaluateConstantValue() 93 auto* arg = builder_->Sem().Get(expr); in EvaluateConstantValue() 136 ? builder_->create<sem::Vector>(target_elem_type, in ConstantCast()
|
/third_party/boost/tools/quickbook/src/ |
D | values_parse.hpp | 25 explicit value_builder_save(value_builder& builder_) : builder(builder_) in value_builder_save() 45 explicit value_builder_list(value_builder& builder_) : builder(builder_) in value_builder_list() 76 explicit value_entry(value_builder& builder_, file_ptr* current_file_) in value_entry() 77 : builder(builder_), current_file(current_file_) in value_entry() 106 explicit value_sort(value_builder& builder_) : builder(builder_) {} in value_sort()
|
/third_party/grpc/test/cpp/end2end/ |
D | server_builder_plugin_test.cc | 141 builder_.reset(new ServerBuilder()); in SetUp() 150 builder_->SetOption(std::unique_ptr<ServerBuilderOption>( in InsertPlugin() 166 builder_->SetOption(std::move(option)); in InsertPluginWithTestService() 172 builder_->AddListeningPort(server_address, InsecureServerCredentials()); in StartServer() 175 cq_ = builder_->AddCompletionQueue(); in StartServer() 177 server_ = builder_->BuildAndStart(); in StartServer() 206 std::unique_ptr<ServerBuilder> builder_; member in grpc::testing::ServerBuilderPluginTest 216 auto it = builder_->plugins_.begin(); in CheckPresent() 217 for (; it != builder_->plugins_.end(); it++) { in CheckPresent() 220 if (it != builder_->plugins_.end()) { in CheckPresent()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function.cc | 740 builder_(pi->builder()), in FunctionEmitter() 761 builder_(other.builder_), in FunctionEmitter() 829 Source{}, builder_.Symbols().Register(guard_name)); in PushGuard() 854 entry.Finalize(&builder_); in ast_body() 910 builder_.AST().AddFunction(create<ast::Function>( in Emit() 911 decl.source, builder_.Symbols().Register(decl.name), in Emit() 912 std::move(decl.params), decl.return_type->Build(builder_), body, in Emit() 938 statements_stack_[0].Finalize(&builder_); in MakeFunctionBody() 1026 builder_.Param(param_name, param_type->Build(builder_), *decos)); in EmitPipelineInput() 1030 const ast::Expression* param_value = builder_.Expr(param_name); in EmitPipelineInput() [all …]
|
D | parser_impl.cc | 328 return tint::Program(std::move(builder_)); in program() 502 builder_.ASTNodes().Create<ast::DisableValidationDecoration>( in ConvertMemberDecoration() 503 builder_.ID(), ast::DisabledValidation::kIgnoreStrideDecoration), in ConvertMemberDecoration() 1180 Source{}, builder_.Symbols().Register(member_name), in ConvertType() 1181 ast_member_ty->Build(builder_), std::move(ast_member_decorations)); in ConvertType() 1195 auto sym = builder_.Symbols().Register(name); in ConvertType() 1215 builder_.AST().AddTypeDecl(decl); in AddTypeDecl() 1408 builder_.AST().AddGlobalVariable(ast_var); in EmitScalarSpecConstants() 1448 const auto sym = builder_.Symbols().Register(name); in MaybeGenerateAlias() 1450 builder_.ty.alias(sym, ast_underlying_type->Build(builder_)); in MaybeGenerateAlias() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
D | generator_impl.cc | 87 if (!builder_.HasTransformApplied<transform::Glsl>()) { in Generate() 105 for (auto* decl : builder_.AST().GlobalDeclarations()) { in Generate() 127 if (!EmitStructType(current_buffer_, builder_.Sem().Get(str))) { in Generate() 415 auto* call = builder_.Sem().Get(expr); in EmitCall() 442 auto name = builder_.Symbols().NameFor(ident->symbol); in EmitFunctionCall() 1232 auto* packed = AppendVector(&builder_, param_coords, array_index); in EmitTextureCall() 1456 out << builder_.Symbols().NameFor(expr->symbol); in EmitIdentifier() 1508 auto* sem = builder_.Sem().Get(func); in EmitFunction() 1517 auto name = builder_.Symbols().NameFor(func->symbol); in EmitFunction() 1552 builder_.Symbols().NameFor(v->Declaration()->symbol))) { in EmitFunction() [all …]
|
/third_party/grpc/src/cpp/server/ |
D | server_builder.cc | 121 if (builder_->generic_service_ || builder_->callback_generic_service_) { in RegisterCallbackGenericService() 127 builder_->callback_generic_service_ = service; in RegisterCallbackGenericService() 129 return *builder_; in RegisterCallbackGenericService() 135 builder_->context_allocator_ = std::move(context_allocator); in SetContextAllocator() 136 return *builder_; in SetContextAllocator() 145 gpr_ltoa(static_cast<long>(builder_->acceptors_.size()), count_str); in AddExternalConnectionAcceptor() 146 builder_->acceptors_.emplace_back( in AddExternalConnectionAcceptor() 149 return builder_->acceptors_.back()->GetAcceptor(); in AddExternalConnectionAcceptor()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | bytestrietest.cpp | 73 BytesTrieBuilder *builder_; member in BytesTrieTest 80 BytesTrieTest::BytesTrieTest() : builder_(NULL) { in BytesTrieTest() 82 builder_=new BytesTrieBuilder(errorCode); in BytesTrieTest() 86 delete builder_; in ~BytesTrieTest() 118 builder_->clear(); in TestBuilder() 119 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder() 125 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder() 583 builder_->clear(); in TestIteratorFromBytes() 586 builder_->add(data[i].s, data[i].value, errorCode); in TestIteratorFromBytes() 588 StringPiece trieBytes=builder_->buildStringPiece(USTRINGTRIE_BUILD_FAST, errorCode); in TestIteratorFromBytes() [all …]
|
D | ucharstrietest.cpp | 80 UCharsTrieBuilder *builder_; member in UCharsTrieTest 87 UCharsTrieTest::UCharsTrieTest() : builder_(NULL) { in UCharsTrieTest() 89 builder_=new UCharsTrieBuilder(errorCode); in UCharsTrieTest() 93 delete builder_; in ~UCharsTrieTest() 127 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder() 133 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder() 374 builder_->clear(); in buildLargeTrie() 376 builder_->add(gen.getString(), gen.getValue(), errorCode); in buildLargeTrie() 381 builder_->buildUnicodeString(USTRINGTRIE_BUILD_FAST, trieUChars, errorCode); in buildLargeTrie() 740 builder_->clear(); in TestIteratorFromUChars() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/ |
D | text_generator.h | 199 return builder_.TypeOf(expr); in TypeOf() 205 return builder_.TypeOf(type); in TypeOf() 211 return builder_.TypeOf(type_decl); in TypeOf() 226 ProgramBuilder builder_; variable
|
D | text_generator.cc | 26 : program_(program), builder_(ProgramBuilder::Wrap(program)) {} in TextGenerator() 31 return builder_.Symbols().NameFor(builder_.Symbols().New(prefix)); in UniqueIdentifier() 35 auto name = builder_.Symbols().NameFor(s->Name()); in StructName()
|
/third_party/flutter/engine/flutter/third_party/txt/src/skia/ |
D | paragraph_builder_skia.cc | 131 : builder_(skt::ParagraphBuilder::make( in ParagraphBuilderSkia() 139 builder_->pushStyle(TxtToSkia(style)); in PushStyle() 144 builder_->pop(); in Pop() 153 builder_->addText(text); in AddText() 161 return std::make_unique<ParagraphSkia>(builder_->Build()); in Build()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator_impl.cc | 211 for (auto* decl : builder_.AST().GlobalDeclarations()) { in Generate() 232 auto* ty = builder_.Sem().Get(str); in Generate() 313 TINT_UNREACHABLE(Writer, builder_.Diagnostics()) in EmitDynamicVectorAssignment() 480 TINT_UNREACHABLE(Writer, builder_.Diagnostics()) in EmitDynamicMatrixScalarAssignment() 572 auto* rhs_col_idx_sem = builder_.Sem().Get(lhs_access->index); in EmitAssign() 573 auto* rhs_row_idx_sem = builder_.Sem().Get(lhs_sub_access->index); in EmitAssign() 584 auto* lhs_index_sem = builder_.Sem().Get(lhs_access->index); in EmitAssign() 592 auto* rhs_sem = builder_.Sem().Get(lhs_access->index); in EmitAssign() 735 if (auto val = builder_.Sem().Get(expr->rhs)->ConstantValue()) { in EmitBinary() 795 auto* call = builder_.Sem().Get(expr); in EmitCall() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
D | builder.cc | 298 : builder_(ProgramBuilder::Wrap(program)), scope_stack_({}) {} in Builder() 309 for (auto* var : builder_.AST().GlobalVariables()) { in Build() 315 for (auto* func : builder_.AST().Functions()) { in Build() 465 Operand::String(builder_.Symbols().NameFor(func->symbol))}; in GenerateEntryPoint() 467 auto* func_sem = builder_.Sem().Get(func); in GenerateEntryPoint() 479 builder_.Symbols().NameFor(var->Declaration()->symbol); in GenerateEntryPoint() 491 auto* func_sem = builder_.Sem().Get(func); in GenerateExecutionModes() 507 TINT_ICE(Writer, builder_.Diagnostics()) in GenerateExecutionModes() 513 builder_.create<sem::Vector>(builder_.create<sem::U32>(), 3); in GenerateExecutionModes() 529 auto* sem_const = builder_.Sem().Get<sem::GlobalVariable>( in GenerateExecutionModes() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl.cc | 289 builder_.Diagnostics().add_error(diag::System::Reader, err, source); in add_error() 295 builder_.Diagnostics().add_warning( in deprecated() 339 if (builder_.Diagnostics().error_count() >= max_errors_) { in translation_unit() 374 builder_.AST().AddGlobalVariable(gv.value); in expect_global_decl() 386 builder_.AST().AddGlobalVariable(gc.value); in expect_global_decl() 398 builder_.AST().AddTypeDecl(ta.value); in expect_global_decl() 410 builder_.AST().AddTypeDecl(str.value); in expect_global_decl() 429 builder_.AST().AddFunction(func.value); in expect_global_decl() 492 builder_.Symbols().Register(decl->name), // symbol in global_variable_decl() 528 builder_.Symbols().Register(decl->name), // symbol in global_constant_decl() [all …]
|
D | parser_impl.h | 326 bool has_error() const { return builder_.Diagnostics().contains_errors(); } in has_error() 331 return formatter.format(builder_.Diagnostics()); in error() 336 Program program() { return Program(std::move(builder_)); } in program() 339 ProgramBuilder& builder() { return builder_; } in builder() 836 return synchronized_ && builder_.Diagnostics().error_count() < max_errors_; in continue_parsing() 875 return builder_.create<T>(std::forward<ARGS>(args)...); in create() 885 ProgramBuilder builder_; variable
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | CharsTrieTest.java | 42 builder_.clear(); in Test00Builder() 44 builder_.build(StringTrieBuilder.Option.FAST); in Test00Builder() 51 builder_.add("=", 0).add("=", 1); in Test00Builder() 314 builder_.clear(); in buildLargeTrie() 316 builder_.add(gen.getString(), gen.getValue()); in buildLargeTrie() 320 CharSequence trieChars=builder_.buildCharSequence(StringTrieBuilder.Option.FAST); in buildLargeTrie() 635 builder_.clear(); in Test59IteratorFromChars() 637 builder_.add(item.s, item.value); in Test59IteratorFromChars() 639 CharSequence trieChars=builder_.buildCharSequence(StringTrieBuilder.Option.FAST); in Test59IteratorFromChars() 701 builder_.clear(); in buildTrie() [all …]
|
D | BytesTrieTest.java | 41 builder_.clear(); in Test00Builder() 43 builder_.build(StringTrieBuilder.Option.FAST); in Test00Builder() 51 builder_.add(equal, 1, 0).add(equal, 1, 1); in Test00Builder() 506 builder_.clear(); in Test59IteratorFromBytes() 508 builder_.add(item.bytes, item.bytes.length, item.value); in Test59IteratorFromBytes() 510 ByteBuffer trieBytes=builder_.buildByteBuffer(StringTrieBuilder.Option.FAST); in Test59IteratorFromBytes() 574 builder_.clear(); in buildTrie() 576 builder_.add(data[index].bytes, data[index].bytes.length, data[index].value); in buildTrie() 579 BytesTrie trie=builder_.build(buildOption); in buildTrie() 581 builder_.add(/* "zzz" */ new byte[] { 0x7a, 0x7a, 0x7a }, 0, 999); in buildTrie() [all …]
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
D | transform_builder.h | 34 explicit TransformBuilder(uint64_t seed) : builder_(seed) {} in TransformBuilder() 40 : builder_(data, size) { in TransformBuilder() 71 DataBuilder builder_; 75 DataBuilder* builder() { return &builder_; } in builder()
|