Searched refs:cwd_len (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/utils/ |
D | os_internal.c | 149 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local 170 cwd_len = strlen(cwd); in os_rel2abs_path() 172 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path() 175 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path() 176 ret[cwd_len] = '/'; in os_rel2abs_path() 177 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|
D | os_unix.c | 251 size_t len = 128, cwd_len, rel_len, ret_len; in os_rel2abs_path() local 279 cwd_len = os_strlen(cwd); in os_rel2abs_path() 281 ret_len = cwd_len + 1 + rel_len + 1; in os_rel2abs_path() 284 os_memcpy(ret, cwd, cwd_len); in os_rel2abs_path() 285 ret[cwd_len] = '/'; in os_rel2abs_path() 286 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|