/hardware/google/gfxstream/guest/GLESv1_enc/ |
D | gl_enc.cpp | 44 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAlphaFunc_enc() local 45 buf = stream->alloc(totalSize); in glAlphaFunc_enc() 48 memcpy(ptr, &totalSize, 4); ptr += 4; in glAlphaFunc_enc() 72 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearColor_enc() local 73 buf = stream->alloc(totalSize); in glClearColor_enc() 76 memcpy(ptr, &totalSize, 4); ptr += 4; in glClearColor_enc() 102 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClearDepthf_enc() local 103 buf = stream->alloc(totalSize); in glClearDepthf_enc() 106 memcpy(ptr, &totalSize, 4); ptr += 4; in glClearDepthf_enc() 130 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glClipPlanef_enc() local [all …]
|
/hardware/google/gfxstream/guest/GLESv2_enc/ |
D | gl2_enc.cpp | 44 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glActiveTexture_enc() local 45 buf = stream->alloc(totalSize); in glActiveTexture_enc() 48 memcpy(ptr, &totalSize, 4); ptr += 4; in glActiveTexture_enc() 71 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glAttachShader_enc() local 72 buf = stream->alloc(totalSize); in glAttachShader_enc() 75 memcpy(ptr, &totalSize, 4); ptr += 4; in glAttachShader_enc() 100 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glBindAttribLocation_enc() local 101 buf = stream->alloc(totalSize); in glBindAttribLocation_enc() 104 memcpy(ptr, &totalSize, 4); ptr += 4; in glBindAttribLocation_enc() 130 const size_t totalSize = sizeWithoutChecksum + checksumSize; in glBindBuffer_enc() local [all …]
|
/hardware/google/gfxstream/guest/renderControl_enc/ |
D | renderControl_enc.cpp | 44 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetRendererVersion_enc() local 45 buf = stream->alloc(totalSize); in rcGetRendererVersion_enc() 48 memcpy(ptr, &totalSize, 4); ptr += 4; in rcGetRendererVersion_enc() 87 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetEGLVersion_enc() local 88 buf = stream->alloc(totalSize); in rcGetEGLVersion_enc() 91 memcpy(ptr, &totalSize, 4); ptr += 4; in rcGetEGLVersion_enc() 135 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcQueryEGLString_enc() local 136 buf = stream->alloc(totalSize); in rcQueryEGLString_enc() 139 memcpy(ptr, &totalSize, 4); ptr += 4; in rcQueryEGLString_enc() 182 const size_t totalSize = sizeWithoutChecksum + checksumSize; in rcGetGLString_enc() local [all …]
|
/hardware/google/gfxstream/guest/magma/magma_enc/ |
D | magma_enc.cpp | 47 const size_t totalSize = sizeWithoutChecksum + checksumSize; in magma_device_import_enc() local 48 buf = stream->alloc(totalSize); in magma_device_import_enc() 51 memcpy(ptr, &totalSize, 4); ptr += 4; in magma_device_import_enc() 92 const size_t totalSize = sizeWithoutChecksum + checksumSize; in magma_device_release_enc() local 93 buf = stream->alloc(totalSize); in magma_device_release_enc() 96 memcpy(ptr, &totalSize, 4); ptr += 4; in magma_device_release_enc() 121 const size_t totalSize = sizeWithoutChecksum + checksumSize; in magma_device_query_enc() local 122 buf = stream->alloc(totalSize); in magma_device_query_enc() 125 memcpy(ptr, &totalSize, 4); ptr += 4; in magma_device_query_enc() 173 const size_t totalSize = sizeWithoutChecksum + checksumSize; in magma_device_query_fudge_enc() local [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | AndroidSubAllocator.cpp | 35 totalSize(_totalSize), in Impl() 38 endAddr(startAddr + totalSize) { in Impl() 42 totalSize, in Impl() 54 totalSize, in clear() 79 stream->putBe64(totalSize); in save() 107 totalSize = stream->getBe64(); in load() 185 uint64_t totalSize; member in gfxstream::guest::SubAllocator::Impl 195 uint64_t totalSize, in SubAllocator() argument 198 new SubAllocator::Impl(buffer, totalSize, pageSize)) { } in SubAllocator()
|
D | AndroidSubAllocator.h | 34 uint64_t totalSize,
|
/hardware/google/aemu/base/ |
D | SubAllocator.cpp | 33 totalSize(_totalSize), in Impl() 36 endAddr(startAddr + totalSize) { in Impl() 40 totalSize, in Impl() 52 totalSize, in clear() 77 stream->putBe64(totalSize); in save() 105 totalSize = stream->getBe64(); in load() 197 uint64_t totalSize; member in android::base::SubAllocator::Impl 207 uint64_t totalSize, in SubAllocator() argument 210 new SubAllocator::Impl(buffer, totalSize, pageSize)) { } in SubAllocator()
|
/hardware/interfaces/drm/1.0/default/ |
D | CryptoPlugin.cpp | 129 size_t totalSize = 0; in decrypt() local 130 if (__builtin_add_overflow(source.offset, offset, &totalSize) || in decrypt() 131 __builtin_add_overflow(totalSize, source.size, &totalSize) || in decrypt() 132 totalSize > sourceBase->getSize()) { in decrypt() 151 size_t totalSize = 0; in decrypt() local 152 if (__builtin_add_overflow(destBuffer.offset, destBuffer.size, &totalSize) || in decrypt() 153 totalSize > destBase->getSize()) { in decrypt()
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_common.cpp | 403 size_t totalSize = 0; in decrypt() local 405 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 406 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 413 getDecryptMemory(totalSize * factor, kSegmentIndex); in decrypt() 416 .bufferId = kSegmentIndex, .offset = 0, .size = totalSize}; in decrypt() 421 .offset = totalSize, in decrypt() 422 .size = totalSize}, in decrypt() 435 if (bytesWritten != totalSize) { in decrypt() 442 vector<uint8_t> reference(totalSize); in decrypt() 447 memcpy(&reference[0], base, totalSize); in decrypt() [all …]
|
/hardware/interfaces/drm/aidl/vts/ |
D | drm_hal_common.cpp | 493 int64_t totalSize = 0; in decrypt() local 495 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 496 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 503 getDecryptMemory(totalSize * factor, kSegmentIndex, sourceBuffer); in decrypt() 509 sourceRange.size = totalSize; in decrypt() 513 destRange.offset = totalSize; in decrypt() 514 destRange.size = totalSize; in decrypt() 532 if (bytesWritten != totalSize) { in decrypt() 537 vector<uint8_t> reference(totalSize); in decrypt() 542 memcpy(&reference[0], base, totalSize); in decrypt() [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | LocHeap.cpp | 201 int totalSize = mSize; in checkNodes() local 208 totalSize -= mLeft->mSize; in checkNodes() 217 totalSize -= mRight->mSize; in checkNodes() 221 return totalSize == 1; in checkNodes()
|
/hardware/qcom/sm7250/gps/utils/ |
D | LocHeap.cpp | 201 int totalSize = mSize; in checkNodes() local 208 totalSize -= mLeft->mSize; in checkNodes() 217 totalSize -= mRight->mSize; in checkNodes() 221 return totalSize == 1; in checkNodes()
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocHeap.cpp | 199 int totalSize = mSize; in checkNodes() local 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes() 219 return totalSize == 1; in checkNodes()
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocHeap.cpp | 199 int totalSize = mSize; in checkNodes() local 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes() 219 return totalSize == 1; in checkNodes()
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocHeap.cpp | 199 int totalSize = mSize; in checkNodes() local 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes() 219 return totalSize == 1; in checkNodes()
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocHeap.cpp | 199 int totalSize = mSize; in checkNodes() local 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes() 219 return totalSize == 1; in checkNodes()
|
/hardware/qcom/sm8150p/gps/utils/ |
D | LocHeap.cpp | 199 int totalSize = mSize; in checkNodes() local 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes() 219 return totalSize == 1; in checkNodes()
|
/hardware/qcom/sm7150/gps/utils/ |
D | LocHeap.cpp | 199 int totalSize = mSize; in checkNodes() local 206 totalSize -= mLeft->mSize; in checkNodes() 215 totalSize -= mRight->mSize; in checkNodes() 219 return totalSize == 1; in checkNodes()
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 849 size_t totalSize = 0; in decrypt() local 851 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 852 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 858 getDecryptMemory(totalSize * 2, kSegmentIndex); in decrypt() 861 .bufferId = kSegmentIndex, .offset = 0, .size = totalSize}; in decrypt() 866 .offset = totalSize, in decrypt() 867 .size = totalSize}, in decrypt() 881 if (bytesWritten != totalSize) { in decrypt() 888 vector<uint8_t> reference(totalSize); in decrypt() 893 memcpy(&reference[0], base, totalSize); in decrypt() [all …]
|
D | drm_hal_vendor_test.cpp | 1139 size_t totalSize = 0; in decrypt() local 1141 totalSize += subSamples[i].numBytesOfClearData; in decrypt() 1142 totalSize += subSamples[i].numBytesOfEncryptedData; in decrypt() 1148 getDecryptMemory(totalSize * 2, kSegmentIndex); in decrypt() 1151 .bufferId = kSegmentIndex, .offset = 0, .size = totalSize}; in decrypt() 1156 .offset = totalSize, in decrypt() 1157 .size = totalSize}, in decrypt() 1170 if (bytesWritten != totalSize) { in decrypt() 1177 vector<uint8_t> reference(totalSize); in decrypt() 1182 memcpy(&reference[0], base, totalSize); in decrypt() [all …]
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | CommandBufferStagingStream.cpp | 75 const size_t totalSize = size + kSyncDataSize; in CommandBufferStagingStream() local 76 memory = allocFn(totalSize); in CommandBufferStagingStream()
|
/hardware/google/aemu/base/include/aemu/base/ |
D | SubAllocator.h | 34 uint64_t totalSize,
|
/hardware/google/aemu/snapshot/include/snapshot/ |
D | common.h | 31 int64_t totalSize; member
|
/hardware/interfaces/camera/device/3.2/default/ |
D | CameraDeviceSession.cpp | 1543 size_t totalSize = get_camera_metadata_size(md); in sShouldShrink() local 1544 if (totalSize >= compactSize + METADATA_SHRINK_ABS_THRESHOLD && in sShouldShrink() 1545 totalSize >= compactSize * METADATA_SHRINK_REL_THRESHOLD) { in sShouldShrink() 1546 ALOGV("Camera metadata should be shrunk from %zu to %zu", totalSize, compactSize); in sShouldShrink()
|
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/ |
D | SaveableTexture.cpp | 332 uint32_t totalSize = pixelSize * alignedWidth * height; in s_texImageSize() local 334 return totalSize; in s_texImageSize()
|