Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/gl/
DGrGLCaps.cpp96 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
97 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
99 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
101 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
105 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init()
109 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init()
110 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
112 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
117 ctxInfo.hasExtension("GL_ARB_texture_multisample"); in init()
127 ctxInfo.hasExtension("GL_ARB_texture_rg"); in init()
[all …]
DGrGLContext.h39 bool hasExtension(const char* ext) const { in hasExtension() function
40 return fInterface->hasExtension(ext); in hasExtension()
/external/robolectric/v1/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/core/src/test/java/com/google/protobuf/
DTestUtil.java1403 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 …]
DLazyMessageLiteTest.java295 assertTrue(innerBuilder.hasExtension(LazyExtension.extension)); in testExtensions()
299 assertTrue(innerMessage.hasExtension(LazyExtension.extension)); in testExtensions()
304 assertTrue(lite.getInner().hasExtension(LazyExtension.extension)); in testExtensions()
DDescriptorsTest.java373 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
381 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
389 enumType.getOptions().hasExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
397 service.getOptions().hasExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
405 method.getOptions().hasExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
DLazyFieldLiteTest.java238 assertTrue(value.hasExtension(optionalInt32Extension)); in testMergeMightLoseExtensions()
240 assertFalse(value.hasExtension(optionalInt64Extension)); in testMergeMightLoseExtensions()
/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()
/external/protobuf/objectivec/Tests/
DGPBTestUtilities.m184 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 …]
DGPBMessageTests.m583 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/skia/src/utils/win/
DSkWGL_win.cpp17 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions
318 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in get_pixel_formats_to_try()
344 if (!extensions.hasExtension(dc, "WGL_EXT_create_context_es2_profile")) { in create_gl_context()
361 extensions.hasExtension(dc, "WGL_ARB_create_context")) { in create_gl_context()
401 if (extensions.hasExtension(dc, "WGL_EXT_swap_control")) { in create_gl_context()
410 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext()
437 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create()
438 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create()
466 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
/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/viewer/sk_app/win/
DGLWindowContext_win.cpp64 bool renderDocAttached = glInterface->hasExtension("GL_EXT_debug_tool"); in onInitializeContext()
90 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2865 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/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleExtensions.java63 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/
DLocaleExtensions.java59 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/
DLocaleExtensions.java59 boolean hasExtension = (extensions != null && extensions.size() > 0); in LocaleExtensions()
63 if (!hasExtension && !hasUAttributes && !hasUKeywords) { in LocaleExtensions()
71 if (hasExtension) { in LocaleExtensions()
/external/skia/tests/
DEGLImageTest.cpp75 if (!glCtx1->gl()->hasExtension("EGL_KHR_image") || in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
76 !glCtx1->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/tools/gpu/gl/angle/
DGLTestContext_angle.cpp173 if (!this->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in texture2DToEGLImage()
194 if (!this->gl()->hasExtension("GL_OES_EGL_image_external")) { in eglImageToExternalTexture()
/external/skia/tools/gpu/gl/egl/
DCreatePlatformGLTestContext_egl.cpp217 if (!this->gl()->hasExtension("EGL_KHR_gl_texture_2D_image")) { in texture2DToEGLImage()
234 if (!this->gl()->hasExtension("GL_OES_EGL_image_external")) { in eglImageToExternalTexture()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMimeTypeMap.java69 public boolean hasExtension(String extension) { in hasExtension() method in ShadowMimeTypeMap
/external/skia/tools/gpu/gl/
DGLTestContext.cpp49 if (GrGLGetVersion(ctx->gl()) < GR_GL_VER(3,2) && !ctx->gl()->hasExtension("GL_ARB_sync")) { in MakeIfSupported()
54 if (!ctx->gl()->hasExtension("GL_APPLE_sync")) { in MakeIfSupported()
/external/deqp/modules/egl/
DteglNegativePartialUpdateTests.cpp157 if (!hasExtension(egl, m_eglDisplay, "EGL_KHR_partial_update")) in init()
328 if (hasExtension(egl, m_eglDisplay, "EGL_KHR_surfaceless_context")) in iterate()
530 if (hasExtension(egl, m_eglDisplay, "EGL_KHR_surfaceless_context")) in iterate()
/external/protobuf/objectivec/
DGPBMessage.h262 - (BOOL)hasExtension:(GPBExtensionDescriptor *)extension;

1234