Home
last modified time | relevance | path

Searched refs:size (Results 25101 - 25125 of 57103) sorted by relevance

1...<<1001100210031004100510061007100810091010>>...2285

/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style.cpp256 size_t size = strlen(strtokA) + strlen(strtokB) + strlen(ANIMATION_VALUE_SEP) + 1; in ConcatJerryString() local
258 if ((size >= maxBytesNum)) { // we only support 1kb in ConcatJerryString()
263 newStr = static_cast<char *>(ace_malloc(size)); in ConcatJerryString()
273 result = MergeAnimationString(newStr, size, strtokA, strtokB); in ConcatJerryString()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_line_break.cpp28 static void* MemAlloc(const void* context, size_t size) in MemAlloc() argument
30 return UIMalloc(size); in MemAlloc()
41 static void* MemRealloc(const void* context, void* mem, size_t size) in MemRealloc() argument
43 return UIRealloc(mem, size); in MemRealloc()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dtext_component.cpp183 absoluteSizeSpan_.size = GetStylePixelValue(styleItem); in ApplyPrivateStyle()
195 relativeSizeSpan_.size = styleItem->GetFloatingValue(); in ApplyPrivateStyle()
393 absoluteSizeSpan_.size); in SetRichTextSpan()
398 relativeSizeSpan_.size); in SetRichTextSpan()
/foundation/arkui/napi/interfaces/inner_api/cjffi/ark_interop/
H A Dark_interop_napi.h79 EXPORT ARKTS_Value ARKTS_CreateUtf8(ARKTS_Env env, const char* value, int32_t size);
138 EXPORT ARKTS_Value ARKTS_CreateArray(ARKTS_Env env, uint32_t size);
139 EXPORT ARKTS_Value ARKTS_CreateArrayWithInit(ARKTS_Env env, uint32_t size, ARKTS_Value data[]);
212 EXPORT ARKTS_Value ARKTS_CreateBigIntWithBytes(ARKTS_Env env, bool isNegative, int64_t size, const uint8_t bytes[]);
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_time_picker.cpp309 void UITimePicker::SetBackgroundFont(const char* name, uint8_t size) in SetBackgroundFont() argument
311 Text::SetFont(name, size, backgroundFontName_, backgroundFontSize_); in SetBackgroundFont()
315 void UITimePicker::SetHighlightFont(const char* name, uint8_t size) in SetHighlightFont() argument
317 Text::SetFont(name, size, highlightFontName_, highlightFontSize_); in SetHighlightFont()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_info_creator.cpp126 if (codePath.size() > PATH_LENGTH || dataPath.size() > PATH_LENGTH) { in SetBundleInfo()
135 if (iconPath.size() > PATH_LENGTH) { in SetBundleInfo()
256 if (iconPath.size() > PATH_LENGTH) { in SetAbilityInfo()
/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueue_fuzzer/
H A Dbufferqueue_fuzzer.cpp153 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
161 g_size = size; in DoSomethingInterestingWithMyAPI()
189 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
192 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_compute_generic.cpp78 shaderSpecializationData_.constants.resize(sscv.constants.size()); in InitNode()
79 shaderSpecializationData_.data.resize(sscv.constants.size()); in InitNode()
80 for (size_t idx = 0; idx < shaderSpecializationData_.constants.size(); ++idx) { in InitNode()
126 return; // no way to evaluate dispatch size in ExecuteFrame()
192 Math::min((uint32_t)shaderSpecializationData_.constants.size(), spec->specializationConstantCount)); in GetPsoHandle()
217 "RENDER_VALIDATION: RenderNodeComputeGeneric shader specilization render data store size mismatch, " in GetPsoHandle()
218 "name: %s, size:%u, podsize%u", in GetPsoHandle()
H A Drender_node_fullscreen_generic.cpp54 shaderSpecializationData_.constants.resize(sscv.constants.size()); in InitNode()
55 shaderSpecializationData_.data.resize(sscv.constants.size()); in InitNode()
56 for (size_t idx = 0; idx < shaderSpecializationData_.constants.size(); ++idx) { in InitNode()
173 Math::min(spec->specializationConstantCount, (uint32_t)shaderSpecializationData_.constants.size()), in GetPsoHandle()
202 "RENDER_VALIDATION: RenderNodeFullscreenGeneric shader specilization render data store size " in GetPsoHandle()
203 "mismatch, name: %s, size:%u, podsize%u", in GetPsoHandle()
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/
H A Daudio_opensles_player_test.cpp33 static void BufferQueueCallback(SLOHBufferQueueItf bufferQueueItf, void *pContext, SLuint32 size);
274 static void BufferQueueCallback(SLOHBufferQueueItf bufferQueueItf, void *pContext, SLuint32 size) in BufferQueueCallback() argument
282 fread(buffer, 1, size, wavFile); in BufferQueueCallback()
283 (*bufferQueueItf)->Enqueue(bufferQueueItf, buffer, size); in BufferQueueCallback()
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_manager.cpp105 bufferHandle->size = buffer.GetSize(); in AllocateBufferHandle()
132 buffer->SetMaxSize(bufferHandle->size); in AllocBuffer()
152 SurfaceBufferImpl* BufferManager::AllocBuffer(uint32_t size, uint32_t usage) in AllocBuffer() argument
156 info.expectedSize = size; in AllocBuffer()
/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/
H A Daudio_opus_encoder_plugin.cpp156 AVCODEC_LOGD("SendBuffer buffer size:%{public}d", attr.size); in ProcessSendData()
157 if (attr.size != ((int32_t) (sampleRate*TIME_S))*channels*sizeof(short) && !isEos) { in ProcessSendData()
158 AVCODEC_LOGE("SendBuffer buffer size:%{public}d, expect:%{public}f", attr.size, in ProcessSendData()
186 attr.size = len; in ProcessRecieveData()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_libjpeg.cpp200 jpeg_mem_src(&cinfo, imageFileBytes.data(), imageFileBytes.size()); in Load()
249 // uses int for file sizes. Don't even try to read a file if the size does not fit to int.
266 // uses int for file sizes. Don't even try to read a file if the size does not fit to int.
268 if (imageFileBytes.size() > static_cast<size_t>(std::numeric_limits<int>::max())) {
277 // uses int for file sizes. Don't even try to read a file if the size does not fit to int.
281 if (imageFileBytes.size() > maxFileSize || imageFileBytes.size() < jpegHeaderSize) {
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_static_factory.cpp141 std::shared_ptr<TextBlob> SkiaStaticFactory::DeserializeTextBlob(const void* data, size_t size, void* ctx) in DeserializeTextBlob() argument
143 return SkiaTextBlob::Deserialize(data, size, ctx); in DeserializeTextBlob()
146 std::shared_ptr<Typeface> SkiaStaticFactory::DeserializeTypeface(const void* data, size_t size) in DeserializeTypeface() argument
148 return SkiaTypeface::Deserialize(data, size); in DeserializeTypeface()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_type.h210 Size size; member
368 Size size; member
392 MaintenanceData(std::shared_ptr<uint8_t[]> data, size_t size) : data_(data), size_(size) {} in MaintenanceData()
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/video_capture/
H A Dvideo_file_capture_plugin.cpp236 videoMeta->planes = videoMeta->stride.size(); in SetVideoBufferMeta()
272 Status VideoFileCapturePlugin::GetSize(uint64_t& size) in GetSize() argument
277 size = bufferSize_; in GetSize()
278 MEDIA_LOG_D("BufferSize_: " PUBLIC_LOG_U64, size); in GetSize()
H A Dvideo_capture_plugin.cpp100 MEDIA_LOG_E("set queue size fail"); in ConfigSurfaceConsumer()
104 MEDIA_LOG_E("set surface size fail"); in ConfigSurfaceConsumer()
251 MEDIA_LOG_E("surfaceBuffer get data size fail: " PUBLIC_LOG_U32, ret); in AcquireSurfaceBuffer()
262 MEDIA_LOG_E("surfaceBuffer get data size fail: " PUBLIC_LOG_U32, ret); in AcquireSurfaceBuffer()
285 videoMeta->planes = videoMeta->stride.size(); in SetVideoBufferMeta()
328 Status VideoCapturePlugin::GetSize(uint64_t& size) in GetSize() argument
333 size = bufferSize_; in GetSize()
334 MEDIA_LOG_D("BufferSize_: " PUBLIC_LOG_U64, size); in GetSize()
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/inner/
H A Dvideoenc_inner_mock.cpp93 bufferInfo.size = info.size; in OnOutputBufferAvailable()
292 info.size = attr.size; in PushInputData()
H A Dvideodec_inner_mock.cpp93 bufferInfo.size = info.size; in OnOutputBufferAvailable()
215 info.size = attr.size; in PushInputData()
/foundation/multimedia/image_framework/frameworks/kits/cj/include/
H A Dimage_ffi.h76 int64_t size; member
84 FFI_EXPORT int64_t FfiOHOSCreateImageSourceByBuffer(uint8_t *data, uint32_t size, uint32_t* errCode);
87 FFI_EXPORT int64_t FfiOHOSCreateImageSourceByBufferWithOption(uint8_t *data, uint32_t size, CSourceOptions opts,
89 FFI_EXPORT int64_t FfiOHOSCreateIncrementalSource(const uint8_t *data, uint32_t size,
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/
H A Davcodec_e2e_demo_api10.cpp89 if (frameList.size() > 1) { in sortFrame()
107 while (frameList.size() > 0) { in OnDecOutputDataAvailable()
148 int64_t size = GetFileSize(file); in AVCodecE2EDemoAPI10() local
149 inSource = OH_AVSource_CreateWithFD(fd, 0, size); in AVCodecE2EDemoAPI10()
H A Davcodec_e2e_demo.cpp74 if (attr.size > 0) { in OnDecInputBufferAvailable()
75 fwrite(data, attr.size, 1, demuxerOutFp); in OnDecInputBufferAvailable()
125 int64_t size = GetFileSize(file); in AVCodecE2EDemo() local
126 inSource = OH_AVSource_CreateWithFD(fd, 0, size); in AVCodecE2EDemo()
/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmedia_decrypt_module_service.cpp121 cryptInfoTmp.subSamples.resize(cryptInfo.subSample.size()); in SetCryptInfo()
122 for (size_t i = 0; i < cryptInfo.subSample.size(); i++) { in SetCryptInfo()
157 if (decryptStatistics_.topThree.size() > TOP_THREE_SIZE) { in UpdateDecryptionStatistics()
182 uint32_t currentTopThreeSize = decryptStatistics_.topThree.size(); in GetTopThreeDecryptionDurations()
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/include/
H A Dplayer_mock.h121 int32_t SetDataSrc(const std::string &path, int32_t size, bool seekable);
122 int32_t SetSource(const std::string &path, int64_t offset, int64_t size);
123 int32_t SetSource(int32_t fd, int64_t offset, int64_t size);
158 int32_t AddSubSource(const std::string &path, int64_t offset, int64_t size);
/foundation/multimedia/player_framework/services/services/player/player_mem_manage/
H A Dplayer_server_mem.h43 int32_t SetSource(int32_t fd, int64_t offset, int64_t size) override;
49 int32_t AddSubSource(int32_t fd, int64_t offset, int64_t size) override;
103 int64_t size = 0; member
112 int64_t size = 0; member

Completed in 38 milliseconds

1...<<1001100210031004100510061007100810091010>>...2285