Home
last modified time | relevance | path

Searched refs:totalSize (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_enc.cpp34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAlphaFunc_enc() local
35 buf = stream->alloc(totalSize); in glAlphaFunc_enc()
38 memcpy(ptr, &totalSize, 4); ptr += 4; in glAlphaFunc_enc()
60 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearColor_enc() local
61 buf = stream->alloc(totalSize); in glClearColor_enc()
64 memcpy(ptr, &totalSize, 4); ptr += 4; in glClearColor_enc()
88 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearDepthf_enc() local
89 buf = stream->alloc(totalSize); in glClearDepthf_enc()
92 memcpy(ptr, &totalSize, 4); ptr += 4; in glClearDepthf_enc()
114 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClipPlanef_enc() local
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glActiveTexture_enc() local
35 buf = stream->alloc(totalSize); in glActiveTexture_enc()
38 memcpy(ptr, &totalSize, 4); ptr += 4; in glActiveTexture_enc()
59 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAttachShader_enc() local
60 buf = stream->alloc(totalSize); in glAttachShader_enc()
63 memcpy(ptr, &totalSize, 4); ptr += 4; in glAttachShader_enc()
86 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glBindAttribLocation_enc() local
87 buf = stream->alloc(totalSize); in glBindAttribLocation_enc()
90 memcpy(ptr, &totalSize, 4); ptr += 4; in glBindAttribLocation_enc()
114 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glBindBuffer_enc() local
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetRendererVersion_enc() local
35 buf = stream->alloc(totalSize); in rcGetRendererVersion_enc()
38 memcpy(ptr, &totalSize, 4); ptr += 4; in rcGetRendererVersion_enc()
75 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetEGLVersion_enc() local
76 buf = stream->alloc(totalSize); in rcGetEGLVersion_enc()
79 memcpy(ptr, &totalSize, 4); ptr += 4; in rcGetEGLVersion_enc()
121 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcQueryEGLString_enc() local
122 buf = stream->alloc(totalSize); in rcQueryEGLString_enc()
125 memcpy(ptr, &totalSize, 4); ptr += 4; in rcQueryEGLString_enc()
166 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetGLString_enc() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp34 const size_t totalSize = sizeWithoutChecksum + checksumSize; in fooAlphaFunc_enc() local
35 buf = stream->alloc(totalSize); in fooAlphaFunc_enc()
38 memcpy(ptr, &totalSize, 4); ptr += 4; in fooAlphaFunc_enc()
61 const size_t totalSize = sizeWithoutChecksum + checksumSize; in fooIsBuffer_enc() local
62 buf = stream->alloc(totalSize); in fooIsBuffer_enc()
65 memcpy(ptr, &totalSize, 4); ptr += 4; in fooIsBuffer_enc()
102 const size_t totalSize = sizeWithoutChecksum + checksumSize; in fooDoEncoderFlush_enc() local
103 buf = stream->alloc(totalSize); in fooDoEncoderFlush_enc()
106 memcpy(ptr, &totalSize, 4); ptr += 4; in fooDoEncoderFlush_enc()
129 const size_t totalSize = sizeWithoutChecksum + checksumSize; in fooTakeConstVoidPtrConstPtr_enc() local
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DAndroidSubAllocator.cpp36 totalSize(_totalSize), in Impl()
39 endAddr(startAddr + totalSize) { in Impl()
43 totalSize, in Impl()
55 totalSize, in clear()
80 stream->putBe64(totalSize); in save()
108 totalSize = stream->getBe64(); in load()
186 uint64_t totalSize; member in android::base::guest::SubAllocator::Impl
196 uint64_t totalSize, in SubAllocator() argument
199 new SubAllocator::Impl(buffer, totalSize, pageSize)) { } in SubAllocator()
DAndroidSubAllocator.h42 uint64_t totalSize,
/device/generic/goldfish/wifi/createns/
Dcreatens.cpp81 size_t totalSize = strlcpy(nsPath.data(), kNamespacePath, nsPath.size()); in getNamespacePath() local
82 if (totalSize >= nsPath.size()) { in getNamespacePath()
88 totalSize = strlcat(nsPath.data(), name, nsPath.size()); in getNamespacePath()
89 if (totalSize >= nsPath.size()) { in getNamespacePath()
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/
DYUVConverter.cpp94 uint32_t totalSize, yStride, cStride, cHeight; in getPlanarYUVOffsets() local
97 totalSize = 0; in getPlanarYUVOffsets()
98 getYUVSizes(width, height, format, &totalSize, &yStride, &cStride, &cHeight); in getPlanarYUVOffsets()
382 uint32_t totalSize, yStride, cStride, cHeight; in YUVConverter() local
383 totalSize = 0; in YUVConverter()
384 getYUVSizes(width, height, mFormat, &totalSize, &yStride, &cStride, &cHeight); in YUVConverter()
/device/generic/goldfish/network/wifi_forwarder/
Dremote_connection.cpp272 size_t totalSize = iov[0].iov_len + iov[1].iov_len; in sendFrame() local
282 if (static_cast<size_t>(written) == totalSize) { in sendFrame()
286 totalSize -= written; in sendFrame()
/device/generic/goldfish/MultiDisplayProvider/jni/
Dcom_android_emulator_multidisplay.cpp50 uint32_t totalSize = size + 1; in fillMsg() local
51 uint8_t* p = (uint8_t*)&totalSize; in fillMsg()
/device/google/contexthub/firmware/os/core/
Dseos.c603 uint32_t totalSize; in osAppSegmentClose() local
604 uint8_t *start = platGetSharedAreaInfo(&totalSize); in osAppSegmentClose()
605 uint8_t *end = start + totalSize; in osAppSegmentClose()
614 if (osSegmentSizeAlignedWithFooter(segDataSize) + sizeof(struct Segment) > totalSize) in osAppSegmentClose()