Home
last modified time | relevance | path

Searched refs:malloc (Results 926 - 950 of 1412) sorted by relevance

1...<<31323334353637383940>>...57

/foundation/ability/ability_runtime/test/fuzztest/dataabilitymanager_fuzzer/
H A Ddataabilitymanager_fuzzer.cpp124 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
126 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_paint_mem.h109 p = std::malloc(size); in MallocFlags()
/foundation/arkui/ace_engine/component_ext/ext_common/
H A Dext_napi_utils.cpp122 char* strTmp = static_cast<char*>(malloc(stringLength + 1)); in GetStringFromValueUtf8()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_native_view_ffi.cpp192 auto temp = (int64_t*)malloc(sizeof(int64_t) * result.size()); in FfiOHOSAceFrameworkViewGetDeletedElemtIds()
194 LOGE("FfiOHOSAceFrameworkViewGetDeletedElemtIds fail, malloc fail"); in FfiOHOSAceFrameworkViewGetDeletedElemtIds()
/foundation/arkui/ui_lite/frameworks/engines/gfx/
H A Dsoft_engine.cpp143 return static_cast<uint8_t*>(malloc(size)); in AllocBuffer()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bundleresmgr_fuzzer/
H A Dbundleresmgr_fuzzer.cpp109 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/communication/bluetooth/frameworks/cj/connection/src/
H A Dbluetooth_connection_callback.cpp49 char **retValue = static_cast<char**>(malloc(sizeof(char*) * array.size)); in OnDiscoveryResult()
/foundation/graphic/graphic_surface/buffer_handle/src/
H A Dbuffer_handle.cpp44 BufferHandle *handle = static_cast<BufferHandle *>(malloc(handleSize)); in AllocateBufferHandle()
59 UTILS_LOGE("AllocateBufferHandle malloc %{public}zu failed", handleSize); in AllocateBufferHandle()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/benchmark/
H A Dbenchmark_audiorenderer_test.cpp193 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(bufferLen)); in BENCHMARK_F()
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/imagefilter/
H A Dfilter_blur.h54 integral_ = (int32_t*)malloc((width + 1) * (height + 1) * channel * sizeof(int32_t)); in BoxBlur()
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_capturer_callback.cpp89 arr.head = static_cast<uint8_t *>(malloc(sizeof(uint8_t) * arr.size)); in OnReadData()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_gif_test.cpp107 uint8_t *buffer = static_cast<uint8_t *>(malloc(bufferSize)); in HWTEST_F()
H A Dimage_source_util.cpp84 uint8_t *resultBuffer = reinterpret_cast<uint8_t *>(malloc(bufferSize)); in PackImage()
86 IMAGE_LOGE("image packer malloc buffer failed."); in PackImage()
/foundation/multimedia/media_foundation/test/scenetest/helper/
H A Dlite_stream_player.cpp63 outDataPtr = reinterpret_cast<uint8_t*>(malloc(inputSize)); in GetDataFromSource()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/stream/src/
H A Distream_source_stream.cpp169 databuffer_ = static_cast<uint8_t *>(malloc(desiredSize)); in GetData()
171 IMAGE_LOGE("[IstreamSourceStream]malloc the output data buffer fail."); in GetData()
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avformat/inner/
H A Davformat_inner_mock.cpp131 dumpInfo_ = static_cast<char *>(malloc((bufLength + 1) * sizeof(char))); in DumpInfo()
/foundation/multimedia/media_lite/services/player_lite/impl/buffersource/src/
H A Dbuffer_source.cpp70 buffer_[i].virAddr = malloc(BUFFER_SIZE); in Init()
72 MEDIA_ERR_LOG("BufferSource::Init, malloc failed\n"); in Init()
/foundation/multimedia/player_framework/services/dfx/
H A Ddfx_log_dump.cpp19 #include <malloc.h>
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Dsoftbus_event_converter.h43 *str = (char *)malloc(maxLen); in InitString()
45 COMM_LOGE(COMM_DFX, "malloc param string fail"); in InitString()
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_a/
H A Dserializer_inner.c84 AnonymousApi *anonymousApi = (AnonymousApi *)malloc(sizeof(AnonymousApi)); in AddList()
86 RPC_LOG_ERROR("anonymousApi malloc failed"); in AddList()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_p2p_hal/
H A Dwifi_p2p_hal.h21 #include <malloc.h>
/foundation/distributeddatamgr/preferences/frameworks/ndk/src/
H A Doh_preferences_value.cpp134 void *ptr = malloc(strLen + 1); // free by caller in OH_PreferencesValue_GetString()
136 LOG_ERROR("malloc failed when value get string, errno: %{public}d", errno); in OH_PreferencesValue_GetString()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/ipc/
H A Dcloud_daemon.cpp21 #include <malloc.h>
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/
H A Dthread_linux.c196 TaskItem *task = (TaskItem *)malloc(sizeof(TaskItem)); in ThreadPostTask()
/foundation/communication/dhcp/services/utils/src/
H A Ddhcp_common_utils.cpp62 char *strIp = static_cast<char *>(malloc(INET_ADDRSTRLEN)); in UintIp4ToStr()
64 DHCP_LOGE("UintIp4ToStr strIp malloc failed!"); in UintIp4ToStr()

Completed in 10 milliseconds

1...<<31323334353637383940>>...57