Lines Matching refs:size
75 void* uv__malloc(size_t size) { in uv__malloc() argument
76 if (size > 0) in uv__malloc()
77 return uv__allocator.local_malloc(size); in uv__malloc()
92 void* uv__calloc(size_t count, size_t size) { in uv__calloc() argument
93 return uv__allocator.local_calloc(count, size); in uv__calloc()
96 void* uv__realloc(void* ptr, size_t size) { in uv__realloc() argument
97 if (size > 0) in uv__realloc()
98 return uv__allocator.local_realloc(ptr, size); in uv__realloc()
103 void* uv__reallocf(void* ptr, size_t size) { in uv__reallocf() argument
106 newptr = uv__realloc(ptr, size); in uv__reallocf()
108 if (size > 0) in uv__reallocf()
300 int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size) { in uv_ip4_name() argument
301 return uv_inet_ntop(AF_INET, &src->sin_addr, dst, size); in uv_ip4_name()
305 int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size) { in uv_ip6_name() argument
306 return uv_inet_ntop(AF_INET6, &src->sin6_addr, dst, size); in uv_ip6_name()
310 int uv_ip_name(const struct sockaddr *src, char *dst, size_t size) { in uv_ip_name() argument
314 dst, size); in uv_ip_name()
317 dst, size); in uv_ip_name()
644 int uv_fs_event_getpath(uv_fs_event_t* handle, char* buffer, size_t* size) { in uv_fs_event_getpath() argument
648 *size = 0; in uv_fs_event_getpath()
653 if (required_len >= *size) { in uv_fs_event_getpath()
654 *size = required_len + 1; in uv_fs_event_getpath()
659 *size = required_len; in uv_fs_event_getpath()