Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dproctitle.c30 size_t cap; /* Maximum capacity. Computed once in uv_setup_args(). */ member
58 pt.cap = pt.len + 1; in uv_setup_args()
61 size = pt.cap; in uv_setup_args()
75 size = pt.cap; in uv_setup_args()
87 pt.cap = argv[i - 1] + size - argv[0]; in uv_setup_args()
110 if (len >= pt->cap) { in uv_set_process_title()
112 if (pt->cap > 0) in uv_set_process_title()
113 len = pt->cap - 1; in uv_set_process_title()
117 memset(pt->str + len, '\0', pt->cap - len); in uv_set_process_title()

Completed in 6 milliseconds