| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | malloc.h | 16 void *mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size); 24 #define calloc(nmemb, size) \ argument 25 mdbg_calloc(__FILE__, __LINE__, (nmemb), (size)) 34 void *calloc(size_t nmemb, size_t size); 95 void *nex_mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size); 103 #define nex_calloc(nmemb, size) \ argument 104 nex_mdbg_calloc(__FILE__, __LINE__, (nmemb), (size)) 113 void *nex_calloc(size_t nmemb, size_t size); 138 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | malloc.h | 16 void *mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size); 24 #define calloc(nmemb, size) \ argument 25 mdbg_calloc(__FILE__, __LINE__, (nmemb), (size)) 34 void *calloc(size_t nmemb, size_t size); 95 void *nex_mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size); 103 #define nex_calloc(nmemb, size) \ argument 104 nex_mdbg_calloc(__FILE__, __LINE__, (nmemb), (size)) 113 void *nex_calloc(size_t nmemb, size_t size); 138 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | reallocarray.c | 35 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() argument 37 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) && in reallocarray() 38 nmemb > 0 && SIZE_MAX / nmemb < size) { in reallocarray() 42 return realloc(optr, size * nmemb); in reallocarray()
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch | 37 +xcalloc (grub_size_t nmemb, grub_size_t size) 41 + p = calloc (nmemb, size); 60 +grub_calloc (grub_size_t nmemb, grub_size_t size) 63 + ret = calloc (nmemb, size); 96 +grub_calloc (grub_size_t nmemb, grub_size_t size) 101 + if (grub_mul (nmemb, size, &sz)) 123 +grub_debug_calloc (const char *file, int line, grub_size_t nmemb, grub_size_t size) 130 + ptr = grub_calloc (nmemb, size); 209 +void * EXPORT_FUNC(xcalloc) (grub_size_t nmemb, grub_size_t size) WARN_UNUSED_RESULT; 221 +void *EXPORT_FUNC(grub_calloc) (grub_size_t nmemb, grub_size_t size); [all …]
|
| H A D | 0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch | 22 @@ -594,7 +594,7 @@ grub_debug_calloc (const char *file, int line, grub_size_t nmemb, grub_size_t si 27 + file, line, nmemb, size); 28 ptr = grub_calloc (nmemb, size);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/ |
| H A D | malloc.h | 38 void *mdbg_calloc(const char *fname, int lineno, size_t nmemb, size_t size); 46 #define calloc(nmemb, size) \ argument 47 mdbg_calloc(__FILE__, __LINE__, (nmemb), (size)) 56 void *calloc(size_t nmemb, size_t size);
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/ |
| H A D | 0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch | 27 * that only if nmemb > 0. 29 -static inline void qsort_safe(void *base, size_t nmemb, size_t size, comparison_fn_t compar) { 30 +static inline void qsort_safe(void *base, size_t nmemb, size_t size, int (*compar)(const void *, c… 31 if (nmemb <= 1)
|
| /OK3568_Linux_fs/external/recovery/mtdutils/ |
| H A D | rk29.c | 182 size_t rk29_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) in rk29_fread() argument 194 if (!size || !nmemb) in rk29_fread() 206 total = size * nmemb; in rk29_fread() 246 size_t rk29_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) in rk29_fwrite() argument 258 if (!size || !nmemb) in rk29_fwrite() 270 total = size * nmemb; in rk29_fwrite()
|
| H A D | rk29.h | 35 size_t rk29_fread(void *ptr, size_t size, size_t nmemb, FILE *stream); 36 size_t rk29_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
|
| /OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/ |
| H A D | rk29.c | 207 size_t rk29_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) in rk29_fread() argument 219 if (!size || !nmemb) in rk29_fread() 231 total = size * nmemb; in rk29_fread() 271 size_t rk29_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) in rk29_fwrite() argument 283 if (!size || !nmemb) in rk29_fwrite() 295 total = size * nmemb; in rk29_fwrite()
|
| H A D | rk29.h | 37 size_t rk29_fread(void *ptr, size_t size, size_t nmemb, FILE *stream); 38 size_t rk29_fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
|
| /OK3568_Linux_fs/kernel/tools/include/tools/ |
| H A D | libc_compat.h | 11 static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) in reallocarray() argument 15 if (unlikely(check_mul_overflow(nmemb, size, &bytes))) in reallocarray()
|
| /OK3568_Linux_fs/kernel/tools/lib/bpf/ |
| H A D | libbpf_internal.h | 93 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray() argument 98 if (unlikely(__builtin_mul_overflow(nmemb, size, &total))) in libbpf_reallocarray() 101 if (size == 0 || nmemb > ULONG_MAX / size) in libbpf_reallocarray() 103 total = nmemb * size; in libbpf_reallocarray()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/ |
| H A D | http_file_source.cpp | 152 …static size_t headerCallback(char *const buffer, const size_t size, const size_t nmemb, void *user… 153 …static size_t writeCallback(void *const contents, const size_t size, const size_t nmemb, void *use… 360 size_t HTTPRequest::writeCallback(void *const contents, const size_t size, const size_t nmemb, void… in writeCallback() argument 368 impl->data->append((char *)contents, size * nmemb); in writeCallback() 369 return size * nmemb; in writeCallback() 388 size_t HTTPRequest::headerCallback(char *const buffer, const size_t size, const size_t nmemb, void … in headerCallback() argument 396 const size_t length = size * nmemb; in headerCallback()
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | download.c | 23 size_t my_write_func(void *ptr, size_t size, size_t nmemb, FILE *stream) in my_write_func() argument 25 return fwrite(ptr, size, nmemb, stream); in my_write_func()
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | malloc_simple.c | 55 void *calloc(size_t nmemb, size_t elem_size) in calloc() argument 57 size_t size = nmemb * elem_size; in calloc()
|
| /OK3568_Linux_fs/kernel/scripts/kconfig/ |
| H A D | util.c | 91 void *xcalloc(size_t nmemb, size_t size) in xcalloc() argument 93 void *p = calloc(nmemb, size); in xcalloc()
|
| /OK3568_Linux_fs/u-boot/scripts/kconfig/ |
| H A D | util.c | 140 void *xcalloc(size_t nmemb, size_t size) in xcalloc() argument 142 void *p = calloc(nmemb, size); in xcalloc()
|
| /OK3568_Linux_fs/buildroot/package/iwd/ |
| H A D | 0001-build-Add-reallocarray-to-missing-h.patch | 48 +static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) 50 + return realloc(ptr, nmemb * size);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/ |
| H A D | cstdlib | 48 void* calloc(size_t nmemb, size_t size); 58 void* bsearch(const void* key, const void* base, size_t nmemb, size_t size, 60 void qsort(void* base, size_t nmemb, size_t size,
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/ |
| H A D | cstdlib | 48 void* calloc(size_t nmemb, size_t size); 58 void* bsearch(const void* key, const void* base, size_t nmemb, size_t size, 60 void qsort(void* base, size_t nmemb, size_t size,
|
| /OK3568_Linux_fs/buildroot/support/kconfig/ |
| H A D | util.c | 152 void *xcalloc(size_t nmemb, size_t size) in xcalloc() argument 154 void *p = calloc(nmemb, size); in xcalloc()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
| H A D | 0002-don-t-use-glibc-specific-qsort_r.patch | 28 -static inline void qsort_r_safe(void *base, size_t nmemb, size_t size, comparison_userdata_fn_t co… 29 - if (nmemb <= 1) 33 - qsort_r(base, nmemb, size, compar, userdata);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_gem.c | 256 static inline void *drm_calloc_large(size_t nmemb, size_t size); 332 static inline void *drm_calloc_large(size_t nmemb, size_t size) in drm_calloc_large() argument 334 if (size != 0 && nmemb > SIZE_MAX / size) in drm_calloc_large() 337 if (size * nmemb <= PAGE_SIZE) in drm_calloc_large() 338 return kcalloc(nmemb, size, GFP_KERNEL); in drm_calloc_large() 340 return __vmalloc(size * nmemb, in drm_calloc_large()
|
| /OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/ |
| H A D | mystdlib.h | 28 size_t nmemb, size_t size,
|