Lines Matching refs:real_path
40 char *real_path = NULL; in Curl_getworkingpath() local
51 real_path = malloc(working_path_len + 1); in Curl_getworkingpath()
52 if(real_path == NULL) { in Curl_getworkingpath()
58 memcpy(real_path, working_path + 3, 4 + working_path_len-3); in Curl_getworkingpath()
60 memcpy(real_path, working_path, 1 + working_path_len); in Curl_getworkingpath()
65 real_path = malloc(homelen + working_path_len + 1); in Curl_getworkingpath()
66 if(real_path == NULL) { in Curl_getworkingpath()
72 memcpy(real_path, homedir, homelen); in Curl_getworkingpath()
73 real_path[homelen] = '/'; in Curl_getworkingpath()
74 real_path[homelen + 1] = '\0'; in Curl_getworkingpath()
76 memcpy(real_path + homelen + 1, working_path + 3, in Curl_getworkingpath()
81 real_path = malloc(working_path_len + 1); in Curl_getworkingpath()
82 if(real_path == NULL) { in Curl_getworkingpath()
86 memcpy(real_path, working_path, 1 + working_path_len); in Curl_getworkingpath()
93 *path = real_path; in Curl_getworkingpath()