HomeSort by: relevance | last modified time | path
    Searched refs:CHUNK_SIZE (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
find.c 35 #define CHUNK_SIZE 16000 /* same as findcmd.c's */
36 #define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */
find-unmapped.c 24 #define CHUNK_SIZE 16000 /* same as findcmd.c's */
45 Map enough pages to cover at least CHUNK_SIZE, and one extra page. We
57 |<- CHUNK_SIZE ->|
59 If CHUNK_SIZE equals page size then we'll get 3 pages, and if
60 CHUNK_SIZE is less than page size we'll get 2 pages. The test will
64 loading the second chunk, as we know at least CHUNK_SIZE bytes are in
68 loading the first chunk, assuming the CHUNK_SIZE is at least 16 bytes.
76 pg_count = CHUNK_SIZE / pg_size + 2;
find.exp 156 set CHUNK_SIZE 16000 ;# see findcmd.c
158 gdb_test_no_output "set *(int32_t*) &search_buf\[0*${CHUNK_SIZE}+100\] = 0x12345678" ""
159 gdb_test_no_output "set *(int32_t*) &search_buf\[1*${CHUNK_SIZE}+100\] = 0x12345678" ""
168 gdb_test_no_output "set *(int32_t*) &search_buf\[${CHUNK_SIZE}-1\] = 0xfdb97531" ""
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
find.c 35 #define CHUNK_SIZE 16000 /* same as findcmd.c's */
36 #define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */
find-unmapped.c 24 #define CHUNK_SIZE 16000 /* same as findcmd.c's */
45 Map enough pages to cover at least CHUNK_SIZE, and one extra page. We
57 |<- CHUNK_SIZE ->|
59 If CHUNK_SIZE equals page size then we'll get 3 pages, and if
60 CHUNK_SIZE is less than page size we'll get 2 pages. The test will
64 loading the second chunk, as we know at least CHUNK_SIZE bytes are in
68 loading the first chunk, assuming the CHUNK_SIZE is at least 16 bytes.
76 pg_count = CHUNK_SIZE / pg_size + 2;
find.exp 156 set CHUNK_SIZE 16000 ;# see findcmd.c
158 gdb_test_no_output "set *(int32_t*) &search_buf\[0*${CHUNK_SIZE}+100\] = 0x12345678" ""
159 gdb_test_no_output "set *(int32_t*) &search_buf\[1*${CHUNK_SIZE}+100\] = 0x12345678" ""
168 gdb_test_no_output "set *(int32_t*) &search_buf\[${CHUNK_SIZE}-1\] = 0xfdb97531" ""
  /src/external/gpl3/binutils/dist/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (void *) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
214 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
268 o->current_space = ((char *) p + CHUNK_SIZE) - b;
300 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /src/external/gpl3/binutils.old/dist/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (void *) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
210 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
264 o->current_space = ((char *) p + CHUNK_SIZE) - b;
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /src/external/gpl3/gcc/dist/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (void *) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
210 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
264 o->current_space = ((char *) p + CHUNK_SIZE) - b;
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /src/external/gpl3/gcc.old/dist/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (PTR) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
210 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
264 o->current_space = ((char *) p + CHUNK_SIZE) - b;
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /src/external/gpl3/gdb/dist/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (void *) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
210 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
264 o->current_space = ((char *) p + CHUNK_SIZE) - b;
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /src/external/gpl3/gdb.old/dist/libiberty/
objalloc.c 77 #define CHUNK_SIZE (4096 - 32)
95 ret->chunks = (void *) malloc (CHUNK_SIZE);
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
159 chunk = (struct objalloc_chunk *) malloc (CHUNK_SIZE);
166 o->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE;
210 if (b > (char *) p && b < (char *) p + CHUNK_SIZE)
264 o->current_space = ((char *) p + CHUNK_SIZE) - b;
296 o->current_space = ((char *) p + CHUNK_SIZE) - current_ptr;
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/
py-inferior.c 7 #define CHUNK_SIZE 16000 /* same as findcmd.c's */
8 #define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/
py-inferior.c 7 #define CHUNK_SIZE 16000 /* same as findcmd.c's */
8 #define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */
  /src/external/mit/libuv/dist/test/
test-tcp-writealot.c 34 #define CHUNK_SIZE 10024 /* 10 kb */
36 #define TOTAL_BYTES (WRITES * CHUNKS_PER_WRITE * CHUNK_SIZE)
108 bytes_sent_done += CHUNKS_PER_WRITE * CHUNK_SIZE;
129 send_bufs[j] = uv_buf_init(send_buffer + bytes_sent, CHUNK_SIZE);
130 bytes_sent += CHUNK_SIZE;
  /src/external/gpl3/binutils/dist/gprofng/src/
DefaultMap.h 51 static const int CHUNK_SIZE;
63 const int DefaultMap<Key_t, Value_t>::CHUNK_SIZE = 16384;
136 if (entries >= nchunks * CHUNK_SIZE)
147 chunks[nchunks - 1] = new Entry[CHUNK_SIZE];
149 entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE];
IntervalMap.h 55 static const int CHUNK_SIZE;
64 const int IntervalMap<Key_t, Value_t>::CHUNK_SIZE = 16384;
106 if (entries >= nchunks * CHUNK_SIZE)
117 chunks[nchunks - 1] = new Entry[CHUNK_SIZE];
119 Entry *entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE];
StringMap.h 38 StringMap (int htable_size = 1024, int chunk_size = 16384);
62 int CHUNK_SIZE, HTABLE_SIZE;
71 StringMap<Value_t>::StringMap (int htable_size, int chunk_size)
74 CHUNK_SIZE = chunk_size;
142 if (entries >= nchunks * CHUNK_SIZE)
154 chunks[nchunks - 1] = new Entry[CHUNK_SIZE];
156 entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE];
  /src/external/gpl3/binutils.old/dist/gprofng/src/
DefaultMap.h 51 static const int CHUNK_SIZE;
63 const int DefaultMap<Key_t, Value_t>::CHUNK_SIZE = 16384;
136 if (entries >= nchunks * CHUNK_SIZE)
147 chunks[nchunks - 1] = new Entry[CHUNK_SIZE];
149 entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE];
IntervalMap.h 55 static const int CHUNK_SIZE;
64 const int IntervalMap<Key_t, Value_t>::CHUNK_SIZE = 16384;
106 if (entries >= nchunks * CHUNK_SIZE)
117 chunks[nchunks - 1] = new Entry[CHUNK_SIZE];
119 Entry *entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE];
StringMap.h 38 StringMap (int htable_size = 1024, int chunk_size = 16384);
62 int CHUNK_SIZE, HTABLE_SIZE;
71 StringMap<Value_t>::StringMap (int htable_size, int chunk_size)
74 CHUNK_SIZE = chunk_size;
142 if (entries >= nchunks * CHUNK_SIZE)
154 chunks[nchunks - 1] = new Entry[CHUNK_SIZE];
156 entry = &chunks[entries / CHUNK_SIZE][entries % CHUNK_SIZE];
  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
rmem.d 148 enum CHUNK_SIZE = (256 * 4096 - 64);
168 if (m_size > CHUNK_SIZE)
173 heapleft = CHUNK_SIZE;
174 heapp = Mem.check(malloc(CHUNK_SIZE));
  /src/sys/external/bsd/sljit/dist/sljit_src/
sljitExecAllocator.c 71 #define CHUNK_SIZE 0x10000
76 * the size is always divisible by CHUNK_SIZE
144 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
199 sljit_uw chunk_size; local
209 chunk_size = free_block->size;
210 if (chunk_size > size + 64) {
212 chunk_size -= size;
213 free_block->size = chunk_size;
214 header = AS_BLOCK_HEADER(free_block, chunk_size);
215 header->prev_size = chunk_size;
    [all...]
sljitProtExecAllocator.c 69 #define CHUNK_SIZE 0x10000
79 * the size is always divisible by CHUNK_SIZE
215 #define CHUNK_MASK (~(CHUNK_SIZE - 1))
272 sljit_uw chunk_size; local
283 chunk_size = free_block->size;
284 if (chunk_size > size + 64) {
286 chunk_size -= size;
287 free_block->size = chunk_size;
288 header = AS_BLOCK_HEADER(free_block, chunk_size);
289 header->prev_size = chunk_size;
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/
attr.c 51 #define CHUNK_SIZE 1000
89 attr_prealloc( CHUNK_SIZE );
117 attr_prealloc( num > CHUNK_SIZE ? num : CHUNK_SIZE );

Completed in 37 milliseconds

1 2