Home
last modified time | relevance | path

Searched refs:pathcopy (Results 1 – 25 of 44) sorted by relevance

12

/dports/archivers/opkg-openwrt/opkg-b07cde3/libbb/
H A Dmake_directory.c55 char *pathcopy, *parent, *parentcopy; in make_directory() local
66 pathcopy = xstrdup(path); in make_directory()
67 parent = dirname(pathcopy); in make_directory()
71 free(pathcopy); in make_directory()
/dports/net/ldapsdk/mozldap-6.0.7/c-sdk/ldap/clients/tools/
H A Dfileurl.c81 char *pathcopy; in ldaptool_fileurl2path() local
128 if (( pathcopy = strdup( path )) == NULL ) { in ldaptool_fileurl2path()
131 hex_unescape( pathcopy ); in ldaptool_fileurl2path()
142 for ( p = pathcopy; *p != '\0'; ++p ) { in ldaptool_fileurl2path()
149 if ( isalpha( pathcopy[0] ) && pathcopy[1] == '|' ) { in ldaptool_fileurl2path()
150 pathcopy[1] = ':'; in ldaptool_fileurl2path()
154 *localpathp = pathcopy; in ldaptool_fileurl2path()
/dports/accessibility/speech-dispatcher/speech-dispatcher-0.10.2/src/tests/
H A Drun_test.c117 char *pathcopy = NULL; in set_socket_path() local
121 pathcopy = g_build_filename(g_get_user_runtime_dir(), in set_socket_path()
124 path = pathcopy; in set_socket_path()
130 g_free(pathcopy); in set_socket_path()
/dports/accessibility/py-speech-dispatcher/speech-dispatcher-0.10.2/src/tests/
H A Drun_test.c117 char *pathcopy = NULL; in set_socket_path() local
121 pathcopy = g_build_filename(g_get_user_runtime_dir(), in set_socket_path()
124 path = pathcopy; in set_socket_path()
130 g_free(pathcopy); in set_socket_path()
/dports/mail/alpine/alpine-465e23b/pith/
H A Dmimetype.c147 char *s, *pathcopy, *path; in mt_srch_mime_type() local
152 pathcopy = mc_conf_path(ps_global->VAR_MIMETYPE_PATH, getenv("MIMETYPES"), in mt_srch_mime_type()
155 path = pathcopy; /* overloaded "path" */ in mt_srch_mime_type()
168 if(pathcopy) in mt_srch_mime_type()
169 fs_give((void **)&pathcopy); in mt_srch_mime_type()
H A Dmailcap.c147 *pathcopy, in mc_init() local
158 pathcopy = mc_conf_path(ps_global->VAR_MAILCAP_PATH, getenv("MAILCAPS"), in mc_init()
161 path = pathcopy; /* overloaded "path" */ in mc_init()
190 if(pathcopy) in mc_init()
191 fs_give((void **)&pathcopy); in mc_init()
/dports/editors/pico-alpine/alpine-465e23b/pith/
H A Dmimetype.c147 char *s, *pathcopy, *path; in mt_srch_mime_type() local
152 pathcopy = mc_conf_path(ps_global->VAR_MIMETYPE_PATH, getenv("MIMETYPES"), in mt_srch_mime_type()
155 path = pathcopy; /* overloaded "path" */ in mt_srch_mime_type()
168 if(pathcopy) in mt_srch_mime_type()
169 fs_give((void **)&pathcopy); in mt_srch_mime_type()
H A Dmailcap.c147 *pathcopy, in mc_init() local
158 pathcopy = mc_conf_path(ps_global->VAR_MAILCAP_PATH, getenv("MAILCAPS"), in mc_init()
161 path = pathcopy; /* overloaded "path" */ in mc_init()
190 if(pathcopy) in mc_init()
191 fs_give((void **)&pathcopy); in mc_init()
/dports/mail/alpine/alpine-465e23b/pico/osdep/
H A Daltedit.c692 char pathcopy[PATH_MAX + 1], *dot = NULL; local
695 for(i = 0; pathcopy[i] = path[i]; i++)
706 strncpy(&pathcopy[i], exts[j], sizeof(pathcopy)-i);
707 pathcopy[sizeof(pathcopy)-1] = '\0';
708 if(fexist(pathcopy, "x", (off_t *) NULL) == FIOSUC)
/dports/editors/pico-alpine/alpine-465e23b/pico/osdep/
H A Daltedit.c692 char pathcopy[PATH_MAX + 1], *dot = NULL; local
695 for(i = 0; pathcopy[i] = path[i]; i++)
706 strncpy(&pathcopy[i], exts[j], sizeof(pathcopy)-i);
707 pathcopy[sizeof(pathcopy)-1] = '\0';
708 if(fexist(pathcopy, "x", (off_t *) NULL) == FIOSUC)
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/ExternalLibs/ttvfs/
H A DVFSDirInternal.cpp126 char *pathcopy = (char*)VFS_STACK_ALLOC(len); in fillView() local
127 memcpy(pathcopy, view.fullname(), len); in fillView()
128 bool added = _addToView(pathcopy, view); in fillView()
129 VFS_STACK_FREE(pathcopy); in fillView()
/dports/sysutils/watchman/watchman-4.5.0/
H A Dopendir.c223 char *pathcopy = NULL; in open_strict() local
259 pathcopy = w_realpath(path); in open_strict()
260 if (!pathcopy) { in open_strict()
269 if (strcmp(pathcopy, path)) { in open_strict()
272 path, pathcopy); in open_strict()
273 free(pathcopy); in open_strict()
278 free(pathcopy); in open_strict()
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xwayland/xorg-server-1.20.13/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xorg-server/xorg-server-1.20.13/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xephyr/xorg-server-1.20.13/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/x11-servers/xarcan/xarcan-0.6.0/hw/xfree86/parser/
H A Dscan.c703 char *pathcopy; in OpenConfigFile() local
708 pathcopy = strdup(path); in OpenConfigFile()
709 for (template = strtok(pathcopy, ","); template && !file; in OpenConfigFile()
727 free(pathcopy); in OpenConfigFile()
801 char *dirpath = NULL, *pathcopy; in OpenConfigDir() local
806 pathcopy = strdup(path); in OpenConfigDir()
807 for (template = strtok(pathcopy, ","); template && !found; in OpenConfigDir()
838 free(pathcopy); in OpenConfigDir()
/dports/science/plumed/plumed2-2.7.2/src/wrapper/
H A DPlumed.h2057 char* pathcopy; in plumed_attempt_dlopen() local
2062 pathcopy=NULL; in plumed_attempt_dlopen()
2084 pathcopy=(char*) __PLUMED_MALLOC(strlenpath+1); in plumed_attempt_dlopen()
2085 __PLUMED_WRAPPER_STD strncpy(pathcopy,path,strlenpath+1); in plumed_attempt_dlopen()
2086 pc=pathcopy+strlenpath-6; in plumed_attempt_dlopen()
2087 while(pc>=pathcopy && __PLUMED_WRAPPER_STD memcmp(pc,"Kernel",6)) pc--; in plumed_attempt_dlopen()
2088 if(pc>=pathcopy) { in plumed_attempt_dlopen()
2091 __PLUMED_FPRINTF(stderr,"+++ Trying %s +++\n",pathcopy); in plumed_attempt_dlopen()
2095 __PLUMED_FREE(pathcopy); in plumed_attempt_dlopen()
2100 p=dlopen(pathcopy,mode); in plumed_attempt_dlopen()
[all …]
/dports/security/integrit/integrit-4.1/
H A Deachfile.c580 char *pathcopy = xstrdup(path); in process_file() local
581 char *p = pathcopy; in process_file()
621 free(pathcopy); in process_file()
629 free(pathcopy); in process_file()
637 free(pathcopy); in process_file()
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/nomos/agent/
H A Dnomos_utils.c789 char *pathcopy; in processFile() local
799 pathcopy = g_strdup(fileToScan); in processFile()
800 strcpy(cur.targetDir, dirname(pathcopy)); in processFile()
801 g_free(pathcopy); in processFile()
/dports/graphics/Coin/coin-Coin-4.0.0/src/glue/
H A Ddl.cpp366 static char pathcopy[MAXPATHLEN]; in cc_dirname() local
367 strcpy(pathcopy, path); in cc_dirname()
368 return dirname(pathcopy); in cc_dirname()

12