HomeSort by relevance Sort by last modified time
    Searched defs:alloc_len (Results 1 - 5 of 5) sorted by null

  /bionic/tests/
malloc_test.cpp 43 size_t alloc_len = 100; local
44 char *ptr = (char *)calloc(1, alloc_len);
46 ASSERT_LE(alloc_len, malloc_usable_size(ptr));
47 for (size_t i = 0; i < alloc_len; i++) {
  /system/core/fs_mgr/
fs_mgr_fstab.c 184 size_t alloc_len = 0; local
200 while ((len = getline(&line, &alloc_len, fstab_file)) != -1) {
230 while ((len = getline(&line, &alloc_len, fstab_file)) != -1) {
  /system/core/logwrapper/
logwrap.c 61 size_t alloc_len; member in struct:beginning_buf
74 ssize_t alloc_len; member in struct:ending_buf
223 a_buf->b_buf.alloc_len = BEGINNING_BUF_SIZE;
229 a_buf->e_buf.alloc_len = ENDING_BUF_SIZE;
253 if (a_buf->b_buf.alloc_len) {
277 * so by allocating alloc_len here we will have at least
280 char * nbuf = malloc(a_buf->e_buf.alloc_len);
  /external/wpa_supplicant_8/src/wps/
wps_upnp.c 307 int alloc_len; local
377 alloc_len = host_len + 1 + 1 + path_len + 1;
389 a = os_zalloc(sizeof(*a) + alloc_len);
    [all...]
  /system/core/adb/
commandline.c 688 size_t alloc_len; local
692 alloc_len = 0;
694 alloc_len++;
696 alloc_len++;
700 if (alloc_len == 0) {
709 ret = (char *) malloc(alloc_len + 1);
    [all...]

Completed in 465 milliseconds