Home
last modified time | relevance | path

Searched refs:creator (Results 1 – 25 of 198) sorted by relevance

12345678

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DDiskLruCacheTest.java156 DiskLruCache.Editor creator = cache.edit("k1"); in writeAndReadEntry() local
157 setString(creator, 0, "ABC"); in writeAndReadEntry()
158 setString(creator, 1, "DE"); in writeAndReadEntry()
159 assertNull(creator.newSource(0)); in writeAndReadEntry()
160 assertNull(creator.newSource(1)); in writeAndReadEntry()
161 creator.commit(); in writeAndReadEntry()
169 DiskLruCache.Editor creator = cache.edit("k1"); in readAndWriteEntryAcrossCacheOpenAndClose() local
170 setString(creator, 0, "A"); in readAndWriteEntryAcrossCacheOpenAndClose()
171 setString(creator, 1, "B"); in readAndWriteEntryAcrossCacheOpenAndClose()
172 creator.commit(); in readAndWriteEntryAcrossCacheOpenAndClose()
[all …]
/external/guice/core/test/com/google/inject/
DSuperclassTest.java34 Provider<Sub> creator = injector.getProvider(Sub.class); in testSuperclassInjection() local
35 Sub sub = creator.get(); in testSuperclassInjection()
36 sub = creator.get(); in testSuperclassInjection()
37 sub = creator.get(); in testSuperclassInjection()
38 sub = creator.get(); in testSuperclassInjection()
39 sub = creator.get(); in testSuperclassInjection()
/external/python/cpython2/Lib/xml/dom/
Ddomreg.py53 creator = None
67 for creator in registered.values():
68 dom = creator()
72 for creator in well_known_implementations.keys():
74 dom = getDOMImplementation(name = creator)
/external/python/cpython3/Lib/xml/dom/
Ddomreg.py53 creator = None
67 for creator in registered.values():
68 dom = creator()
72 for creator in well_known_implementations.keys():
74 dom = getDOMImplementation(name = creator)
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_domain_isolator.cc29 HloDomainIsolator::DomainCreator* creator) { in RunInternal() argument
47 HloInstruction* domain = (*creator)(instruction, root, operand); in RunInternal()
66 DomainCreator creator = creator_factory_(); in Run() local
67 return RunInternal(module, &creator); in Run()
/external/python/cpython2/Mac/Modules/
DMacOS.c295 PyObject *creator, *type, *res; in MacOS_GetCreatorAndType() local
320 creator = PyString_FromStringAndSize( in MacOS_GetCreatorAndType()
323 res = Py_BuildValue("OO", creator, type); in MacOS_GetCreatorAndType()
324 Py_DECREF(creator); in MacOS_GetCreatorAndType()
353 creator = PyString_FromStringAndSize((char*)&(finfo->fileCreator), 4); in MacOS_GetCreatorAndType()
356 res = Py_BuildValue("OO", creator, type); in MacOS_GetCreatorAndType()
357 Py_DECREF(creator); in MacOS_GetCreatorAndType()
367 ResType creator, type; in MacOS_SetCreatorAndType() local
374 PyMac_GetFSRef, &ref, PyMac_GetOSType, &creator, PyMac_GetOSType, &type)) { in MacOS_SetCreatorAndType()
381 PyMac_GetFSSpec, &fss, PyMac_GetOSType, &creator, PyMac_GetOSType, &type)) in MacOS_SetCreatorAndType()
[all …]
Dicgluemodule.c314 OSType type, creator; in ici_ICMapTypeCreator() local
320 PyMac_GetOSType, &creator, in ici_ICMapTypeCreator()
323 if ((err=ICMapTypeCreator(self->inst, type, creator, filename, &entry)) != 0 ) in ici_ICMapTypeCreator()
360 newiciobject(OSType creator) in newiciobject() argument
368 if ((err=ICStart(&self->inst, creator)) != 0 ) { in newiciobject()
430 OSType creator; in ic_ICStart() local
432 if (!PyArg_ParseTuple(args, "O&", PyMac_GetOSType, &creator)) in ic_ICStart()
434 return (PyObject *)newiciobject(creator); in ic_ICStart()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DBenchmarkCreatorTest.java34 BenchmarkCreator creator = new BenchmarkCreator(PublicDefaultConstructorNoParamBenchmark.class, in publicDefaultConstructorNoParamBenchmark() local
37 Object benchmarkInstance = creator.createBenchmarkInstance(); in publicDefaultConstructorNoParamBenchmark()
46 BenchmarkCreator creator = new BenchmarkCreator( in publicDefaultConstructorWithParamBenchmark() local
50 Object benchmarkInstance = creator.createBenchmarkInstance(); in publicDefaultConstructorWithParamBenchmark()
/external/python/cpython2/Doc/library/
Dic.rst39 Create an Internet Config object. The signature is a 4-character creator code of
49 maptypecreator(type, creator[, filename])
99 The mapping entry is returned as a tuple ``(version, type, creator, postcreator,
101 is the entry version number, *type* is the 4-character filetype, *creator* is
102 the 4-character creator type, *postcreator* is the 4-character creator code of
111 .. method:: IC.maptypecreator(type, creator[, filename])
113 Return the mapping entry for files with given 4-character *type* and *creator*
115 correct entry (if the creator code is ``'????'``, for instance).
123 result, set its creator and type correctly based on its extension. The finder
Dmacos.rst81 Return the file creator and file type as two four-character strings. The *file*
89 .. function:: SetCreatorAndType(file, creator, type)
91 Set the file creator and file type. The *file* parameter can be a pathname or an
92 ``FSSpec`` or ``FSRef`` object. *creator* and *type* must be four character
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletScopes.java64 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { in scope() argument
94 t = creator.get(); in scope()
115 return creator.get(); in scope()
126 t = creator.get(); in scope()
137 return String.format("%s[%s]", creator, REQUEST); in scope()
153 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { in scope() argument
167 t = creator.get(); in scope()
178 return String.format("%s[%s]", creator, SESSION); in scope()
/external/guice/core/src/com/google/inject/internal/
DSingletonScope.java85 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { in scope() argument
117 if (creator instanceof ProviderToInternalFactoryAdapter) { in scope()
118 injector = ((ProviderToInternalFactoryAdapter) creator).getInjector(); in scope()
148 T provided = creator.get(); in scope()
280 return String.format("%s[%s]", creator, Scopes.SINGLETON); in scope()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DArchiver.java197 private void create(File directory, ArchiveEntryCreator creator, ArchiveEntryConsumer consumer, in create() argument
199 create("", directory, creator, consumer); in create()
203 …private void create(String prefix, File directory, ArchiveEntryCreator creator, ArchiveEntryConsum… in create() argument
211 consumer.accept(f, creator.create(f, entryName)); in create()
213 create(entryName, f, creator, consumer); in create()
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dop_kernel_templates.h68 auto creator = [ctx, in Compute()
93 cinfo_.container(), cinfo_.name(), &resource, creator)); in Compute()
132 auto creator = [resource](T** ret) EXCLUSIVE_LOCKS_REQUIRED(mu_) { in RegisterAlias()
140 cinfo_.container(), cinfo_.name(), &alias_resource, creator); in RegisterAlias()
198 auto creator = [ctx, this, fallback_table]( in Compute()
228 cinfo_.container(), cinfo_.name(), &table, creator)); in Compute()
269 auto creator = [resource](T** ret) EXCLUSIVE_LOCKS_REQUIRED(mu_) { in RegisterAlias()
277 cinfo_.container(), cinfo_.name(), &alias_resource, creator); in RegisterAlias()
/external/python/cpython2/Mac/Modules/icn/
D_Icnmodule.c802 OSType creator; in Icn_GetIconRef() local
810 PyMac_GetOSType, &creator, in Icn_GetIconRef()
814 creator, in Icn_GetIconRef()
859 OSType creator; in Icn_RegisterIconRefFromIconFamily() local
867 PyMac_GetOSType, &creator, in Icn_RegisterIconRefFromIconFamily()
871 _err = RegisterIconRefFromIconFamily(creator, in Icn_RegisterIconRefFromIconFamily()
885 OSType creator; in Icn_RegisterIconRefFromResource() local
894 PyMac_GetOSType, &creator, in Icn_RegisterIconRefFromResource()
899 _err = RegisterIconRefFromResource(creator, in Icn_RegisterIconRefFromResource()
914 OSType creator; in Icn_RegisterIconRefFromFSRef() local
[all …]
/external/vulkan-validation-layers/
D.gitignore27 *.creator
28 *.creator.user
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dcustom_graph_optimizer_registry.h45 const CustomGraphOptimizerRegistry::Creator& creator, in CustomGraphOptimizerRegistrar() argument
47 CustomGraphOptimizerRegistry::RegisterOptimizerOrDie(creator, name); in CustomGraphOptimizerRegistrar()
Dcustom_graph_optimizer_registry_test.cc82 const auto creator = []() { return new TestGraphOptimizer; }; in TEST() local
84 creator, "StaticRegister"), in TEST()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowParcel.java53 Parcelable.Creator<?> creator = readParcelableCreator(loader); in readParcelable() local
54 if (creator == null) { in readParcelable()
58 if (creator instanceof Parcelable.ClassLoaderCreator<?>) { in readParcelable()
60 (Parcelable.ClassLoaderCreator<?>) creator; in readParcelable()
63 return (T) creator.createFromParcel(realObject); in readParcelable()
76 Parcelable.Creator<?> creator; in readParcelableCreator() local
109 creator = (Parcelable.Creator<?>) f.get(null); in readParcelableCreator()
123 if (creator == null) { in readParcelableCreator()
128 return creator; in readParcelableCreator()
/external/libxml2/
Dcheck-xinclude-test-suite.py173 creator = case.prop('creator')
174 if creator != None:
175 print "=>", creator
/external/python/cpython2/Lib/plat-mac/
Dic.py223 def maptypecreator(self, type, creator, filename=""): argument
224 return self.ic.ICMapTypeCreator(type, creator, filename)
250 def maptypecreator(type, creator, filename=""): argument
253 return _dft_ic.maptypecreator(type, creator, filename)
Dbundlebuilder.py91 creator = None variable in BundleBuilder
132 if self.creator is None:
134 self.creator = plist.CFBundleSignature
136 self.creator = "????"
137 plist.CFBundleSignature = self.creator
183 assert len(self.type) == len(self.creator) == 4, \
187 f.write(self.type + self.creator)
887 builder.creator = arg
/external/python/cpython2/Lib/email/test/data/
Dmsg_22.txt16 ; x-mac-creator="474B4F4E"
30 ; x-mac-creator="474B4F4E"
/external/python/cpython3/Lib/test/test_email/data/
Dmsg_22.txt16 ; x-mac-creator="474B4F4E"
30 ; x-mac-creator="474B4F4E"
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperimentModule.java65 static Object provideRunningBenchmark(BenchmarkCreator creator) { in provideRunningBenchmark() argument
66 return creator.createBenchmarkInstance(); in provideRunningBenchmark()

12345678