Searched refs:ab (Results 1 – 2 of 2) sorted by relevance
57 buf_t* ab; in buf_alloc() local59 ab = buf_freelist; in buf_alloc()60 if (ab != NULL) in buf_alloc()61 buf_freelist = ab->next; in buf_alloc()63 ab = malloc(size + sizeof(*ab)); in buf_alloc()64 ab->uv_buf_t.len = size; in buf_alloc()65 ab->uv_buf_t.base = (char*) (ab + 1); in buf_alloc()68 *buf = ab->uv_buf_t; in buf_alloc()73 buf_t* ab = (buf_t*) buf->base - 1; in buf_free() local74 ab->next = buf_freelist; in buf_free()[all …]
354 buf_list_t* ab; in buf_alloc() local356 ab = buf_freelist; in buf_alloc()357 if (ab != NULL) in buf_alloc()358 buf_freelist = ab->next; in buf_alloc()360 ab = malloc(size + sizeof(*ab)); in buf_alloc()361 ab->uv_buf_t.len = size; in buf_alloc()362 ab->uv_buf_t.base = (char*) (ab + 1); in buf_alloc()365 *buf = ab->uv_buf_t; in buf_alloc()370 buf_list_t* ab = (buf_list_t*) buf->base - 1; in buf_free() local371 ab->next = buf_freelist; in buf_free()[all …]
Completed in 10 milliseconds