/hal_espressif-3.4.0/tools/ldgen/ |
D | output_commands.py | 34 def __init__(self, alignment): argument 35 self.alignment = alignment 38 return ('. = ALIGN(%d);' % self.alignment) 42 self.alignment == other.alignment)
|
D | fragments.py | 348 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
|
D | generation.py | 209 commands[placement.target].append(AlignAtAddress(flag.alignment)) 232 commands[placement.target].append(AlignAtAddress(flag.alignment))
|
/hal_espressif-3.4.0/components/heap/ |
D | multi_heap.c | 38 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()
|
D | heap_caps.c | 589 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()
|
D | multi_heap_internal.h | 30 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…
|
D | multi_heap_poisoning.c | 188 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/ |
D | heap.c | 72 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/ |
D | util.py | 48 def pad_to(data, alignment, pad_character=b"\xFF"): argument 50 pad_mod = len(data) % alignment 52 data += pad_character * (alignment - pad_mod)
|
D | bin_image.py | 129 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/ |
D | async_memcpy.rst | 25 …ans_align`: Declare SRAM alignment for both data address and copy size, set to zero if the data ha… 26 …alignment for both data address and copy size. User has to give it a valid value (only 16, 32, 64 …
|
D | mem_alloc.rst | 97 …alignment 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/ |
D | check_alignment.py | 48 alignment = match.group(3) 49 return (int(address, 16), int(size, 16), int(alignment, 10))
|
D | README.txt | 1 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/ |
D | esp_heap_caps.h | 116 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);
|
D | multi_heap.h | 41 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/ |
D | linker-script-generation.rst | 456 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/ |
D | bootloader_flash.c | 428 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/ |
D | ld.common | 19 /* Memory alignment size for PMS */
|
/hal_espressif-3.4.0/components/sdmmc/test/ |
D | test_sd.c | 308 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/ |
D | ubsan.c | 53 unsigned long alignment; member
|
/hal_espressif-3.4.0/components/esp_system/ld/esp32c3/ |
D | sections.ld.in | 26 /* 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/ |
D | linker-script-generation.rst | 456 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/ |
D | style-guide.rst | 103 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/ |
D | sections.ld.in | 374 …/* ESP32-H2 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…
|