Searched refs:alloc_len (Results 1 – 4 of 4) sorted by relevance
150 size_t alloc_len = 0; in collect_commandline() local179 if (alloc_len < len + cmp_len + 1) { in collect_commandline()182 alloc_len += ((len + cmp_len - alloc_len) / MAX_PATH + 1) * MAX_PATH; in collect_commandline()183 nc = (char *) realloc(cmd, alloc_len * sizeof(char)); in collect_commandline()198 StringCchPrintf(cmd + len, alloc_len - len, "\"%s\"", s); in collect_commandline()200 StringCchCopy(cmd + len, alloc_len - len, s); in collect_commandline()
786 size_t alloc_len; in swrap_packet_init() local822 alloc_len = packet_len; in swrap_packet_init()823 if (alloc_len < sizeof(struct swrap_packet)) { in swrap_packet_init()824 alloc_len = sizeof(struct swrap_packet); in swrap_packet_init()826 ret = (struct swrap_packet *)malloc(alloc_len); in swrap_packet_init()
413 size_t alloc_len; in uuencode_line() local416 alloc_len = shar->work.length + 62; in uuencode_line()417 if (archive_string_ensure(&shar->work, alloc_len) == NULL) in uuencode_line()
356 …mem_size_t alloc_len = LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF + offset) + LWIP_MEM_ALIGN_SIZE(leng… in pbuf_alloc() local359 if (alloc_len < LWIP_MEM_ALIGN_SIZE(length)) { in pbuf_alloc()364 p = (struct pbuf*)mem_malloc(alloc_len); in pbuf_alloc()