HomeSort by relevance Sort by last modified time
    Searched defs:shf (Results 1 - 10 of 10) sorted by null

  /libcore/luni/src/test/java/libcore/java/net/
URLStreamHandlerFactoryTest.java 52 TestURLStreamHandlerFactory shf = new TestURLStreamHandlerFactory(); local
55 URL.setURLStreamHandlerFactory(shf);
62 URL.setURLStreamHandlerFactory(shf);
  /external/mksh/src/
tree.c 29 #define tputc(c, shf) shf_putchar(c, shf);
30 static void ptree(struct op *, int, struct shf *);
31 static void pioact(struct shf *, int, struct ioword *);
32 static void tputC(int, struct shf *);
33 static void tputS(char *, struct shf *);
34 static void vfptreef(struct shf *, int, const char *, va_list);
42 ptree(struct op *t, int indent, struct shf *shf)
55 fptreef(shf, indent, "%S ", *w++)
366 struct shf shf; local
386 tputc(va_arg(va, int), shf); local
389 shf_puts(va_arg(va, char *), shf); local
392 tputS(va_arg(va, char *), shf); local
401 ptree(va_arg(va, struct op *), indent, shf); local
556 struct shf shf; local
    [all...]
shf.c 1 /* $OpenBSD: shf.c,v 1.15 2006/04/02 00:48:33 deraadt Exp $ */
25 __RCSID("$MirOS: src/bin/mksh/shf.c,v 1.36 2010/07/19 22:41:04 tg Exp $");
37 static int shf_fillbuf(struct shf *);
38 static int shf_emptybuf(struct shf *, int);
44 struct shf *
47 struct shf *shf; local
52 shf = alloc(sizeof(struct shf) + bsize, ATEMP);
53 shf->areap = ATEMP
703 struct shf shf; local
721 struct shf shf; local
    [all...]
exec.c 1257 struct shf *volatile shf; local
1271 if (!(shf = h->shf) || (fd = open(h->name, O_RDONLY, 0)) < 0) {
1274 !shf ? "create" : "open",
1276 if (shf)
1277 shf_close(shf);
1286 quitenv(shf);
1298 shf_puts(evalstr(yylval.cp, 0), shf); local
1300 shf_puts(content, shf);
    [all...]
eval.c 40 struct shf *shf; /* file */ member in union:Expand::__anon8592
725 while ((c = shf_getc(x.u.shf)) == 0 || c == '\n')
730 shf_ungetc(c, x.u.shf);
737 shf_close(x.u.shf);
1120 struct shf *shf; local
1140 shf = shf_open(name = evalstr(io->name, DOTILDE), O_RDONLY, 0,
1142 if (shf == NULL)
1148 shf = shf_fdopen(pv[0], SHF_RD, NULL)
    [all...]
histrap.c 71 struct shf *shf; local
232 if (!(shf = tf->shf)) {
239 shf_fprintf(shf, "%s\n", *hp);
240 if (shf_close(shf) == EOF) {
265 if (!(shf = shf_open(tf->name, O_RDONLY, 0, 0))) {
272 while ((n = shf_read(xp, Xnleft(xs, xp), shf)) > 0) {
279 tf->name, strerror(shf_errno(shf)));
280 shf_close(shf);
    [all...]
lex.c 1409 char *p = shf_getse(xp, Xnleft(s->xs, xp), s->u.shf);
1411 if (!p && shf_error(s->u.shf) &&
1412 shf_errno(s->u.shf) == EINTR) {
1413 shf_clearerr(s->u.shf);
1499 struct shf *shf; local
    [all...]
main.c 336 s->u.shf = shf_open(s->file, O_RDONLY, 0,
338 if (s->u.shf == NULL) {
350 s->u.shf = shf_fdopen(0, SHF_RD | can_seek(0),
356 s->u.shf->flags |= SHF_INTERRUPT;
487 struct shf *shf; local
492 shf = shf_open(name, O_RDONLY, 0, SHF_MAPHI | SHF_CLEXEC);
493 if (shf == NULL)
506 quitenv(s ? s->u.shf : NULL);
537 s->u.shf = shf
    [all...]
funcs.c 175 static void p_time(struct shf *, bool, long, int, int,
1987 struct shf *shf; local
    [all...]
sh.h 2 /* $OpenBSD: shf.h,v 1.6 2005/12/11 18:53:51 deraadt Exp $ */
645 struct shf *shf; member in struct:temp
830 #define shf_fileno(shf) ((shf)->fd)
831 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd))
833 int shf_getc(struct shf *);
834 int shf_putc(int, struct shf *);
836 #define shf_getc(shf) ((shf)->rnleft > 0 ?
870 struct shf { struct
1275 struct shf *shf; \/* shell file *\/ member in union:source::__anon8602
    [all...]

Completed in 539 milliseconds