Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/external/libchrome/base/message_loop/
Dmessage_loop_test.h21 void RunTest_PostTask(MessagePumpFactory factory);
22 void RunTest_PostDelayedTask_Basic(MessagePumpFactory factory);
23 void RunTest_PostDelayedTask_InDelayOrder(MessagePumpFactory factory);
24 void RunTest_PostDelayedTask_InPostOrder(MessagePumpFactory factory);
25 void RunTest_PostDelayedTask_InPostOrder_2(MessagePumpFactory factory);
26 void RunTest_PostDelayedTask_InPostOrder_3(MessagePumpFactory factory);
27 void RunTest_PostDelayedTask_SharedTimer(MessagePumpFactory factory);
28 void RunTest_EnsureDeletion(MessagePumpFactory factory);
29 void RunTest_EnsureDeletion_Chain(MessagePumpFactory factory);
30 void RunTest_Nesting(MessagePumpFactory factory);
[all …]
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3commontree.c58 static void newPool (pANTLR3_ARBORETUM factory);
59 static pANTLR3_BASE_TREE newPoolTree (pANTLR3_ARBORETUM factory);
60 static pANTLR3_BASE_TREE newFromTree (pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TREE tree);
61 static pANTLR3_BASE_TREE newFromToken (pANTLR3_ARBORETUM factory, pANTLR3_COMMON_TOKEN token);
62 static void factoryClose (pANTLR3_ARBORETUM factory);
67 pANTLR3_ARBORETUM factory; in antlr3ArboretumNew() local
71 factory = (pANTLR3_ARBORETUM) ANTLR3_MALLOC((size_t)sizeof(ANTLR3_ARBORETUM)); in antlr3ArboretumNew()
72 if (factory == NULL) in antlr3ArboretumNew()
80 factory->vFactory = antlr3VectorFactoryNew(0); in antlr3ArboretumNew()
81 if (factory->vFactory == NULL) in antlr3ArboretumNew()
[all …]
Dantlr3commontoken.c61 static void factoryClose (pANTLR3_TOKEN_FACTORY factory);
63 static void setInputStream (pANTLR3_TOKEN_FACTORY factory, pANTLR3_INPUT_STREAM input);
64 static void factoryReset (pANTLR3_TOKEN_FACTORY factory);
68 static void newPool (pANTLR3_TOKEN_FACTORY factory);
69 static pANTLR3_COMMON_TOKEN newPoolToken (pANTLR3_TOKEN_FACTORY factory);
94 pANTLR3_TOKEN_FACTORY factory; in antlr3TokenFactoryNew() local
98 factory = (pANTLR3_TOKEN_FACTORY) ANTLR3_MALLOC((size_t)sizeof(ANTLR3_TOKEN_FACTORY)); in antlr3TokenFactoryNew()
100 if (factory == NULL) in antlr3TokenFactoryNew()
107 factory->newToken = newPoolToken; in antlr3TokenFactoryNew()
108 factory->close = factoryClose; in antlr3TokenFactoryNew()
[all …]
Dantlr3string.c38 static pANTLR3_STRING newRaw8 (pANTLR3_STRING_FACTORY factory);
39 static pANTLR3_STRING newRawUTF16 (pANTLR3_STRING_FACTORY factory);
40 static pANTLR3_STRING newSize8 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size);
41 static pANTLR3_STRING newSizeUTF16 (pANTLR3_STRING_FACTORY factory, ANTLR3_UINT32 size);
42 static pANTLR3_STRING newPtr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, ANTLR3_U…
43 static pANTLR3_STRING newPtrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string, AN…
44 static pANTLR3_STRING newPtrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string…
45 static pANTLR3_STRING newStr8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string);
46 static pANTLR3_STRING newStrUTF16_8 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string);
47 static pANTLR3_STRING newStrUTF16_UTF16 (pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 string…
[all …]
/external/autotest/server/hosts/
Dfactory_unittest.py11 from autotest_lib.server.hosts import base_label_unittest, factory
75 self._orig_ssh_engine = factory.SSH_ENGINE
76 self._orig_types = factory.host_types
77 self._orig_dict = factory.OS_HOST_DICT
78 self._orig_cros_host = factory.cros_host.CrosHost
79 self._orig_local_host = factory.local_host.LocalHost
80 self._orig_ssh_host = factory.ssh_host.SSHHost
82 self.host_types = factory.host_types = []
83 self.os_host_dict = factory.OS_HOST_DICT = {}
84 factory.cros_host.CrosHost = _gen_mock_host('cros_host')
[all …]
/external/v8/src/parsing/
Dpattern-rewriter.cc65 auto to_rewrite = parser->factory()->NewRewritableExpression(assignment); in RewriteDestructuringAssignment()
116 Assignment* assignment = factory()->NewAssignment( in VisitVariableProxy()
119 factory()->NewExpressionStatement(assignment, pattern->position()), in VisitVariableProxy()
136 factory()->NewVariableProxy(name, NORMAL_VARIABLE, pattern->position()); in VisitVariableProxy()
137 Declaration* declaration = factory()->NewVariableDeclaration( in VisitVariableProxy()
204 factory()->NewStringLiteral(name, descriptor_->declaration_pos), in VisitVariableProxy()
206 arguments->Add(factory()->NewNumberLiteral(var_init_scope->language_mode(), in VisitVariableProxy()
211 CallRuntime* initialize = factory()->NewCallRuntime( in VisitVariableProxy()
214 factory()->NewExpressionStatement(initialize, initialize->position()), in VisitVariableProxy()
221 proxy = var_init_scope->NewUnresolved(factory(), name); in VisitVariableProxy()
[all …]
Dparser.cc111 : ast_node_factory_scope_(parser->factory(), temp_zone, use_temp_zone), in DiscardableZoneScope()
121 parser_->reusable_preparser_->factory()->set_zone(temp_zone); in DiscardableZoneScope()
130 parser_->reusable_preparser_->factory()->set_zone(prev_zone_); in Reset()
166 VariableProxy* init_fn_proxy = scope->NewUnresolved(factory(), init_fn_name); in CallClassFieldInitializer()
170 return factory()->NewCallRuntime(Runtime::kInlineCall, args, in CallClassFieldInitializer()
189 Block* block = factory()->NewBlock(nullptr, 1, false, kNoSourcePosition); in RewriteSuperCall()
190 Assignment* assignment = factory()->NewAssignment( in RewriteSuperCall()
191 Token::ASSIGN, factory()->NewVariableProxy(var_tmp), super_call, in RewriteSuperCall()
194 factory()->NewExpressionStatement(assignment, kNoSourcePosition), zone()); in RewriteSuperCall()
198 scope()->NewUnresolved(factory(), init_fn_name); in RewriteSuperCall()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DMessageParser.cs44 private Func<IMessage> factory; field in Google.Protobuf.MessageParser
46 internal MessageParser(Func<IMessage> factory) in MessageParser() argument
48 this.factory = factory; in MessageParser()
57 return factory(); in CreateTemplate()
68 IMessage message = factory(); in ParseFrom()
81 IMessage message = factory(); in ParseFrom()
93 IMessage message = factory(); in ParseFrom()
109 IMessage message = factory(); in ParseDelimitedFrom()
121 IMessage message = factory(); in ParseFrom()
135 IMessage message = factory(); in ParseJson()
[all …]
/external/guice/lib/build/
Dspring-beans.jar ... beans/annotation/ org/springframework/beans/factory/ org/springframework/beans/factory/access ...
/external/dagger2/lib/
Dauto-factory-1.0-20150915.183854-35.jar ... google/auto/ com/google/auto/factory/ com/google/auto/factory/processor ...
/external/webrtc/webrtc/base/
Dreferencecountedsingletonfactory_unittest.cc42 ReferenceCountedSingletonFactory<MyExistenceWatcher> *factory) { in DoCreateAndGoOutOfScope() argument
43 rcsf_ptr<MyExistenceWatcher> ptr(factory); in DoCreateAndGoOutOfScope()
49 TestReferenceCountedSingletonFactory factory; in TEST() local
51 DoCreateAndGoOutOfScope(&factory); in TEST()
56 TestReferenceCountedSingletonFactory factory; in TEST() local
57 rcsf_ptr<MyExistenceWatcher> ptr(&factory); in TEST()
60 DoCreateAndGoOutOfScope(&factory); in TEST()
65 TestReferenceCountedSingletonFactory factory; in TEST() local
66 rcsf_ptr<MyExistenceWatcher> one(&factory), two(&factory); in TEST()
72 TestReferenceCountedSingletonFactory factory; in TEST() local
[all …]
/external/v8/src/
Di18n.cc43 Handle<String> str = isolate->factory()->NewStringFromAsciiChecked(key); in ExtractStringSetting()
60 Handle<String> str = isolate->factory()->NewStringFromAsciiChecked(key); in ExtractIntegerSetting()
75 Handle<String> str = isolate->factory()->NewStringFromAsciiChecked(key); in ExtractBooleanSetting()
146 Factory* factory = isolate->factory(); in SetResolvedDateSettings() local
151 resolved, factory->intl_pattern_symbol(), in SetResolvedDateSettings()
152 factory->NewStringFromTwoByte( in SetResolvedDateSettings()
164 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("calendar"), in SetResolvedDateSettings()
165 factory->NewStringFromAsciiChecked(calendar_name), in SetResolvedDateSettings()
177 resolved, factory->NewStringFromStaticChars("timeZone"), in SetResolvedDateSettings()
178 factory->NewStringFromStaticChars("UTC"), SLOPPY).Assert(); in SetResolvedDateSettings()
[all …]
Dbootstrapper.cc42 isolate_->factory()->NewNativeSourceString(resource); in SourceLookup()
150 Factory* factory() const { return isolate_->factory(); } in factory() function in v8::internal::BASE_EMBEDDED
338 Factory* factory = env->GetIsolate()->factory(); in DetachGlobal() local
340 global_proxy->set_native_context(*factory->null_value()); in DetachGlobal()
341 JSObject::ForceSetPrototype(global_proxy, factory->null_value()); in DetachGlobal()
342 global_proxy->map()->SetConstructor(*factory->null_value()); in DetachGlobal()
372 Factory* factory = isolate->factory(); in CreateFunction() local
376 ? factory->NewFunction(name, call_code, prototype, type, in CreateFunction()
378 : factory->NewFunctionWithoutPrototype(name, call_code, in CreateFunction()
401 Factory* const factory = target->GetIsolate()->factory(); in InstallFunction() local
[all …]
Dproperty-descriptor.cc120 Factory* factory = isolate->factory(); in ToObject() local
123 Handle<JSObject> result = factory->NewJSObjectFromMap( in ToObject()
140 factory->NewJSObjectFromMap(isolate->data_property_descriptor_map()); in ToObject()
151 Handle<JSObject> result = factory->NewJSObject(isolate->object_function()); in ToObject()
153 CreateDataProperty(isolate, result, factory->value_string(), value()); in ToObject()
156 CreateDataProperty(isolate, result, factory->writable_string(), in ToObject()
157 factory->ToBoolean(writable())); in ToObject()
160 CreateDataProperty(isolate, result, factory->get_string(), get()); in ToObject()
163 CreateDataProperty(isolate, result, factory->set_string(), set()); in ToObject()
166 CreateDataProperty(isolate, result, factory->enumerable_string(), in ToObject()
[all …]
/external/v8/src/runtime/
Druntime-i18n.cc72 Factory* factory = isolate->factory(); in RUNTIME_FUNCTION() local
91 return *factory->NewStringFromAsciiChecked(kInvalidTag); in RUNTIME_FUNCTION()
100 return *factory->NewStringFromAsciiChecked(kInvalidTag); in RUNTIME_FUNCTION()
103 return *factory->NewStringFromAsciiChecked(result); in RUNTIME_FUNCTION()
109 Factory* factory = isolate->factory(); in RUNTIME_FUNCTION() local
129 Handle<JSObject> locales = factory->NewJSObject(isolate->object_function()); in RUNTIME_FUNCTION()
144 locales, factory->NewStringFromAsciiChecked(result), in RUNTIME_FUNCTION()
145 factory->NewNumber(i), NONE)); in RUNTIME_FUNCTION()
154 Factory* factory = isolate->factory(); in RUNTIME_FUNCTION() local
166 return *factory->NewStringFromAsciiChecked(result); in RUNTIME_FUNCTION()
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DClassSanityTester.java320 for (Invokable<?, ?> factory : factories) { in doTestEquals()
321 if (factory.getParameters().size() == numberOfParameters) { in doTestEquals()
323 testEqualsUsing(factory); in doTestEquals()
364 for (Invokable<?, ? extends T> factory : getFactories(type)) { in instantiate()
367 instance = instantiate(factory); in instantiate()
376 nullErrors.add(new FactoryMethodReturnsNullException(factory)); in instantiate()
441 for (Invokable<?, ?> factory : getFactoriesToTest()) { in testNulls()
442 Object instance = instantiate(factory); in testNulls()
449 "Null check failed on return value of " + factory); in testNulls()
469 for (Invokable<?, ?> factory : getFactoriesToTest()) { in testEquals()
[all …]
/external/libchrome/base/memory/
Dweak_ptr_unittest.cc59 TargetWithFactory() : factory(this) {} in TargetWithFactory()
60 WeakPtrFactory<Target> factory; member
193 WeakPtrFactory<int> factory(&data); in TEST() local
194 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
200 WeakPtrFactory<int> factory(&data); in TEST() local
201 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
208 WeakPtrFactory<int> factory(&data); in TEST() local
209 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
210 WeakPtr<int> ptr2 = factory.GetWeakPtr(); in TEST()
221 WeakPtrFactory<int> factory(&data); in TEST() local
[all …]
/external/sfntly/cpp/src/test/
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.Attach(FontFactory::GetInstance()); in TestModifyNameTableAndRevert()
[all …]
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.Attach(FontFactory::GetInstance()); in LoadFontUsingByteVector()
[all …]
/external/slf4j/slf4j-api/src/test/java/org/slf4j/
DBasicMarkerTest.java49 final IMarkerFactory factory; field in BasicMarkerTest
59 factory = new BasicMarkerFactory(); in BasicMarkerTest()
61 blue = factory.getMarker(BLUE_STR); in BasicMarkerTest()
62 red = factory.getMarker(RED_STR); in BasicMarkerTest()
63 green = factory.getMarker(GREEN_STR); in BasicMarkerTest()
64 comp = factory.getMarker(COMP_STR); in BasicMarkerTest()
67 multiComp = factory.getMarker(MULTI_COMP_STR); in BasicMarkerTest()
76 Marker blue2 = factory.getMarker(BLUE_STR); in testPrimitive()
112 Marker parent = factory.getMarker(PARENT_MARKER_STR); in testMultiAdd()
113 Marker child = factory.getMarker(CHILD_MARKER_STR); in testMultiAdd()
[all …]
/external/guice/core/src/com/google/inject/internal/
DConstructorBindingImpl.java46 private final Factory<T> factory; field in ConstructorBindingImpl
50 InternalFactory<? extends T> scopedFactory, Scoping scoping, Factory<T> factory, in ConstructorBindingImpl() argument
53 this.factory = factory; in ConstructorBindingImpl()
60 this.factory = new Factory<T>(false, key); in ConstructorBindingImpl()
64 factory.constructorInjector = new ConstructorInjector<T>( in ConstructorBindingImpl()
136 factory.constructorInjector = in initialize()
138 factory.provisionCallback = in initialize()
144 return factory.constructorInjector != null; in isInitialized()
149 if(factory.constructorInjector != null) { in getInternalConstructor()
150 return factory.constructorInjector.getConstructionProxy().getInjectionPoint(); in getInternalConstructor()
[all …]
/external/dagger2/core/src/main/java/dagger/internal/
DScopedProvider.java30 private final Factory<T> factory; field in ScopedProvider
33 private ScopedProvider(Factory<T> factory) { in ScopedProvider() argument
34 assert factory != null; in ScopedProvider()
35 this.factory = factory; in ScopedProvider()
47 instance = result = factory.get(); in get()
55 public static <T> Provider<T> create(Factory<T> factory) { in create() argument
56 if (factory == null) { in create()
59 return new ScopedProvider<T>(factory); in create()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DPerformanceResultsPerspective.java22 private IPageLayout factory; field in PerformanceResultsPerspective
29 this.factory = layout; in createInitialLayout()
40 this.factory.createFolder( in addViews()
44 this.factory.getEditorArea()); in addViews()
49 this.factory.createFolder( in addViews()
53 this.factory.getEditorArea()); in addViews()
59 this.factory.createFolder( in addViews()
63 this.factory.getEditorArea()); in addViews()
66 this.factory.setEditorAreaVisible(false); in addViews()
/external/skia/src/utils/
DSkShadowUtils.cpp206 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, in find() argument
209 if (fEntries[i].fFactory.isCompatible(factory, translate)) { in find()
229 sk_sp<SkVertices> add(const SkPath& path, const FACTORY& factory, const SkMatrix& matrix) { in add() argument
230 sk_sp<SkVertices> vertices = factory.makeVertices(path, matrix); in add()
241 fEntries[i].fFactory = factory; in add()
291 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, in find() argument
293 return fTessellations->find(factory, matrix, translate); in find()
309 FindContext(const SkMatrix* viewMatrix, const FACTORY* factory) in FindContext()
310 : fViewMatrix(viewMatrix), fFactory(factory) {} in FindContext()
385 void draw_shadow(const FACTORY& factory, SkCanvas* canvas, ShadowedPath& path, SkColor color, in draw_shadow() argument
[all …]
/external/dagger2/core/src/test/java/dagger/internal/
DSetFactoryTest.java41 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsNullSet() local
48 factory.get(); in providerReturnsNullSet()
53 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsNullSet_single() local
60 factory.get(); in providerReturnsNullSet_single()
65 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsSetWithNullElement() local
76 factory.get(); in providerReturnsSetWithNullElement()
81 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsSetWithNullElement_single() local
92 factory.get(); in providerReturnsSetWithNullElement_single()
97 Factory<Set<Integer>> factory = SetFactory.create( in invokesProvidersEverytTime() local
101 assert_().that(factory.get()).containsExactly(0, 10, 20); in invokesProvidersEverytTime()
[all …]

12345678910>>...44