Home
last modified time | relevance | path

Searched refs:FACTORY (Results 1 – 25 of 98) sorted by relevance

1234

/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/
DSmaliElementTypes.java53 new SmaliCompositeElementType("LITERAL", SmaliLiteral.FACTORY);
55 new SmaliCompositeElementType("SUPER_STATEMENT", SmaliSuperStatement.FACTORY);
57 new SmaliCompositeElementType("IMPLEMENTS_STATEMENT", SmaliImplementsStatement.FACTORY);
59 new SmaliCompositeElementType("SOURCE_STATEMENT", SmaliSourceStatement.FACTORY);
61 new SmaliCompositeElementType("REGISTERS_STATEMENT", SmaliRegistersStatement.FACTORY);
63 new SmaliCompositeElementType("REGISTER_REFERENCE", SmaliRegisterReference.FACTORY);
65 new SmaliCompositeElementType("MEMBER_NAME", SmaliMemberName.FACTORY);
67 new SmaliCompositeElementType("LOCAL_NAME", SmaliLocalName.FACTORY);
69 new SmaliCompositeElementType("PARAMETER_STATEMENT", SmaliParameterStatement.FACTORY);
71 new SmaliCompositeElementType("FIELD_INITIALIZER", SmaliFieldInitializer.FACTORY);
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DArrayGenerationTest.java15 private final JsonFactory FACTORY = new JsonFactory(); field in ArrayGenerationTest
127 JsonGenerator gen = useBytes ? FACTORY.createGenerator(bytes) in _testIntArray()
128 : FACTORY.createGenerator(sw); in _testIntArray()
140 JsonParser p = useBytes ? FACTORY.createParser(bytes.toByteArray()) in _testIntArray()
141 : FACTORY.createParser(json); in _testIntArray()
168 JsonGenerator gen = useBytes ? FACTORY.createGenerator(bytes) in _testLongArray()
169 : FACTORY.createGenerator(sw); in _testLongArray()
181 JsonParser p = useBytes ? FACTORY.createParser(bytes.toByteArray()) in _testLongArray()
182 : FACTORY.createParser(json); in _testLongArray()
209 JsonGenerator gen = useBytes ? FACTORY.createGenerator(bytes) in _testDoubleArray()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DStringGenerationFromReaderTest.java23 private final JsonFactory FACTORY = new JsonFactory(); field in StringGenerationFromReaderTest
135 JsonGenerator gen = (readMode != MODE_READER) ? FACTORY.createGenerator(bytes) in _testMediumStrings()
136 : FACTORY.createGenerator(sw); in _testMediumStrings()
146 p = FACTORY.createParser(sw.toString()); in _testMediumStrings()
148 p = createParser(FACTORY, readMode, bytes.toByteArray()); in _testMediumStrings()
162 JsonGenerator gen = FACTORY.createGenerator(sw); in doTestBasicEscaping()
184 JsonGenerator gen = FACTORY.createGenerator(bow, JsonEncoding.UTF8); in _testLongerRandom()
191 JsonParser p = createParser(FACTORY, readMode, docData); in _testLongerRandom()
216 JsonGenerator gen = FACTORY.createGenerator(bow, JsonEncoding.UTF8); in _testLongerRandomMulti()
223 gen = FACTORY.createGenerator(bow, JsonEncoding.UTF8); in _testLongerRandomMulti()
[all …]
DStringGenerationTest.java24 private final JsonFactory FACTORY = new JsonFactory(); field in StringGenerationTest
139 JsonGenerator gen = (readMode != MODE_READER) ? FACTORY.createGenerator(bytes) in _testMediumStrings()
140 : FACTORY.createGenerator(sw); in _testMediumStrings()
148 p = FACTORY.createParser(sw.toString()); in _testMediumStrings()
150 p = createParser(FACTORY, readMode, bytes.toByteArray()); in _testMediumStrings()
164 JsonGenerator gen = FACTORY.createGenerator(sw); in doTestBasicEscaping()
191 JsonGenerator gen = FACTORY.createGenerator(bow, JsonEncoding.UTF8); in _testLongerRandom()
204 JsonParser p = createParser(FACTORY, readMode, docData); in _testLongerRandom()
229 JsonGenerator gen = FACTORY.createGenerator(bow, JsonEncoding.UTF8); in _testLongerRandomMulti()
236 gen = FACTORY.createGenerator(bow, JsonEncoding.UTF8); in _testLongerRandomMulti()
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DUTF32ParseTest.java10 private final JsonFactory FACTORY = new JsonFactory(); field in UTF32ParseTest
20 JsonParser parser = FACTORY.createParser(data, 0, len); in testSimpleEOFs()
46 JsonParser parser = FACTORY.createParser(data); in testSimpleInvalidUTF32()
59 JsonParser parser = FACTORY.createParser(/*ObjectReadContext.empty(), */data); in testSimpleSevenNullBytes()
DNumberParsingTest.java23 private final JsonFactory FACTORY = sharedStreamFactory(); field in NumberParsingTest
417 JsonParser p = FACTORY.createParser(r); in testFloatBoundary146Chars()
434 JsonParser p = FACTORY.createParser(in); in testFloatBoundary146Bytes()
548 p = FACTORY.createParser(DOC); in testParsingOfLongerSequences()
607 ? FACTORY.createParser(doc.getBytes("UTF-8")) in _testIssue160LongNumbers()
608 : FACTORY.createParser(doc); in _testIssue160LongNumbers()
752 p = FACTORY.createParser(new StringReader(DOC)); in testLongerFloatingPoint()
756 p = FACTORY.createParser(new ByteArrayInputStream(DOC.getBytes("UTF-8"))); in testLongerFloatingPoint()
DNumberOverflowTest.java11 private final JsonFactory FACTORY = new JsonFactory(); field in NumberOverflowTest
38 JsonParser p = createParser(FACTORY, mode, DOC_BELOW); in testSimpleLongOverflow()
/external/skqp/src/utils/
DSkShadowUtils.cpp207 template <typename FACTORY, int MAX_ENTRIES>
212 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, in find()
233 sk_sp<SkVertices> add(const SkPath& path, const FACTORY& factory, const SkMatrix& matrix, in add()
255 FACTORY fFactory;
292 template <typename FACTORY>
293 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, in find()
309 template <typename FACTORY>
311 FindContext(const SkMatrix* viewMatrix, const FACTORY* factory) in FindContext()
323 const FACTORY* fFactory;
331 template <typename FACTORY>
[all …]
/external/skia/src/utils/
DSkShadowUtils.cpp241 template <typename FACTORY, int MAX_ENTRIES>
246 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, in find()
267 sk_sp<SkVertices> add(const SkPath& path, const FACTORY& factory, const SkMatrix& matrix, in add()
289 FACTORY fFactory;
326 template <typename FACTORY>
327 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix, in find()
343 template <typename FACTORY>
345 FindContext(const SkMatrix* viewMatrix, const FACTORY* factory) in FindContext()
357 const FACTORY* fFactory;
365 template <typename FACTORY>
[all …]
/external/dagger2/javatests/dagger/internal/codegen/
DComponentCreatorTest.java31 import static dagger.internal.codegen.binding.ComponentCreatorKind.FACTORY;
347 FACTORY, in testCreatorWithBindsInstanceNoStaticCreateGenerated()
377 FACTORY, in testCreatorWithBindsInstanceNoStaticCreateGenerated()
406 FACTORY, in testCreatorWithBindsInstanceNoStaticCreateGenerated()
448 FACTORY, in testCreatorWithPrimitiveBindsInstance()
496 FACTORY, in testCreatorWithPrimitiveBindsInstance()
692 FACTORY, in testCreatorSetterForNonBindsInstancePrimitiveFails()
830 FACTORY, in testMultipleSettersPerTypeFails()
892 FACTORY, in testMultipleSettersPerTypeIncludingResolvedGenericsFails()
939 FACTORY, in testExtraSettersFails()
DSubcomponentCreatorValidationTest.java25 import static dagger.internal.codegen.binding.ComponentCreatorKind.FACTORY;
533 FACTORY, in testMultipleSettersPerTypeFails()
605 FACTORY, in testMultipleSettersPerTypeIncludingResolvedGenericsFails()
664 FACTORY, in testMultipleSettersPerBoundInstanceTypeFails()
676 String firstBinding = creatorKind.equals(FACTORY) in testMultipleSettersPerBoundInstanceTypeFails()
679 String secondBinding = creatorKind.equals(FACTORY) in testMultipleSettersPerBoundInstanceTypeFails()
724 FACTORY, in testExtraSettersFails()
735 creatorKind.equals(FACTORY) in testExtraSettersFails()
DComponentCreatorTestHelper.java20 import static dagger.internal.codegen.binding.ComponentCreatorKind.FACTORY;
64 if (creatorKind.equals(FACTORY)) { in process()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DUnivariateRealSolverUtils.java57 return LazyHolder.FACTORY.newDefaultSolver().solve(f, x0, x1); in solve()
80 UnivariateRealSolver solver = LazyHolder.FACTORY.newDefaultSolver(); in solve()
236 …private static final UnivariateRealSolverFactory FACTORY = UnivariateRealSolverFactory.newInstance… field in UnivariateRealSolverUtils.LazyHolder
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveStreamFactoryTest.java196 private static final ArchiveStreamFactory FACTORY = new ArchiveStreamFactory(); field in ArchiveStreamFactoryTest
276 … new TestData("bla.arj", ArchiveStreamFactory.ARJ, false, ARJ_DEFAULT, FACTORY, "charsetName"),
282 … new TestData("bla.cpio", ArchiveStreamFactory.CPIO, true, CPIO_DEFAULT, FACTORY, "encoding"),
288 … new TestData("bla.dump", ArchiveStreamFactory.DUMP, false, DUMP_DEFAULT, FACTORY, "encoding"),
294 new TestData("bla.tar", ArchiveStreamFactory.TAR, true, TAR_DEFAULT, FACTORY, "encoding"),
300 new TestData("bla.jar", ArchiveStreamFactory.JAR, true, JAR_DEFAULT, FACTORY, "encoding"),
306 new TestData("bla.zip", ArchiveStreamFactory.ZIP, true, ZIP_DEFAULT, FACTORY, "encoding"),
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowRegionalVariants.java43 private static final Factory FACTORY = CONFIG.getCldrFactory(); field in ShowRegionalVariants
73 for (String locale : FACTORY.getAvailable()) { in main()
122 … CLDRFile parentFile = FACTORY.make(parent.toString(), true, DraftStatus.contributed); in main()
134 CLDRFile childFile = FACTORY.make(childString, false, DraftStatus.contributed); in main()
205 parentChain.add(FACTORY.make(current.toString(), true)); in main()
/external/dagger2/java/dagger/internal/codegen/binding/
DErrorMessages.java40 private static final UnaryOperator<String> FACTORY = s -> s.replace("Builder", "Factory"); field in ErrorMessages
68 case FACTORY: in creatorMessagesFor()
296 super(transformation.andThen(FACTORY)); in FactoryMessages()
/external/dagger2/java/dagger/internal/codegen/writing/
DMemberSelect.java25 import static dagger.internal.codegen.javapoet.TypeNames.FACTORY;
155 owningClass, ImmutableList.copyOf(parameters), CodeBlock.of("create()"), FACTORY); in parameterizedFactoryCreateMethod()
199 FACTORY); in emptySetFactory()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifResourceEncoder.java26 private static final Factory FACTORY = new Factory(); field in GifResourceEncoder
33 this(bitmapPool, FACTORY); in GifResourceEncoder()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliLineDebugStatement.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliLineDebugStatement
DSmaliEpilogueDebugStatement.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliEpilogueDebugStatement
DSmaliRestartLocalDebugStatement.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliRestartLocalDebugStatement
DSmaliFieldInitializer.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliFieldInitializer
DSmaliSourceDebugStatement.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliSourceDebugStatement
DSmaliSourceStatement.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliSourceStatement
DSmaliPrologueDebugStatement.java38 public static final SmaliCompositeElementFactory FACTORY = new SmaliCompositeElementFactory() { field in SmaliPrologueDebugStatement

1234