Home
last modified time | relevance | path

Searched refs:block (Results 1 – 13 of 13) sorted by relevance

/picolibc-3.7.0-3.6.0/test/semihost/
Dsemihost-heapinfo.c42 struct sys_semihost_block block; in main() local
45 block.heap_base = (void *) (uintptr_t) 4; in main()
46 block.heap_limit = (void *) (uintptr_t) 3; in main()
47 block.stack_limit = (void *) (uintptr_t) 2; in main()
48 block.stack_base = (void *) (uintptr_t) 1; in main()
50 sys_semihost_heapinfo(&block); in main()
51 if (block.heap_base != NULL && block.heap_limit != NULL) { in main()
53 if ((uintptr_t) block.heap_base >= (uintptr_t) block.heap_limit) { in main()
55 block.heap_base, block.heap_limit); in main()
59 if (block.stack_base != NULL && block.stack_limit != NULL) { in main()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/xstormy16/
Dtiny-malloc.c135 fle block; in malloc() local
146 block = *nextfree; in malloc()
148 if (block->size >= real_size) in malloc()
152 if (block->size < real_size + sizeof (struct freelist_entry)) in malloc()
154 *nextfree = block->next; in malloc()
155 return (void *)&block->next; in malloc()
159 size_t newsize = block->size - real_size; in malloc()
160 fle newnext = block->next; in malloc()
161 *nextfree = (fle)((size_t)block + real_size); in malloc()
170 if (! block->next in malloc()
[all …]
/picolibc-3.7.0-3.6.0/semihost/
Dsys_heapinfo.c39 sys_semihost_heapinfo(struct sys_semihost_block *block) in sys_semihost_heapinfo() argument
48 block->heap_base = (void *) (uintptr_t) arg.field1; in sys_semihost_heapinfo()
49 block->heap_limit = (void *) (uintptr_t) arg.field2; in sys_semihost_heapinfo()
50 block->stack_base = (void *) (uintptr_t) arg.field3; in sys_semihost_heapinfo()
51 block->stack_limit = (void *) (uintptr_t) arg.field4; in sys_semihost_heapinfo()
Dsemihost.h119 sys_semihost_heapinfo(struct sys_semihost_block *block);
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Duniset623 $block = 0;
627 while ($blockend[$block] < $i && $block < $blocks - 1) {
628 $block++;
630 if ($last <= $blockend[$block-1] &&
631 $i < $blockstart[$block]) {
634 $blockend[$block-1] + 1, $blockstart[$block] - 1;
637 if ($last < $blockstart[$block] && $i >= $blockstart[$block]) {
639 printf "\n$blockname[$block] (U+%04X-U+%04X):\n\n",
640 $blockstart[$block], $blockend[$block];
660 $block = 0;
[all …]
/picolibc-3.7.0-3.6.0/doc/
Dtls.md35 Local-exec defines a single block of storage for all TLS
36 variables. Each TLS variable is assigned an offset within this block
39 ## Initial TLS block
42 initial TLS block and arranges for it to be initialized as a part of
70 reference this initial TLS block.
78 1) Allocate a block of size __tls_size
79 2) Copy __tdata_size bytes from __tdata_source to the new block to
82 block
95 block pointer for the processor to `tls`.
102 This function initializes the specified TLS block, copying values
Dlinking.md188 at the data/bss boundary, picolibc can initialize the TLS block as a
199 at startup time. The first chunk of these is part of the TLS block:
/picolibc-3.7.0-3.6.0/test/
Dmalloc_stress.c104 uint8_t *block = blocks[i]; in check_block() local
107 if (!block) in check_block()
110 if (block[j] != data) { in check_block()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dmallocr.c2321 unsigned long block; /* block traverser bit */
2439 if ( (block = idx2binblock(idx)) <= binblocks)
2444 if ( (block & binblocks) == 0)
2448 block <<= 1;
2449 while ((block & binblocks) == 0)
2452 block <<= 1;
2513 binblocks &= ~block;
2522 if ( (block <<= 1) <= binblocks && (block != 0) )
2524 while ((block & binblocks) == 0)
2527 block <<= 1;
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/
Diconv.tex1038 Heading block
1060 subrange is represented by an 256-element @dfn{block} (256 1-byte
1067 Any element number @emph{m} of @dfn{the heading block} (which contains
1070 the heading block contains the offset of the corresponding block in the
1072 block element contains 0xFFFF.
1075 If there are some gaps in a block, the corresponding block elements have
1088 @item Calculate the block number: @emph{BlkN = (Y & 0xFF00) >> 8}.
1090 @item If the heading block element with number @emph{BlkN} is 0xFFFF, there
1092 "flom_ucs" array index of the @emph{BlkN}-th block.
1094 @item Calculate the offset of the @emph{X} code in its block:
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/
Dsys.tex306 library, and achieve reentrancy by using a reserved global data block
/picolibc-3.7.0-3.6.0/
DREADME.md381 simpler and doesn't cause a large TLS block to be allocated. Thanks
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-2015717 outside of rtems block.
2142 * libc/sys/rtems/sys/cpuset.h: Delete #if 0 block. Include
7049 * libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
21452 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
25322 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC