Searched refs:wd (Results 1 - 25 of 38) sorted by relevance

12

/haiku-fatelf/src/bin/coreutils/lib/
H A Dsavewd.c41 savewd_save (struct savewd *wd) argument
43 switch (wd->state)
51 wd->state = FD_STATE;
52 wd->val.fd = fd;
57 wd->state = ERROR_STATE;
58 wd->val.errnum = errno;
62 wd->state = FORKING_STATE;
63 wd->val.child = -1;
66 if (wd->val.child < 0)
71 wd
96 savewd_chdir(struct savewd *wd, char const *dir, int options, int open_result[2]) argument
165 savewd_restore(struct savewd *wd, int status) argument
223 savewd_finish(struct savewd *wd) argument
258 savewd_delegating(struct savewd const *wd) argument
271 struct savewd wd; local
[all...]
H A Dsavewd.h71 savewd_init (struct savewd *wd) argument
73 wd->state = INITIAL_STATE;
108 int savewd_chdir (struct savewd *wd, char const *dir, int options,
117 int savewd_restore (struct savewd *wd, int status);
121 savewd_errno (struct savewd const *wd) argument
123 return (wd->state == ERROR_STATE ? wd->val.errnum : 0);
128 void savewd_finish (struct savewd *wd);
H A Dmkdir-p.h26 struct savewd *wd,
H A Dmkdir-p.c87 struct savewd *wd,
97 int mkdir_errno = (IS_ABSOLUTE_FILE_NAME (dir) ? 0 : savewd_errno (wd));
106 prefix_len = mkancesdirs (dir, wd, make_ancestor, options);
158 savewd_chdir (wd, dir + prefix_len,
86 make_dir_parents(char *dir, struct savewd *wd, int (*make_ancestor) (char const *, char const *, void *), void *options, mode_t mode, void (*announce) (char const *, void *), mode_t mode_bits, uid_t owner, gid_t group, bool preserve_existing) argument
H A Dmkancesdirs.c67 mkancesdirs (char *file, struct savewd *wd, argument
134 savewd_chdir (wd, component, savewd_chdir_options, NULL);
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Diovswscanf.c40 struct _IO_wide_data wd; local
44 _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, 0, &wd, &_IO_wstr_jumps);
H A Diovdprintf.c38 struct _IO_wide_data wd; local
44 _IO_no_init (&tmpfil.file, _IO_USER_LOCK, 0, &wd, &INTUSE(_IO_wfile_jumps));
H A Diofopen.c74 struct _IO_wide_data wd; member in struct:locked_FILE
83 _IO_no_init (&new_f->fp.file, 0, 0, &new_f->wd, &INTUSE(_IO_wfile_jumps));
H A Diofdopen.c50 struct _IO_wide_data wd; member in struct:locked_FILE
141 _IO_no_init (&new_f->fp.file, 0, 0, &new_f->wd,
H A Dvswprintf.c112 struct _IO_wide_data wd; local
122 _IO_no_init (&sf.f._sbf._f, _IO_USER_LOCK, 0, &wd, &_IO_wstrn_jumps);
H A Diopopen.c172 struct _IO_wide_data wd; member in struct:locked_FILE
183 _IO_no_init (fp, 0, 0, &new_f->wd, &_IO_wproc_jumps);
H A Dmemstream.c101 struct _IO_wide_data wd; member in struct:locked_FILE
115 _IO_no_init (&new_f->fp._sf._sbf._f, 0, 0, &new_f->wd, &_IO_wmem_jumps);
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dpathphys.c259 char *tdir, *wd; local
269 wd = get_working_directory ("sh_realpath");
270 if (wd == 0)
272 tdir = sh_makepath ((char *)pathname, wd, 0);
273 free (wd);
278 wd = sh_physpath (tdir, 0);
282 return (wd);
284 if (wd)
286 strncpy (resolved, wd, PATH_MAX - 1);
288 free (wd);
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dpwd.c302 char *wd = getenv ("PWD"); local
306 if (!wd || wd[0] != '/')
308 p = wd;
318 if (stat (wd, &st1) == 0 && stat (".", &st2) == 0 && SAME_INODE(st1, st2))
319 return wd;
327 char *wd; local
367 wd = logical_getcwd ();
368 if (wd)
370 puts (wd);
[all...]
H A Dtail.c143 int wd; member in struct:File_spec
1250 return spec->wd % tabsize;
1258 return spec1->wd == spec2->wd;
1263 check_fspec (struct File_spec *fspec, int wd, int *prev_wd) argument
1279 *prev_wd = wd;
1287 if (wd != *prev_wd)
1291 *prev_wd = wd;
1304 tail_forever_inotify (int wd, struct File_spec *f, size_t n_files, argument
1336 f[i].wd
2147 int wd = inotify_init (); local
[all...]
H A Dinstall.c414 process_dir (char *dir, struct savewd *wd, void *options) argument
416 return (make_dir_parents (dir, wd,
698 struct savewd wd; local
699 savewd_init (&wd);
701 savewd_finish (&wd);
703 if (mkancesdirs (to, &wd, make_ancestor, x) == -1)
711 int restore_result = savewd_restore (&wd, status);
713 savewd_finish (&wd);
H A Dmkdir.c128 process_dir (char *dir, struct savewd *wd, void *options) argument
131 return (make_dir_parents (dir, wd, o->make_ancestor_function, options,
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dfq.c72 struct CTdata *wd, **pwd; local
75 for (pwd = ruc->dp+whn, wd = *pwd ; wd; pwd = &wd->next, wd = *pwd) {
76 if (wd->ct[0] == csn) {
77 WriteCT(csn, tick, wd->ct);
81 if (!(wd = (struct CTdata *)calloc(1, sizeof(struct CTdata))))
83 *pwd = wd;
84 WriteCT(csn, tick, wd
93 struct CTdata *wd; local
115 struct CTdata *wd, **pre; local
134 struct CTdata *wd; local
149 struct CTdata *wd; local
502 struct CTdata *wd, *nex; local
[all...]
/haiku-fatelf/src/bin/rmd160/
H A Dmain.c163 word wd = mdbuf[i >> 2]; local
165 code[i] = (byte) (wd);
166 code[i + 1] = (byte) (wd >> 8);
167 code[i + 2] = (byte) (wd >> 16);
168 code[i + 3] = (byte) (wd >> 24);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dcanonicalize.c83 char *wd; local
85 if (!(wd = xgetcwd ()))
88 extra_buf = file_name_concat (wd, name, NULL);
90 free (wd);
/haiku-fatelf/src/add-ons/accelerants/neomagic/engine/
H A Dnm_proto.h66 uint16 xd,uint16 yd,uint16 wd,uint16 hd);
/haiku-fatelf/src/add-ons/accelerants/skeleton/engine/
H A Dacc.c264 uint16 xd,uint16 yd,uint16 wd,uint16 hd)
263 eng_acc_video_blit(uint16 xs,uint16 ys,uint16 ws, uint16 hs, uint16 xd,uint16 yd,uint16 wd,uint16 hd) argument
/haiku-fatelf/src/add-ons/accelerants/via/engine/
H A Dacc.c264 uint16 xd,uint16 yd,uint16 wd,uint16 hd)
263 eng_acc_video_blit(uint16 xs,uint16 ys,uint16 ws, uint16 hs, uint16 xd,uint16 yd,uint16 wd,uint16 hd) argument
/haiku-fatelf/src/bin/bash/
H A Djobs.h104 char *wd; /* The working directory at time of invocation. */ member in struct:job
/haiku-fatelf/src/bin/rcs/
H A Drcsfnms.c820 register char const *wd; local
822 if (!(wd = wdptr)) {
850 wdptr = wd = d;
865 VOID memcpy(d, wd, dlen);

Completed in 274 milliseconds

12