/external/e2fsprogs/util/ |
symlinks.c | 168 static char lpath[PATH_MAX], new[PATH_MAX], abspath[PATH_MAX]; local 173 if ((c = readlink(path, lpath, sizeof(lpath) - 1)) == -1) { 177 lpath[c] = '\0'; /* readlink does not null terminate it */ 181 if (lpath[0] != '/') { 190 strcat(abspath,lpath); 195 printf("dangling: %s -> %s\n", path, lpath); 200 printf("deleted: %s -> %s\n", path, lpath); 210 } else if (lpath[0] == '/') { 217 fix_messy = tidy_path(strcpy(new,lpath)); [all...] |
/external/google-breakpad/src/client/solaris/handler/ |
solaris_lwp.cc | 197 char lpath[PATH_MAX]; local 202 snprintf(lpath, sizeof (lpath), "/proc/%d/%s", pid, lname); 203 if ((fd = open(lpath, O_RDONLY)) < 0) { 204 print_message2(2, "failed to open %s in read_lfile\n", lpath);
|
/system/core/adb/ |
file_sync_client.cpp | 75 std::string lpath; member in struct:copyinfo 86 : lpath(local_path), rpath(remote_path), mode(mode) { 87 ensure_trailing_separators(lpath, rpath); 88 lpath.append(name); 91 ensure_trailing_separators(lpath, rpath); 375 const char* lpath, const char* rpath, 409 WriteOrDie(lpath, rpath, &buf[0], (p - &buf[0])); 419 const char* lpath, const char* rpath, 427 if (stat(lpath, &st) == -1) { 428 Error("cannot stat '%s': %s", lpath, strerror(errno)) [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
archive.c | 1459 char * lpath; local [all...] |