/external/skqp/src/gpu/gl/ |
D | GrGLCaps.cpp | 101 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init() 102 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init() 104 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init() 106 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init() 110 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init() 114 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init() 115 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init() 117 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init() 122 ctxInfo.hasExtension("GL_ARB_texture_multisample"); in init() 128 ctxInfo.hasExtension("GL_ARB_imaging"); in init() [all …]
|
D | GrGLContext.h | 47 bool hasExtension(const char* ext) const { in hasExtension() function 48 return fInterface->hasExtension(ext); in hasExtension()
|
/external/skia/src/gpu/gl/ |
D | GrGLCaps.cpp | 101 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init() 102 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init() 104 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init() 106 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init() 110 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init() 114 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init() 115 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init() 117 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init() 122 ctxInfo.hasExtension("GL_ARB_texture_multisample"); in init() 128 ctxInfo.hasExtension("GL_ARB_imaging"); in init() [all …]
|
D | GrGLContext.h | 47 bool hasExtension(const char* ext) const { in hasExtension() function 48 return fInterface->hasExtension(ext); in hasExtension()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | MimeTypeMapTest.java | 22 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMimeTypeMapTest.java | 26 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests() 32 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests_anotherTime() 46 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in byDefaultThereShouldBeNoMapping() 47 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in byDefaultThereShouldBeNoMapping() 56 assertTrue(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in addingMappingShouldWorkCorrectly() 57 assertTrue(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in addingMappingShouldWorkCorrectly() 76 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in clearMappingsShouldRemoveAllMappings() 77 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in clearMappingsShouldRemoveAllMappings() 79 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_MIMETYPE)); in clearMappingsShouldRemoveAllMappings() 88 assertFalse(MimeTypeMap.getSingleton().hasExtension("foo")); in unknownExtensionShouldProvideNothing()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TestUtil.java | 1403 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet() 1404 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet() 1405 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet() 1406 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet() 1407 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet() 1408 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet() 1409 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet() 1410 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet() 1411 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet() 1412 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet() [all …]
|
D | LazyMessageLiteTest.java | 295 assertTrue(innerBuilder.hasExtension(LazyExtension.extension)); in testExtensions() 299 assertTrue(innerMessage.hasExtension(LazyExtension.extension)); in testExtensions() 304 assertTrue(lite.getInner().hasExtension(LazyExtension.extension)); in testExtensions()
|
/external/proguard/src/proguard/ |
D | ClassPathEntry.java | 135 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/objectivec/Tests/ |
D | GPBTestUtilities.m | 184 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt32Extension]]); 185 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt64Extension]]); 186 XCTAssertTrue([message hasExtension:[UnittestRoot optionalUint32Extension]]); 187 XCTAssertTrue([message hasExtension:[UnittestRoot optionalUint64Extension]]); 188 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSint32Extension]]); 189 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSint64Extension]]); 190 XCTAssertTrue([message hasExtension:[UnittestRoot optionalFixed32Extension]]); 191 XCTAssertTrue([message hasExtension:[UnittestRoot optionalFixed64Extension]]); 192 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSfixed32Extension]]); 193 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSfixed64Extension]]); [all …]
|
D | GPBMessageTests.m | 583 XCTAssertTrue([message1 hasExtension:[UnittestRoot optionalInt32Extension]]); 585 XCTAssertFalse([message1 hasExtension:[UnittestRoot optionalInt32Extension]]); 603 XCTAssertFalse([message3 hasExtension:[UnittestObjcRoot recursiveExtension]]); 605 XCTAssertFalse([message3 hasExtension:[UnittestObjcRoot recursiveExtension]]); 1407 XCTAssertFalse([message hasExtension:[UnittestRoot optionalGroupExtension]]); 1408 XCTAssertFalse([message hasExtension:[UnittestRoot optionalGroupExtension]]); 1410 [message hasExtension:[UnittestRoot optionalNestedMessageExtension]]); 1412 [message hasExtension:[UnittestRoot optionalForeignMessageExtension]]); 1414 [message hasExtension:[UnittestRoot optionalImportMessageExtension]]); 1416 hasExtension:[UnittestRoot optionalPublicImportMessageExtension]]); [all …]
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | Phonenumber.java | 76 private boolean hasExtension; field in Phonenumber.PhoneNumber 78 public boolean hasExtension() { return hasExtension; } in hasExtension() method in Phonenumber.PhoneNumber 84 hasExtension = true; in setExtension() 89 hasExtension = false; in clearExtension() 202 if (other.hasExtension()) { in mergeFrom() 273 if (hasExtension()) { in toString()
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | ClassPathIterator.java | 34 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/skqp/src/utils/win/ |
D | SkWGL_win.cpp | 18 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions 331 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try() 357 if (!extensions.hasExtension(dc, "WGL_EXT_create_context_es2_profile")) { in create_gl_context() 374 extensions.hasExtension(dc, "WGL_ARB_create_context")) { in create_gl_context() 414 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in create_gl_context() 423 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext() 449 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create() 450 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create() 499 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
|
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 18 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions 331 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try() 357 if (!extensions.hasExtension(dc, "WGL_EXT_create_context_es2_profile")) { in create_gl_context() 374 extensions.hasExtension(dc, "WGL_ARB_create_context")) { in create_gl_context() 414 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in create_gl_context() 423 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext() 449 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create() 450 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create() 499 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
|
/external/deqp/framework/egl/ |
D | egluGLUtil.cpp | 85 const bool khrCreateContextSupported = hasExtension(egl, display, "EGL_KHR_create_context"); in createGLContext() 86 …const bool khrCreateContextNoErrorSupported = hasExtension(egl, display, "EGL_KHR_create_context… in createGLContext() 143 …if (!hasExtension(egl, display, "EGL_EXT_create_context_robustness") && (getVersion(egl, display) … in createGLContext() 179 else if (hasExtension(egl, display, "EGL_EXT_create_context_robustness")) in createGLContext()
|
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 2865 assertFalse(message.hasExtension(RepeatedExtensions.repeatedInt32)); in testExtensions() 2867 assertTrue(message.hasExtension(RepeatedExtensions.repeatedInt32)); in testExtensions() 2868 assertFalse(message.hasExtension(RepeatedExtensions.repeatedUint32)); in testExtensions() 2870 assertTrue(message.hasExtension(RepeatedExtensions.repeatedUint32)); in testExtensions() 2872 assertFalse(message.hasExtension(RepeatedExtensions.repeatedInt64)); in testExtensions() 2874 assertTrue(message.hasExtension(RepeatedExtensions.repeatedInt64)); in testExtensions() 2875 assertFalse(message.hasExtension(RepeatedExtensions.repeatedUint64)); in testExtensions() 2877 assertTrue(message.hasExtension(RepeatedExtensions.repeatedUint64)); in testExtensions() 2878 assertFalse(message.hasExtension(RepeatedExtensions.repeatedSint64)); in testExtensions() 2880 assertTrue(message.hasExtension(RepeatedExtensions.repeatedSint64)); in testExtensions() [all …]
|
/external/skia/tools/sk_app/win/ |
D | GLWindowContext_win.cpp | 65 bool renderDocAttached = interface->hasExtension("GL_EXT_debug_tool"); in onInitializeContext() 91 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
|
/external/skqp/tools/sk_app/win/ |
D | GLWindowContext_win.cpp | 65 bool renderDocAttached = interface->hasExtension("GL_EXT_debug_tool"); in onInitializeContext() 91 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | LocaleExtensions.java | 63 boolean hasExtension = (extensions != null && extensions.size() > 0); in LocaleExtensions() 67 if (!hasExtension && !hasUAttributes && !hasUKeywords) { in LocaleExtensions() 75 if (hasExtension) { in LocaleExtensions()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
D | LocaleExtensions.java | 59 boolean hasExtension = (extensions != null && extensions.size() > 0); in LocaleExtensions() 63 if (!hasExtension && !hasUAttributes && !hasUKeywords) { in LocaleExtensions() 71 if (hasExtension) { in LocaleExtensions()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LocaleExtensions.java | 59 boolean hasExtension = (extensions != null && extensions.size() > 0); in LocaleExtensions() 63 if (!hasExtension && !hasUAttributes && !hasUKeywords) { in LocaleExtensions() 71 if (hasExtension) { in LocaleExtensions()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcConfigListEGL.cpp | 99 bool supportFloatConfigs = eglu::hasExtension(library, display, "EGL_EXT_pixel_format_float"); in getDefaultEglConfigList() 100 bool supportYUVConfigs = eglu::hasExtension(library, display, "EGL_EXT_yuv_surface"); in getDefaultEglConfigList()
|
/external/skqp/tests/ |
D | EGLImageTest.cpp | 76 if (!glCtx1->gl()->hasExtension("EGL_KHR_image") || in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 77 !glCtx1->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/tests/ |
D | EGLImageTest.cpp | 76 if (!glCtx1->gl()->hasExtension("EGL_KHR_image") || in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 77 !glCtx1->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|