Home
last modified time | relevance | path

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

1234

/external/skqp/src/gpu/gl/
DGrGLCaps.cpp112 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
114 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
116 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
129 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init()
133 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init()
134 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
136 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
141 ctxInfo.hasExtension("GL_ARB_texture_multisample"); in init()
147 ctxInfo.hasExtension("GL_ARB_imaging"); in init()
151 ctxInfo.hasExtension("GL_ARB_invalidate_subdata"))) { in init()
[all …]
DGrGLContext.cpp64 interface->hasExtension("GL_OES_EGL_image_external") && in Make()
66 !interface->hasExtension("GL_OES_EGL_image_external_essl3") && in Make()
67 !interface->hasExtension("OES_EGL_image_external_essl3")) { in Make()
DGrGLContext.h48 bool hasExtension(const char* ext) const { in hasExtension() function
49 return fInterface->hasExtension(ext); in hasExtension()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp112 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
114 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
116 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
129 ctxInfo.hasExtension("GL_ANGLE_texture_usage"); in init()
133 ctxInfo.hasExtension("GL_ARB_texture_barrier") || in init()
134 ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
136 fTextureBarrierSupport = ctxInfo.hasExtension("GL_NV_texture_barrier"); in init()
141 ctxInfo.hasExtension("GL_ARB_texture_multisample"); in init()
147 ctxInfo.hasExtension("GL_ARB_imaging"); in init()
151 ctxInfo.hasExtension("GL_ARB_invalidate_subdata"))) { in init()
[all …]
DGrGLContext.cpp64 interface->hasExtension("GL_OES_EGL_image_external") && in Make()
66 !interface->hasExtension("GL_OES_EGL_image_external_essl3") && in Make()
67 !interface->hasExtension("OES_EGL_image_external_essl3")) { in Make()
DGrGLContext.h48 bool hasExtension(const char* ext) const { in hasExtension() function
49 return fInterface->hasExtension(ext); in hasExtension()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMimeTypeMapTest.java26 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/
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 …]
/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/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/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonenumber.java76 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/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhonenumber.java95 private boolean hasExtension; field in Phonenumber.PhoneNumber
98 public boolean hasExtension() { return hasExtension; } in hasExtension() method in Phonenumber.PhoneNumber
105 hasExtension = true; in setExtension()
110 hasExtension = false; in clearExtension()
224 if (other.hasExtension()) { in mergeFrom()
295 if (hasExtension()) { in toString()
/external/skqp/src/gpu/vk/
DGrVkInterface.cpp179 } else if (extensions->hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, in GrVkInterface()
196 } else if (extensions->hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in GrVkInterface()
206 } else if (extensions->hasExtension(VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, 1)) { in GrVkInterface()
214 } else if (extensions->hasExtension(VK_KHR_MAINTENANCE1_EXTENSION_NAME, 1)) { in GrVkInterface()
221 } else if (extensions->hasExtension(VK_KHR_MAINTENANCE3_EXTENSION_NAME, 1)) { in GrVkInterface()
228 } else if (extensions->hasExtension(VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, 1)) { in GrVkInterface()
237 } else if (extensions->hasExtension(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME, 1)) { in GrVkInterface()
244 if (extensions->hasExtension( in GrVkInterface()
406 extensions->hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 1)) { in validate()
420 extensions->hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in validate()
[all …]
DGrVkCaps.cpp245 extensions.hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 1)) { in init()
250 extensions.hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in init()
255 extensions.hasExtension(VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, 1)) { in init()
260 extensions.hasExtension(VK_KHR_MAINTENANCE1_EXTENSION_NAME, 1)) { in init()
265 extensions.hasExtension(VK_KHR_MAINTENANCE2_EXTENSION_NAME, 1)) { in init()
270 extensions.hasExtension(VK_KHR_MAINTENANCE3_EXTENSION_NAME, 1)) { in init()
275 (extensions.hasExtension(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, 1) && in init()
281 (extensions.hasExtension(VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, 1) && in init()
283 extensions.hasExtension(VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME, 1) && in init()
291 if (extensions.hasExtension( in init()
[all …]
/external/skia/src/gpu/vk/
DGrVkInterface.cpp179 } else if (extensions->hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, in GrVkInterface()
196 } else if (extensions->hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in GrVkInterface()
206 } else if (extensions->hasExtension(VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, 1)) { in GrVkInterface()
214 } else if (extensions->hasExtension(VK_KHR_MAINTENANCE1_EXTENSION_NAME, 1)) { in GrVkInterface()
221 } else if (extensions->hasExtension(VK_KHR_MAINTENANCE3_EXTENSION_NAME, 1)) { in GrVkInterface()
228 } else if (extensions->hasExtension(VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, 1)) { in GrVkInterface()
237 } else if (extensions->hasExtension(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME, 1)) { in GrVkInterface()
244 if (extensions->hasExtension( in GrVkInterface()
406 extensions->hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 1)) { in validate()
420 extensions->hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in validate()
[all …]
DGrVkCaps.cpp277 if (extensions.hasExtension(VK_KHR_SWAPCHAIN_EXTENSION_NAME, 1)) { in init()
282 extensions.hasExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 1)) { in init()
287 extensions.hasExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, 1)) { in init()
292 extensions.hasExtension(VK_KHR_BIND_MEMORY_2_EXTENSION_NAME, 1)) { in init()
297 extensions.hasExtension(VK_KHR_MAINTENANCE1_EXTENSION_NAME, 1)) { in init()
302 extensions.hasExtension(VK_KHR_MAINTENANCE2_EXTENSION_NAME, 1)) { in init()
307 extensions.hasExtension(VK_KHR_MAINTENANCE3_EXTENSION_NAME, 1)) { in init()
312 (extensions.hasExtension(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, 1) && in init()
318 (extensions.hasExtension(VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME, 1) && in init()
320 extensions.hasExtension(VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME, 1) && in init()
[all …]
/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/skqp/src/utils/win/
DSkWGL_win.cpp18 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()
450 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create()
451 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create()
500 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
/external/skia/src/utils/win/
DSkWGL_win.cpp18 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()
450 if (!extensions.hasExtension(parentDC, "WGL_ARB_pixel_format") || in Create()
451 !extensions.hasExtension(parentDC, "WGL_ARB_pbuffer")) { in Create()
500 SkASSERT(fExtensions.hasExtension(fDC, "WGL_ARB_pbuffer")); in ~SkWGLPbufferContext()
/external/deqp/framework/egl/
DegluGLUtil.cpp87 const bool khrCreateContextSupported = hasExtension(egl, display, "EGL_KHR_create_context"); in createGLContext()
88 …const bool khrCreateContextNoErrorSupported = hasExtension(egl, display, "EGL_KHR_create_context… in createGLContext()
145 …if (!hasExtension(egl, display, "EGL_EXT_create_context_robustness") && (getVersion(egl, display) … in createGLContext()
181 else if (hasExtension(egl, display, "EGL_EXT_create_context_robustness")) in createGLContext()
/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/skqp/tools/sk_app/win/
DGLWindowContext_win.cpp78 bool renderDocAttached = interface->hasExtension("GL_EXT_debug_tool"); in onInitializeContext()
104 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
/external/skia/tools/sk_app/win/
DGLWindowContext_win.cpp78 bool renderDocAttached = interface->hasExtension("GL_EXT_debug_tool"); in onInitializeContext()
104 if (extensions.hasExtension(dc, "WGL_ARB_multisample")) { in onInitializeContext()
/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()

1234