Searched defs:factory (Results 51 - 75 of 354) sorted by relevance

1234567891011>>

/external/guava/guava/src/com/google/common/collect/
H A DStandardRowSortedTable.java58 Supplier<? extends Map<C, V>> factory) {
59 super(backingMap, factory);
121 sortedBackingMap().headMap(toKey), factory).rowMap();
129 sortedBackingMap().subMap(fromKey, toKey), factory).rowMap();
136 sortedBackingMap().tailMap(fromKey), factory).rowMap();
57 StandardRowSortedTable(SortedMap<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) argument
/external/guava/guava-tests/test/com/google/common/io/
H A DByteSinkTester.java47 static TestSuite tests(String name, ByteSinkFactory factory) { argument
51 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
57 private static TestSuite suiteForString(String name, ByteSinkFactory factory, argument
65 TestSuite suite = suiteForBytes(name, factory, desc, bytes);
66 CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
72 private static TestSuite suiteForBytes(String name, ByteSinkFactory factory, argument
76 suite.addTest(new ByteSinkTester(factory, bytes, name, desc, method));
83 ByteSinkTester(ByteSinkFactory factory, byte[] data, String suiteName, argument
85 super(factory, data, suiteName, caseDesc, method);
90 sink = factory
[all...]
H A DCharSinkTester.java42 static TestSuite tests(String name, CharSinkFactory factory) { argument
46 TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
52 static TestSuite suiteForString(String name, CharSinkFactory factory, argument
56 stringSuite.addTest(new CharSinkTester(factory, string, name, desc, method));
66 public CharSinkTester(CharSinkFactory factory, String string, argument
68 super(factory, string, suiteName, caseDesc, method);
75 this.sink = factory.createSink();
121 assertEquals(expected, factory.getSinkContents());
132 assertEquals(expected, factory.getSinkContents());
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNumberFormatServiceShim.java68 Object registerFactory(NumberFormatFactory factory) { argument
69 return service.registerFactory(new NFFactory(factory));
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DUnicodeTransform.java24 private static Factory factory = new IcuUnicodeNormalizerFactory(); field in class:UnicodeTransform
27 return factory;
30 public static synchronized void setFactory(Factory factory) { argument
31 UnicodeTransform.factory = factory;
35 return factory.getInstance(type);
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTestUnicodeProperty.java31 Factory factory = ICUPropertyFactory.make();
32 UnicodeProperty property = factory.getProperty("gc");
42 Factory factory = ICUPropertyFactory.make();
43 UnicodePropertySymbolTable upst = new UnicodePropertySymbolTable(factory);
59 Factory factory = new MyUnicodePropertyFactory();
60 UnicodePropertySymbolTable upst = new UnicodePropertySymbolTable(factory);
115 public MyUnicodePropertySymbolTable(Factory factory) { argument
116 super(factory);
/external/javassist/src/main/javassist/scopedpool/
H A DScopedClassPoolRepositoryImpl.java51 /** The factory for creating class pools */
52 protected ScopedClassPoolFactory factory = new ScopedClassPoolFactoryImpl(); field in class:ScopedClassPoolRepositoryImpl
99 return factory.create(cl, src, this);
180 public void setClassPoolFactory(ScopedClassPoolFactory factory) { argument
181 this.factory = factory;
185 return factory;
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/
H A Ddxgid3d11.cpp50 ComPtr<IDXGIFactory1> factory; local
51 hr = CreateDXGIFactory1(IID_IDXGIFactory1, (void**)&factory);
54 hr = factory->EnumAdapters1(0, &adapter_to_release);
114 ComPtr<IDXGIFactory> factory; local
125 adapter->GetParent(IID_IDXGIFactory, (void**)&factory);
126 hr = factory->CreateSwapChain(dev.p, (DXGI_SWAP_CHAIN_DESC*)pSwapChainDesc, out_swap_chain);
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
H A DOkUrlFactoryTest.java31 private OkUrlFactory factory; field in class:OkUrlFactoryTest
38 factory = new OkUrlFactory(client);
48 HttpURLConnection conn = factory.open(server.getUrl("/"));
59 HttpURLConnection connection = factory.open(server.getUrl("/"));
67 HttpURLConnection connection = factory.open(server.getUrl("/"));
78 HttpURLConnection connection1 = factory.open(server.getUrl("/"));
82 HttpURLConnection connection2 = factory.open(server.getUrl("/"));
94 HttpURLConnection connection1 = factory.open(server.getUrl("/"));
98 HttpURLConnection connection2 = factory.open(server.getUrl("/"));
108 HttpURLConnection connection1 = factory
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTabSpec.java97 public android.widget.TabHost.TabSpec setContent(TabContentFactory factory) { argument
98 contentView = factory.createTabContent(this.tag);
/external/sfntly/cpp/src/test/
H A Dfont_parsing_test.cc38 FontFactoryPtr factory; local
39 factory.Attach(FontFactory::GetInstance());
42 BuilderForFontFile(SAMPLE_TTF_FILE, factory, &font_builder_array);
46 factory->LoadFontsForBuilding(&input_buffer, &font_builder_array2);
102 FontFactoryPtr factory; local
103 factory.Attach(FontFactory::GetInstance());
105 BuilderForFontFile(SAMPLE_TTF_FILE, factory, &font_builder_array);
110 factory->SerializeFont(font, &output_stream);
120 FontFactoryPtr factory; local
121 factory
[all...]
H A Dname_editing_test.cc38 void LoadTestFile(FontFactory* factory, FontBuilderArray* font_builders) { argument
39 assert(factory);
44 factory->LoadFontsForBuilding(&input_buffer, font_builders);
48 FontFactoryPtr factory; local
49 factory.Attach(FontFactory::GetInstance());
51 LoadTestFile(factory, &font_builder_array);
72 factory->SerializeFont(font, &os);
76 factory->LoadFonts(&is, &font_array);
92 FontFactoryPtr factory; local
93 factory
143 FontFactoryPtr factory; local
[all...]
H A Dtest_font_utils.cc27 void BuilderForFontFile(const char* font_path, FontFactory* factory, argument
29 assert(factory);
32 factory->LoadFontsForBuilding(&is, builders);
36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { argument
38 assert(factory);
41 factory->SerializeFont(font, &output_stream);
45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { argument
48 factory->LoadFonts(&is, fonts);
57 FontFactoryPtr factory; local
58 factory
[all...]
/external/skia/include/core/
H A DSkFlattenable.h19 * 2. call flatten(buffer) to write out enough data for the factory to read
21 * Unflattening is easy for the caller: new_instance = factory(buffer)
30 * a thin factory DeepCreateProc. It checks the version of the buffer, and if it is pre-deep,
32 * If the buffer is newer, then it directly calls the "real" factory: CreateProc.
89 /** Implement this to return a factory function pointer that can be called
107 Registrar(const char name[], Factory factory, Type type) { argument
108 SkFlattenable::Register(name, factory, type);
/external/skia/include/gpu/
H A DGrProcessorUnitTest.h54 GrProcessorTestFactory<Processor>* factory = (*GetFactories())[idx]; local
55 return factory->fCreateProc(random, context, caps, dummyTextures);
/external/skia/samplecode/
H A DSamplePictFile.cpp163 SkAutoTDelete<SkBBHFactory> factory; local
169 factory.reset(SkNEW(SkRTreeFactory));
178 factory.get(), 0));
/external/skia/src/core/
H A DSkFlattenable.cpp14 uint32_t SkNamedFactorySet::find(SkFlattenable::Factory factory) { argument
15 uint32_t index = fFactorySet.find(factory);
19 const char* name = SkFlattenable::FactoryToName(factory);
24 return fFactorySet.add(factory);
62 void SkFlattenable::Register(const char name[], Factory factory, SkFlattenable::Type type) { argument
64 SkASSERT(factory);
75 gEntries[gCount].fFactory = factory;
83 SkDebugf("%s has no registered name/factory/type entries."
/external/skia/src/ports/
H A DSkTypeface_win_dw.h40 IDWriteFactory* factory,
47 , fFactory(SkRefComPtr(factory))
74 static DWriteFontTypeface* Create(IDWriteFactory* factory, argument
82 factory, fontFace, font, fontFamily,
39 DWriteFontTypeface(const SkFontStyle& style, SkFontID fontID, IDWriteFactory* factory, IDWriteFontFace* fontFace, IDWriteFont* font, IDWriteFontFamily* fontFamily, IDWriteFontFileLoader* fontFileLoader = NULL, IDWriteFontCollectionLoader* fontCollectionLoader = NULL) argument
/external/skia/src/utils/win/
H A DSkDWrite.cpp23 static void create_dwrite_factory(IDWriteFactory** factory) { argument
38 reinterpret_cast<IUnknown**>(factory)),
39 "Could not create DirectWrite factory.");
/external/skia/tests/
H A DPictureBBHTest.cpp40 void run(SkBBHFactory* factory, skiatest::Reporter* reporter) { argument
46 factory);
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/spi/
H A DLoggerRepository.java74 public Logger getLogger(String name, LoggerFactory factory); argument
/external/v8/src/ic/
H A Daccess-compiler.h50 Factory* factory() const { return isolate()->factory(); } function in class:v8::internal::BASE_EMBEDDED
/external/v8/test/cctest/compiler/
H A Dgraph-builder-tester.h101 Factory* factory() const { return isolate()->factory(); } function in class:v8::internal::compiler::GraphBuilderTester
H A Dtest-js-constant-cache.cc49 Factory* factory() { return main_isolate()->factory(); } function in class:JSConstantCacheTester
240 Handle<Object> num = T.factory()->NewNumber(value);
241 Handle<HeapNumber> heap = T.factory()->NewHeapNumber(value);
254 CHECK_EQ(T.UndefinedConstant(), T.Constant(T.factory()->undefined_value()));
255 CHECK_EQ(T.TheHoleConstant(), T.Constant(T.factory()->the_hole_value()));
256 CHECK_EQ(T.TrueConstant(), T.Constant(T.factory()->true_value()));
257 CHECK_EQ(T.FalseConstant(), T.Constant(T.factory()->false_value()));
258 CHECK_EQ(T.NullConstant(), T.Constant(T.factory()->null_value()));
259 CHECK_EQ(T.NaNConstant(), T.Constant(T.factory()
[all...]
/external/v8/test/cctest/
H A Dtest-dictionary.cc34 #include "src/factory.h"
47 Factory* factory = isolate->factory(); local
49 Handle<JSObject> a = factory->NewJSArray(7);
50 Handle<JSObject> b = factory->NewJSArray(11);
64 table = HashMap::Put(table, a, factory->NewJSArray(13));
78 Handle<JSReceiver> key = factory->NewJSArray(7);
79 Handle<JSObject> value = factory->NewJSArray(11);
90 Handle<JSReceiver> key = factory->NewJSArray(7);
100 Handle<JSReceiver> key = factory
172 Factory* factory = isolate->factory(); local
218 Factory* factory = isolate->factory(); local
[all...]

Completed in 584 milliseconds

1234567891011>>