Home
last modified time | relevance | path

Searched refs:useCache (Results 1 – 19 of 19) sorted by relevance

/external/objenesis/main/src/main/java/org/objenesis/
DObjenesisStd.java40 public ObjenesisStd(boolean useCache) { in ObjenesisStd() argument
41 super(new StdInstantiatorStrategy(), useCache); in ObjenesisStd()
DObjenesisSerializer.java40 public ObjenesisSerializer(boolean useCache) { in ObjenesisSerializer() argument
41 super(new SerializingInstantiatorStrategy(), useCache); in ObjenesisSerializer()
DObjenesisBase.java52 public ObjenesisBase(InstantiatorStrategy strategy, boolean useCache) { in ObjenesisBase() argument
57 this.cache = useCache ? new ConcurrentHashMap<String, ObjectInstantiator<?>>() : null; in ObjenesisBase()
/external/javassist/src/main/javassist/
DClassPool.java494 protected synchronized CtClass get0(String classname, boolean useCache) in get0() argument
498 if (useCache) { in get0()
505 clazz = parent.get0(classname, useCache); in get0()
510 clazz = createCtClass(classname, useCache); in get0()
513 if (useCache) in get0()
520 clazz = parent.get0(classname, useCache); in get0()
532 protected CtClass createCtClass(String classname, boolean useCache) { in createCtClass() argument
539 if ((!useCache || getCached(base) == null) && find(base) == null) in createCtClass()
/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp256 bool useCache = fAllowCaching && !inverseFilled && args.fViewMatrix->preservesAxisAlignment() && in onDrawPath() local
273 if (useCache) { in onDrawPath()
283 useCache = false; in onDrawPath()
290 if (useCache) { in onDrawPath()
327 if (useCache) { in onDrawPath()
331 SkBackingFit fit = useCache ? SkBackingFit::kExact : SkBackingFit::kApprox; in onDrawPath()
373 if (useCache) { in onDrawPath()
DGrBlurUtils.cpp308 bool useCache = false; in draw_shape_with_mask_filter() local
310 bool useCache = !inverseFilled && viewMatrix.preservesAxisAlignment() && in draw_shape_with_mask_filter() local
315 if (useCache) { in draw_shape_with_mask_filter()
333 useCache = false; in draw_shape_with_mask_filter()
341 if (useCache) { in draw_shape_with_mask_filter()
/external/skqp/tools/viewer/
DNIMASlide.cpp158 bool useCache = SkToBool(fRenderFlags & kCache_RenderFlag); in renderGUI() local
160 ImGui::Checkbox("Cache Vertices", &useCache); in renderGUI()
161 if (useCache) { in renderGUI()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp242 bool useCache = fAllowCaching && !inverseFilled && args.fViewMatrix->preservesAxisAlignment() && in onDrawPath() local
259 if (useCache) { in onDrawPath()
269 useCache = false; in onDrawPath()
276 if (useCache) { in onDrawPath()
317 if (useCache) { in onDrawPath()
327 SkBackingFit fit = useCache ? SkBackingFit::kExact : SkBackingFit::kApprox; in onDrawPath()
371 if (useCache) { in onDrawPath()
DGrBlurUtils.cpp292 bool useCache = !inverseFilled && viewMatrix.preservesAxisAlignment() && in compute_key_and_clip_bounds() local
295 if (useCache) { in compute_key_and_clip_bounds()
313 useCache = false; in compute_key_and_clip_bounds()
320 if (useCache) { in compute_key_and_clip_bounds()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineEarlyDestroyTests.cpp325 tcu::TestStatus testEarlyDestroyKeepLayout (Context& context, bool useCache) in testEarlyDestroyKeepLayout() argument
327 return testEarlyDestroy (context, useCache, false); in testEarlyDestroyKeepLayout()
330 tcu::TestStatus testEarlyDestroyDestroyLayout (Context& context, bool useCache) in testEarlyDestroyDestroyLayout() argument
332 return testEarlyDestroy (context, useCache, true); in testEarlyDestroyDestroyLayout()
DvktPipelineMatchedAttachmentsTests.cpp341 const MatchedAttachmentsTestParams useCache = { true }; in addMatchedAttachmentsTestCasesWithFunctions() local
342 addFunctionCaseWithPrograms(group, "cache", "", initPrograms, testMatchedAttachments, useCache); in addMatchedAttachmentsTestCasesWithFunctions()
/external/javassist/src/test/test/javassist/proxy/
DProxyCacheGCTest.java43 ProxyFactory.useCache = false; in testCacheGC()
54 ProxyFactory.useCache = true; in testCacheGC()
DProxyFactoryCompatibilityTest.java46 System.out.println("ProxyFactory.useCache = " + ProxyFactory.useCache); in testFactoryCompatibility()
/external/skqp/experimental/nima/
DNimaActor.cpp142 bool useCache = renderFlags & kCache_RenderFlag; in render() local
146 useCache &= !useImmediate; in render()
152 this->updateVertices(!useCache); in render()
/external/javassist/src/test/testproxy/
DProxyTester.java334 boolean prev = ProxyFactory.useCache; in testCache()
335 ProxyFactory.useCache = true; in testCache()
346 ProxyFactory.useCache = true; in testCache()
359 ProxyFactory.useCache = prev; in testCache()
DProxyFactoryPerformanceTest.java83 ProxyFactory.useCache = args.length == 0; in main()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyResourcesImpl.java156 …urces wrapper, TypedValue value, int id, Resources.Theme theme, boolean useCache) throws Resources… in loadDrawable() argument
162 from(boolean.class, useCache) in loadDrawable()
DShadowArscResourcesImpl.java157 …urces wrapper, TypedValue value, int id, Resources.Theme theme, boolean useCache) throws Resources… in loadDrawable() argument
163 from(boolean.class, useCache) in loadDrawable()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java265 public static volatile boolean useCache = true; field in ProxyFactory
306 public void setUseCache(boolean useCache) in setUseCache() argument
310 if (handler != null && useCache) { in setUseCache()
313 factoryUseCache = useCache; in setUseCache()
393 factoryUseCache = useCache; in ProxyFactory()