Lines Matching defs:value
229 int uv__socket_sockopt(uv_handle_t* handle, int optname, int* value) {
234 if (handle == NULL || value == NULL)
244 len = sizeof(*value);
246 if (*value == 0)
247 r = getsockopt(fd, SOL_SOCKET, optname, value, &len);
249 r = setsockopt(fd, SOL_SOCKET, optname, (const void*) value, len);
276 * sysconf(_SC_IOV_MAX) can not get the correct value. The return
277 * value is -1 and the errno is EINPROGRESS. Degrade the value to 1.
1434 envitem->value = ptr + 1;
1481 int uv_os_setenv(const char* name, const char* value) {
1482 if (name == NULL || value == NULL)
1485 if (setenv(name, value, 1) != 0)
1586 * If the function succeeds, the return value is 0.
1587 * If the function fails, the return value is non-zero.
1589 * So the output parameter priority is actually the nice value.
1639 * If the function succeeds, the return value is 0.
1640 * If the function fails, the return value is non-zero.
1661 * we should set the nice value in this case.