/ast/src/cmd/ksh93/tests/ |
H A D | pty.sh | 60 function tst function 83 tst $LINENO <<"!" 106 tst $LINENO <<"!" 129 tst $LINENO <<"!" 152 tst $LINENO <<"!" 168 tst $LINENO <<"!" 184 tst $LINENO <<"!" 198 tst $LINENO <<"!" 227 tst $LINENO <<"!" 239 tst [all...] |
H A D | heredoc.sh | 285 function tst function 289 tst $line $LINENO <<"!" # this comment affects LINENO #
|
/ast/src/cmd/tests/sfio/ |
H A D | twc.c | 40 static char tst[] = "hello-world"; local 48 if (strcmp(tst, str)) 49 terror("swprintf %%ls \"%s\" expected, \"%s\" returned", tst, str); 53 if (strcmp(tst, str)) 54 terror("swprintf %%S \"%s\" expected, \"%s\" returned", tst, str); 63 if (strcmp(tst, str)) 64 terror("swscanf %%ls \"%s\" expected, \"%s\" returned", tst, str); 73 if (strcmp(tst, str)) 74 terror("swscanf %%S \"%s\" expected, \"%s\" returned", tst, str); 81 if (strcmp(tst, st [all...] |
H A D | twchar.c | 40 static char tst[] = "hello-world"; local 48 if (strcmp(tst, str)) 49 terror("swprintf %%ls \"%s\" expected, \"%s\" returned", tst, str); 53 if (strcmp(tst, str)) 54 terror("swprintf %%S \"%s\" expected, \"%s\" returned", tst, str); 62 if (strcmp(tst, str)) 63 terror("swscanf %%ls \"%s\" expected, \"%s\" returned", tst, str); 72 if (strcmp(tst, str)) 73 terror("swscanf %%S \"%s\" expected, \"%s\" returned", tst, str); 79 if (strcmp(tst, st [all...] |
/ast/src/cmd/tests/ |
H A D | base64.c | 36 unsigned char tst[sizeof(dat)]; local 59 t = base64decode(buf, l, NiL, tst, sizeof(tst), NiL); 66 if (memcmp(dat, tst, i)) 82 t = base64decode(buf + l, r, NiL, tst, sizeof(tst), NiL); 89 if (memcmp(dat + i, tst, sizeof(dat) - i)) 95 t = base64decode(buf, l + r, NiL, tst, sizeof(tst), NiL); 102 if (memcmp(dat, tst, sizeo [all...] |
/ast/src/lib/libcs/ |
H A D | cspath.c | 54 struct stat tst; local 71 if (stat(path, &tst)) 73 if (!subp && S_ISDIR(tst.st_mode) && !streq(path, "/dev/fd")) 89 if (n && tst.st_ino != st->st_ino) 92 if (idevice(&tst) == idevice(st) && ((t = S_ISBLK(tst.st_mode)) || S_ISCHR(tst.st_mode)) && t == blk && (!n || tst.st_dev == st->st_dev && tst.st_ino == st->st_ino))
|
/ast/src/cmd/vczip/tests/ |
H A D | tvcrdb.c | 79 Vcrdtable_t *tbl, *tst; local 144 if(!(tst = vcrdparse(&info, 0, 0, 0)) ) 149 if((n = vcrdfield(tst, k, tbl->fld[k].maxz, buff[k], r)) != r) 151 vcrdattrs(tst, k, VCRD_PAD, 1); 155 for(n = 0, k = 0; k < tst->fldn; ++k) 156 n += tst->fld[k].maxz*N_RECORDS; 157 r = vcrdextract(tst, -1, test, sizeof(test), VCRD_RECORD); 162 vcrdattrs(tst, -1, VCRD_PAD, 0); /* turn off full mode */ 163 r = vcrdextract(tst, -1, test, sizeof(test), VCRD_RECORD);
|
/ast/src/lib/libast/sfio/ |
H A D | sfpkrd.c | 230 char tst[2]; local 232 tst[0] = 'a'; tst[1] = 'z'; 238 if(recv_peek_pipe == 1 && write(fds[1], tst, 2) != 2) 242 tst[0] = tst[1] = 0; 243 if(recv_peek_pipe == 1 && (r = recv(fds[0], tst, 1, MSG_PEEK)) != 1) 245 if(recv_peek_pipe == 1 && tst[0] != 'a') 249 tst[0] = tst[ [all...] |
/ast/src/cmd/builtin/ |
H A D | pty.c | 210 struct termios tst; local 264 if (tcgetattr(*slave, &tst) < 0 && (ioctl(*slave, I_PUSH, "ptem") < 0 || ioctl(*slave, I_PUSH, "ldterm") < 0))
|
/ast/src/cmd/ksh93/include/ |
H A D | shnodes.h | 146 /* tst is same as lst, but with extra field for line number */ 207 struct tstnod tst; member in union:Shnode_u
|
/ast/src/cmd/nmake/ |
H A D | expand.c | 2343 int tst; local 2391 tst = !!getrule(s); 2394 tst = isoption(s); 2397 tst = (!dobind || getrule(s)) && !(nametype(s, NiL) & (NAME_altstate|NAME_staterule|NAME_statevar)); 2403 tst = NAME_altstate|NAME_staterule|NAME_statevar; 2406 tst = NAME_altstate; 2409 tst = NAME_staterule; 2412 tst = NAME_statevar; 2415 tst = 0; 2418 tst [all...] |