HomeSort by: relevance | last modified time | path
    Searched defs:fullpath (Results 1 - 22 of 22) sorted by relevancy

  /src/external/bsd/libarchive/dist/libarchive/test/
test_write_disk.c 242 wchar_t *fullpath; local
324 assert((fullpath = malloc((l + 20) * sizeof(wchar_t))) != NULL);
325 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0);
326 wcscat(fullpath, L"\\f:i*l?e\"f<i>l|e");
328 archive_entry_copy_pathname_w(ae, fullpath);
333 free(fullpath);
337 assert((fullpath = malloc((l + 30) * sizeof(wchar_t))) != NULL);
338 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0);
339 wcscat(fullpath, L"\\d:i*r?e\"c<t>o|ry/file1");
341 archive_entry_copy_pathname_w(ae, fullpath);
    [all...]
test_read_disk_directory_traversals.c 92 wchar_t *wcwd, *wp, *fullpath; local
436 fullpath = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32));
437 wcscpy(fullpath, L"//?/");
438 wcscat(fullpath, wcwd);
439 wcscat(fullpath, L"/dir1/file1");
441 assertEqualIntA(a, ARCHIVE_OK, archive_read_disk_open_w(a, fullpath));
442 while ((wcwd = wcschr(fullpath, L'\\')) != NULL)
448 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local
462 free(fullpath);
468 fullpath = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32))
482 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local
495 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local
505 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local
    [all...]
  /src/external/bsd/libarchive/dist/libarchive/
archive_write_open_filename.c 138 wchar_t *fullpath; local
161 fullpath = __la_win_permissive_name_w(wcs);
162 if (fullpath != NULL) {
163 mine->fd = _wopen(fullpath, flags, 0666);
164 free(fullpath);
filter_fork_windows.c 81 struct archive_string fullpath; local
92 archive_string_init(&fullpath);
116 if (archive_string_ensure(&fullpath, fl) == NULL)
119 fl = SearchPathA(NULL, acmd->path, ext, fl, fullpath.s,
187 if (CreateProcessA(fullpath.s, cmdline.s, NULL, NULL, TRUE, 0,
208 archive_string_free(&fullpath);
224 archive_string_free(&fullpath);
archive_read_open_filename.c 303 wchar_t *fullpath; local
304 fullpath = __la_win_permissive_name_w(wfilename);
305 if (fullpath != NULL) {
306 fd = _wopen(fullpath, O_RDONLY | O_BINARY);
307 free(fullpath);
archive_windows.c 422 wchar_t *fullpath; local
429 fullpath = NULL;
444 fullpath = __la_win_permissive_name_w(path);
445 if (fullpath == NULL) {
449 path = fullpath;
450 attr = GetFileAttributesW(fullpath);
454 free(fullpath);
460 if (fullpath != NULL)
461 handle = CreateFileW(fullpath, 0, 0, NULL,
478 handle = CreateFile2(fullpath, 0, 0
    [all...]
  /src/external/cddl/osnet/dist/cmd/zinject/
translate.c 92 char fullpath[MAXPATHLEN]; local
94 compress_slashes(inpath, fullpath);
96 if (fullpath[0] != '/') {
98 "path\n", fullpath);
103 if (strlen(fullpath) >= MAXPATHLEN) {
108 if (stat64(fullpath, statbuf) != 0) {
110 fullpath, strerror(errno));
114 if (statfs(fullpath, &sfs) == -1) {
116 fullpath, strerror(errno));
122 "filesystem\n", fullpath);
    [all...]
  /src/usr.sbin/mtree/
mtree.c 64 char fullpath[MAXPATHLEN]; variable
282 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath)))
  /src/external/gpl2/texinfo/dist/info/
dir.c 129 char *fullpath = xmalloc (3 + strlen (this_dir) + namelen); local
131 strcpy (fullpath, this_dir);
132 if (!IS_SLASH (fullpath[strlen (fullpath) - 1]))
133 strcat (fullpath, "/");
134 strcat (fullpath, from_file);
136 statable = (stat (fullpath, &finfo) == 0);
143 char *contents = filesys_read_info_file (fullpath, &filesize,
153 free (fullpath);
nodes.h 106 char *fullpath; /* The full pathname of this info file. */
105 char *fullpath; \/* The full pathname of this info file. *\/ member in struct:__anon9537
nodes.c 164 node->filename = file_buffer->fullpath;
232 || (FILENAME_CMP (filename, file_buffer->fullpath) == 0)
235 filename_non_directory (file_buffer->fullpath))
253 if (stat (file_buffer->fullpath, &new_info) == -1)
316 char *fullpath, *contents;
324 fullpath = info_find_fullpath (filename);
327 retcode = stat (fullpath, &finfo);
351 fullpath = info_find_fullpath (lowered_name);
353 retcode = stat (fullpath, &finfo);
365 contents = filesys_read_info_file (fullpath, &filesize, &finfo, &compressed)
313 char *fullpath, *contents; local
793 char *fullpath; local
    [all...]
  /src/external/bsd/pkg_install/dist/lib/
plist.c 726 char *fullpath, *oldvalue, *newvalue; local
728 fullpath = xasprintf("%s/%s", prefix, path);
729 oldvalue = pkgdb_retrieve(fullpath);
734 pkgdb_remove(fullpath);
738 pkgdb_store(fullpath, newvalue);
740 free(fullpath);
748 char *fullpath, *oldvalue, *newvalue, *iter; local
750 fullpath = xasprintf("%s/%s", prefix, path);
751 oldvalue = pkgdb_retrieve(fullpath);
768 pkgdb_remove(fullpath);
    [all...]
  /src/external/gpl2/dtc/dist/
dtc.h 159 char *fullpath; member in struct:node
  /src/external/gpl2/texinfo/dist/makeinfo/
files.c 112 char *fullpath;
120 fullpath = xmalloc (2 + strlen (dir) + strlen (filename));
121 sprintf (fullpath, "%s/%s", dir, filename);
124 result = stat (fullpath, finfo);
127 return fullpath;
129 free (fullpath);
200 char *fullpath, *result;
203 result = fullpath = NULL;
205 fullpath
209 if (!fullpath)
111 char *fullpath; local
198 char *fullpath, *result; local
    [all...]
  /src/sbin/fsck_msdos/
dir.c 93 static char *fullpath(struct dosDirEntry *);
163 fullpath(struct dosDirEntry *dir) function
408 fullpath(dir), dir->size, physicalSize);
420 fullpath(dir));
525 fullpath(dir));
636 fullpath(dir), 2);
676 fullpath(&dirent), 0);
692 fullpath(&dirent));
718 fullpath(&dirent));
722 fullpath(&dirent)
    [all...]
  /src/external/cddl/osnet/dist/lib/libzfs/common/
libzfs_diff.c 495 char fullpath[MAXPATHLEN]; local
498 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN);
499 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN);
501 if (stat64(fullpath, &sb) != 0) {
504 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath);
  /src/external/bsd/pkg_install/dist/add/
perform.c 695 char *fullpath; local
754 fullpath = xasprintf("%s/%s", pkg->prefix, p->name);
755 pkgdb_store(fullpath, pkg->pkgname);
756 free(fullpath);
762 fullpath = xasprintf("%s/%s", pkg->prefix, p->name);
763 mkdir_p(fullpath);
764 free(fullpath);
1095 char *fullpath, *existing; local
1116 fullpath = xasprintf("%s/%s", pkg->prefix, p->name);
1117 existing = pkgdb_retrieve(fullpath);
    [all...]
  /src/external/gpl2/xcvs/dist/src/
commit.c 1082 char *fullpath; local
1087 fullpath = Xasprintf ("%s/%s", working_dir, finfo->fullname);
1091 linkp = lookup_file_by_inode (fullpath);
update.c 556 char *fullpath; local
561 fullpath = Xasprintf ("%s/%s", working_dir, finfo->fullname);
565 linkp = lookup_file_by_inode (fullpath);
  /src/external/gpl3/gcc/dist/gcc/
gengtype-state.cc 1946 char *fullpath = concat (srcdir, dirsepstr, path, NULL);
1947 floc->file = input_file_by_name (fullpath);
1948 free (fullpath);
2523 char *fullpath = concat (srcdir, dirsepstr, fnam, NULL);
2524 curgt = input_file_by_name (fullpath);
2525 free (fullpath);
1945 char *fullpath = concat (srcdir, dirsepstr, path, NULL); local
2522 char *fullpath = concat (srcdir, dirsepstr, fnam, NULL); local
  /src/external/gpl3/gcc.old/dist/gcc/
gengtype-state.cc 1956 char *fullpath = concat (srcdir, dirsepstr, path, NULL);
1957 floc->file = input_file_by_name (fullpath);
1958 free (fullpath);
2533 char *fullpath = concat (srcdir, dirsepstr, fnam, NULL);
2534 curgt = input_file_by_name (fullpath);
2535 free (fullpath);
1955 char *fullpath = concat (srcdir, dirsepstr, path, NULL); local
2532 char *fullpath = concat (srcdir, dirsepstr, fnam, NULL); local
  /src/external/bsd/ntp/dist/ntpd/
ntp_control.c 997 char fullpath[512]; local
1118 prc = snprintf(fullpath, sizeof(fullpath), "%s%s",
1120 if (prc < 0 || (size_t)prc >= sizeof(fullpath)) {
1122 (u_int)sizeof(fullpath));
1130 fd = open(fullpath, openmode, S_IRUSR | S_IWUSR);
1146 fullpath, stoa(&rbufp->recv_srcadr));

Completed in 86 milliseconds