Lines Matching refs:len
56 size_t len = strlen(s) + 1; in uv__strdup() local
57 char* m = uv__malloc(len); in uv__strdup()
60 return memcpy(m, s, len); in uv__strdup()
65 size_t len = strlen(s); in uv__strndup() local
66 if (n < len) in uv__strndup()
67 len = n; in uv__strndup()
68 m = uv__malloc(len + 1); in uv__strndup()
71 m[len] = '\0'; in uv__strndup()
72 return memcpy(m, s, len); in uv__strndup()
190 uv_buf_t uv_buf_init(char* base, unsigned int len) { in uv_buf_init() argument
193 buf.len = len; in uv_buf_init()
631 bytes += (size_t) bufs[i].len; in uv__count_bufs()