Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp132 ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in init()
133 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()
138 ctxInfo.hasExtension("GL_EXT_bgra"); in init()
140 if (ctxInfo.hasExtension("GL_APPLE_texture_format_BGRA8888")) { in init()
142 } else if (ctxInfo.hasExtension("GL_EXT_texture_format_BGRA8888")) { in init()
152 ctxInfo.hasExtension("GL_ARB_texture_swizzle"); in init()
164 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
165 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
167 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
169 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
[all …]
DSkGLContextHelper.cpp84 this->hasExtension("GL_OES_packed_depth_stencil"); in init()
87 this->hasExtension("GL_EXT_packed_depth_stencil") || in init()
88 this->hasExtension("GL_ARB_framebuffer_object"); in init()
DGrGLContext.h64 bool hasExtension(const char* ext) const { in hasExtension() function
/external/skia/src/gpu/gl/
DGrGLCaps.cpp132 ctxInfo.hasExtension("GL_OES_rgb8_rgba8") || in init()
133 ctxInfo.hasExtension("GL_ARM_rgba8"); in init()
138 ctxInfo.hasExtension("GL_EXT_bgra"); in init()
140 if (ctxInfo.hasExtension("GL_APPLE_texture_format_BGRA8888")) { in init()
142 } else if (ctxInfo.hasExtension("GL_EXT_texture_format_BGRA8888")) { in init()
152 ctxInfo.hasExtension("GL_ARB_texture_swizzle"); in init()
164 ctxInfo.hasExtension("GL_EXT_unpack_subimage"); in init()
165 fUnpackFlipYSupport = ctxInfo.hasExtension("GL_CHROMIUM_flipy"); in init()
167 ctxInfo.hasExtension("GL_NV_pack_subimage"); in init()
169 ctxInfo.hasExtension("GL_ANGLE_pack_reverse_row_order"); in init()
[all …]
DSkGLContextHelper.cpp84 this->hasExtension("GL_OES_packed_depth_stencil"); in init()
87 this->hasExtension("GL_EXT_packed_depth_stencil") || in init()
88 this->hasExtension("GL_ARB_framebuffer_object"); in init()
DGrGLContext.h64 bool hasExtension(const char* ext) const { 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/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java1414 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1415 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1416 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1417 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1418 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1419 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet()
1420 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet()
1421 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet()
1422 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet()
1423 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet()
[all …]
DDescriptorsTest.java358 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
366 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
374 enumType.getOptions().hasExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
382 service.getOptions().hasExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
390 method.getOptions().hasExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java1356 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1357 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1358 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1359 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1360 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1361 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet()
1362 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet()
1363 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet()
1364 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet()
1365 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet()
[all …]
DDescriptorsTest.java354 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
362 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
370 enumType.getOptions().hasExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
378 service.getOptions().hasExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
386 method.getOptions().hasExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
DGeneratedMessageTest.java461 .hasExtension(UnittestProto.optionalInt32Extension)); in testClearExtension()
481 assertTrue(merged.hasExtension(UnittestProto.optionalInt32Extension)); in testExtensionMergeFrom()
520 .hasExtension(UnittestLite.optionalInt32ExtensionLite)); in testClearLiteExtension()
541 assertTrue(merged.hasExtension(UnittestLite.optionalInt32ExtensionLite)); in testLiteExtensionMergeFrom()
572 TestAllExtensions.getDefaultInstance().hasExtension( in testMultipleFilesOption()
/external/libphonenumber/java/src/com/android/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()
184 if (other.hasExtension()) { in mergeFrom()
247 if (hasExtension()) { in toString()
/external/skia/bench/
DBenchGpuTimer_gl.cpp18 glctx->hasExtension("GL_ARB_timer_query") || in BenchGpuTimer()
19 glctx->hasExtension("GL_EXT_timer_query"); in BenchGpuTimer()
/external/skia/src/utils/win/
DSkWGL_win.cpp15 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions
250 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext()
274 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in SkCreateWGLContext()
310 if (preferCoreProfile && extensions.hasExtension(dc, "WGL_ARB_create_context")) { in SkCreateWGLContext()
/external/chromium_org/third_party/skia/src/utils/win/
DSkWGL_win.cpp15 bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { in hasExtension() function in SkWGLExtensions
250 if (!extensions.hasExtension(dc, "WGL_ARB_pixel_format")) { in SkCreateWGLContext()
274 extensions.hasExtension(dc, "WGL_ARB_multisample")) { in SkCreateWGLContext()
310 if (preferCoreProfile && extensions.hasExtension(dc, "WGL_ARB_create_context")) { in SkCreateWGLContext()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTests.h40 bool hasExtension(const String&) const;
DSVGTests.idl35 boolean hasExtension([Default=Undefined] optional DOMString extension);
/external/chromium_org/third_party/skia/include/gpu/gl/
DSkGLContextHelper.h49 bool hasExtension(const char* extensionName) const { in hasExtension() function
/external/skia/include/gpu/gl/
DSkGLContextHelper.h49 bool hasExtension(const char* extensionName) const { in hasExtension() function
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java111 public final boolean hasExtension( in hasExtension() method in GeneratedMessageLite.ExtendableMessage
233 public final boolean hasExtension( in hasExtension() method in GeneratedMessageLite.ExtendableBuilder
235 return internalGetResult().hasExtension(extension); in hasExtension()
/external/chromium_org/third_party/skia/include/utils/
DSkWGL.h68 bool hasExtension(HDC dc, const char* ext) const;
/external/skia/include/utils/
DSkWGL.h68 bool hasExtension(HDC dc, const char* ext) const;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMimeTypeMap.java69 public boolean hasExtension(String extension) { in hasExtension() method in ShadowMimeTypeMap
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessageLite.java129 <Type> boolean hasExtension( in hasExtension() method
176 public final <Type> boolean hasExtension( in hasExtension() method in GeneratedMessageLite.ExtendableMessage
354 public final <Type> boolean hasExtension( in hasExtension() method in GeneratedMessageLite.ExtendableBuilder

12