Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 32) sorted by relevance

12

/hal_espressif-3.4.0/tools/ldgen/
Doutput_commands.py34 def __init__(self, alignment): argument
35 self.alignment = alignment
38 return ('. = ALIGN(%d);' % self.alignment)
42 self.alignment == other.alignment)
Dfragments.py348 def __init__(self, alignment, pre=True, post=False): argument
349 self.alignment = alignment
367 alignment = int(tok.alignment)
369 res = Mapping.Align(alignment)
371 res = Mapping.Align(alignment, tok.pre)
373 res = Mapping.Align(alignment, False, tok.post)
375 res = Mapping.Align(alignment, tok.pre, tok.post)
383 self.alignment == other.alignment and
Dgeneration.py209 commands[placement.target].append(AlignAtAddress(flag.alignment))
232 commands[placement.target].append(AlignAtAddress(flag.alignment))
/hal_espressif-3.4.0/components/heap/
Dmulti_heap.c38 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment)
254 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s… in multi_heap_aligned_alloc_impl_offs() argument
265 if(((alignment & (alignment - 1)) != 0) ||(!alignment)) { in multi_heap_aligned_alloc_impl_offs()
270 void *result = tlsf_memalign_offs(heap->heap_data, alignment, size, offset); in multi_heap_aligned_alloc_impl_offs()
283 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc_impl() argument
285 return multi_heap_aligned_alloc_impl_offs(heap, size, alignment, 0); in multi_heap_aligned_alloc_impl()
Dheap_caps.c589 IRAM_ATTR void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps) in heap_caps_aligned_alloc() argument
593 if(!alignment) { in heap_caps_aligned_alloc()
598 if((alignment & (alignment - 1)) != 0) { in heap_caps_aligned_alloc()
622 ret = multi_heap_aligned_alloc(heap->heap, size, alignment); in heap_caps_aligned_alloc()
642 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps) in heap_caps_aligned_calloc() argument
649 void *ptr = heap_caps_aligned_alloc(alignment,size_bytes, caps); in heap_caps_aligned_calloc()
Dmulti_heap_internal.h30 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment);
33 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s…
Dmulti_heap_poisoning.c188 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc() argument
200 alignment, sizeof(poison_head_t)); in multi_heap_aligned_alloc()
/hal_espressif-3.4.0/components/newlib/
Dheap.c72 void* memalign(size_t alignment, size_t n) in memalign() argument
74 return heap_caps_aligned_alloc(alignment, n, MALLOC_CAP_DEFAULT); in memalign()
77 int posix_memalign(void **out_ptr, size_t alignment, size_t size) in posix_memalign() argument
84 void *result = heap_caps_aligned_alloc(alignment, size, MALLOC_CAP_DEFAULT); in posix_memalign()
/hal_espressif-3.4.0/components/esptool_py/esptool/esptool/
Dutil.py48 def pad_to(data, alignment, pad_character=b"\xFF"): argument
50 pad_mod = len(data) % alignment
52 data += pad_character * (alignment - pad_mod)
Dbin_image.py129 def pad_to_alignment(self, alignment): argument
130 self.data = pad_to(self.data, alignment, b"\x00")
/hal_espressif-3.4.0/docs/en/api-reference/system/
Dasync_memcpy.rst25 …ans_align`: Declare SRAM alignment for both data address and copy size, set to zero if the data ha…
26alignment for both data address and copy size. User has to give it a valid value (only 16, 32, 64 …
Dmem_alloc.rst97alignment constraints. Consult the {IDF_TARGET_NAME} Technical Reference Manual for details. To al…
/hal_espressif-3.4.0/tools/test_apps/build_system/ldalign_test/
Dcheck_alignment.py48 alignment = match.group(3)
49 return (int(address, 16), int(size, 16), int(alignment, 10))
DREADME.txt1 Runs a build test to check alignment and position of `.flash.appdesc` and
3 a 16-byte bounds, whereas `.flash.rodata` can have any alignment. In any case,
/hal_espressif-3.4.0/components/heap/include/
Desp_heap_caps.h116 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps);
139 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps);
Dmulti_heap.h41 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment);
/hal_espressif-3.4.0/docs/zh_CN/api-guides/
Dlinker-script-generation.rst456 1. ALIGN(<alignment>[, pre, post])
458 根据 ``alignment`` 中指定的数字对齐存放区域,根据是否指定 ``pre`` 和 ``post``,或两者都指定,在输入段描述(生成于映射条目)的前面和/或后面生成:
462 . = ALIGN(<alignment>)
470 ``sort_by_first`` 和 ``sort_by_second`` 的值可以是:``name``、``alignment``、``init_priority``。
/hal_espressif-3.4.0/components/bootloader_support/src/
Dbootloader_flash.c428 size_t alignment = write_encrypted ? 32 : 4; in bootloader_flash_write() local
429 if ((dest_addr % alignment) != 0) { in bootloader_flash_write()
430 … ESP_LOGE(TAG, "bootloader_flash_write dest_addr 0x%x not %d-byte aligned", dest_addr, alignment); in bootloader_flash_write()
433 if ((size % alignment) != 0) { in bootloader_flash_write()
434 ESP_LOGE(TAG, "bootloader_flash_write size 0x%x not %d-byte aligned", size, alignment); in bootloader_flash_write()
/hal_espressif-3.4.0/components/esp_system/ld/
Dld.common19 /* Memory alignment size for PMS */
/hal_espressif-3.4.0/components/sdmmc/test/
Dtest_sd.c308 size_t block_count, size_t alignment, bool performance_log) in do_single_write_read_test() argument
312 …printf(" %8d | %3d | %d | %4.1f ", start_block, block_count, alignment, total_size / 102… in do_single_write_read_test()
315 size_t offset = alignment % 4; in do_single_write_read_test()
344 int aligned = ((alignment % 4) == 0)? 1: 0; in do_single_write_read_test()
/hal_espressif-3.4.0/components/esp_system/
Dubsan.c53 unsigned long alignment; member
/hal_espressif-3.4.0/components/esp_system/ld/esp32c3/
Dsections.ld.in26 /* 16B padding for possible CPU prefetch and 4B alignment for PMS split lines */
374 …/* ESP32-C3 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…
/hal_espressif-3.4.0/docs/en/api-guides/
Dlinker-script-generation.rst456 1. ALIGN(<alignment>[, pre, post])
458 Align the placement by the amount specified in ``alignment``. Generates
462 . = ALIGN(<alignment>)
464 …he mapping fragment entry. If neither 'pre' or 'post' is specified, the alignment command is gener…
470 …Possible values for ``sort_by_first`` and ``sort_by_second`` are: ``name``, ``alignment``, ``init_…
/hal_espressif-3.4.0/docs/en/contribute/
Dstyle-guide.rst103 Therefore, use horizontal alignment sparingly, especially if you expect new lines to be added to th…
105 Never use TAB characters for horizontal alignment.
/hal_espressif-3.4.0/components/esp_system/ld/esp32h2/
Dsections.ld.in374 …/* ESP32-H2 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…

12