Home
last modified time | relevance | path

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

/third_party/libuv/src/win/
Dutil.c1443 DWORD varlen; in uv_os_getenv() local
1458 varlen = ARRAY_SIZE(fastvar); in uv_os_getenv()
1462 len = GetEnvironmentVariableW(name_w, var, varlen); in uv_os_getenv()
1464 if (len < varlen) in uv_os_getenv()
1473 varlen = 1 + len; in uv_os_getenv()
1474 var = uv__malloc(varlen * sizeof(*var)); in uv_os_getenv()
/third_party/alsa-lib/src/
Dconf.c5390 static int parse_arg(const char **ptr, unsigned int *varlen, char **val) in parse_arg() argument
5400 *varlen = 0; in parse_arg()
5409 *varlen = 0; in parse_arg()
5412 *varlen = vallen; in parse_arg()
5491 unsigned int varlen; in parse_args() local
5498 err = parse_arg(&new, &varlen, &val); in parse_args()
5501 if (varlen > 0) { in parse_args()
5502 assert(varlen < sizeof(buf)); in parse_args()
5503 memcpy(buf, str, varlen); in parse_args()
5504 buf[varlen] = 0; in parse_args()