Home
last modified time | relevance | path

Searched refs:factory (Results 1 - 25 of 663) sorted by relevance

12345678910>>...27

/third_party/protobuf/csharp/src/Google.Protobuf/
H A DMessageParser.cs46 private Func<IMessage> factory; field in Google.Protobuf.MessageParser
52 internal MessageParser(Func<IMessage> factory, bool discardUnknownFields, ExtensionRegistry extensions) in MessageParser() argument
54 this.factory = factory; in MessageParser()
65 return factory(); in CreateTemplate()
75 IMessage message = factory(); in ParseFrom()
89 IMessage message = factory(); in ParseFrom()
101 IMessage message = factory(); in ParseFrom()
113 IMessage message = factory(); in ParseFrom()
126 IMessage message = factory(); in ParseFrom()
227 private readonly Func<T> factory; global() field in Google.Protobuf.MessageParser
237 MessageParser(Func<T> factory) MessageParser() argument
241 MessageParser(Func<T> factory, bool discardUnknownFields, ExtensionRegistry extensions) MessageParser() argument
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dlower_packing_builtins.cpp46 factory.instructions = &factory_instructions; in lower_packing_builtins_visitor()
74 ralloc_steal(factory.mem_ctx, op0); in handle_rvalue()
121 ir_factory factory; member in __anon7192::lower_packing_builtins_visitor
179 assert(factory.mem_ctx == NULL); in setup_factory()
180 assert(factory.instructions->is_empty()); in setup_factory()
182 factory.mem_ctx = mem_ctx; in setup_factory()
188 base_ir->insert_before(factory.instructions); in teardown_factory()
189 assert(factory.instructions->is_empty()); in teardown_factory()
190 factory.mem_ctx = NULL; in teardown_factory()
197 return factory in constant()
[all...]
H A Dlower_vector_insert.cpp38 factory.instructions = &factory_instructions; in vector_insert_visitor()
49 ir_factory factory; member in __anon7199::vector_insert_visitor
69 factory.mem_ctx = ralloc_parent(expr); in handle_rvalue()
72 expr->operands[2]->constant_expression_value(factory.mem_ctx); in handle_rvalue()
98 factory.make_temp(expr->operands[0]->type, "vec_tmp"); in handle_rvalue()
102 factory.emit(assign(temp, expr->operands[0])); in handle_rvalue()
103 factory.emit(assign(temp, expr->operands[1], mask)); in handle_rvalue()
106 *rv = new(factory.mem_ctx) ir_dereference_variable(temp); in handle_rvalue()
122 factory.make_temp(expr->operands[0]->type, "vec_tmp"); in handle_rvalue()
125 factory in handle_rvalue()
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module.cc232 v8::Utils::ToLocal(isolate->factory()->empty_string())); in IsWasmCodegenAllowed()
238 v8::Utils::ToLocal(isolate->factory()->empty_string())); in IsWasmCodegenAllowed()
246 return isolate->factory()->InternalizeUtf8String(base::VectorOf(type.name())); in ToValueTypeString()
252 Factory* factory = isolate->factory(); in GetTypeForFunction() local
257 Handle<FixedArray> param_values = factory->NewFixedArray(param_count); in GetTypeForFunction()
265 Handle<JSObject> object = factory->NewJSObject(object_function); in GetTypeForFunction()
266 Handle<JSArray> params = factory->NewJSArrayWithElements(param_values); in GetTypeForFunction()
267 Handle<String> params_string = factory->InternalizeUtf8String("parameters"); in GetTypeForFunction()
268 Handle<String> results_string = factory in GetTypeForFunction()
291 Factory* factory = isolate->factory(); GetTypeForGlobal() local
308 Factory* factory = isolate->factory(); GetTypeForMemory() local
330 Factory* factory = isolate->factory(); GetTypeForTable() local
354 Factory* factory = isolate->factory(); GetImports() local
455 Factory* factory = isolate->factory(); GetExports() local
551 Factory* factory = isolate->factory(); GetCustomSections() local
[all...]
/third_party/node/test/fixtures/wpt/streams/resources/
H A Drs-test-templates.js4 // For readable stream tests, the factory should return the stream. For reader tests, the factory should return a
7 self.templatedRSEmpty = (label, factory) => {
12 const rs = factory();
24 const rs = factory();
37 self.templatedRSClosed = (label, factory) => {
42 const rs = factory();
57 const rs = factory();
64 const rs = factory();
71 const rs = factory();
[all...]
/third_party/node/deps/v8/src/objects/
H A Djs-locale.cc18 #include "src/heap/factory.h"
86 value_str = value_bool ? isolate->factory()->true_string()->ToCString() in InsertOptionsIntoLocale()
87 : isolate->factory()->false_string()->ToCString(); in InsertOptionsIntoLocale()
108 return isolate->factory()->undefined_value(); in UnicodeKeywordValue()
114 return isolate->factory()->NewStringFromStaticChars(""); in UnicodeKeywordValue()
116 return isolate->factory()->NewStringFromAsciiChecked(value.c_str()); in UnicodeKeywordValue()
379 isolate->factory()->NewFastOrSlowJSObjectFromMap(map));
401 isolate->factory()->NewFastOrSlowJSObjectFromMap(map));
486 Factory* factory = isolate->factory();
[all...]
H A Dproperty-descriptor.cc8 #include "src/heap/factory.h"
127 Factory* factory = isolate->factory(); in ToObject() local
130 Handle<JSObject> result = factory->NewJSObjectFromMap( in ToObject()
147 factory->NewJSObjectFromMap(isolate->data_property_descriptor_map()); in ToObject()
158 Handle<JSObject> result = factory->NewJSObject(isolate->object_function()); in ToObject()
160 CreateDataProperty(result, factory->value_string(), value()); in ToObject()
163 CreateDataProperty(result, factory->writable_string(), in ToObject()
164 factory->ToBoolean(writable())); in ToObject()
167 CreateDataProperty(result, factory in ToObject()
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DTestSchemasLite.java60 ManifestSchemaFactory factory = new ManifestSchemaFactory(); in registerProto2LiteSchemas()
62 Proto2MessageLite.class, factory.createSchema(Proto2MessageLite.class)); in registerProto2LiteSchemas()
65 factory.createSchema(Proto2MessageLite.FieldGroup49.class)); in registerProto2LiteSchemas()
68 factory.createSchema(Proto2MessageLite.FieldGroupList51.class)); in registerProto2LiteSchemas()
71 factory.createSchema(Proto2MessageLite.FieldGroup69.class)); in registerProto2LiteSchemas()
74 factory.createSchema(Proto2MessageLite.RequiredNestedMessage.class)); in registerProto2LiteSchemas()
77 factory.createSchema(Proto2MessageLite.FieldRequiredGroup88.class)); in registerProto2LiteSchemas()
79 Proto2EmptyLite.class, factory.createSchema(Proto2EmptyLite.class)); in registerProto2LiteSchemas()
82 factory.createSchema(Proto2MessageLiteWithExtensions.class)); in registerProto2LiteSchemas()
85 factory in registerProto2LiteSchemas()
[all...]
H A DTestSchemas.java59 ManifestSchemaFactory factory = new ManifestSchemaFactory(); in registerProto2Schemas()
60 protobuf.registerSchemaOverride(Proto2Message.class, factory.createSchema(Proto2Message.class)); in registerProto2Schemas()
62 Proto2Message.FieldGroup49.class, factory.createSchema(Proto2Message.FieldGroup49.class)); in registerProto2Schemas()
65 factory.createSchema(Proto2Message.FieldGroupList51.class)); in registerProto2Schemas()
67 Proto2Message.FieldGroup69.class, factory.createSchema(Proto2Message.FieldGroup69.class)); in registerProto2Schemas()
70 factory.createSchema(Proto2Message.RequiredNestedMessage.class)); in registerProto2Schemas()
73 factory.createSchema(Proto2Message.FieldRequiredGroup88.class)); in registerProto2Schemas()
74 protobuf.registerSchemaOverride(Proto2Empty.class, factory.createSchema(Proto2Empty.class)); in registerProto2Schemas()
76 Proto2MessageWithExtensions.class, factory.createSchema(Proto2MessageWithExtensions.class)); in registerProto2Schemas()
78 Proto2Testing.FieldGroup49.class, factory in registerProto2Schemas()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DResourceManager.h89 ANGLE_INLINE ResourceType *checkObjectAllocation(rx::GLImplFactory *factory, in checkObjectAllocation() argument
104 return checkObjectAllocationImpl(factory, handle, args...); in checkObjectAllocation()
113 ResourceType *checkObjectAllocationImpl(rx::GLImplFactory *factory, in checkObjectAllocationImpl() argument
117 ResourceType *object = ImplT::AllocateNewObject(factory, handle, args...); in checkObjectAllocationImpl()
135 ANGLE_INLINE Buffer *checkBufferAllocation(rx::GLImplFactory *factory, BufferID handle) in checkBufferAllocation() argument
137 return checkObjectAllocation(factory, handle); in checkBufferAllocation()
141 static Buffer *AllocateNewObject(rx::GLImplFactory *factory, BufferID handle);
153 ShaderProgramID createShader(rx::GLImplFactory *factory,
159 ShaderProgramID createProgram(rx::GLImplFactory *factory);
201 ANGLE_INLINE Texture *checkTextureAllocation(rx::GLImplFactory *factory, in checkTextureAllocation() argument
226 checkRenderbufferAllocation(rx::GLImplFactory *factory, RenderbufferID handle) checkRenderbufferAllocation() argument
245 checkSamplerAllocation(rx::GLImplFactory *factory, SamplerID handle) checkSamplerAllocation() argument
280 checkFramebufferAllocation(rx::GLImplFactory *factory, const Caps &caps, FramebufferID handle, egl::ShareGroup *shareGroup) checkFramebufferAllocation() argument
305 checkProgramPipelineAllocation(rx::GLImplFactory *factory, ProgramPipelineID handle) checkProgramPipelineAllocation() argument
[all...]
/third_party/node/deps/v8/src/parsing/
H A Dparser.cc69 Spread* spread_args = factory()->NewSpread( in DefaultConstructor()
70 factory()->NewVariableProxy(constructor_args), pos, pos); in DefaultConstructor()
75 call = factory()->NewCall(super_call_ref, args, pos, has_spread); in DefaultConstructor()
77 body.Add(factory()->NewReturnStatement(call, pos)); in DefaultConstructor()
83 FunctionLiteral* function_literal = factory()->NewFunctionLiteral( in DefaultConstructor()
162 *x = factory()->NewNumberLiteral(x_val + y_val, pos); in ShortcutNumericLiteralBinaryExpression()
165 *x = factory()->NewNumberLiteral(x_val - y_val, pos); in ShortcutNumericLiteralBinaryExpression()
168 *x = factory()->NewNumberLiteral(x_val * y_val, pos); in ShortcutNumericLiteralBinaryExpression()
171 *x = factory()->NewNumberLiteral(base::Divide(x_val, y_val), pos); in ShortcutNumericLiteralBinaryExpression()
175 *x = factory() in ShortcutNumericLiteralBinaryExpression()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Djs-graph.cc7 #include "src/codegen/code-factory.h"
58 DCHECK(ref.object().equals(isolate()->factory()->undefined_value())); in Constant()
61 DCHECK(ref.object().equals(isolate()->factory()->null_value())); in Constant()
64 DCHECK(ref.object().equals(isolate()->factory()->the_hole_value())); in Constant()
67 if (ref.object().equals(isolate()->factory()->true_value())) { in Constant()
70 DCHECK(ref.object().equals(isolate()->factory()->false_value())); in Constant()
127 DEFINE_GETTER(BigIntMapConstant, HeapConstant(factory()->bigint_map()))
129 DEFINE_GETTER(BooleanMapConstant, HeapConstant(factory()->boolean_map()))
138 HeapConstant(factory()->empty_fixed_array()))
140 DEFINE_GETTER(EmptyStringConstant, HeapConstant(factory()
[all...]
/third_party/node/deps/v8/tools/gcmole/
H A Dgcmole-test.cc45 Handle<JSObject> obj1 = isolate->factory()->NewJSObjectWithNullProto(); in TestTwoArguments()
46 Handle<JSObject> obj2 = isolate->factory()->NewJSObjectWithNullProto(); in TestTwoArguments()
57 Handle<JSObject> obj1 = isolate->factory()->NewJSObjectWithNullProto(); in TestTwoSizeTArguments()
58 Handle<JSObject> obj2 = isolate->factory()->NewJSObjectWithNullProto(); in TestTwoSizeTArguments()
83 Handle<JSObject> obj1 = isolate->factory()->NewJSObjectWithNullProto(); in TestMethodCall()
92 Handle<JSObject> obj1 = isolate->factory()->NewJSObjectWithNullProto(); in TestOperatorCall()
126 Handle<JSObject> obj1 = isolate->factory()->NewJSObjectWithNullProto(); in TestFollowingVirtualFunctions()
152 Handle<JSObject> obj1 = isolate->factory()->NewJSObjectWithNullProto(); in TestFollowingStaticFunctions()
160 JSObject raw_obj = *isolate->factory()->NewJSObjectWithNullProto(); in TestDeadVarAnalysis()
168 JSObject raw_obj = *isolate->factory() in TestDeadVarBecauseOfSafepointAnalysis()
[all...]
/third_party/node/deps/v8/src/init/
H A Dbootstrapper.cc105 Factory* factory = isolate->factory(); in Add() local
109 factory->NewFixedArray(length + 2, AllocationType::kOld); in Add()
113 factory in Add()
175 Factory* factory() const { return isolate_->factory(); } in factory() function in v8::internal::Genesis
388 Factory* factory = isolate->factory(); in CreateFunctionForBuiltin() local
393 factory->NewSharedFunctionInfoForBuiltin(name, builtin); in CreateFunctionForBuiltin()
405 Factory* factory in CreateFunctionForBuiltinWithPrototype() local
454 Factory* factory = isolate->factory(); CreateFunctionForBuiltinWithoutPrototype() local
669 Factory* factory = isolate->factory(); InstallSpeciesGetter() local
721 Factory* factory = isolate_->factory(); CreateSloppyModeFunctionMaps() local
785 Factory* factory = isolate_->factory(); CreateStrictModeFunctionMaps() local
827 Factory* factory = isolate_->factory(); CreateObjectFunction() local
1439 Factory* factory = isolate->factory(); InstallError() local
1513 Factory* factory = isolate_->factory(); InitializeGlobal() local
4123 Factory* factory = isolate->factory(); CompileExtension() local
4170 Factory* factory = isolate->factory(); InitializeIteratorFunctions() local
4347 Factory* factory = isolate()->factory(); InitializeCallSiteBuiltins() local
4409 Factory* factory = isolate_->factory(); InitializeConsole() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_valuefactory_test.cpp47 ValueFactory *factory; member in ValuefactoryTest
61 auto dest_value = factory->dest(alu->dest, 0, pin_none); in TEST_F()
68 PVirtualValue value = factory->src(src, 0); in TEST_F()
85 factory->allocate_registers(&b.impl->registers); in TEST_F()
87 auto value = factory->src(src1, 0); in TEST_F()
92 PVirtualValue value = factory->src(src2, i); in TEST_F()
106 factory->allocate_registers(&b.impl->registers); in TEST_F()
118 auto regx = factory->dest(mov->dest.dest, 0, pin_none); in TEST_F()
119 auto regy = factory->dest(mov->dest.dest, 1, pin_none); in TEST_F()
138 factory in TEST_F()
[all...]
/third_party/node/test/parallel/
H A Dtest-dns-lookup-promises.js37 factory: () => dnsPromises.lookup('example.com'),
42 factory: () => dnsPromises.lookup('example.com'),
47 factory: () => dnsPromises.lookup('example.com'),
52 factory: () => dnsPromises.lookup('example.com'),
57 factory: () => dnsPromises.lookup('example.com', { family: 6 }),
60 ].forEach(async ({ stub, factory, expectation }) => {
62 assert.deepStrictEqual(await factory(), expectation);
80 factory: () => dnsPromises.lookup('example', { all: true }),
88 factory: () => dnsPromises.lookup('example', { all: true, family: 4 }),
96 factory
[all...]
/third_party/node/deps/v8/src/heap/
H A Dsetup-heap-internal.cc9 #include "src/heap/factory.h"
61 isolate->factory()->NewSharedFunctionInfoForBuiltin( in CreateSharedFunctionInfo()
62 isolate->factory()->empty_string(), builtin, kind); in CreateSharedFunctionInfo()
152 Map map = isolate()->factory()->InitializeMap( in AllocateMap()
657 Handle<InterceptorInfo>::cast(isolate->factory()->NewStruct( in CreateApiObjects()
665 Factory* factory = isolate()->factory(); in CreateInitialObjects() local
670 *factory->NewHeapNumber<AllocationType::kReadOnly>(-0.0)); in CreateInitialObjects()
673 set_nan_value(*factory->NewHeapNumber<AllocationType::kReadOnly>( in CreateInitialObjects()
675 set_hole_nan_value(*factory in CreateInitialObjects()
[all...]
/third_party/node/deps/v8/src/runtime/
H A Druntime-debug.cc184 isolate->factory()->NewStringFromAsciiChecked("[[IteratorHasMore]]"), in AddIteratorInternalProperties()
185 isolate->factory()->ToBoolean(iterator->HasMore())); in AddIteratorInternalProperties()
188 isolate->factory()->NewStringFromAsciiChecked("[[IteratorIndex]]"), in AddIteratorInternalProperties()
192 isolate->factory()->NewStringFromAsciiChecked("[[IteratorKind]]"), in AddIteratorInternalProperties()
193 isolate->factory()->NewStringFromAsciiChecked(kind)); in AddIteratorInternalProperties()
211 isolate->factory()->NewStringFromStaticChars("[[Prototype]]"), in GetInternalProperties()
221 isolate->factory()->NewStringFromAsciiChecked("[[TargetFunction]]"), in GetInternalProperties()
225 isolate->factory()->NewStringFromAsciiChecked("[[BoundThis]]"), in GetInternalProperties()
229 isolate->factory()->NewStringFromAsciiChecked("[[BoundArgs]]"), in GetInternalProperties()
230 isolate->factory() in GetInternalProperties()
734 Factory* factory = isolate->factory(); MakeRangeObject() local
762 Factory* factory = isolate->factory(); RUNTIME_FUNCTION() local
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dname_editing_test.cc38 void LoadTestFile(FontFactory* factory, FontBuilderArray* font_builders) { in LoadTestFile() argument
39 assert(factory); in LoadTestFile()
44 factory->LoadFontsForBuilding(&input_buffer, font_builders); in LoadTestFile()
48 FontFactoryPtr factory; in TestChangeOneName() local
49 factory.Attach(FontFactory::GetInstance()); in TestChangeOneName()
51 LoadTestFile(factory, &font_builder_array); in TestChangeOneName()
72 factory->SerializeFont(font, &os); in TestChangeOneName()
76 factory->LoadFonts(&is, &font_array); in TestChangeOneName()
92 FontFactoryPtr factory; in TestModifyNameTableAndRevert() local
93 factory in TestModifyNameTableAndRevert()
143 FontFactoryPtr factory; TestRemoveOneName() local
[all...]
H A Dtest_font_utils.cc27 void BuilderForFontFile(const char* font_path, FontFactory* factory, in BuilderForFontFile() argument
29 assert(factory); in BuilderForFontFile()
32 factory->LoadFontsForBuilding(&is, builders); in BuilderForFontFile()
36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { in SerializeFont() argument
38 assert(factory); in SerializeFont()
41 factory->SerializeFont(font, &output_stream); in SerializeFont()
45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFont() argument
48 factory->LoadFonts(&is, fonts); in LoadFont()
57 FontFactoryPtr factory; in LoadFontUsingByteVector() local
58 factory in LoadFontUsingByteVector()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
H A DAffixPatternMatcher.java18 private AffixTokenMatcherFactory factory; field in AffixPatternMatcher
32 AffixTokenMatcherFactory factory, in fromAffixPattern()
39 series.factory = factory; in fromAffixPattern()
41 : factory.ignorables(); in fromAffixPattern()
46 series.factory = null; in fromAffixPattern()
74 addMatcher(factory.minusSign()); in consumeToken()
77 addMatcher(factory.plusSign()); in consumeToken()
80 addMatcher(factory.percent()); in consumeToken()
83 addMatcher(factory in consumeToken()
30 fromAffixPattern( String affixPattern, AffixTokenMatcherFactory factory, int parseFlags) fromAffixPattern() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
H A DAffixPatternMatcher.java20 private AffixTokenMatcherFactory factory; field in AffixPatternMatcher
34 AffixTokenMatcherFactory factory, in fromAffixPattern()
41 series.factory = factory; in fromAffixPattern()
43 : factory.ignorables(); in fromAffixPattern()
48 series.factory = null; in fromAffixPattern()
76 addMatcher(factory.minusSign()); in consumeToken()
79 addMatcher(factory.plusSign()); in consumeToken()
82 addMatcher(factory.percent()); in consumeToken()
85 addMatcher(factory in consumeToken()
32 fromAffixPattern( String affixPattern, AffixTokenMatcherFactory factory, int parseFlags) fromAffixPattern() argument
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-struct.cc25 auto* factory = isolate->factory(); in BUILTIN() local
44 Handle<DescriptorArray> descriptors = factory->NewDescriptorArray( in BUILTIN()
56 field_name = factory->InternalizeName(field_name); in BUILTIN()
68 isolate->factory()->NewSharedFunctionInfoForBuiltin( in BUILTIN()
69 isolate->factory()->empty_string(), Builtin::kSharedStructConstructor, in BUILTIN()
84 Handle<Map> instance_map = factory->NewMap( in BUILTIN()
93 factory->null_value()); in BUILTIN()
97 instance_map->set_constructor_or_back_pointer(*factory->null_value()); in BUILTIN()
104 auto* factory in BUILTIN() local
[all...]
H A Dbuiltins-console.cc75 auto percent = isolate->factory()->LookupSingleCharacterStringFromCode('%'); in Formatter()
88 current = isolate->factory()->nan_value(); in Formatter()
91 isolate->factory()->NewNumberFromInt(10)}; in Formatter()
95 isolate->factory()->undefined_value(), in Formatter()
104 isolate->factory()->undefined_value(), in Formatter()
153 isolate, args.target(), isolate->factory()->console_context_id_symbol()); in ConsoleCall()
158 isolate->factory()->console_context_name_symbol()); in ConsoleCall()
161 : isolate->factory()->anonymous_string(); in ConsoleCall()
230 Factory* const factory = isolate->factory(); in InstallContextFunction() local
263 Factory* const factory = isolate->factory(); BUILTIN() local
[all...]
/third_party/libphonenumber/cpp/test/phonenumbers/
H A Dregexp_adapter_test.cc44 const AbstractRegExpFactory* factory) in RegExpTestContext()
46 factory(factory), in RegExpTestContext()
47 digits(factory->CreateRegExp("\\d+")), in RegExpTestContext()
48 parentheses_digits(factory->CreateRegExp("\\((\\d+)\\)")), in RegExpTestContext()
49 single_digit(factory->CreateRegExp("\\d")), in RegExpTestContext()
50 two_digit_groups(factory->CreateRegExp("(\\d+)-(\\d+)")), in RegExpTestContext()
51 six_digit_groups(factory->CreateRegExp( in RegExpTestContext()
55 const scoped_ptr<const AbstractRegExpFactory> factory; member
91 context.factory in TEST_F()
114 const AbstractRegExpFactory& factory = *context.factory; TEST_F() local
200 const AbstractRegExpFactory& factory = *context.factory; TEST_F() local
226 const AbstractRegExpFactory& factory = *context.factory; TEST_F() local
332 const AbstractRegExpFactory& factory = *context.factory; TEST_F() local
[all...]

Completed in 19 milliseconds

12345678910>>...27