Searched refs:saved_cwd (Results 1 - 23 of 23) sorted by relevance

/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dsave-cwd.h24 struct saved_cwd struct
30 int save_cwd (struct saved_cwd *cwd);
31 int restore_cwd (const struct saved_cwd *cwd);
32 void free_cwd (struct saved_cwd *cwd);
H A Dopenat.c53 struct saved_cwd saved_cwd; local
73 if (save_cwd (&saved_cwd) != 0)
80 free_cwd (&saved_cwd);
88 if (restore_cwd (&saved_cwd) != 0)
92 free_cwd (&saved_cwd);
108 struct saved_cwd saved_cwd; local
115 if (save_cwd (&saved_cwd) != 0)
122 free_cwd (&saved_cwd);
150 struct saved_cwd saved_cwd; local
[all...]
H A Dsave-cwd.c80 save_cwd (struct saved_cwd *cwd)
103 restore_cwd (const struct saved_cwd *cwd)
112 free_cwd (struct saved_cwd *cwd)
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dsave-cwd.h24 struct saved_cwd struct
30 int save_cwd (struct saved_cwd *cwd);
31 int restore_cwd (const struct saved_cwd *cwd);
32 void free_cwd (struct saved_cwd *cwd);
H A Dat-func.c84 struct saved_cwd saved_cwd;
110 if (save_cwd (&saved_cwd) != 0)
112 if (0 <= fd && fd == saved_cwd.desc)
117 free_cwd (&saved_cwd);
125 free_cwd (&saved_cwd);
133 if (restore_cwd (&saved_cwd) != 0)
136 free_cwd (&saved_cwd);
H A Dsave-cwd.c62 save_cwd (struct saved_cwd *cwd)
83 restore_cwd (const struct saved_cwd *cwd)
92 free_cwd (struct saved_cwd *cwd)
H A Dopenat.c217 struct saved_cwd saved_cwd; local
245 save_ok = (save_cwd (&saved_cwd) == 0);
252 if (0 <= fd && fd == saved_cwd.desc)
257 free_cwd (&saved_cwd);
269 if (save_ok && restore_cwd (&saved_cwd) != 0)
283 free_cwd (&saved_cwd);
H A Dfdopendir.c40 static DIR *fdopendir_with_dup (int, int, struct saved_cwd const *);
41 static DIR *fd_clone_opendir (int, struct saved_cwd const *);
110 struct saved_cwd cwd;
136 fdopendir_with_dup (int fd, int older_dupfd, struct saved_cwd const *cwd)
176 fd_clone_opendir (int fd, struct saved_cwd const *cwd)
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dsave-cwd.h24 struct saved_cwd struct
30 int save_cwd (struct saved_cwd *cwd);
31 int restore_cwd (const struct saved_cwd *cwd);
32 void free_cwd (struct saved_cwd *cwd);
H A Dat-func.c84 struct saved_cwd saved_cwd;
110 if (save_cwd (&saved_cwd) != 0)
112 if (0 <= fd && fd == saved_cwd.desc)
117 free_cwd (&saved_cwd);
125 free_cwd (&saved_cwd);
133 if (restore_cwd (&saved_cwd) != 0)
136 free_cwd (&saved_cwd);
H A Dsave-cwd.c62 save_cwd (struct saved_cwd *cwd)
83 restore_cwd (const struct saved_cwd *cwd)
92 free_cwd (struct saved_cwd *cwd)
H A Dopenat.c217 struct saved_cwd saved_cwd; local
245 save_ok = (save_cwd (&saved_cwd) == 0);
252 if (0 <= fd && fd == saved_cwd.desc)
257 free_cwd (&saved_cwd);
269 if (save_ok && restore_cwd (&saved_cwd) != 0)
283 free_cwd (&saved_cwd);
H A Dfdopendir.c40 static DIR *fdopendir_with_dup (int, int, struct saved_cwd const *);
41 static DIR *fd_clone_opendir (int, struct saved_cwd const *);
110 struct saved_cwd cwd;
136 fdopendir_with_dup (int fd, int older_dupfd, struct saved_cwd const *cwd)
176 fd_clone_opendir (int fd, struct saved_cwd const *cwd)
/netbsd-current/external/gpl2/xcvs/dist/src/
H A Drelease.c148 struct saved_cwd cwd;
H A Dadd.c66 struct saved_cwd cwd;
773 struct saved_cwd cwd;
H A Drecurse.c997 struct saved_cwd cwd;
1318 struct saved_cwd cwd;
H A Dmkmodules.c779 struct saved_cwd cwd;
H A Dmodules.c115 struct saved_cwd cwd;
H A Dimport.c1720 struct saved_cwd cwd;
H A Dtag.c1688 struct saved_cwd cwd;
H A Dhistory.c810 struct saved_cwd cwd;
H A Dupdate.c1139 struct saved_cwd cwd;
H A Dclient.c4777 struct saved_cwd sdir;

Completed in 558 milliseconds