Home
last modified time | relevance | path

Searched refs:builder_ (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/ninja/src/
Dbuild_test.cc487 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/
Danalyzer_unittest.cc50 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 …]
Dbuilder_unittest.cc75 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 …]
/third_party/mindspore/mindspore/lite/schema/
Dops_v0_generated.h1256 PadBuilder builder_(_fbb);
1257 builder_.add_constantValue(constantValue);
1258 builder_.add_paddings(paddings);
1259 builder_.add_paddingMode(paddingMode);
1260 return builder_.Finish();
1301 MaximumBuilder builder_(_fbb); in CreateMaximum()
1302 return builder_.Finish(); in CreateMaximum()
1330 MinimumBuilder builder_(_fbb); in CreateMinimum()
1331 return builder_.Finish(); in CreateMinimum()
1359 FlattenBuilder builder_(_fbb); in CreateFlatten()
[all …]
Dops_generated.h2073 AbsBuilder builder_(_fbb);
2074 return builder_.Finish();
2149 ActivationBuilder builder_(_fbb);
2150 builder_.add_max_val(max_val);
2151 builder_.add_min_val(min_val);
2152 builder_.add_alpha(alpha);
2153 builder_.add_approximate(approximate);
2154 builder_.add_activation_type(activation_type);
2155 return builder_.Finish();
2203 ActivationGradBuilder builder_(_fbb);
[all …]
Dgpu_cache_generated.h88 TuneParamBuilder builder_(_fbb);
89 builder_.add_opPara(opPara);
90 builder_.add_shape(shape);
91 builder_.add_block(block);
92 builder_.add_local(local);
93 return builder_.Finish();
181 ProgramBinaryBuilder builder_(_fbb);
182 builder_.add_data(data);
183 builder_.add_tune(tune);
184 builder_.add_build_option(build_option);
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver.cc86 : 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/mindspore/mindspore/lite/src/delegate/tensorrt/
Dtensorrt_runtime.cc26 builder_ = nvinfer1::createInferBuilder(this->logger_); in Init()
27 if (builder_ == nullptr) { in Init()
31 builder_->setMaxBatchSize(MAX_BATCH_SIZE); in Init()
42 if (builder_ != nullptr) { in ~TensorRTRuntime()
43 builder_->destroy(); in ~TensorRTRuntime()
44 builder_ = nullptr; in ~TensorRTRuntime()
/third_party/flatbuffers/include/flatbuffers/
Dreflection_generated.h218 TypeBuilder builder_(_fbb);
219 builder_.add_index(index);
220 builder_.add_fixed_length(fixed_length);
221 builder_.add_element(element);
222 builder_.add_base_type(base_type);
223 return builder_.Finish();
280 KeyValueBuilder builder_(_fbb);
281 builder_.add_value(value);
282 builder_.add_key(key);
283 return builder_.Finish();
[all …]
/third_party/boost/tools/quickbook/src/
Dvalues_parse.hpp25 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/
Dserver_builder_plugin_test.cc141 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/flatbuffers/tests/cpp17/generated_cpp17/
Doptional_scalars_generated.h597 ScalarStuffBuilder builder_(_fbb);
598 builder_.add_default_f64(default_f64);
599 if(maybe_f64) { builder_.add_maybe_f64(*maybe_f64); }
600 builder_.add_just_f64(just_f64);
601 builder_.add_default_u64(default_u64);
602 if(maybe_u64) { builder_.add_maybe_u64(*maybe_u64); }
603 builder_.add_just_u64(just_u64);
604 builder_.add_default_i64(default_i64);
605 if(maybe_i64) { builder_.add_maybe_i64(*maybe_i64); }
606 builder_.add_just_i64(just_i64);
[all …]
Doptional_scalars2_generated.h557 ScalarStuffBuilder builder_(_fbb);
558 builder_.add_default_f64(default_f64);
559 if(maybe_f64) { builder_.add_maybe_f64(*maybe_f64); }
560 builder_.add_just_f64(just_f64);
561 builder_.add_default_u64(default_u64);
562 if(maybe_u64) { builder_.add_maybe_u64(*maybe_u64); }
563 builder_.add_just_u64(just_u64);
564 builder_.add_default_i64(default_i64);
565 if(maybe_i64) { builder_.add_maybe_i64(*maybe_i64); }
566 builder_.add_just_i64(just_i64);
[all …]
/third_party/flatbuffers/tests/
Doptional_scalars_generated.h604 ScalarStuffBuilder builder_(_fbb);
605 builder_.add_default_f64(default_f64);
606 if(maybe_f64) { builder_.add_maybe_f64(*maybe_f64); }
607 builder_.add_just_f64(just_f64);
608 builder_.add_default_u64(default_u64);
609 if(maybe_u64) { builder_.add_maybe_u64(*maybe_u64); }
610 builder_.add_just_u64(just_u64);
611 builder_.add_default_i64(default_i64);
612 if(maybe_i64) { builder_.add_maybe_i64(*maybe_i64); }
613 builder_.add_just_i64(just_i64);
[all …]
Dmonster_extra_generated.h209 MonsterExtraBuilder builder_(_fbb);
210 builder_.add_d3(d3);
211 builder_.add_d2(d2);
212 builder_.add_d1(d1);
213 builder_.add_d0(d0);
214 builder_.add_fvec(fvec);
215 builder_.add_dvec(dvec);
216 builder_.add_f3(f3);
217 builder_.add_f2(f2);
218 builder_.add_f1(f1);
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc740 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 …]
/third_party/flatbuffers/tests/evolution_test/
Devolution_v2_generated.h211 TableABuilder builder_(_fbb);
212 builder_.add_c(c);
213 builder_.add_b(b);
214 builder_.add_a(a);
215 return builder_.Finish();
267 TableBBuilder builder_(_fbb);
268 builder_.add_a(a);
269 return builder_.Finish();
318 TableCBuilder builder_(_fbb);
319 builder_.add_a(a);
[all …]
Devolution_v1_generated.h185 TableABuilder builder_(_fbb);
186 builder_.add_b(b);
187 builder_.add_a(a);
188 return builder_.Finish();
227 TableBBuilder builder_(_fbb);
228 builder_.add_a(a);
229 return builder_.Finish();
403 RootBuilder builder_(_fbb);
404 builder_.add_j(j);
405 builder_.add_i(i);
[all …]
/third_party/mindspore/mindspore/lite/schema/inner/
Dops_v0_generated.h1897 PadBuilder builder_(_fbb);
1898 builder_.add_constantValue(constantValue);
1899 builder_.add_paddings(paddings);
1900 builder_.add_paddingMode(paddingMode);
1901 return builder_.Finish();
1955 MaximumBuilder builder_(_fbb); in CreateMaximum()
1956 return builder_.Finish(); in CreateMaximum()
1997 MinimumBuilder builder_(_fbb); in CreateMinimum()
1998 return builder_.Finish(); in CreateMinimum()
2039 FlattenBuilder builder_(_fbb); in CreateFlatten()
[all …]
Dops_generated.h4318 AbsBuilder builder_(_fbb);
4319 return builder_.Finish();
4427 ActivationBuilder builder_(_fbb);
4428 builder_.add_max_val(max_val);
4429 builder_.add_min_val(min_val);
4430 builder_.add_alpha(alpha);
4431 builder_.add_approximate(approximate);
4432 builder_.add_activation_type(activation_type);
4433 return builder_.Finish();
4502 ActivationGradBuilder builder_(_fbb);
[all …]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc87 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/
Dserver_builder.cc121 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/flatbuffers/android/app/src/main/cpp/generated/
Danimal_generated.h73 AnimalBuilder builder_(_fbb);
74 builder_.add_sound(sound);
75 builder_.add_name(name);
76 builder_.add_weight(weight);
77 return builder_.Finish();
/third_party/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h188 TableInFirstNSBuilder builder_(_fbb);
189 builder_.add_foo_struct(foo_struct);
190 builder_.add_foo_union(foo_union);
191 builder_.add_foo_table(foo_table);
192 builder_.add_foo_union_type(foo_union_type);
193 builder_.add_foo_enum(foo_enum);
194 return builder_.Finish();
286 TableInCBuilder builder_(_fbb);
287 builder_.add_refer_to_a2(refer_to_a2);
288 builder_.add_refer_to_a1(refer_to_a1);
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dbytestrietest.cpp74 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()
127builder_->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 …]

1234