Searched refs:newpath (Results 1 - 25 of 27) sorted by relevance

12

/external/icu/icu4c/source/tools/toolutil/
H A Dfiletools.cpp59 char newpath[MAX_PATH_SIZE] = ""; local
60 uprv_strcpy(newpath, checkAgainst);
61 uprv_strcat(newpath, U_FILE_SEP_STRING);
62 uprv_strcat(newpath, dirEntry->d_name);
64 if ((subDirp = opendir(newpath)) != NULL) {
65 /* If this new path is a directory, make a recursive call with the newpath. */
67 isLatest = isFileModTimeLater(filePath, newpath, isDir);
72 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
/external/freetype/src/base/
H A Dftrfork.c492 char* newpath; local
500 newpath = raccess_make_file_name( memory, base_file_name, "._" );
501 if ( !newpath )
504 error = raccess_guess_linux_double_from_file_name( library, newpath,
507 *result_file_name = newpath;
509 FT_FREE( newpath );
526 char* newpath = NULL; local
538 if ( FT_ALLOC( newpath, base_file_len + 6 ) )
541 FT_MEM_COPY( newpath, base_file_name, base_file_len );
542 FT_MEM_COPY( newpath
562 char* newpath = NULL; local
594 char* newpath; local
621 char* newpath; local
647 char* newpath; local
678 char* newpath; local
[all...]
/external/pdfium/third_party/freetype/src/base/
H A Dftrfork.c492 char* newpath; local
500 newpath = raccess_make_file_name( memory, base_file_name, "._" );
501 if ( !newpath )
504 error = raccess_guess_linux_double_from_file_name( library, newpath,
507 *result_file_name = newpath;
509 FT_FREE( newpath );
526 char* newpath = NULL; local
538 if ( FT_ALLOC( newpath, base_file_len + 6 ) )
541 FT_MEM_COPY( newpath, base_file_name, base_file_len );
542 FT_MEM_COPY( newpath
562 char* newpath = NULL; local
594 char* newpath; local
621 char* newpath; local
647 char* newpath; local
678 char* newpath; local
[all...]
/external/skia/tools/
H A Dtest_gpuveto.py33 newpath = os.path.join(globbedpath, filename)
34 if os.path.isfile(newpath):
35 files.append(newpath)
H A Dfind_bad_images_in_skps.py82 newpath = os.path.join(globbedpath, filename) variable in class:list_files.NotAFileException
83 if os.path.isfile(newpath):
84 yield newpath
/external/e2fsprogs/lib/ext2fs/
H A Dextent.c277 struct extent_path *path, *newpath; local
429 newpath = path + 1;
430 if (!newpath->buf) {
432 &newpath->buf);
440 memset(newpath->buf, 0, handle->fs->blocksize);
443 blk, 1, newpath->buf);
449 eh = (struct ext3_extent_header *) newpath->buf;
457 newpath->left = newpath->entries =
459 newpath
831 struct extent_path *path, *newpath = 0; local
[all...]
/external/openssh/
H A Dsftp-server.c1180 char *oldpath, *newpath; local
1185 (r = sshbuf_get_cstring(iqueue, &newpath, NULL)) != 0)
1189 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1195 if (link(oldpath, newpath) == -1) {
1210 if (stat(newpath, &st) == -1) {
1211 if (rename(oldpath, newpath) == -1)
1223 unlink(newpath);
1226 } else if (stat(newpath, &sb) == -1) {
1227 if (rename(oldpath, newpath) == -1)
1234 free(newpath);
1265 char *oldpath, *newpath; local
1285 char *oldpath, *newpath; local
1343 char *oldpath, *newpath; local
[all...]
H A Dsftp-client.c864 do_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, argument
888 (r = sshbuf_put_cstring(msg, newpath)) != 0)
893 "SSH2_FXP_RENAME", oldpath, newpath);
899 newpath, fx2txt(status));
905 do_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument
925 (r = sshbuf_put_cstring(msg, newpath)) != 0)
929 oldpath, newpath);
935 newpath, fx2txt(status));
941 do_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument
960 (r = sshbuf_put_cstring(msg, newpath)) !
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix.h50 uptr internal_rename(const char *oldpath, const char *newpath);
H A Dsanitizer_mac.cc139 uptr internal_rename(const char *oldpath, const char *newpath) { argument
140 return rename(oldpath, newpath);
H A Dsanitizer_posix.cc250 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { argument
251 uptr res = internal_rename(oldpath, newpath);
H A Dsanitizer_linux.cc299 uptr internal_rename(const char *oldpath, const char *newpath) { argument
302 (uptr)newpath);
304 return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath);
H A Dsanitizer_common.h214 bool RenameFile(const char *oldpath, const char *newpath,
H A Dsanitizer_win.cc451 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { argument
/external/elfutils/src/src/
H A Dld.c1169 struct pathelement *newpath; local
1171 newpath = (struct pathelement *)
1174 newpath->pname = dir;
1178 ld_state.paths = ld_state.tailpaths = newpath->next = newpath;
1181 ld_state.tailpaths->next = newpath;
1182 ld_state.tailpaths = newpath;
1183 newpath->next = ld_state.paths;
/external/libvncserver/x11vnc/
H A Dsolid.c58 char *newpath; local
75 newpath = (char *) malloc(strlen(oldpath) + strlen(addpath) + 1);
76 newpath[0] = '\0';
77 strcat(newpath, addpath);
78 strcat(newpath, oldpath);
79 set_env("PATH", newpath);
80 free(newpath);
/external/icu/icu4c/source/common/
H A Dputil.cpp937 /* Create a newpath with the new entry to test each entry in the directory. */
938 char newpath[MAX_PATH_SIZE]; local
939 uprv_strcpy(newpath, curpath);
940 uprv_strcat(newpath, dirName);
942 if ((subDirp = opendir(newpath)) != NULL) {
943 /* If this new path is a directory, make a recursive call with the newpath. */
945 uprv_strcat(newpath, "/");
946 result = searchForTZFile(newpath, tzInfo);
958 if(compareBinaryFiles(TZDEFAULT, newpath, tzInfo)) {
959 const char* zoneid = newpath
[all...]
/external/e2fsprogs/e2fsck/
H A Dunix.c1006 char *newpath; local
1012 newpath = malloc(len);
1013 if (!newpath)
1014 fatal_error(ctx, "Couldn't malloc() newpath");
1015 strcpy(newpath, PATH_SET);
1018 strcat(newpath, ":");
1019 strcat(newpath, oldpath);
1021 putenv(newpath);
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
H A DPySourceColor.py1117 newpath = os.path.abspath(os.path.join(
1119 if not os.path.exists(newpath):
1121 os.makedirs(os.path.dirname(newpath))
1125 y = open(newpath, 'w')
1136 os.startfile(newpath)
1139 return newpath
/external/libvncserver/x11vnc/misc/
H A DXdummy1540 int rename(const char *oldpath, const char *newpath) {
1549 if (debug) fprintf(stderr, "RENAME: %s %s\n", oldpath, newpath);
1552 return(real_rename(oldpath, newpath));
1559 return(real_rename(oldpath, newpath));
/external/e2fsprogs/misc/
H A Dmke2fs.c1319 char *newpath; local
1324 newpath = malloc(pathlen);
1325 if (!newpath) {
1330 strcpy(newpath, PATH_SET);
1334 strcat (newpath, ":");
1335 strcat (newpath, oldpath);
1337 putenv (newpath);
/external/valgrind/memcheck/tests/darwin/
H A Dscalar.stderr.exp99 Syscall param link(newpath) contains uninitialised byte(s)
106 Syscall param link(newpath) points to unaddressable byte(s)
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-generic.c3637 PRE_REG_READ2(long, "link", const char *, oldpath, const char *, newpath);
3639 PRE_MEM_RASCIIZ( "link(newpath)", ARG2);
4050 PRE_REG_READ2(long, "rename", const char *, oldpath, const char *, newpath);
4052 PRE_MEM_RASCIIZ( "rename(newpath)", ARG2 );
4227 PRE_REG_READ2(long, "symlink", const char *, oldpath, const char *, newpath);
4229 PRE_MEM_RASCIIZ( "symlink(newpath)", ARG2 );
H A Dsyswrap-linux.c4617 int, newdfd, const char *, newpath);
4619 PRE_MEM_RASCIIZ( "renameat(newpath)", ARG4 );
4628 int, newdfd, const char *, newpath,
4631 PRE_MEM_RASCIIZ( "linkat(newpath)", ARG4);
4639 const char *, oldpath, int, newdfd, const char *, newpath);
4641 PRE_MEM_RASCIIZ( "symlinkat(newpath)", ARG3 );
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp127 Syscall param link(newpath) contains uninitialised byte(s)
136 Syscall param link(newpath) points to unaddressable byte(s)
429 Syscall param rename(newpath) contains uninitialised byte(s)
438 Syscall param rename(newpath) points to unaddressable byte(s)
923 Syscall param symlink(newpath) contains uninitialised byte(s)
932 Syscall param symlink(newpath) points to unaddressable byte(s)

Completed in 671 milliseconds

12