Home
last modified time | relevance | path

Searched refs:readableSize (Results 1 - 11 of 11) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/
H A Drs_occlusion_data.cpp29 size_t readableSize = parcel.GetReadableBytes() / (sizeof(uint64_t) + sizeof(uint32_t)); in Unmarshalling() local
31 if (len > readableSize || len > data->visibleData_.max_size()) { in Unmarshalling()
32 RS_LOGE("RSOcclusionData Unmarshalling Failed read vector, size:%{public}zu, readableSize:%{public}zu", in Unmarshalling()
33 len, readableSize); in Unmarshalling()
H A Drs_hgm_config_data.cpp37 size_t readableSize = parcel.GetReadableBytes() / sizeof(uint64_t); in Unmarshalling() local
39 if (len > readableSize || len > data->configData_.max_size()) { in Unmarshalling()
40 RS_LOGE("RSHgmConfigData Unmarshalling Failed read vector, size:%zu, readableSize:%zu", len, readableSize); in Unmarshalling()
H A Drs_transaction_data.cpp231 size_t readableSize = parcel.GetReadableBytes(); in UnmarshallingCommand() local
233 if (len > readableSize || len > payload_.max_size()) { in UnmarshallingCommand()
235 " readAbleSize:%{public}zu", len, readableSize); in UnmarshallingCommand()
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_ring_cache.cpp245 OptResult AudioRingCache::HandleCrossDequeue(size_t tempReadIndex, size_t readableSize, const BufferWrap &buffer) in HandleCrossDequeue() argument
255 result = {OPERATION_FAILED, readableSize}; in HandleCrossDequeue()
289 size_t readableSize = result.size; in Dequeue() local
290 if (buffer.dataSize > readableSize) { in Dequeue()
291 result = {INVALID_OPERATION, readableSize}; in Dequeue()
292 AUDIO_WARNING_LOG("Dequeue find buffer not enough, readableSize:%{public}zu , Dequeue size:%{public}zu", in Dequeue()
293 readableSize, buffer.dataSize); in Dequeue()
297 // buffer.dataSize <= readableSize, let's do memory copy. in Dequeue()
301 return HandleCrossDequeue(tempReadIndex, readableSize, buffer); in Dequeue()
309 result = {OPERATION_FAILED, readableSize}; in Dequeue()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_screen_hdr_capability.cpp86 size_t readableSize = parcel.GetReadableBytes() / sizeof(ScreenHDRFormat); in ReadVector() local
88 if (len > readableSize || len > unmarFormats.max_size()) { in ReadVector()
90 " readableSize:%{public}zu", len, readableSize); in ReadVector()
/foundation/communication/dsoftbus/tests/common/include/
H A Dfuzz_data_generator.h127 size_t readableSize = DataGenerator::GetInstance().GetReadableBytes(); local
128 len = (readableSize == 0) ? 0 : (len % readableSize);
/foundation/multimedia/audio_framework/services/audio_service/common/include/
H A Daudio_ring_cache.h82 OptResult HandleCrossDequeue(size_t tempReadIndex, size_t readableSize, const BufferWrap &buffer);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_render_service_connection_proxy.cpp450 size_t readableSize = reply.GetReadableBytes() / sizeof(ScreenId); in GetAllScreenIds() local
452 if (len > readableSize || len > screenIds.max_size()) { in GetAllScreenIds()
454 " readableSize:%{public}zu", len, readableSize); in GetAllScreenIds()
997 size_t readableSize = reply.GetReadableBytes(); in GetScreenSupportedRefreshRates() local
999 if (len > readableSize || len > screenSupportedRates.max_size()) { in GetScreenSupportedRefreshRates()
1001 "fail read vector, size : %{public}zu, readableSize : %{public}zu", len, readableSize); in GetScreenSupportedRefreshRates()
1308 size_t readableSize = reply.GetReadableBytes(); in GetScreenSupportedModes() local
1310 if (len > readableSize || le in GetScreenSupportedModes()
1346 size_t readableSize = reply.GetReadableBytes(); GetMemoryGraphics() local
3016 size_t readableSize = reply.GetReadableBytes() / (sizeof(HwcDisabledReasonInfo) - HWC_DISABLED_REASON_INFO_OFFSET); GetHwcDisabledReasonInfo() local
[all...]
H A Drs_marshalling_helper.cpp1680 uint32_t readableSize = parcel.GetReadableBytes() / (sizeof(uint32_t) * 2); // 增加IPC异常保护,读取2个uint_32_t in Unmarshalling() local
1681 if (replacedOpListSize > readableSize) { in Unmarshalling()
1682 ROSEN_LOGE("RSMarshallingHelper::Unmarshalling Drawing readableSize %{public}d less than size %{public}d", in Unmarshalling()
1683 readableSize, replacedOpListSize); in Unmarshalling()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Drenderer_in_client.cpp1497 size_t readableSize = result.size; in DrainRingCache() local
1498 if (readableSize == 0) { in DrainRingCache()
1508 // if readableSize < clientSpanSizeInByte_, server will recv a data with some empty data. in DrainRingCache()
1510 size_t minSize = std::min(readableSize, clientSpanSizeInByte_); in DrainRingCache()
1682 size_t readableSize = result.size; in WriteRingCache() local
1683 Trace::Count("RendererInClient::CacheBuffer->readableSize", readableSize); in WriteRingCache()
1685 if (readableSize < clientSpanSizeInByte_) { continue; } in WriteRingCache()
H A Dcapturer_in_client.cpp1597 size_t readableSize = std::min(result.size, userSize - readSize); in HandleCapturerRead() local
1599 result = ringCache_->Dequeue({&buffer + (readSize), readableSize}); in HandleCapturerRead()
1601 readSize += readableSize; in HandleCapturerRead()

Completed in 17 milliseconds