Searched refs:cwd (Results 1 - 25 of 258) sorted by relevance

1234567891011

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/libbb/
H A Dxgetcwd.c20 xrealloc_getcwd_or_warn(char *cwd) argument
31 cwd = xrealloc(cwd, path_max);
32 ret = getcwd(cwd, path_max);
36 free(cwd);
40 cwd = xrealloc(cwd, strlen(cwd) + 1);
41 return cwd;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/libbb/
H A Dxgetcwd.c20 xrealloc_getcwd_or_warn(char *cwd) argument
31 cwd = xrealloc(cwd, path_max);
32 ret = getcwd(cwd, path_max);
36 free(cwd);
40 cwd = xrealloc(cwd, strlen(cwd) + 1);
41 return cwd;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/libbb/
H A Dxgetcwd.c20 xrealloc_getcwd_or_warn(char *cwd) argument
31 cwd = xrealloc(cwd, path_max);
32 ret = getcwd(cwd, path_max);
36 free(cwd);
40 cwd = xrealloc(cwd, strlen(cwd) + 1);
41 return cwd;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/tools/perf/util/
H A Dabspath.c5 static char cwd[PATH_MAX + 1]; local
8 if (getcwd(cwd, PATH_MAX) == NULL)
11 if (pwd && strcmp(pwd, cwd)) {
12 stat(cwd, &cwd_stat);
16 strlcpy(cwd, pwd, PATH_MAX);
19 return cwd;
30 const char *cwd = get_pwd_cwd(); local
31 if (!cwd)
33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/tools/perf/util/
H A Dabspath.c5 static char cwd[PATH_MAX + 1]; local
8 if (getcwd(cwd, PATH_MAX) == NULL)
11 if (pwd && strcmp(pwd, cwd)) {
12 stat(cwd, &cwd_stat);
16 strlcpy(cwd, pwd, PATH_MAX);
19 return cwd;
30 const char *cwd = get_pwd_cwd(); local
31 if (!cwd)
33 if (snprintf(buf, PATH_MAX, "%s/%s", cwd, path) >= PATH_MAX)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libatalk/util/
H A Dcnid.c62 * "dir/subdir" with cwd: "/afp_volume/topdir"
66 * @param path (r) path relative to cwd() or absolute
74 int cwd = -1; local
82 EC_NEG1_LOG(cwd = open(".", O_RDONLY));
129 if (cwd != -1) {
130 fchdir(cwd);
131 close(cwd);
H A Dunix.c174 * @brief get cwd in static buffer
180 static char cwd[MAXPATHLEN + 1]; local
183 if ((p = getcwd(cwd, MAXPATHLEN)) != NULL)
321 char cwd[MAXPATHLEN+1]; local
332 *cwd = 0;
334 if (getcwd(cwd, MAXPATHLEN) == NULL)
353 if (*cwd) {
357 for (; cwd[i]; i++) {
358 if (buf[i] != cwd[i])
H A Dftw.c212 char *cwd; local
220 cwd = malloc (path_max);
222 while ((ret = getcwd (cwd, path_max)) == NULL && errno == ERANGE) {
224 cwd = realloc (cwd, path_max);
230 free (cwd);
234 return cwd;
640 char *cwd = NULL; local
706 cwd = __getcwd(NULL, 0);
708 if (cwd
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/util/
H A Dcnid.c62 * "dir/subdir" with cwd: "/afp_volume/topdir"
66 * @param path (r) path relative to cwd() or absolute
74 int cwd = -1; local
82 EC_NEG1_LOG(cwd = open(".", O_RDONLY));
129 if (cwd != -1) {
130 fchdir(cwd);
131 close(cwd);
H A Dunix.c174 * @brief get cwd in static buffer
180 static char cwd[MAXPATHLEN + 1]; local
183 if ((p = getcwd(cwd, MAXPATHLEN)) != NULL)
321 char cwd[MAXPATHLEN+1]; local
332 *cwd = 0;
334 if (getcwd(cwd, MAXPATHLEN) == NULL)
353 if (*cwd) {
357 for (; cwd[i]; i++) {
358 if (buf[i] != cwd[i])
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libatalk/util/
H A Dcnid.c62 * "dir/subdir" with cwd: "/afp_volume/topdir"
66 * @param path (r) path relative to cwd() or absolute
74 int cwd = -1; local
82 EC_NEG1_LOG(cwd = open(".", O_RDONLY));
129 if (cwd != -1) {
130 fchdir(cwd);
131 close(cwd);
H A Dunix.c174 * @brief get cwd in static buffer
180 static char cwd[MAXPATHLEN + 1]; local
183 if ((p = getcwd(cwd, MAXPATHLEN)) != NULL)
321 char cwd[MAXPATHLEN+1]; local
332 *cwd = 0;
334 if (getcwd(cwd, MAXPATHLEN) == NULL)
353 if (*cwd) {
357 for (; cwd[i]; i++) {
358 if (buf[i] != cwd[i])
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/include/asm/
H A Duser_32.h45 long cwd; member in struct:user_i387_struct
56 unsigned short cwd; member in struct:user_fxsr_struct
H A Duser32.h8 u32 cwd; member in struct:user_i387_ia32_struct
20 unsigned short cwd; member in struct:user32_fxsr_struct
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/x86/include/asm/
H A Duser_32.h45 long cwd; member in struct:user_i387_struct
56 unsigned short cwd; member in struct:user_fxsr_struct
H A Duser32.h8 u32 cwd; member in struct:user_i387_ia32_struct
20 unsigned short cwd; member in struct:user32_fxsr_struct
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/build/smb_build/
H A Dconfig_mk.pm100 my $cwd = getcwd;
101 chomp $cwd;
115 chdir $cwd;
127 chdir $cwd;
141 chdir $cwd;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/build/smb_build/
H A Dconfig_mk.pm100 my $cwd = getcwd;
101 chomp $cwd;
115 chdir $cwd;
127 chdir $cwd;
141 chdir $cwd;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/build/smb_build/
H A Dconfig_mk.pm100 my $cwd = getcwd;
101 chomp $cwd;
115 chdir $cwd;
127 chdir $cwd;
141 chdir $cwd;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dnamei.c150 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
162 retval = open_namei(fs, root, cwd, name, strlen(name), 0, 0,
169 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
181 retval = open_namei(fs, root, cwd, name, strlen(name), 1, 0,
188 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
200 retval = follow_link(fs, root, cwd, inode, 0, buf, res_inode);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/perl/BerkeleyDB/t/
H A Denv.t89 my $cwd = cwd() ;
90 my $home = "$cwd/fred" ;
229 my $cwd = cwd() ;
230 my $home = "$cwd/fred" ;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dnamei.c150 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
162 retval = open_namei(fs, root, cwd, name, strlen(name), 0, 0,
169 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
181 retval = open_namei(fs, root, cwd, name, strlen(name), 1, 0,
188 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
200 retval = follow_link(fs, root, cwd, inode, 0, buf, res_inode);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/perl/BerkeleyDB/t/
H A Denv.t89 my $cwd = cwd() ;
90 my $home = "$cwd/fred" ;
229 my $cwd = cwd() ;
230 my $home = "$cwd/fred" ;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/e2fsprogs/old_e2fsprogs/ext2fs/
H A Dnamei.c150 errcode_t ext2fs_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
162 retval = open_namei(fs, root, cwd, name, strlen(name), 0, 0,
169 errcode_t ext2fs_namei_follow(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
181 retval = open_namei(fs, root, cwd, name, strlen(name), 1, 0,
188 errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd, argument
200 retval = follow_link(fs, root, cwd, inode, 0, buf, res_inode);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/perl/BerkeleyDB/t/
H A Denv.t89 my $cwd = cwd() ;
90 my $home = "$cwd/fred" ;
229 my $cwd = cwd() ;
230 my $home = "$cwd/fred" ;

Completed in 239 milliseconds

1234567891011