Home
last modified time | relevance | path

Searched refs:length (Results 1 – 15 of 15) sorted by relevance

/malloc/
A Dtst-scratch_buffer.c30 size_t old_length = buf->length; in unchanged_array_size()
37 if (old_length != buf->length) in unchanged_array_size()
81 memset (buf.data, ' ', buf.length); in do_test()
87 memset (buf.data, ' ', buf.length); in do_test()
88 size_t old_length = buf.length; in do_test()
90 if (buf.length <= old_length) in do_test()
95 memset (buf.data, ' ', buf.length); in do_test()
103 size_t old_length = buf.length; in do_test()
105 if (buf.length <= old_length) in do_test()
159 size_t sizes[] = { 16, buf.length, buf.length + 16 }; in do_test()
[all …]
A Dobstack.h283 int __len = (length); \
299 int __len = (length); \
309 int __len = (length); \
362 int __len = (length); \
371 obstack_blank (__h, (length)); \
432 ((h)->temp.tempint = (length), \
437 ((h)->temp.tempint = (length), \
444 ((h)->temp.tempint = (length), \
472 # define obstack_blank(h, length) \ argument
473 ((h)->temp.tempint = (length), \
[all …]
A Dscratch_buffer_grow_preserve.c30 size_t new_length = 2 * buffer->length; in __libc_scratch_buffer_grow_preserve()
40 memcpy (new_ptr, buffer->__space.__c, buffer->length); in __libc_scratch_buffer_grow_preserve()
45 if (__glibc_likely (new_length >= buffer->length)) in __libc_scratch_buffer_grow_preserve()
64 buffer->length = new_length; in __libc_scratch_buffer_grow_preserve()
A Dscratch_buffer_grow.c30 size_t new_length = buffer->length * 2; in __libc_scratch_buffer_grow()
36 if (__glibc_likely (new_length >= buffer->length)) in __libc_scratch_buffer_grow()
53 buffer->length = new_length; in __libc_scratch_buffer_grow()
A Dtst-dynarray.c34 size_t length; member
80 TEST_VERIFY_EXIT (result.length == 0); in test_int()
207 TEST_VERIFY_EXIT (result.length == 0); in test_str()
414 TEST_VERIFY (result.length == 0); in test_long_init()
426 TEST_VERIFY (result.length == 1); in test_long_init()
523 size_t length = 1; in test_zstr() local
526 TEST_VERIFY (length == 0); in test_zstr()
542 size_t length = 1; in test_zstr() local
546 TEST_VERIFY (length == 1); in test_zstr()
569 size_t length = 1; in test_zstr() local
[all …]
A Dscratch_buffer_set_array_size.c45 if (new_length <= buffer->length) in __libc_scratch_buffer_set_array_size()
61 buffer->length = new_length; in __libc_scratch_buffer_set_array_size()
A Dtst-interpose-skeleton.c34 line_string (int number, char *buffer, size_t length) in line_string() argument
36 for (size_t i = 0; i < length - 2; ++i) in line_string()
38 buffer[length - 2] = '\n'; in line_string()
39 buffer[length - 1] = '\0'; in line_string()
A Dtst-dynarray-shared.h24 size_t length; member
36 size_t length; member
A Dtst-mallocstate.c98 dumped_heap_alloc (size_t length) in dumped_heap_alloc() argument
114 size_t chunk_size = sizeof (size_t) + length; in dumped_heap_alloc()
156 randomize_buffer (unsigned char *buffer, size_t length, in randomize_buffer() argument
159 for (size_t i = 0; i < length; ++i) in randomize_buffer()
165 dump_hex (unsigned char *buffer, size_t length) in dump_hex() argument
167 for (int i = 0; i < length; ++i) in dump_hex()
A Ddynarray_finalize.c55 { .array = heap_array, .length = used }; in __libc_dynarray_finalize()
A Dtst-dynarray-fail.c118 TEST_VERIFY_EXIT (result.length == (size_t) -1); in test_int_fail()
149 TEST_VERIFY_EXIT (result.length == (size_t) -1); in test_int_fail()
247 TEST_VERIFY_EXIT (result.length == (size_t) -1); in test_str_fail()
279 TEST_VERIFY_EXIT (result.length == (size_t) -1); in test_str_fail()
A Ddynarray.h150 size_t length; member
A Dmemusage.c69 size_t length; member
145 result->length = len; in update_data()
429 old_len = real->length; in realloc()
447 catomic_add (&total[idx_free], real->length); in realloc()
582 catomic_add (&total[idx_free], real->length); in free()
585 update_data (NULL, 0, real->length); in free()
A Dobstack.c245 _obstack_newchunk (struct obstack *h, int length) in _obstack_newchunk() argument
256 new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100; in _obstack_newchunk()
A Ddynarray-skeleton.c467 *result = (DYNARRAY_FINAL_TYPE) { res.array, res.length }; in DYNARRAY_NAME()
498 *lengthp = res.length; in DYNARRAY_NAME()

Completed in 27 milliseconds