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.c664 size_t required_len; in uv_fs_event_getpath() local
674 required_len = strlen(handle->path); in uv_fs_event_getpath()
675 if (required_len >= *size) { in uv_fs_event_getpath()
676 *size = required_len + 1; in uv_fs_event_getpath()
680 memcpy(buffer, handle->path, required_len); in uv_fs_event_getpath()
681 *size = required_len; in uv_fs_event_getpath()
682 buffer[required_len] = '\0'; in uv_fs_event_getpath()

Completed in 7 milliseconds