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

1 2

  /system/core/init/
util.h 36 void make_link(const char *oldpath, const char *newpath);
37 void remove_link(const char *oldpath, const char *newpath);
util.c 347 void make_link(const char *oldpath, const char *newpath)
354 slash = strrchr(newpath, '/');
357 width = slash - newpath;
360 memcpy(buf, newpath, width);
366 ret = symlink(oldpath, newpath);
368 ERROR("Failed to symlink %s to %s: %s (%d)\n", oldpath, newpath, strerror(errno), errno);
371 void remove_link(const char *oldpath, const char *newpath)
375 ret = readlink(newpath, path, sizeof(path) - 1);
380 unlink(newpath);
  /external/chromium/third_party/icu/source/tools/toolutil/
filetools.cpp 51 char newpath[MAX_PATH_SIZE] = ""; local
52 uprv_strcpy(newpath, checkAgainst);
53 uprv_strcat(newpath, U_FILE_SEP_STRING);
54 uprv_strcat(newpath, dirEntry->d_name);
56 if ((subDirp = opendir(newpath)) != NULL) {
57 /* If this new path is a directory, make a recursive call with the newpath. */
59 isLatest = isFileModTimeLater(filePath, newpath, isDir);
64 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
  /external/icu4c/tools/toolutil/
filetools.cpp 51 char newpath[MAX_PATH_SIZE] = ""; local
52 uprv_strcpy(newpath, checkAgainst);
53 uprv_strcat(newpath, U_FILE_SEP_STRING);
54 uprv_strcat(newpath, dirEntry->d_name);
56 if ((subDirp = opendir(newpath)) != NULL) {
57 /* If this new path is a directory, make a recursive call with the newpath. */
59 isLatest = isFileModTimeLater(filePath, newpath, isDir);
64 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
  /system/core/toolbox/
wipe.c 127 char *newpath; local
133 newpath = strdup(nameBuffer);
134 wipe(newpath);
138 if (strcmp(INIT_DIRS[i], newpath) == 0) {
143 ret = rmdir(newpath);
146 newpath, strerror(errno));
150 free(newpath);
  /external/freetype/src/base/
ftrfork.c 446 char* newpath; local
454 newpath = raccess_make_file_name( memory, base_file_name, "._" );
455 if ( !newpath )
458 error = raccess_guess_linux_double_from_file_name( library, newpath,
461 *result_file_name = newpath;
463 FT_FREE( newpath );
480 char* newpath; local
492 if ( FT_ALLOC( newpath, base_file_len + 6 ) )
495 FT_MEM_COPY( newpath, base_file_name, base_file_len );
496 FT_MEM_COPY( newpath + base_file_len, "/rsrc", 6 )
516 char* newpath; local
548 char* newpath; local
575 char* newpath; local
601 char* newpath; local
632 char* newpath; local
    [all...]
  /external/chromium/net/socket/
ssl_test_util.cc 181 std::wstring newpath(oldpath);
182 newpath.append(L":");
183 newpath.append(dir.value());
184 SetEnvironmentVariableW(kPythonPath, newpath.c_str());
193 std::string newpath(oldpath);
194 newpath.append(":");
195 newpath.append(dir.value());
196 setenv(kPythonPath, newpath.c_str(), 1);
  /external/yaffs2/yaffs2/direct/
yaffsfs.h 183 int yaffs_rename(const char *oldPath, const char *newPath) ;
203 int yaffs_symlink(const char *oldpath, const char *newpath);
206 int yaffs_link(const char *oldpath, const char *newpath);
yaffsfs.c 762 int yaffs_rename(const char *oldPath, const char *newPath)
775 newdir = yaffsfs_FindDirectory(NULL,newPath,&newname,0);
1352 int yaffs_symlink(const char *oldpath, const char *newpath)
1361 parent = yaffsfs_FindDirectory(NULL,newpath,&name,0);
1410 int yaffs_link(const char *oldpath, const char *newpath)
1412 // Creates a link called newpath to existing oldpath
1421 target = yaffsfs_FindObject(NULL,newpath,0);
1440 newdir = yaffsfs_FindDirectory(NULL,newpath,&newname,0);
  /bionic/libc/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
linux-unistd.h 98 int renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /development/ndk/platforms/android-3/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
linux-unistd.h 95 int renameat (int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/sys/
stat.h 104 extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
  /frameworks/base/cmds/rawbu/
backup.cpp 131 char *newpath; local
133 newpath = strdup(nameBuffer);
134 if (wipe(newpath) == 0) {
135 free(newpath);
141 ret = rmdir(newpath);
144 newpath, strerror(errno));
148 free(newpath);
  /external/chromium/third_party/icu/source/common/
putil.c 862 /* Create a newpath with the new entry to test each entry in the directory. */
863 char newpath[MAX_PATH_SIZE]; local
864 uprv_strcpy(newpath, curpath);
865 uprv_strcat(newpath, dirEntry->d_name);
867 if ((subDirp = opendir(newpath)) != NULL) {
868 /* If this new path is a directory, make a recursive call with the newpath. */
870 uprv_strcat(newpath, "/");
871 result = searchForTZFile(newpath, tzInfo);
873 if(compareBinaryFiles(TZDEFAULT, newpath, tzInfo)) {
874 uprv_strcpy(SEARCH_TZFILE_RESULT, newpath + (sizeof(TZZONEINFO) - 1))
    [all...]
  /external/icu4c/common/
putil.c 887 /* Create a newpath with the new entry to test each entry in the directory. */
888 char newpath[MAX_PATH_SIZE]; local
889 uprv_strcpy(newpath, curpath);
890 uprv_strcat(newpath, dirEntry->d_name);
892 if ((subDirp = opendir(newpath)) != NULL) {
893 /* If this new path is a directory, make a recursive call with the newpath. */
895 uprv_strcat(newpath, "/");
896 result = searchForTZFile(newpath, tzInfo);
898 if(compareBinaryFiles(TZDEFAULT, newpath, tzInfo)) {
899 uprv_strcpy(SEARCH_TZFILE_RESULT, newpath + (sizeof(TZZONEINFO) - 1))
    [all...]
  /external/elfutils/src/
ld.c 1085 struct pathelement *newpath; local
1087 newpath = (struct pathelement *)
1090 newpath->pname = dir;
1094 ld_state.paths = ld_state.tailpaths = newpath;
1097 ld_state.tailpaths->next = newpath;
1098 ld_state.tailpaths = newpath;
    [all...]
  /external/e2fsprogs/e2fsck/
unix.c 837 char *newpath; local
843 newpath = malloc(len);
844 if (!newpath)
845 fatal_error(ctx, "Couldn't malloc() newpath");
846 strcpy(newpath, PATH_SET);
849 strcat(newpath, ":");
850 strcat(newpath, oldpath);
852 putenv(newpath);
    [all...]
  /external/e2fsprogs/misc/
mke2fs.c 971 char *newpath; local
976 newpath = malloc(pathlen);
977 strcpy(newpath, PATH_SET);
981 strcat (newpath, ":");
982 strcat (newpath, oldpath);
984 putenv (newpath);
    [all...]

Completed in 349 milliseconds

1 2