HomeSort by relevance Sort by last modified time
    Searched refs:newpath (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/ltp/include/lapi/
renameat.h 29 const char *newpath)
32 newpath);
  /external/ltp/testcases/kernel/syscalls/renameat2/
renameat2.h 28 const char *newpath, unsigned int flags)
31 newpath, flags);
renameat201.c 21 * 1) renameat2(2) returns -1 and sets errno to EEXIST because newpath
25 * RENAME_EXCHANGE is used and newpath does not exist.
28 * newpath does not exist.
60 const char *newpath; member in struct:test_case
138 *(test->newdirfd), test->newpath, test->flags));
  /external/strace/tests/
renameat2.c 43 static const char newpath[] = "renameat2_newpath"; local
50 olddirfd, oldpath, newdirfd, newpath, 1);
53 (int) olddirfd, oldpath, newpath, rc, errno2name());
symlinkat.c 14 static const char newpath[] = "symlink_new"; local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath);
18 oldpath, (int) fd, newpath, rc, errno2name());
  /external/strace/tests-m32/
renameat2.c 43 static const char newpath[] = "renameat2_newpath"; local
50 olddirfd, oldpath, newdirfd, newpath, 1);
53 (int) olddirfd, oldpath, newpath, rc, errno2name());
symlinkat.c 14 static const char newpath[] = "symlink_new"; local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath);
18 oldpath, (int) fd, newpath, rc, errno2name());
  /external/strace/tests-mx32/
renameat2.c 43 static const char newpath[] = "renameat2_newpath"; local
50 olddirfd, oldpath, newdirfd, newpath, 1);
53 (int) olddirfd, oldpath, newpath, rc, errno2name());
symlinkat.c 14 static const char newpath[] = "symlink_new"; local
16 long rc = syscall(__NR_symlinkat, oldpath, fd, newpath);
18 oldpath, (int) fd, newpath, rc, errno2name());
  /prebuilts/go/darwin-x86/src/path/filepath/
symlink.go 36 func walkLink(path string, linksWalked *int) (newpath string, islink bool, err error) {
47 newpath, err = os.Readlink(path)
52 return newpath, true, nil
58 newpath, _, err := walkLink(file, linksWalked)
59 return newpath, err
70 newpath, _, err := walkLink(dir, linksWalked)
71 return newpath, err
77 newpath, islink, err := walkLink(Join(newdir, file), linksWalked)
82 return newpath, nil
84 if IsAbs(newpath) || os.IsPathSeparator(newpath[0])
    [all...]
symlink_windows.go 175 newpath, err := walkSymlinks(path)
183 newpath, err = toNorm(newpath, normBase)
191 if strings.ToUpper(newpath) == strings.ToUpper(path) {
194 return newpath, nil
198 return newpath, nil
202 return newpath, nil
204 if samefile(newpath, newpath2) {
205 return newpath, nil
  /prebuilts/go/linux-x86/src/path/filepath/
symlink.go 36 func walkLink(path string, linksWalked *int) (newpath string, islink bool, err error) {
47 newpath, err = os.Readlink(path)
52 return newpath, true, nil
58 newpath, _, err := walkLink(file, linksWalked)
59 return newpath, err
70 newpath, _, err := walkLink(dir, linksWalked)
71 return newpath, err
77 newpath, islink, err := walkLink(Join(newdir, file), linksWalked)
82 return newpath, nil
84 if IsAbs(newpath) || os.IsPathSeparator(newpath[0])
    [all...]
symlink_windows.go 175 newpath, err := walkSymlinks(path)
183 newpath, err = toNorm(newpath, normBase)
191 if strings.ToUpper(newpath) == strings.ToUpper(path) {
194 return newpath, nil
198 return newpath, nil
202 return newpath, nil
204 if samefile(newpath, newpath2) {
205 return newpath, nil
  /external/freetype/src/base/
ftrfork.c 566 char* newpath; local
574 newpath = raccess_make_file_name( memory, base_file_name, "._" );
575 if ( !newpath )
578 error = raccess_guess_linux_double_from_file_name( library, newpath,
581 *result_file_name = newpath;
583 FT_FREE( newpath );
600 char* newpath = NULL; local
612 if ( FT_ALLOC( newpath, base_file_len + 6 ) )
615 FT_MEM_COPY( newpath, base_file_name, base_file_len );
616 FT_MEM_COPY( newpath + base_file_len, "/rsrc", 6 )
636 char* newpath = NULL; local
668 char* newpath; local
695 char* newpath; local
721 char* newpath; local
752 char* newpath; local
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
filetools.cpp 62 icu::CharString newpath(checkAgainst, -1, status);
63 newpath.append(U_FILE_SEP_STRING, -1, status);
64 newpath.append(dirEntry->d_name, -1, status);
70 if ((subDirp = opendir(newpath.data())) != NULL) {
71 /* If this new path is a directory, make a recursive call with the newpath. */
73 isLatest = isFileModTimeLater(filePath, newpath.data(), isDir);
78 int32_t latest = whichFileModTimeIsLater(filePath, newpath.data());
  /external/freetype/src/tools/docmaker/
utils.py 111 newpath = glob.glob( pathname )
112 newpath.sort() # sort files -- this is important because
115 newpath = [pathname]
117 file_list.extend( newpath )
  /external/python/cpython2/Lib/
posixpath.py 399 newpath = join(path, name)
400 if not islink(newpath):
401 path = newpath
404 if newpath in seen:
406 path = seen[newpath]
412 return join(newpath, rest), False
413 seen[newpath] = None # not resolved symlink
414 path, ok = _joinrealpath(path, os.readlink(newpath), seen)
417 seen[newpath] = path # resolved symlink
  /prebuilts/gdb/darwin-x86/lib/python2.7/
posixpath.py 391 newpath = join(path, name)
392 if not islink(newpath):
393 path = newpath
396 if newpath in seen:
398 path = seen[newpath]
404 return join(newpath, rest), False
405 seen[newpath] = None # not resolved symlink
406 path, ok = _joinrealpath(path, os.readlink(newpath), seen)
409 seen[newpath] = path # resolved symlink
  /prebuilts/gdb/linux-x86/lib/python2.7/
posixpath.py 391 newpath = join(path, name)
392 if not islink(newpath):
393 path = newpath
396 if newpath in seen:
398 path = seen[newpath]
404 return join(newpath, rest), False
405 seen[newpath] = None # not resolved symlink
406 path, ok = _joinrealpath(path, os.readlink(newpath), seen)
409 seen[newpath] = path # resolved symlink
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
posixpath.py 391 newpath = join(path, name)
392 if not islink(newpath):
393 path = newpath
396 if newpath in seen:
398 path = seen[newpath]
404 return join(newpath, rest), False
405 seen[newpath] = None # not resolved symlink
406 path, ok = _joinrealpath(path, os.readlink(newpath), seen)
409 seen[newpath] = path # resolved symlink
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
posixpath.py 391 newpath = join(path, name)
392 if not islink(newpath):
393 path = newpath
396 if newpath in seen:
398 path = seen[newpath]
404 return join(newpath, rest), False
405 seen[newpath] = None # not resolved symlink
406 path, ok = _joinrealpath(path, os.readlink(newpath), seen)
409 seen[newpath] = path # resolved symlink
  /external/python/cpython3/Lib/
posixpath.py 419 newpath = join(path, name)
420 if not islink(newpath):
421 path = newpath
424 if newpath in seen:
426 path = seen[newpath]
432 return join(newpath, rest), False
433 seen[newpath] = None # not resolved symlink
434 path, ok = _joinrealpath(path, os.readlink(newpath), seen)
437 seen[newpath] = path # resolved symlink
  /external/ltp/include/old/
safe_macros.h 94 #define SAFE_LINK(cleanup_fn, oldpath, newpath) \
95 safe_link(__FILE__, __LINE__, cleanup_fn, (oldpath), (newpath))
97 #define SAFE_LINKAT(cleanup_fn, olddirfd, oldpath, newdirfd, newpath, flags) \
99 (newdirfd), (newpath), (flags))
104 #define SAFE_SYMLINK(cleanup_fn, oldpath, newpath) \
105 safe_symlink(__FILE__, __LINE__, cleanup_fn, (oldpath), (newpath))
147 #define SAFE_RENAME(cleanup_fn, oldpath, newpath) \
148 safe_rename(__FILE__, __LINE__, (cleanup_fn), (oldpath), (newpath))
  /external/ltp/testcases/kernel/syscalls/link/
link08.c 26 * if oldpath and newpath are not on the same mounted file system( Linux
68 char *newpath; member in struct:test_case_t
103 TEST(link(tc->oldpath, tc->newpath));
  /external/ltp/include/
safe_macros_fn.h 99 const char *newpath);
103 int newdirfd, const char *newpath, int flags);
111 const char *newpath);
155 const char *oldpath, const char *newpath);

Completed in 691 milliseconds

1 2 3 4