Home
last modified time | relevance | path

Searched refs:required_len (Results 1 – 2 of 2) sorted by relevance

/libuv/src/
H A Dfs-poll.c140 size_t required_len; in uv_fs_poll_getpath() local
153 required_len = strlen(ctx->path); in uv_fs_poll_getpath()
154 if (required_len >= *size) { in uv_fs_poll_getpath()
155 *size = required_len + 1; in uv_fs_poll_getpath()
159 memcpy(buffer, ctx->path, required_len); in uv_fs_poll_getpath()
160 *size = required_len; in uv_fs_poll_getpath()
161 buffer[required_len] = '\0'; in uv_fs_poll_getpath()
H A Duv-common.c645 size_t required_len; in uv_fs_event_getpath() local
655 required_len = strlen(handle->path); in uv_fs_event_getpath()
656 if (required_len >= *size) { in uv_fs_event_getpath()
657 *size = required_len + 1; in uv_fs_event_getpath()
661 memcpy(buffer, handle->path, required_len); in uv_fs_event_getpath()
662 *size = required_len; in uv_fs_event_getpath()
663 buffer[required_len] = '\0'; in uv_fs_event_getpath()

Completed in 6 milliseconds