Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/utils/
H A Dos_internal.c157 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
178 cwd_len = os_strlen(cwd); in os_rel2abs_path()
180 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
183 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path()
184 ret[cwd_len] = '/'; in os_rel2abs_path()
185 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
H A Dos_unix.c300 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
328 cwd_len = os_strlen(cwd); in os_rel2abs_path()
330 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
333 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path()
334 ret[cwd_len] = '/'; in os_rel2abs_path()
335 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
/freebsd/contrib/ncurses/progs/
H A Dtoe.c428 size_t cwd_len; in typelist() local
439 cwd_len = NAMLEN(subdir) + strlen(eargv[i]) + 3; in typelist()
440 cwd_buf = typeRealloc(char, cwd_len, cwd_buf); in typelist()
446 _nc_SPRINTF(cwd_buf, _nc_SLIMIT(cwd_len) in typelist()