Searched refs:cwd_len (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/utils/ |
D | os_internal.c | 151 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()
|
D | os_unix.c | 283 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local 311 cwd_len = os_strlen(cwd); in os_rel2abs_path() 313 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path() 316 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path() 317 ret[cwd_len] = '/'; in os_rel2abs_path() 318 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|