Home
last modified time | relevance | path

Searched refs:getAsInt (Results 1 – 25 of 26) sorted by relevance

12

/external/angle/src/libANGLE/renderer/gl/egl/
DDmaBufImageSiblingEGL.cpp80 mSize.width = mAttribs.getAsInt(EGL_WIDTH); in DmaBufImageSiblingEGL()
82 mSize.height = mAttribs.getAsInt(EGL_HEIGHT); in DmaBufImageSiblingEGL()
85 int fourCCFormat = mAttribs.getAsInt(EGL_LINUX_DRM_FOURCC_EXT); in DmaBufImageSiblingEGL()
167 outAttributes->push_back(mAttribs.getAsInt(forwardedAttrib)); in getImageCreationAttributes()
DSyncEGL.cpp21 attribs.getAsInt(EGL_SYNC_NATIVE_FENCE_FD_ANDROID, EGL_NO_NATIVE_FENCE_FD_ANDROID)), in SyncEGL()
DDisplayEGL.cpp144 eglAttributes.getAsInt(EGL_PLATFORM_ANGLE_MAX_VERSION_MAJOR_ANGLE, EGL_DONT_CARE); in initializeContext()
146 eglAttributes.getAsInt(EGL_PLATFORM_ANGLE_MAX_VERSION_MINOR_ANGLE, EGL_DONT_CARE); in initializeContext()
/external/angle/src/libANGLE/
DStream.cpp34 mConsumerLatency(attribs.getAsInt(EGL_CONSUMER_LATENCY_USEC_KHR, 0)), in Stream()
35 mConsumerAcquireTimeout(attribs.getAsInt(EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR, 0)), in Stream()
132 EGLenum bufferType = attributes.getAsInt(EGL_COLOR_BUFFER_TYPE, EGL_RGB_BUFFER); in createConsumerGLTextureExternal()
143 mPlaneCount = attributes.getAsInt(EGL_YUV_NUMBER_OF_PLANES_EXT, 2); in createConsumerGLTextureExternal()
148 mPlanes[i].textureUnit = attributes.getAsInt(EGL_YUV_PLANE0_TEXTURE_UNIT_NV + i, -1); in createConsumerGLTextureExternal()
DAttributeMap.h33 EGLint getAsInt(EGLAttrib key) const;
34 EGLint getAsInt(EGLAttrib key, EGLint defaultValue) const;
DAttributeMap.cpp45 EGLint AttributeMap::getAsInt(EGLAttrib key) const in getAsInt() function in egl::AttributeMap
50 EGLint AttributeMap::getAsInt(EGLAttrib key, EGLint defaultValue) const in getAsInt() function in egl::AttributeMap
DEGLSync.cpp26 attribs.getAsInt(EGL_SYNC_NATIVE_FENCE_FD_ANDROID, EGL_NO_NATIVE_FENCE_FD_ANDROID)) in Sync()
DDebug.cpp462 (attribs.getAsInt(egl::ToEGLenum(messageType), defaultMessageTypes[messageType]) == in setCallback()
DvalidationEGL.cpp5573 int width = attribMap.getAsInt(EGL_WIDTH, 0); in ValidateCreateNativeClientBufferANDROID()
5574 int height = attribMap.getAsInt(EGL_HEIGHT, 0); in ValidateCreateNativeClientBufferANDROID()
5575 int redSize = attribMap.getAsInt(EGL_RED_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5576 int greenSize = attribMap.getAsInt(EGL_GREEN_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5577 int blueSize = attribMap.getAsInt(EGL_BLUE_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5578 int alphaSize = attribMap.getAsInt(EGL_ALPHA_SIZE, 0); in ValidateCreateNativeClientBufferANDROID()
5579 int usage = attribMap.getAsInt(EGL_NATIVE_BUFFER_USAGE_ANDROID, 0); in ValidateCreateNativeClientBufferANDROID()
DDisplay.cpp1615 int width = attribMap.getAsInt(EGL_WIDTH, 0); in CreateNativeClientBuffer()
1616 int height = attribMap.getAsInt(EGL_HEIGHT, 0); in CreateNativeClientBuffer()
1617 int usage = attribMap.getAsInt(EGL_NATIVE_BUFFER_USAGE_ANDROID, 0); in CreateNativeClientBuffer()
Dformatutils.cpp1334 GLuint redSize = static_cast<GLuint>(attribMap.getAsInt(EGL_RED_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1335 GLuint greenSize = static_cast<GLuint>(attribMap.getAsInt(EGL_GREEN_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1336 GLuint blueSize = static_cast<GLuint>(attribMap.getAsInt(EGL_BLUE_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
1337 GLuint alphaSize = static_cast<GLuint>(attribMap.getAsInt(EGL_ALPHA_SIZE, 0)); in GetAndroidHardwareBufferFormatFromChannelSizes()
/external/llvm/utils/TableGen/
DSearchableTableEmitter.cpp43 int getAsInt(BitsInit *B) { in getAsInt() function in __anon54b3f2100111::SearchableTableEmitter
47 return getAsInt(R->getValueAsBitsInit(Field)); in getInt()
54 return "0x" + utohexstr(getAsInt(BI)); in primaryRepresentation()
159 return getAsInt(cast<BitsInit>(LHS.first)) < in emitSearchTable()
160 getAsInt(cast<BitsInit>(RHS.first)); in emitSearchTable()
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java140 assertThat(result.get("total").getAsInt()).isEqualTo(0); in exportToJaeger()
141 assertThat(result.get("limit").getAsInt()).isEqualTo(0); in exportToJaeger()
142 assertThat(result.get("offset").getAsInt()).isEqualTo(0); in exportToJaeger()
159 assertThat(span.get("flags").getAsInt()).isEqualTo(1); in exportToJaeger()
/external/angle/src/libANGLE/renderer/gl/glx/
DPixmapSurfaceGLX.cpp117 EGLTextureFormatToGLXTextureFormat(mState.attributes.getAsInt(EGL_TEXTURE_FORMAT))); in initialize()
123 EGLTextureTargetToGLXTextureTarget(mState.attributes.getAsInt(EGL_TEXTURE_TARGET))); in initialize()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DClassCallingRequireNonNull.java27 return function.getAsInt(); in toInt()
/external/llvm-project/llvm/utils/TableGen/
DSearchableTableEmitter.cpp37 int getAsInt(Init *B) { in getAsInt() function
41 return getAsInt(R->getValueInit(Field)); in getInt()
121 return "0x" + utohexstr(getAsInt(BI)); in primaryRepresentation()
229 int64_t LHSi = getAsInt(LHSI); in compareBy()
230 int64_t RHSi = getAsInt(RHSI); in compareBy()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTypeEncoder.java428 output.append(text, 0, importMarker.getAsInt()); in rewrite()
432 copyStart = scanner.tokenEnd(importMarker.getAsInt()); in rewrite()
DAutoValueOrOneOfProcessor.java562 return Optional.of(annotations.get(nullableAnnotationIndex.getAsInt()) + " "); in nullableAnnotationFor()
/external/angle/src/libANGLE/renderer/metal/
DSurfaceMtl.mm686 mSize = gl::Extents(attribs.getAsInt(EGL_WIDTH, 1), attribs.getAsInt(EGL_HEIGHT, 1), 1);
/external/angle/src/libANGLE/renderer/vulkan/
DSyncVk.cpp519 int nativeFd = static_cast<EGLint>(mAttribs.getAsInt(EGL_SYNC_NATIVE_FENCE_FD_ANDROID, in initialize()
DSurfaceVk.cpp268 mWidth(mState.attributes.getAsInt(EGL_WIDTH, 0)), in OffscreenSurfaceVk()
269 mHeight(mState.attributes.getAsInt(EGL_HEIGHT, 0)), in OffscreenSurfaceVk()
/external/guava/guava/src/com/google/common/collect/
DStreams.java115 return optional.isPresent() ? IntStream.of(optional.getAsInt()) : IntStream.empty(); in stream()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp1498 EGLint plane = attribs.getAsInt(EGL_D3D11_TEXTURE_PLANE_ANGLE); in getD3DTextureInfo()
1578 static_cast<UINT>(attribs.getAsInt(EGL_D3D11_TEXTURE_ARRAY_SLICE_ANGLE, 0)); in getD3DTextureInfo()
1648 EGLint width = attribs.getAsInt(EGL_WIDTH, 0); in validateShareHandle()
1649 EGLint height = attribs.getAsInt(EGL_HEIGHT, 0); in validateShareHandle()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp824 EGLint width = attribs.getAsInt(EGL_WIDTH, 0); in validateShareHandle()
825 EGLint height = attribs.getAsInt(EGL_HEIGHT, 0); in validateShareHandle()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp5397 << attributes.getAsInt(EGL_PLATFORM_ANGLE_TYPE_ANGLE) << ";\n"; in writeCppReplayIndexFiles()
5399 << attributes.getAsInt(EGL_PLATFORM_ANGLE_DEVICE_TYPE_ANGLE) << ";\n"; in writeCppReplayIndexFiles()

12