Home
last modified time | relevance | path

Searched refs:hasExtension (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/src/gpu/gl/
DGrGLCaps.cpp135 ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in init()
136 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()
141 ctxInfo.hasExtension("GL_ARB_texture_swizzle"); in init()
153 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
154 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
156 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
158 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
162 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init()
167 ctxInfo.hasExtension("GL_ARB_texture_storage") || in init()
168 ctxInfo.hasExtension("GL_EXT_texture_storage"); in init()
[all …]
DGrGLContext.h61 bool hasExtension(const char* ext) const { in hasExtension() function
65 return fInterface->hasExtension(ext); in hasExtension()
DGrGLGpu.h186 bool hasExtension(const char* ext) const { return fGLContext.hasExtension(ext); } in hasExtension() function
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMimeTypeMapTest.java22 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests()
28 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests_anotherTime()
42 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in byDefaultThereShouldBeNoMapping()
43 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in byDefaultThereShouldBeNoMapping()
52 assertTrue(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in addingMappingShouldWorkCorrectly()
53 assertTrue(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in addingMappingShouldWorkCorrectly()
72 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in clearMappingsShouldRemoveAllMappings()
73 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in clearMappingsShouldRemoveAllMappings()
75 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_MIMETYPE)); in clearMappingsShouldRemoveAllMappings()
84 assertFalse(MimeTypeMap.getSingleton().hasExtension("foo")); in unknownExtensionShouldProvideNothing()
/external/proguard/src/proguard/
DClassPathEntry.java135 return hasExtension(".dex"); in isDex()
144 return hasExtension(".apk") || in isApk()
145 hasExtension(".ap_"); in isApk()
154 return hasExtension(".jar"); in isJar()
163 return hasExtension(".aar"); in isAar()
172 return hasExtension(".war"); in isWar()
181 return hasExtension(".ear"); in isEar()
190 return hasExtension(".zip"); in isZip()
197 private boolean hasExtension(String extension) in hasExtension() method in ClassPathEntry
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java1449 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1450 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1451 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1452 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1453 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1454 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet()
1455 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet()
1456 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet()
1457 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet()
1458 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet()
[all …]
DNanoTest.java2838 assertFalse(message.hasExtension(RepeatedExtensions.repeatedInt32)); in testExtensions()
2840 assertTrue(message.hasExtension(RepeatedExtensions.repeatedInt32)); in testExtensions()
2841 assertFalse(message.hasExtension(RepeatedExtensions.repeatedUint32)); in testExtensions()
2843 assertTrue(message.hasExtension(RepeatedExtensions.repeatedUint32)); in testExtensions()
2845 assertFalse(message.hasExtension(RepeatedExtensions.repeatedInt64)); in testExtensions()
2847 assertTrue(message.hasExtension(RepeatedExtensions.repeatedInt64)); in testExtensions()
2848 assertFalse(message.hasExtension(RepeatedExtensions.repeatedUint64)); in testExtensions()
2850 assertTrue(message.hasExtension(RepeatedExtensions.repeatedUint64)); in testExtensions()
2851 assertFalse(message.hasExtension(RepeatedExtensions.repeatedSint64)); in testExtensions()
2853 assertTrue(message.hasExtension(RepeatedExtensions.repeatedSint64)); in testExtensions()
[all …]
DDescriptorsTest.java366 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
374 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
382 enumType.getOptions().hasExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
390 service.getOptions().hasExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
398 method.getOptions().hasExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
DGeneratedMessageTest.java679 .hasExtension(UnittestProto.optionalInt32Extension)); in testClearExtension()
699 assertTrue(merged.hasExtension(UnittestProto.optionalInt32Extension)); in testExtensionMergeFrom()
742 .hasExtension(UnittestLite.optionalInt32ExtensionLite)); in testClearLiteExtension()
763 assertTrue(merged.hasExtension(UnittestLite.optionalInt32ExtensionLite)); in testLiteExtensionMergeFrom()
803 TestAllExtensions.getDefaultInstance().hasExtension( in testMultipleFilesOption()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java75 private boolean hasExtension; field in Phonenumber.PhoneNumber
77 public boolean hasExtension() { return hasExtension; } in hasExtension() method in Phonenumber.PhoneNumber
83 hasExtension = true; in setExtension()
88 hasExtension = false; in clearExtension()
201 if (other.hasExtension()) { in mergeFrom()
272 if (hasExtension()) { in toString()
DPhoneNumberUtil.java903 if (number.hasExtension()) {
1929 if (number.hasExtension() && number.getExtension().length() > 0) {
3063 if (firstNumber.hasExtension() &&
3067 if (secondNumber.hasExtension() &&
3072 if (firstNumber.hasExtension() && secondNumber.hasExtension() &&
/external/skia/src/utils/win/
DSkWGL_win.cpp15 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions
303 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try()
334 if (!extensions.hasExtension(dc, "WGL_EXT_create_context_es2_profile")) { in create_gl_context()
351 extensions.hasExtension(dc, "WGL_ARB_create_context")) { in create_gl_context()
385 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in create_gl_context()
393 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext()
418 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create()
419 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create()
447 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
DSkWGL.h70 bool hasExtension(HDC dc, const char* ext) const;
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassPathIterator.java34 return hasExtension(file.getName(), ".jar");
118 if (hasExtension(file.getName(), ".jar")) { in advance()
122 } else if (hasExtension(file.getName(), ".zip")) { in advance()
225 return hasExtension(name, ".class");
228 private static boolean hasExtension(String name, String ext) {
/external/skia/tools/timer/
DGpuTimer.cpp18 fContext->gl()->hasExtension("GL_ARB_timer_query") || in GpuTimer()
19 fContext->gl()->hasExtension("GL_EXT_timer_query"); in GpuTimer()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleExtensions.java57 boolean hasExtension = (extensions != null && extensions.size() > 0); in LocaleExtensions()
61 if (!hasExtension && !hasUAttributes && !hasUKeywords) { in LocaleExtensions()
69 if (hasExtension) { in LocaleExtensions()
/external/skia/tests/
DGLInterfaceValidationTest.cpp26 …!factory->getGLContext(GrContextFactory::kNative_GLContextType)->gl()->hasExtension("GL_NV_path_re… in DEF_GPUTEST()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMimeTypeMap.java69 public boolean hasExtension(String extension) { in hasExtension() method in ShadowMimeTypeMap
/external/skia/src/gpu/
DGrContextFactory.cpp66 if (!glInterface->hasExtension("GL_NV_path_rendering")) { in get()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtendableMessageNano.java74 public final boolean hasExtension(Extension<M, ?> extension) { in hasExtension() method in ExtendableMessageNano
/external/deqp/modules/egl/
DteglCreateContextExtTests.cpp441 bool hasExtension (const glw::Functions& gl, const char* extension) in hasExtension() function
571 if (hasExtension(gl, "GL_ARB_compatibility")) in checkVersionString()
844 if (!hasExtension(gl, "GL_ARB_robustness")) in validateCurrentContext()
852 if (!hasExtension(gl, "GL_EXT_robustness")) in validateCurrentContext()
DteglSurfacelessContextTests.cpp99 if (!eglu::hasExtension(egl, display, "EGL_KHR_surfaceless_context")) in executeForConfig()
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java145 <Type> boolean hasExtension( in hasExtension() method
192 public final <Type> boolean hasExtension( in hasExtension() method in GeneratedMessageLite.ExtendableMessage
379 public final <Type> boolean hasExtension( in hasExtension() method in GeneratedMessageLite.ExtendableBuilder
/external/deqp/framework/egl/
DegluUtil.hpp61 bool hasExtension (const eglw::Library& egl, eglw::EGLDisplay display, const std::string& …
DegluGLUtil.cpp81 const bool khrCreateContextSupported = hasExtension(egl, display, "EGL_KHR_create_context"); in createGLContext()

12