/third_party/mksh/ |
D | shf.c | 42 static int shf_fillbuf(struct shf *); 43 static int shf_emptybuf(struct shf *, int); 50 struct shf * 53 struct shf *shf; in shf_open() local 60 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_open() 61 shf->areap = ATEMP; in shf_open() 62 shf->buf = (unsigned char *)&shf[1]; in shf_open() 63 shf->bsize = bsize; in shf_open() 64 shf->flags = SHF_ALLOCS; in shf_open() 70 afree(shf, shf->areap); in shf_open() [all …]
|
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); 43 static struct shf ptree_heredoc; 44 #define ptree_outhere(shf) do { \ argument 46 shf_puts(shf_sclose(&ptree_heredoc), (shf)); \ 47 shf_putc('\n', (shf)); \ 59 ptree(struct op *t, int indent, struct shf *shf) in ptree() argument 90 fptreef(shf, indent, Tf_S, t->vars[0]); in ptree() [all …]
|
D | sh.h | 1317 struct shf *shf; member 1694 #define shf_fileno(shf) ((shf)->fd) argument 1695 #define shf_setfileno(shf,nfd) ((shf)->fd = (nfd)) argument 1696 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \ argument 1697 (shf)->rnleft--, (int)ord(*(shf)->rp++) : \ 1698 shf_getchar(shf)) 1699 #define shf_putc_i(c,shf) ((shf)->wnleft == 0 ? \ argument 1700 shf_putchar((uint8_t)(c), (shf)) : \ 1701 ((shf)->wnleft--, *(shf)->wp++ = (c))) 1702 #define shf_eof(shf) ((shf)->flags & SHF_EOF) argument [all …]
|
D | main.c | 544 s->u.shf = shf_open(s->file, O_RDONLY | O_MAYEXEC, 0, in main_init() 546 if (s->u.shf == NULL) { in main_init() 558 s->u.shf = shf_fdopen(0, SHF_RD | can_seek(0), in main_init() 564 s->u.shf->flags |= SHF_INTERRUPT; in main_init() 769 struct shf *shf; in include() local 774 shf = shf_open(name, O_RDONLY | O_MAYEXEC, 0, SHF_MAPHI | SHF_CLEXEC); in include() 775 if (shf == NULL) in include() 787 quitenv(s ? s->u.shf : NULL); in include() 821 s->u.shf = shf; in include() 824 quitenv(s->u.shf); in include() [all …]
|
D | eval.c | 46 struct shf *shf; member 814 struct shf shf; in expand() local 816 shf_sopen(NULL, 0, SHF_WR|SHF_DYNAMIC, &shf); in expand() 817 print_value_quoted(&shf, str_val(st->var)); in expand() 818 x.str = shf_sclose(&shf); in expand() 998 if (x.u.shf == NULL) { in expand() 1008 while ((c = shf_getc(x.u.shf)) == 0 || in expand() 1012 c = shf_getc(x.u.shf); in expand() 1017 shf_ungetc(c, x.u.shf); in expand() 1030 shf_ungetc(c, x.u.shf); in expand() [all …]
|
D | misc.c | 206 co.shf = shl_stdout; in printoptions() 1395 print_value_quoted(struct shf *shf, const char *s) in print_value_quoted() argument 1403 shf_putc('\'', shf); in print_value_quoted() 1404 shf_putc('\'', shf); in print_value_quoted() 1417 shf_puts(s, shf); in print_value_quoted() 1430 shf_putc('\'', shf); in print_value_quoted() 1433 shf_putc('\\', shf); in print_value_quoted() 1435 shf_putc('\'', shf); in print_value_quoted() 1438 shf_putc(c, shf); in print_value_quoted() 1445 shf_putc('$', shf); in print_value_quoted() [all …]
|
D | jobs.c | 147 static struct shf *shl_j; 157 static void j_print(Job *, int, struct shf *); 1546 j_print(Job *j, int how, struct shf *shf) argument 1565 shf_fprintf(shf, Tf_dN, (int)(j->pgrp ? j->pgrp : 1631 shf_fprintf(shf, "[%d] %c ", j->job, jobchar); 1633 shf_puts(filler, shf); 1637 shf_fprintf(shf, "%5d ", (int)p->pid); 1643 shf_fprintf(shf, "%s%s ", 1646 shf_puts(buf, shf); 1647 shf_putchar(' ', shf); [all …]
|
D | histrap.c | 87 struct shf *shf; in c_fc() local 296 if (!(shf = tf->shf)) { in c_fc() 302 shf_fprintf(shf, Tf_sN, *hp); in c_fc() 303 if (shf_close(shf) == -1) { in c_fc() 320 if (!(shf = shf_open(tf->tffn, O_RDONLY, 0, 0))) { in c_fc() 334 while ((n = shf_read(xp, Xnleft(xs, xp), shf)) > 0) { in c_fc() 341 cstrerror(shf_errno(shf))); in c_fc() 343 shf_close(shf); in c_fc() 346 shf_close(shf); in c_fc()
|
D | lex.c | 1400 char *p = shf_getse(xp, Xnleft(s->xs, xp), s->u.shf); in getsc_line() 1402 if (!p && shf_error(s->u.shf) && in getsc_line() 1403 shf_errno(s->u.shf) == EINTR) { in getsc_line() 1404 shf_clearerr(s->u.shf); in getsc_line() 1426 shf_flush(s->u.shf); in getsc_line() 1445 shf_fdclose(s->u.shf); in getsc_line() 1485 struct shf *shf; in set_prompt() local 1491 shf = shf_sopen(NULL, strlen(ps1) * 2, in set_prompt() 1495 shf_putchar(*ps1++, shf); in set_prompt() 1497 shf_fprintf(shf, Tf_lu, s ? in set_prompt() [all …]
|
D | exec.c | 1588 hereinval(struct ioword *iop, int sub, char **resbuf, struct shf *shf) in hereinval() argument 1597 quitenv(shf); in hereinval() 1615 shf_puts(ccp, shf); in hereinval() 1627 struct shf *shf; in herein() local 1643 if (!(shf = h->shf) || (fd = binopen3(h->tffn, O_RDONLY, 0)) < 0) { in herein() 1646 !shf ? Tcreate : Topen, h->tffn, cstrerror(i)); in herein() 1647 if (shf) in herein() 1648 shf_close(shf); in herein() 1653 if (hereinval(iop, i, NULL, shf) == -2) { in herein() 1659 if (shf_close(shf) == -1) { in herein() [all …]
|
D | BUILD.gn | 45 "shf.c", 159 "shf.c",
|
D | funcs.c | 245 static void p_time(struct shf *, bool, long, int, int, 531 co.shf = shf_sopen(NULL, 128, SHF_WR | SHF_DYNAMIC, NULL); in c_print() 538 w = co.shf->wp - co.shf->buf; in c_print() 540 memcpy(xp, co.shf->buf, w); in c_print() 542 shf_sclose(co.shf); in c_print() 1187 co.shf = shl_stdout; in c_kill() 2347 p_time(struct shf *shf, bool posix, long tv_sec, int tv_usec, int width, in p_time() argument 2352 shf_fprintf(shf, "%s%*ld.%02d%s", prefix, width, in p_time() 2355 shf_fprintf(shf, "%s%*ldm%02d.%02ds%s", prefix, width, in p_time()
|
D | edit.c | 286 co.shf = shl_out; in x_print_expansions() 5732 struct shf shf; in x_quote_region_helper() local 5736 shf_sopen(alloc(newlen, AEDIT), newlen, SHF_WR | SHF_DYNAMIC, &shf); in x_quote_region_helper() 5737 shf.areap = AEDIT; in x_quote_region_helper() 5738 shf.flags |= SHF_ALLOCB; in x_quote_region_helper() 5739 print_value_quoted(&shf, s); in x_quote_region_helper() 5741 return (shf_sclose(&shf)); in x_quote_region_helper()
|
D | TaC-mksh.txt | 52 * mksh/shf.c
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MSA.txt | 24 constant since shf.w covers exactly the same cases. shf.w is used 48 It is not possible to emit splati.w since shf.w covers the same cases. 49 shf.w will be emitted instead.
|
D | MipsScheduleP5600.td | 336 // aver?_[us].[bhwd], shf.[bhw], fill[bhwd], splat?.[bhwd]
|
D | MipsMSAInstrInfo.td | 2544 class SHF_B_DESC : MSA_I8_SHF_DESC_BASE<"shf.b", MSA128BOpnd>; 2545 class SHF_H_DESC : MSA_I8_SHF_DESC_BASE<"shf.h", MSA128HOpnd>; 2546 class SHF_W_DESC : MSA_I8_SHF_DESC_BASE<"shf.w", MSA128WOpnd>;
|
D | MipsScheduleGeneric.td | 1462 // shf.[bhw], fill[bhwd], splat?.[bhwd]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.td | 1186 // Rotate: Use ptx shf instruction if available. 1191 // r2 = shf.l r1, r1, n 1194 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 1200 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 1206 // r2 = shf.r r1, r1, n 1209 "shf.r.wrap.b32 \t$dst, $src, $src, $amt;", 1215 "shf.r.wrap.b32 \t$dst, $src, $src, $amt;", 1334 "shf.l.clamp.b32 \t$dst, $lo, $hi, $amt;", 1341 "shf.r.clamp.b32 \t$dst, $lo, $hi, $amt;",
|
D | NVPTXIntrinsics.td | 2113 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 2121 "shf.l.wrap.b32 \t$dst, $src, $src, $amt;", 2166 "shf.l.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>, 2172 "shf.l.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>, 2178 "shf.r.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>, 2184 "shf.r.wrap.b32 \t$dst, $lo, $hi, $amt;",[]>,
|
/third_party/python/Lib/ |
D | turtle.py | 2456 shf = self._shearfactor 2458 self._shapetrafo = ( scx*ca, scy*(shf*ca + sa), 2459 -scx*sa, scy*(ca - shf*sa))
|
/third_party/python/Lib/test/ |
D | mime.types | 197 application/shf+xml shf
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenAsmMatcher.inc | 5081 "sgeu\003sgt\004sgtu\002sh\004sh16\003she\005shf.b\005shf.h\005shf.w\005" 7631 …{ 8095 /* shf.b */, Mips::SHF_B, Convert__MSA128AsmReg1_0__MSA128AsmReg1_1__ConstantUImm8_01_2, AM… 7632 …{ 8101 /* shf.h */, Mips::SHF_H, Convert__MSA128AsmReg1_0__MSA128AsmReg1_1__ConstantUImm8_01_2, AM… 7633 …{ 8107 /* shf.w */, Mips::SHF_W, Convert__MSA128AsmReg1_0__MSA128AsmReg1_1__ConstantUImm8_01_2, AM… 11140 { 8095 /* shf.b */, 3 /* 0, 1 */, MCK_MSA128AsmReg, AMFBS_HasStdEnc_HasMSA }, 11141 { 8101 /* shf.h */, 3 /* 0, 1 */, MCK_MSA128AsmReg, AMFBS_HasStdEnc_HasMSA }, 11142 { 8107 /* shf.w */, 3 /* 0, 1 */, MCK_MSA128AsmReg, AMFBS_HasStdEnc_HasMSA },
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/ |
D | Intrinsics.gen | 2733 mips_shf_b, // llvm.mips.shf.b 2734 mips_shf_h, // llvm.mips.shf.h 2735 mips_shf_w, // llvm.mips.shf.w 8757 "llvm.mips.shf.b", 8758 "llvm.mips.shf.h", 8759 "llvm.mips.shf.w", 16642 1, // llvm.mips.shf.b 16643 1, // llvm.mips.shf.h 16644 1, // llvm.mips.shf.w
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/ |
D | Intrinsics.gen | 2739 mips_shf_b, // llvm.mips.shf.b 2740 mips_shf_h, // llvm.mips.shf.h 2741 mips_shf_w, // llvm.mips.shf.w 8797 "llvm.mips.shf.b", 8798 "llvm.mips.shf.h", 8799 "llvm.mips.shf.w", 16737 1, // llvm.mips.shf.b 16738 1, // llvm.mips.shf.h 16739 1, // llvm.mips.shf.w
|