/foundation/multimedia/drm_framework/services/drm_service/client/src/ |
H A D | key_session_service_callback_proxy.cpp | 82 uint32_t idSize = item.first.size(); in SendEventKeyChanged() local 83 (void)parcelData.WriteUint32(idSize); in SendEventKeyChanged() 84 DRM_CHECK_AND_RETURN_RET_LOG(idSize < DATA_MAX_LEN, DRM_MEMORY_ERROR, "The size of data is too large."); in SendEventKeyChanged() 85 if (idSize != 0) { in SendEventKeyChanged() 86 if (!parcelData.WriteBuffer(item.first.data(), idSize)) { in SendEventKeyChanged()
|
/foundation/multimedia/drm_framework/services/drm_service/server/src/ |
H A D | key_session_service_callback_stub.cpp | 73 uint32_t idSize = data.ReadUint32(); in HandleSendEventKeyChanged() 74 if (idSize != 0) { in HandleSendEventKeyChanged() 75 const uint8_t *idBuf = static_cast<const uint8_t *>(data.ReadUnpadBuffer(idSize)); in HandleSendEventKeyChanged() 80 item.assign(idBuf, idBuf + idSize); in HandleSendEventKeyChanged()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/render/ |
H A D | plugin_render.cpp | 39 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in OnSurfaceCreatedCB() local 40 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceCreatedCB() 66 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in OnSurfaceDestroyedCB() local 67 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceDestroyedCB() 126 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in NapiDrawRectangle() local 127 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in NapiDrawRectangle()
|
/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/ |
H A D | audio_ffmpeg_vorbis_decoder_plugin.cpp | 119 void AudioFFMpegVorbisDecoderPlugin::GetExtradataSize(size_t idSize, size_t setupSize) const in GetExtradataSize() argument 122 auto extradata_size = 1 + (1 + idSize/NUMBER_PER_BYTES + idSize) + in GetExtradataSize() 158 size_t idSize; in GenExtradata() local 160 if (!format.GetBuffer(MediaDescriptionKey::MD_KEY_IDENTIFICATION_HEADER.data(), &idHeader, idSize)) { in GenExtradata() 171 GetExtradataSize(idSize, setupSize); in GenExtradata() 180 offset += PutHeaderLength(codecCtx->extradata + offset, idSize); in GenExtradata() 184 int ret = memcpy_s(codecCtx->extradata + offset, codecCtx->extradata_size - offset, idHeader, idSize); in GenExtradata() 189 offset += static_cast<int>(idSize); in GenExtradata()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | my_xcomponent.cpp | 73 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in OnSurfaceCreatedCB() local 74 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB() 104 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in OnSurfaceDestroyedCB() local 105 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB() 390 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in NapiSetTestCount() local 391 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiSetTestCount() 440 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in NapiGetTime() local 441 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiGetTime() 501 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in NapiGetTestNames() local 502 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) ! in NapiGetTestNames() 555 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; NapiFunctionCpu() local 607 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; NapiStabilityCpu() local 659 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; NapiFunctionGpu() local 713 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; NapiPerformanceCpu() local 765 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; NapiPerformanceGpu() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_ref_box.cpp | 87 int idSize = ((GetVersion() == HEIF_BOX_VERSION_ZERO) ? UINT16_BYTES_NUM : UINT32_BYTES_NUM); in Write() local 91 static_cast<size_t>(idSize) * (UINT8_BYTES_NUM + ref.toItemIds.size())); in Write() 96 writer.Write(idSize, ref.fromItemId); in Write() 100 writer.Write(idSize, r); in Write()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.cpp | 214 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in NapiDrawPattern() local 215 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in NapiDrawPattern() 298 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in OnSurfaceCreatedCB() local 299 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceCreatedCB() 327 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in OnSurfaceDestroyedCB() local 328 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in OnSurfaceDestroyedCB()
|
/foundation/filemanagement/dfs_service/utils/cloud_disk/src/ |
H A D | cloud_file_utils.cpp | 186 auto idSize = getxattr(path.c_str(), CLOUD_FILE_CLOUD_ID_XATTR.c_str(), nullptr, 0); in GetCloudId() local 187 if (idSize <= 0) { in GetCloudId() 190 char cloudId[idSize + 1]; in GetCloudId() 191 idSize = getxattr(path.c_str(), CLOUD_FILE_CLOUD_ID_XATTR.c_str(), cloudId, idSize); in GetCloudId() 192 if (idSize <= 0) { in GetCloudId()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/samples/ |
H A D | sample_bitmap.cpp | 36 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in OnSurfaceCreatedCB() local 37 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB() 64 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in OnSurfaceDestroyedCB() local 65 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB() 408 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in NapiDrawPattern() local 409 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiDrawPattern() 456 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in NapiDrawText() local 457 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiDrawText()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_eglCreateWindowSurface/entry/src/main/cpp/manager/ |
H A D | plugin_manager.cpp | 67 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in Export() local 68 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/plugin/ |
H A D | plugin_manager.cpp | 69 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in Export() local 70 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/entry/src/main/cpp/plugin/ |
H A D | plugin_manager.cpp | 67 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1; in Export() local 68 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
|
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_xComponentContext/entry/src/main/cpp/plugin/ |
H A D | plugin_manager.cpp | 89 uint64_t idSize = OH_XCOMPONENT_ID_LEN_MAX + 1;
in Export() local 90 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) {
in Export()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | native_interface_xcomponent_impl.cpp | 28 uint64_t idSize = static_cast<uint64_t>(xcomponentId.size()); in GetXComponentId() local 29 if (idSize > (uint64_t)(OH_XCOMPONENT_ID_LEN_MAX)) { in GetXComponentId() 33 if (strncpy_s(id, (*size), xcomponentId.c_str(), idSize) == 0) { in GetXComponentId() 34 (*size) = idSize; in GetXComponentId()
|
/foundation/multimedia/av_codec/services/engine/codec/include/audio/decoder/ |
H A D | audio_ffmpeg_vorbis_decoder_plugin.h | 48 void GetExtradataSize(size_t idSize, size_t setupSize) const;
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/vorbis/ |
H A D | ffmpeg_vorbis_decoder_plugin.cpp | 196 void FFmpegVorbisDecoderPlugin::GetExtradataSize(size_t idSize, size_t setupSize) const in GetExtradataSize() argument 199 auto extradata_size = 1 + (1 + idSize / NUMBER_PER_BYTES + idSize) + in GetExtradataSize()
|
H A D | ffmpeg_vorbis_decoder_plugin.h | 70 void GetExtradataSize(size_t idSize, size_t setupSize) const;
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/ape/ |
H A D | ffmpeg_ape_decoder_plugin.h | 72 void GetExtradataSize(size_t idSize, size_t setupSize) const;
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/ |
H A D | dcamera_source_input.cpp | 138 uint64_t idSize = static_cast<uint64_t>((*iter)->streamIds_.size()); in StartCapture() local 140 "idSize: %{public}" PRIu64" isCap: %{public}d", GetAnonyString(devId_).c_str(), in StartCapture() 141 GetAnonyString(dhId_).c_str(), (*iter)->type_, idSize, (*iter)->isCapture_ ? 1 : 0); in StartCapture()
|