Home
last modified time | relevance | path

Searched refs:malloc (Results 151 - 175 of 1087) sorted by relevance

12345678910>>...44

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerinstallbundle_fuzzer/
H A Dbasebundleinstallerinstallbundle_fuzzer.cpp56 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessinstallbundlebybundlename_fuzzer/
H A Dbasebundleinstallerprocessinstallbundlebybundlename_fuzzer.cpp56 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerprocessmoduleupdate_fuzzer/
H A Dbasebundleinstallerprocessmoduleupdate_fuzzer.cpp56 char *ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifymanagerhostimplinnerverify_fuzzer/
H A Dverifymanagerhostimplinnerverify_fuzzer.cpp55 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifymanagerhostimplverify_fuzzer/
H A Dverifymanagerhostimplverify_fuzzer.cpp55 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifymanagerhostimplverifyabc_fuzzer/
H A Dverifymanagerhostimplverifyabc_fuzzer.cpp57 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/verifymanagerhostimplverifyabcdir_fuzzer/
H A Dverifymanagerhostimplverifyabcdir_fuzzer.cpp57 char* ch = static_cast<char*>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_stream_manager_callback.cpp32 malloc(sizeof(CAudioCapturerChangeInfo) * audioCapturerChangeInfos.size())); in OnCapturerStateChange()
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davsession_pixel_map.h23 #include <malloc.h>
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/starttimesync_fuzzer/
H A Dstarttimesync_fuzzer.cpp43 char *tmp = reinterpret_cast<char *>(malloc(size)); in StartTimeSyncTest()
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/activemetanode_fuzzer/
H A Dactivemetanode_fuzzer.cpp41 char *tmp = reinterpret_cast<char *>(malloc(size)); in DoSomethingInterestingWithMyAPI()
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/getallnodedeviceinfo_fuzzer/
H A Dgetallnodedeviceinfo_fuzzer.cpp32 char *tmp = reinterpret_cast<char *>(malloc(size)); in GetAllNodeDeviceInfoTest()
/foundation/communication/ipc/services/dbinder/c/ipc_adapter/mini/
H A Ddbinder_ipc_adapter.c48 proxyObject->proxy = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RpcGetSystemAbility()
/foundation/distributeddatamgr/pasteboard/framework/tlv/
H A Dparcel_util.cpp41 auto *temp = malloc(rawMem.bufferLen); // free by Parcel! in Raw2Parcel()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dmutex.c27 Mutex *mutex = (Mutex *)malloc(sizeof(Mutex)); in MutexCreate()
/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/
H A Dmemory_manager_test.cpp133 void* memory = malloc(10); in HWTEST_F()
186 void* buffer = malloc(10); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/
H A Dcj_ability_stage.cpp32 auto res = static_cast<char*>(malloc(length)); in CreateCStringFromString()
61 CurrentHapModuleInfo* buffer = static_cast<CurrentHapModuleInfo*>(malloc(sizeof(CurrentHapModuleInfo))); in FFICJCurrentHapModuleInfo()
/foundation/communication/ipc/ipc/test/rpc/samgr/
H A Drpc_samgr.c130 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
148 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); in RemoteRequest()
/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/
H A Dsend_context.cpp46 data = malloc(dataLen); in HandleParseString()
77 data = malloc(dataLen); in HandleParseArrayBuffer()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_gap_if.c57 RfcommSecurityResultInfo *ctx = malloc(sizeof(RfcommSecurityResultInfo)); in RfcommRecvChannelSecurityResultCallback()
98 RfcommSecurityResultInfo *ctx = malloc(sizeof(RfcommSecurityResultInfo)); in RfcommRecvSessionSecurityResultCallback()
/foundation/communication/ipc/ipc/native/c/rpc/src/
H A Ddbinder_invoker.c128 transData->buffer = (char *)malloc(dataSize); in ProcessNormalData()
130 RPC_LOG_ERROR("transData buffer malloc failed"); in ProcessNormalData()
156 sessionObject->buffer = (char *)malloc((size_t)transData->sizeOfSelf); in MoveTransData2Buffer()
158 RPC_LOG_ERROR("sessionObject buffer malloc failed"); in MoveTransData2Buffer()
248 ThreadMessageInfo *messageInfo = (ThreadMessageInfo *)malloc(sizeof(ThreadMessageInfo)); in MakeThreadMessageInfo()
250 RPC_LOG_ERROR("messageInfo malloc failed"); in MakeThreadMessageInfo()
418 messageInfo->buffer = (void *)malloc(bufferSize); in ProcessReply()
465 ThreadProcessInfo *processInfo = (ThreadProcessInfo *)malloc(sizeof(ThreadProcessInfo)); in MakeThreadProcessInfo()
469 processInfo->buffer = (char *)malloc(size); in MakeThreadProcessInfo()
534 HandleSessionList *stubSession = (HandleSessionList *)malloc(sizeo in OnReceiveNewConnection()
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/Mock/
H A Dmock_wpa_suppliant.cpp542 info->srcAddress = (uint8_t *)malloc(sizeof(uint8_t) * (ETH_ADDR_LEN + 1)); in P2pGetPeer()
546 info->p2pDeviceAddress = (uint8_t *)malloc(sizeof(uint8_t) * (ETH_ADDR_LEN + 1)); in P2pGetPeer()
550 info->primaryDeviceType = (uint8_t *)malloc(sizeof(uint8_t) * WIFI_P2P_DEVICE_TYPE_LENGTH); in P2pGetPeer()
554 info->deviceName = (uint8_t *)malloc(sizeof(uint8_t) * WIFI_P2P_DEVICE_NAME_LENGTH); in P2pGetPeer()
558 info->wfdDeviceInfo = (uint8_t *)malloc(sizeof(uint8_t) * WIFI_P2P_WFD_DEVICE_INFO_LENGTH); in P2pGetPeer()
562 info->operSsid = (uint8_t *)malloc(sizeof(uint8_t) * WIFI_P2P_DEVICE_NAME_LENGTH); in P2pGetPeer()
/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/
H A Ddbm_kv_store.c168 DBHandle db = (DBHandle)malloc(sizeof(DBM)); in GetKVDBHandle()
284 char* sumFilePath = (char *)malloc(MAX_KEY_PATH + 1); in OpenSumFile()
505 KeyItem* item = (KeyItem *)malloc(sizeof(KeyItem)); in VacuumStore()
771 char* valueRead = (char *)malloc(valueLen); in GetValueByFile()
850 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in SetValueToFile()
928 char* valueContent = (char *)malloc(len + KV_SUM_BLOCK_SIZE); // Avoid stack overflows in InsertKV()
964 char* valueContent = (char *)malloc(len + KV_SUM_BLOCK_SIZE); in UpdateKV()
1064 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in FindDataItem()
1141 KeyItem* item = (KeyItem *)malloc(sizeof(KeyItem)); in Put()
1226 KeyItem* item = (KeyItem *)malloc(sizeo in Delete()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/forcetimeoutfortest_fuzzer/
H A Dforcetimeoutfortest_fuzzer.cpp63 char *ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
65 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/handledlpapp_fuzzer/
H A Dhandledlpapp_fuzzer.cpp73 char* ch = (char*)malloc(size + 1); in LLVMFuzzerTestOneInput()
75 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()

Completed in 12 milliseconds

12345678910>>...44