Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/utils/
Dos_internal.c151 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
172 cwd_len = os_strlen(cwd); in os_rel2abs_path()
174 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
177 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path()
178 ret[cwd_len] = '/'; in os_rel2abs_path()
179 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
Dos_unix.c291 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local
319 cwd_len = os_strlen(cwd); in os_rel2abs_path()
321 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path()
324 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path()
325 ret[cwd_len] = '/'; in os_rel2abs_path()
326 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()