Searched refs:path_copy (Results 1 – 4 of 4) sorted by relevance
1504 char *path_copy; in strip_trailing_slashes() local1507 path_copy = g_strdup (path); in strip_trailing_slashes()1508 len = strlen (path_copy); in strip_trailing_slashes()1509 while (len > 1 && path_copy[len-1] == '/') in strip_trailing_slashes()1510 path_copy[--len] = 0; in strip_trailing_slashes()1512 return path_copy; in strip_trailing_slashes()1607 char *path_copy; in get_parent() local1609 path_copy = strip_trailing_slashes (path); in get_parent()1611 parent = g_path_get_dirname (path_copy); in get_parent()1615 g_free (path_copy); in get_parent()[all …]
1193 GList *ret, *path_copy, *last; in _merge() local1195 path_copy = g_list_copy_deep (path, (GCopyFunc) g_strdup, NULL); in _merge()1198 if (path_copy != NULL && path_copy->data != NULL) { in _merge()1199 path_copy = g_list_prepend (path_copy, NULL); in _merge()1201 return path_copy; in _merge()1208 ret = g_list_concat (ret, path_copy); in _merge()
839 auto path_copy = tmp_header_path; in clc_compile_to_llvm_module() local840 … ::llvm::sys::path::append(path_copy, ::llvm::sys::path::convert_to_slash(args->headers[i].name)); in clc_compile_to_llvm_module()841 c->getPreprocessorOpts().addRemappedFile(path_copy.str(), in clc_compile_to_llvm_module()
319 const gchar *path_copy; in inner_find_program_in_path() local415 path_copy = path; in inner_find_program_in_path()451 g_free ((gchar *) path_copy); in inner_find_program_in_path()460 g_free ((gchar *) path_copy); in inner_find_program_in_path()