Searched refs:got (Results 26 - 50 of 94) sorted by relevance

1234

/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsignal.sh249 tst $SHELL > tst.got
252 do [[ $out == ${expected[$ops]} ]] || err_exit "interrupt $ops test failed -- expected '${expected[$ops]}', got '$out'"
253 done < tst.got
295 got=$(kill -l $?)
296 [[ $exp == $got ]] || err_exit "kill -$exp \$\$ failed, required termination by signal '$got'"
301 (( $?==3)) || err_exit "wrong exit status expecting 3 got $?"
303 [[ $x == done ]] || err_exit "wrong result - execting done got $x"
308 [[ $(kill -l $?) == TERM ]] || err_exit "wrong exit status expecting TERM got $(kill -l $?)"
310 [[ $x == done ]] || err_exit "wrong result - execting done got
[all...]
H A Dsun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh148 [[ "${out}" == ${output_format} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${output_format}"), got $(printf "%q\n" "${out}")"
173 [[ "${out}" == $'0000000 a4 a2 0a\n0000003' ]] || err_exit "${testname}: Expected \$'0000000 a4 a2 0a\n0000003', got $(printf "%q\n" "${out}")"
H A Dsun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh153 [[ "${out}" == ${tc.output_pattern} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${tc.output_pattern}"), got $(printf "%q\n" "${out}")"
H A Dbuiltins.sh188 got=$(trap)
189 [[ $got == $exp ]] || err_exit "\$(trap) failed -- expected \"$exp\", got \"$got\""
191 got=$(trap -p TERM)
192 [[ $got == $exp ]] || err_exit "\$(trap -p TERM) failed -- expected \"$exp\", got \"$got\""
311 then err_exit "read -n1 failed -- expected '$exp', got '$y'"
372 [[ $out == $val ]] || err_exit "printf $fmt $arg failed -- expected '$val', got '
[all...]
H A Dheredoc.sh249 got=$( cat << EOF
253 [[ $got == abc ]] || err_exit 'line continuation at start of buffer not working'
H A Dfunctions.sh312 then err_exit "export inside function not working -- expected 'fun', got '$val'"
316 then err_exit "export not restored after function call -- expected 'base', got '$val'"
320 then err_exit "export inside function not working with recursive function -- expected 'fun2', got '$val'"
324 then err_exit "export not restored after recursive function call -- expected 'base', got '$val'"
328 then err_exit "name=value not added to export list with function call -- expected 'try3', got '$val'"
332 then err_exit "export not restored name=value function call -- expected 'base', got '$val'"
337 then err_exit "export inside function not working -- expected 'fun', got '$val'"
341 then err_exit "unset varaible exported after function call -- expected '', got '$val'"
421 got=$?
423 if [[ $got !
[all...]
H A Dattributes.sh352 got=$(print $($SHELL -c "builtin date; $2 $CMD; $3 $CMD; $4 $CMD"))
353 [[ $got == $exp ]] || err_exit "[ '$2' '$3' '$4' ] env sequence failed -- expected '$exp', got '$got'"
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c191 ssize_t got; local
200 got = read(fd, &rndval, sizeof (rndval));
201 if (got < sizeof (rndval)) {
/illumos-gate/usr/src/lib/libmail/common/
H A Ds_string.c353 size_t got; local
368 got = fread(to->ptr, (size_t)1, have, fp);
369 if (got == (size_t)0)
372 to->ptr += got;
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c159 usage(char *expect, char *got) argument
161 if (got == NULL)
162 got = "(NULL)";
163 prom_printf("\nbad OBP boot args: expect %s, got %s\n"
165 expect, got, prog, rsvp);
434 "expect %ld, got %ld\n", str, len, nread);
/illumos-gate/usr/src/boot/lib/libz/
H A Dgzread.c57 unsigned got; local
72 state->size - strm->avail_in, &got) == -1)
74 strm->avail_in += got;
296 unsigned got, n; local
330 got = 0;
376 got += n;
381 return (int)got;
H A Dgzwrite.c77 int ret, got; local
87 got = write(state->fd, strm->next_in, strm->avail_in);
88 if (got < 0 || (unsigned)got != strm->avail_in) {
104 if (have && ((got = write(state->fd, state->x.next, have)) < 0 ||
105 (unsigned)got != have)) {
H A Dinflate.c1359 unsigned got;
1362 got = *have;
1364 while (next < len && got < 4) {
1365 if ((int)(buf[next]) == (got < 2 ? 0 : 0xff))
1366 got++;
1368 got = 0;
1370 got = 4 - got;
1373 *have = got;
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_random.c469 int got; local
485 if ((got = rngprov_getbytes(ptr, len, B_FALSE)) == -1)
488 if (got == len)
490 len -= got;
491 ptr += got;
496 if ((got = rngprov_getbytes_nblk(ptr, len)) == -1) {
502 if (got == len)
504 len -= got;
505 ptr += got;
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A D_elfdump.h181 #define got got64 macro
205 #define got got32 macro
/illumos-gate/usr/src/uts/common/kmdb/
H A Dkdrv.c89 size_t got; local
111 if ((rc = copyinstr((caddr_t)arg, cfg, KDRV_CFG_MAXLEN, &got)) != 0) {
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dbdf_to_c.awk222 got[$2] = 1;
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c365 ssize_t got; local
395 got = read(fd, &rndval, sizeof (rndval));
396 if (got < sizeof (rndval)) {
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c174 ssize_t got; local
203 got = read(fd, &rndval, sizeof (rndval));
204 if (got < sizeof (rndval)) {
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c974 int got; local
977 got = read(id->fd, pBuf, amt);
981 /* if( got<0 ) got = 0; */
982 if( got==amt ){
989 DWORD got; local
992 if( !ReadFile(id->h, pBuf, amt, &got, 0) ){
993 got = 0;
995 if( got==(DWORD)amt ){
1002 int got; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dmultiboot.c185 int got; local
195 got = archsw.arch_readin(fd, laddr, 4096);
196 if (got == 0)
198 if (got < 0) {
203 laddr += got;
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c362 unsigned int avail, posted, got = 0, advertise; local
390 got = avail;
393 got = wanted;
395 newval -= IB_SET_SEND_CREDITS(got);
402 if (posted && (got || need_posted)) {
414 ic, got, *adv_credits, need_posted);
416 return (got);
/illumos-gate/usr/src/uts/common/io/kb8042/
H A Dkb8042.c298 int timeout, int *error, uint8_t *got)
319 if (got != NULL)
320 *got = datab;
346 uint8_t got; local
355 &err, &got) != B_TRUE) {
364 &got) != B_TRUE) {
389 "keyboard: %s. (Expected 0x%x, but got 0x%x).",
390 kb8042_error_string(err), KB_ACK, got);
297 kb8042_send_and_expect(struct kb8042 *kb8042, uint8_t send, uint8_t expect, int timeout, int *error, uint8_t *got) argument
/illumos-gate/usr/src/uts/common/zmod/
H A Dinflate.c1271 unsigned got;
1274 got = *have;
1276 while (next < len && got < 4) {
1277 if ((int)(buf[next]) == (got < 2 ? 0 : 0xff))
1278 got++;
1280 got = 0;
1282 got = 4 - got;
1285 *have = got;
/illumos-gate/usr/src/cmd/refer/
H A Dhunt6.c42 int i, g, j, need, got, na, len; local

Completed in 122 milliseconds

1234