/external/mksh/src/ |
H A D | shf.c | 1 /* $OpenBSD: shf.c,v 1.16 2013/04/19 17:36:09 millert Exp $ */ 28 __RCSID("$MirOS: src/bin/mksh/shf.c,v 1.62 2013/10/09 11:59:30 tg Exp $"); 40 static int shf_fillbuf(struct shf *); 41 static int shf_emptybuf(struct shf *, int); 48 struct shf * 51 struct shf *shf; local 58 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 59 shf 127 shf_fdopen(int fd, int sflags, struct shf *shf) argument 162 shf_reopen(int fd, int sflags, struct shf *shf) argument 196 shf_sopen(char *buf, ssize_t bsize, int sflags, struct shf *shf) argument 228 shf_close(struct shf *shf) argument 247 shf_fdclose(struct shf *shf) argument 270 shf_sclose(struct shf *shf) argument 289 shf_flush(struct shf *shf) argument 321 shf_emptybuf(struct shf *shf, int flags) argument 404 shf_fillbuf(struct shf *shf) argument 450 shf_read(char *buf, ssize_t bsize, struct shf *shf) argument 485 shf_getse(char *buf, ssize_t bsize, struct shf *shf) argument 525 shf_getchar(struct shf *shf) argument 541 shf_ungetc(int c, struct shf *shf) argument 578 shf_putchar(int c, struct shf *shf) argument 621 shf_puts(const char *s, struct shf *shf) argument 631 shf_write(const char *buf, ssize_t nbytes, struct shf *shf) argument 702 shf_fprintf(struct shf *shf, const char *fmt, ...) argument 717 struct shf shf; local 737 struct shf shf; local 762 shf_vfprintf(struct shf *shf, const char *fmt, va_list args) argument 1076 shf_getc(struct shf *shf) argument 1082 shf_putc(int c, struct shf *shf) argument [all...] |
H A D | tree.c | 30 static void ptree(struct op *, int, struct shf *); 31 static void pioact(struct shf *, 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) argument 73 fptreef(shf, indent, "%S", t->vars[0]); 80 fptreef(shf, indent, "%S ", *w++); 82 shf_puts("#no-vars# ", shf); 86 fptreef(shf, inden 247 pioact(struct shf *shf, struct ioword *iop) argument 302 wdvarput(struct shf *shf, const char *wp, int quotelevel, int opmode) argument 422 fptreef(struct shf *shf, int indent, const char *fmt, ...) argument 436 struct shf shf; local 449 vfptreef(struct shf *shf, int indent, const char *fmt, va_list va) argument 458 shf_putchar(va_arg(va, int), shf); local 462 shf_puts(va_arg(va, char *), shf); local 478 ptree(va_arg(va, struct op *), indent, shf); local 650 struct shf shf; local 747 fpFUNCTf(struct shf *shf, int i, bool isksh, const char *k, struct op *v) argument 803 dumpchar(struct shf *shf, int c) argument 815 dumpwdvar_i(struct shf *shf, const char *wp, int quotelevel) argument 898 dumpwdvar(struct shf *shf, const char *wp) argument 904 dumpioact(struct shf *shf, struct op *t) argument 963 dumptree(struct shf *shf, struct op *t) argument [all...] |
H A D | sh.h | 2 /* $OpenBSD: shf.h,v 1.6 2005/12/11 18:53:51 deraadt Exp $ */ 835 struct shf *shf; member in struct:temp 1041 #define shf_fileno(shf) ((shf)->fd) 1042 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd)) 1043 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \ 1044 (shf) 1076 struct shf { struct 1496 struct shf *shf; /* shell file */ member in union:source::__anon28030 [all...] |
H A D | eval.c | 45 struct shf *shf; member in union:__anon28013::__anon28014 420 struct shf shf; local 422 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); 423 print_value_quoted(&shf, str_val(st->var)); 424 x.str = shf_sclose(&shf); 866 if (x.u.shf == NULL) { 876 while ((c = shf_getc(x.u.shf)) == 0 || c == '\n') 881 shf_ungetc(c, x.u.shf); 1304 struct shf *shf; local [all...] |
H A D | main.c | 458 s->u.shf = shf_open(s->file, O_RDONLY, 0, 460 if (s->u.shf == NULL) { 472 s->u.shf = shf_fdopen(0, SHF_RD | can_seek(0), 478 s->u.shf->flags |= SHF_INTERRUPT; 654 struct shf *shf; local 659 shf = shf_open(name, O_RDONLY, 0, SHF_MAPHI | SHF_CLEXEC); 660 if (shf == NULL) 672 quitenv(s ? s->u.shf : NULL); 705 s->u.shf 926 quitenv(struct shf *shf) argument [all...] |
H A D | misc.c | 1096 print_value_quoted(struct shf *shf, const char *s) argument 1111 shf_puts(s, shf); 1124 shf_putc('\'', shf); 1127 shf_putc('\\', shf); 1129 shf_putc('\'', shf); 1132 shf_putc(c, shf); 1139 shf_putc('$', shf); 1140 shf_putc('\'', shf); 1146 shf_fprintf(shf, "\\ 1213 print_columns(struct shf *shf, unsigned int n, char *(*func)(char *, size_t, unsigned int, const void *), const void *arg, size_t max_oct, size_t max_colz, bool prefcol) argument [all...] |
H A D | 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...] |
H A D | exec.c | 1449 hereinval(const char *content, int sub, char **resbuf, struct shf *shf) argument 1458 quitenv(shf); 1474 shf_puts(ccp, shf); 1486 struct shf *shf; local 1509 if (!(shf = h->shf) || (fd = open(h->tffn, O_RDONLY | O_BINARY, 0)) < 0) { 1512 !shf ? "create" : "open", h->tffn, cstrerror(i)); 1513 if (shf) [all...] |
H A D | jobs.c | 133 static struct shf *shl_j; 143 static void j_print(Job *, int, struct shf *); 185 * an interrupt handler, so need a distinct shf) 1525 j_print(Job *j, int how, struct shf *shf) argument 1542 shf_fprintf(shf, "%d\n", (int)(j->pgrp ? j->pgrp : 1595 shf_fprintf(shf, "[%d] %c ", j->job, jobchar); 1597 shf_puts(filler, shf); 1601 shf_fprintf(shf, "%5d ", (int)p->pid); 1606 shf_fprintf(shf, " [all...] |
H A D | lex.c | 1404 char *p = shf_getse(xp, Xnleft(s->xs, xp), s->u.shf); 1406 if (!p && shf_error(s->u.shf) && 1407 shf_errno(s->u.shf) == EINTR) { 1408 shf_clearerr(s->u.shf); 1427 * TODO: reduce size of shf buffer (~128?) if SSTDIN 1430 shf_flush(s->u.shf); 1449 shf_fdclose(s->u.shf); 1482 struct shf *shf; local 1487 shf [all...] |
H A D | funcs.c | 228 static void p_time(struct shf *, bool, long, int, int, 2504 p_time(struct shf *shf, bool posix, long tv_sec, int tv_usec, int width, argument 2509 shf_fprintf(shf, "%s%*ld.%02d%s", prefix, width, 2512 shf_fprintf(shf, "%s%*ldm%d.%02ds%s", prefix, width,
|
/external/llvm/test/MC/Mips/msa/ |
H A D | test_i8.s | 9 # CHECK: shf.b $w19, $w30, 105 # encoding: [0x78,0x69,0xf4,0xc2] 10 # CHECK: shf.h $w17, $w8, 76 # encoding: [0x79,0x4c,0x44,0x42] 11 # CHECK: shf.w $w14, $w3, 93 # encoding: [0x7a,0x5d,0x1b,0x82] 20 shf.b $w19, $w30, 105 21 shf.h $w17, $w8, 76 22 shf.w $w14, $w3, 93
|
/external/mksh/ |
H A D | 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/ |
H A D | org.eclipse.osgi_3.6.1.R36x_v20100806.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.2.R36x_v20101103.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |