Home
last modified time | relevance | path

Searched refs:malloc (Results 576 - 600 of 4855) sorted by relevance

1...<<21222324252627282930>>...195

/kernel/linux/linux-5.10/tools/bootconfig/include/linux/
H A Dmemblock.h9 #define memblock_alloc(size, align) malloc(size)
/kernel/liteos_a/apps/shell/src/
H A Dshcmdparse.c44 newStr = (char *)malloc(strlen(str) + 1); in OsCmdParseStrdup()
/third_party/musl/src/string/
H A Dstrdup.c7 char *d = malloc(l+1); in strdup()
/third_party/musl/porting/uniproton/kernel/src/string/
H A Dstrdup.c7 char *d = malloc(l+1); in strdup()
/third_party/musl/libc-test/src/regression/
H A Dmalloc-oom.c0 // malloc should set errno on oom
13 if (malloc(50000)) in main()
14 t_error("malloc was successful\n"); in main()
/third_party/musl/porting/liteos_a/kernel/src/string/
H A Dstrdup.c7 char *d = malloc(l+1); in strdup()
/third_party/musl/porting/liteos_m/kernel/src/string/
H A Dstrdup.c7 char *d = malloc(l+1); in strdup()
/third_party/node/deps/brotli/c/common/
H A Dplatform.c15 return malloc(size); in BrotliDefaultAllocFunc()
/third_party/ltp/utils/benchmark/ebizzy-0.3/
H A Debizzy.h7 #include <malloc.h>
/third_party/skia/third_party/externals/brotli/c/common/
H A Dplatform.c15 return malloc(size); in BrotliDefaultAllocFunc()
/third_party/python/Objects/
H A Dobmalloc.c6 #include <stdlib.h> // malloc()
13 /* Python's malloc wrappers (see pymem.h) */
95 /* PyMem_RawMalloc(0) means malloc(1). Some systems would return NULL in _PyMem_RawMalloc()
96 for malloc(0), which would be treated as an error. Some platforms would in _PyMem_RawMalloc()
101 return malloc(size); in _PyMem_RawMalloc()
170 return malloc(size); in _PyObject_ArenaMalloc()
294 else if (strcmp(name, "malloc") == 0) { in _PyMem_GetAllocatorName()
387 return "malloc"; in _PyMem_GetCurrentAllocatorName()
450 return (_PyObject.malloc == _PyMem_DebugMalloc); in _PyMem_DebugEnabled()
457 return (_PyMem_Debug.obj.alloc.malloc in _PyMem_PymallocEnabled()
[all...]
/base/hiviewdfx/hiview/base/utility/
H A Dmemory_util.cpp18 #include <malloc.h>
/base/global/resource_management/interfaces/cj/src/
H A Dutils.cpp24 char* res = static_cast<char*>(malloc(sizeof(char) * len)); in MallocCString()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_xz_utils.h18 #include <malloc.h>
/base/security/certificate_framework/frameworks/common/v1.0/src/
H A Dcf_memory.c24 LOGE("malloc size is invalid"); in CfMalloc()
27 void *addr = malloc(size); in CfMalloc()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/posix/
H A Dcm_mem.c35 return malloc(size); in CmMalloc()
/base/security/crypto_framework/common/src/
H A Dmemory.c24 LOGE("malloc size is invalid"); in HcfMalloc()
27 void *addr = malloc(size); in HcfMalloc()
/base/web/webview/ohos_interface/ohos_glue/base/include/
H A Dark_web_memory.cpp33 mem = malloc(size); in ArkWebMemMalloc()
35 ARK_WEB_BASE_DV_LOG("failed to malloc memery,size is %{public}d", size); in ArkWebMemMalloc()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dmalloc.h2 * @defgroup malloc Malloc
18 * @ingroup malloc
21 * The malloc() function shall allocate unused space for an object whose size in bytes is specified by byte_count
22 * and whose value is unspecified. If byte_count is 0, then malloc() returns NULL.
29 * @retval #void* Upon successful completion with byte_count not equal to 0, malloc() shall return a pointer to the allocated space.
33 * <ul><li>malloc.h</li></ul>
36 void *malloc (size_t);
/foundation/distributeddatamgr/kv_store/frameworks/cj/src/
H A Ddistributed_kv_store_utils.cpp26 char* res = static_cast<char*>(malloc(sizeof(char) * len)); in MallocCString()
/foundation/distributeddatamgr/preferences/frameworks/cj/src/
H A Dpreferences_utils.cpp26 char* res = static_cast<char*>(malloc(len * sizeof(char))); in MallocCString()
/foundation/graphic/graphic_2d/interfaces/kits/cj/color_manager/
H A Dcj_color_mgr_utils.cpp24 char* res = static_cast<char*>(malloc(sizeof(char) * len)); in MallocCString()
/kernel/linux/linux-6.6/tools/build/feature/
H A Dtest-cxa-demangle.cpp9 char *output = (char*)malloc(len); in main()
/third_party/curl/src/
H A Dtool_strdup.c37 newstr = malloc(len); in strdup()
/third_party/backends/lib/
H A Dstrndup.c32 clone = malloc (n + 1); in strndup()

Completed in 15 milliseconds

1...<<21222324252627282930>>...195