Home
last modified time | relevance | path

Searched refs:size_bytes (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.7.0/components/heap/
Dheap_caps_linux.c114 size_t size_bytes; in heap_caps_calloc_base() local
116 if (__builtin_mul_overflow(n, size, &size_bytes)) { in heap_caps_calloc_base()
217 size_t size_bytes; in heap_caps_aligned_calloc() local
218 if (__builtin_mul_overflow(n, size, &size_bytes)) { in heap_caps_aligned_calloc()
222 void *ptr = heap_caps_aligned_alloc(alignment, size_bytes, caps); in heap_caps_aligned_calloc()
224 memset(ptr, 0, size_bytes); in heap_caps_aligned_calloc()
Dheap_caps.c491 size_t size_bytes; in heap_caps_calloc_base() local
493 if (__builtin_mul_overflow(n, size, &size_bytes)) { in heap_caps_calloc_base()
497 result = heap_caps_malloc_base(size_bytes, caps); in heap_caps_calloc_base()
499 memset(result, 0, size_bytes); in heap_caps_calloc_base()
718 size_t size_bytes; in heap_caps_aligned_calloc() local
719 if (__builtin_mul_overflow(n, size, &size_bytes)) { in heap_caps_aligned_calloc()
723 void *ptr = heap_caps_aligned_alloc(alignment,size_bytes, caps); in heap_caps_aligned_calloc()
725 memset(ptr, 0, size_bytes); in heap_caps_aligned_calloc()
/hal_espressif-3.7.0/components/newlib/
Dheap.c60 size_t size_bytes; in _calloc_r() local
61 if (__builtin_mul_overflow(nmemb, size, &size_bytes)) { in _calloc_r()
65 result = heap_caps_malloc_default(size_bytes); in _calloc_r()
67 bzero(result, size_bytes); in _calloc_r()
/hal_espressif-3.7.0/zephyr/port/heap/
Dheap_caps_zephyr.c138 size_t size_bytes; in heap_caps_calloc_base() local
140 if (__builtin_mul_overflow(n, size, &size_bytes)) { in heap_caps_calloc_base()
246 size_t size_bytes; in heap_caps_aligned_calloc() local
247 if (__builtin_mul_overflow(n, size, &size_bytes)) { in heap_caps_aligned_calloc()
251 void *ptr = heap_caps_aligned_alloc(alignment, size_bytes, caps); in heap_caps_aligned_calloc()
253 memset(ptr, 0, size_bytes); in heap_caps_aligned_calloc()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/core/
Dbtc_config.c148 bool btc_config_get_str(const char *section, const char *key, char *value, int *size_bytes) in btc_config_get_str() argument
154 assert(size_bytes != NULL); in btc_config_get_str()
162 strlcpy(value, stored_value, *size_bytes); in btc_config_get_str()
163 *size_bytes = strlen(value) + 1; in btc_config_get_str()
/hal_espressif-3.7.0/components/bt/host/bluedroid/btc/include/btc/
Dbtc_config.h25 bool btc_config_get_str(const char *section, const char *key, char *value, int *size_bytes);
/hal_espressif-3.7.0/components/xtensa/trax/
Dtraceparse.py77 self.size_bytes = len(data)
118 return '%d byte packet%s' % (self.size_bytes, ' (truncated)' if self.truncated else '')
/hal_espressif-3.7.0/tools/esptool_py/esptool/
Dloader.py111 def timeout_per_mb(seconds_per_mb, size_bytes): argument
113 result = seconds_per_mb * (size_bytes / 1e6)