/third_party/ninja/src/ |
D | build_test.cc | 490 builder_(&state_, config_, NULL, NULL, &fs_, &status_, 0) { in BuildTest() 495 builder_(&state_, config_, NULL, log, &fs_, &status_, 0) {} in BuildTest() 500 builder_.command_runner_.reset(&command_runner_); in SetUp() 511 builder_.command_runner_.release(); in ~BuildTest() 536 Builder builder_; member 733 EXPECT_TRUE(builder_.AlreadyUpToDate()); in TEST_F() 741 EXPECT_TRUE(builder_.AddTarget("cat1", &err)); in TEST_F() 743 EXPECT_TRUE(builder_.Build(&err)); in TEST_F() 755 EXPECT_TRUE(builder_.AddTarget("cat1", &err)); in TEST_F() 757 EXPECT_TRUE(builder_.Build(&err)); in TEST_F() [all …]
|
/third_party/gn/src/gn/ |
D | analyzer_unittest.cc | 50 builder_(loader_.get()), in AnalyzerTest() 93 Analyzer analyzer(builder_, SourceFile("//build/config/BUILDCONFIG.gn"), in RunAnalyzerTest() 105 Builder builder_; member in gn_analyzer_unittest::AnalyzerTest 121 builder_.ItemDefined(std::move(t)); in TEST_F() 152 builder_.ItemDefined(std::move(t)); 183 builder_.ItemDefined(std::move(t)); 214 builder_.ItemDefined(std::move(c)); 246 builder_.ItemDefined(std::move(ssc)); 247 builder_.ItemDefined(std::move(sc)); 248 builder_.ItemDefined(std::move(c)); [all …]
|
D | builder_unittest.cc | 75 builder_(loader_.get()), in BuilderTest() 86 builder_.ItemDefined(std::unique_ptr<Item>(tc)); in DefineToolchain() 92 Builder builder_; member in gn_builder_unittest::BuilderTest 113 builder_.ItemDefined(std::unique_ptr<Item>(a)); in TEST_F() 122 builder_.GetRecord(settings_.toolchain_label()); in TEST_F() 127 BuilderRecord* a_record = builder_.GetRecord(a_label); in TEST_F() 133 BuilderRecord* b_record = builder_.GetRecord(b_label); in TEST_F() 157 builder_.ItemDefined(std::unique_ptr<Item>(c)); in TEST_F() 168 builder_.ItemDefined(std::unique_ptr<Item>(b)); in TEST_F() 175 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() 42 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 …]
|
/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/mindspore/patches/ |
D | 0001-generate-schema-headers-manually.patch | 132 + TuneParamBuilder builder_(_fbb); 133 + builder_.add_opPara(opPara); 134 + builder_.add_shape(shape); 135 + builder_.add_block(block); 136 + builder_.add_local(local); 137 + return builder_.Finish(); 225 + ProgramBinaryBuilder builder_(_fbb); 226 + builder_.add_data(data); 227 + builder_.add_tune(tune); 228 + builder_.add_build_option(build_option); [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | bytestrietest.cpp | 74 BytesTrieBuilder *builder_; member in BytesTrieTest 81 BytesTrieTest::BytesTrieTest() : builder_(NULL) { in BytesTrieTest() 83 builder_=new BytesTrieBuilder(errorCode); in BytesTrieTest() 87 delete builder_; in ~BytesTrieTest() 120 builder_->clear(); in TestBuilder() 121 delete builder_->build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder() 127 … builder_->add("=", 0, errorCode).add("=", 1, errorCode).build(USTRINGTRIE_BUILD_FAST, errorCode); in TestBuilder() 585 builder_->clear(); in TestIteratorFromBytes() 588 builder_->add(data[i].s, data[i].value, errorCode); in TestIteratorFromBytes() 590 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/flutter/txt/src/skia/ |
D | paragraph_builder_skia.cc | 142 : builder_(skt::ParagraphBuilder::make( in ParagraphBuilderSkia() 150 builder_->pushStyle(TxtToSkia(style)); in PushStyle() 155 builder_->pop(); in Pop() 164 builder_->addText(text); in AddText() 176 builder_->addPlaceholder(placeholder_style); in AddPlaceholder() 180 return std::unique_ptr<Paragraph>(new 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/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/ |
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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CharsTrieTest.java | 39 builder_.clear(); in Test00Builder() 41 builder_.build(StringTrieBuilder.Option.FAST); in Test00Builder() 48 builder_.add("=", 0).add("=", 1); in Test00Builder() 311 builder_.clear(); in buildLargeTrie() 313 builder_.add(gen.getString(), gen.getValue()); in buildLargeTrie() 317 CharSequence trieChars=builder_.buildCharSequence(StringTrieBuilder.Option.FAST); in buildLargeTrie() 632 builder_.clear(); in Test59IteratorFromChars() 634 builder_.add(item.s, item.value); in Test59IteratorFromChars() 636 CharSequence trieChars=builder_.buildCharSequence(StringTrieBuilder.Option.FAST); in Test59IteratorFromChars() 698 builder_.clear(); in buildTrie() [all …]
|
D | BytesTrieTest.java | 39 builder_.clear(); in Test00Builder() 41 builder_.build(StringTrieBuilder.Option.FAST); in Test00Builder() 49 builder_.add(equal, 1, 0).add(equal, 1, 1); in Test00Builder() 504 builder_.clear(); in Test59IteratorFromBytes() 506 builder_.add(item.bytes, item.bytes.length, item.value); in Test59IteratorFromBytes() 508 ByteBuffer trieBytes=builder_.buildByteBuffer(StringTrieBuilder.Option.FAST); in Test59IteratorFromBytes() 608 builder_.clear(); in buildTrie() 610 builder_.add(data[index].bytes, data[index].bytes.length, data[index].value); in buildTrie() 613 BytesTrie trie=builder_.build(buildOption); in buildTrie() 615 builder_.add(/* "zzz" */ new byte[] { 0x7a, 0x7a, 0x7a }, 0, 999); in buildTrie() [all …]
|
/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()
|