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

  /external/mksh/src/
shf.c 1 /* $OpenBSD: shf.c,v 1.15 2006/04/02 00:48:33 deraadt Exp $ */
27 __RCSID("$MirOS: src/bin/mksh/shf.c,v 1.56 2013/01/01 03:32:44 tg Exp $");
39 static int shf_fillbuf(struct shf *);
40 static int shf_emptybuf(struct shf *, int);
47 struct shf *
50 struct shf *shf; local
57 shf = alloc(sizeof(struct shf) + bsize, ATEMP);
58 shf->areap = ATEMP
712 struct shf shf; local
732 struct shf shf; local
    [all...]
tree.c 30 static void ptree(struct op *, int, struct shf *);
31 static void pioact(struct shf *, int, struct ioword *);
32 static const char *wdvarput(struct shf *, const char *, int, int);
33 static void vfptreef(struct shf *, int, const char *, va_list);
46 ptree(struct op *t, int indent, struct shf *shf)
73 fptreef(shf, indent, "%S", t->vars[0]);
80 fptreef(shf, indent, "%S ", *w++);
82 shf_puts("#no-vars# ", shf);
86 fptreef(shf, indent, "%S ", *w++)
421 struct shf shf; local
443 shf_putchar(va_arg(va, int), shf); local
447 shf_puts(va_arg(va, char *), shf); local
463 ptree(va_arg(va, struct op *), indent, shf); local
634 struct shf shf; local
    [all...]
sh.h 2 /* $OpenBSD: shf.h,v 1.6 2005/12/11 18:53:51 deraadt Exp $ */
821 struct shf *shf; member in struct:temp
1025 #define shf_fileno(shf) ((shf)->fd)
1026 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd))
1027 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \
1028 (shf)->rnleft--, *(shf)->rp++ :
1060 struct shf { struct
1499 struct shf *shf; \/* shell file *\/ member in union:source::__anon26630
    [all...]
eval.c 41 struct shf *shf; /* file */ member in union:Expand::__anon26614
421 struct shf shf; local
423 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf);
424 print_value_quoted(&shf, str_val(st->var));
425 x.str = shf_sclose(&shf);
858 while ((c = shf_getc(x.u.shf)) == 0 || c == '\n')
863 shf_ungetc(c, x.u.shf);
870 shf_close(x.u.shf);
1290 struct shf *shf; local
    [all...]
main.c 483 s->u.shf = shf_open(s->file, O_RDONLY, 0,
485 if (s->u.shf == NULL) {
497 s->u.shf = shf_fdopen(0, SHF_RD | can_seek(0),
503 s->u.shf->flags |= SHF_INTERRUPT;
677 struct shf *shf; local
682 shf = shf_open(name, O_RDONLY, 0, SHF_MAPHI | SHF_CLEXEC);
683 if (shf == NULL)
695 quitenv(s ? s->u.shf : NULL);
728 s->u.shf = shf
    [all...]
misc.c 1053 print_value_quoted(struct shf *shf, const char *s)
1068 shf_puts(s, shf);
1081 shf_putc('\'', shf);
1084 shf_putc('\\', shf);
1086 shf_putc('\'', shf);
1089 shf_putc(c, shf);
1096 shf_putc('$', shf);
1097 shf_putc('\'', shf);
1103 shf_fprintf(shf, "\\u%04X", wc)
    [all...]
histrap.c 90 struct shf *shf; local
298 if (!(shf = tf->shf)) {
305 shf_fprintf(shf, "%s\n", *hp);
306 if (shf_close(shf) == EOF) {
332 if (!(shf = shf_open(tf->tffn, O_RDONLY, 0, 0))) {
347 while ((n = shf_read(xp, Xnleft(xs, xp), shf)) > 0) {
354 "read", tf->tffn, cstrerror(shf_errno(shf)));
356 shf_close(shf);
    [all...]
exec.c 1472 struct shf *shf; local
    [all...]
jobs.c 136 static struct shf *shl_j;
146 static void j_print(Job *, int, struct shf *);
188 * an interrupt handler, so need a distinct shf)
    [all...]
lex.c 1392 char *p = shf_getse(xp, Xnleft(s->xs, xp), s->u.shf);
1394 if (!p && shf_error(s->u.shf) &&
1395 shf_errno(s->u.shf) == EINTR) {
1396 shf_clearerr(s->u.shf);
1415 * TODO: reduce size of shf buffer (~128?) if SSTDIN
1418 shf_flush(s->u.shf);
1436 shf_fdclose(s->u.shf);
1469 struct shf *shf; local
    [all...]
funcs.c 222 static void p_time(struct shf *, bool, long, int, int,
    [all...]
  /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/
Android.mk 30 src/lex.c src/main.c src/misc.c src/shf.c \
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.osgi_3.6.1.R36x_v20100806.jar 
org.eclipse.osgi_3.6.2.R36x_v20101103.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar 

Completed in 736 milliseconds