/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | pread.c | 63 int count, got; local 67 got = read(fd, buf, count); 68 if (got < 0) 72 vpbcopy(buf, dest, got); 74 dest += got; 75 rsize -= got; 76 if (got < count)
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sigchld.sh | 62 (( foreground == FOREGROUND )) || err_exit "expected '$FOREGROUND foreground' -- got '$foreground' (DELAY=$DELAY)" 63 (( background == BACKGROUND )) || err_exit "expected '$BACKGROUND background' -- got '$background' (DELAY=$DELAY)" 71 got=$($SHELL -c ' 85 [[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected '$exp', got '$got'" 87 got=$($SHELL -c ' 109 [[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected $(printf %q "$exp"), got $(printf %q "$got")" [all...] |
H A D | path.sh | 169 got=$($SHELL -c "unset FPATH; PATH=/dev/null; $cmd" 2>&1) 170 [[ $got == $exp ]] && err_exit "$cmd as last command should not find ./$cmd with PATH=/dev/null" 171 got=$($SHELL -c "unset FPATH; PATH=/dev/null; $cmd" 2>&1) 172 [[ $got == $exp ]] && err_exit "$cmd should not find ./$cmd with PATH=/dev/null" 174 got=$(unset FPATH; PATH=/dev/null; whence ./$cmd) 175 [[ $got == $exp ]] || err_exit "whence $cmd should find ./$cmd with PATH=/dev/null" 177 got=$(unset FPATH; PATH=/dev/null; whence $PWD/$cmd) 178 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd should find ./$cmd with PATH=/dev/null" 182 got=$($SHELL -c "unset FPATH; PATH=/dev/null; whence ./notfound" 2>&1) 183 [[ $got [all...] |
H A D | expand.sh | 105 got=$(eval print -r -- "$pattern") 106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'" 107 #print -r -- " '$pattern' '$got' \\"
|
H A D | subshell.sh | 118 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs -- expected $((BS*nb)), got ${no:-0}" 133 (( no == (BS * nb) )) || err_exit "shell hangs on command substitution output size >= $BS*$nb with write size $bs and trailing redirection -- expected $((BS*nb)), got ${no:-0}" 171 do if ! got=$($TEST_shell "$cmd") 173 elif [[ "$got" != "$exp" ]] 175 GOT=$(printf %q "$got") 176 err_exit "${TEST_shell/*-c/\$SHELL -c} ${TEST_unset:+unset }${TEST_fork:+fork }$txt command substitution failed -- expected $EXP, got $GOT" 267 got=$? 268 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell -- expected '$exp', got '$got'" [all...] |
H A D | cubetype.sh | 57 exp=3 got=${b.x} 58 [[ "$got" == "$exp" ]] || err_exit "\${b.x} incorrect for iteration $i -- expected $exp, got '$got'" 59 exp=5 got=$(( b.len )) 60 (( got == exp )) || err_exit "b.len incorrect for iteration $i -- expected $exp, got '$got = sqrt(${b.x}*${b.x}+${b.y}*${b.y})'" 61 exp=5 got=${b.len} 62 [[ "$got" [all...] |
H A D | statics.sh | 74 got=$( 85 [[ $got != $expected ]] && err_exit "static array var failed -- expected '$expected', got '$got'"
|
H A D | sun_solaris_cr_6805794_character_to_wchar_not_working.sh | 101 [[ "${str}" == "8364" ]] || err_exit "expected 8364, got ${str}"
|
H A D | coprocess.sh | 110 got=$REPLY 111 if [[ $got != $exp ]] 112 then err_exit "${SHELL-ksh} coprocess io failed -- got '$got', expected '$exp'" 156 [[ $r == $e ]] || err_exit "coprocess timing bug -- expected $e, got '$r'" 168 [[ $r == $e ]] || err_exit "coprocess command substitution bug -- expected $e, got '$r'" 246 got=$(print -r $'#00315 251 [[ $got == $exp ]] || err_exit "coshell(3) identification sequence failed -- expected '$exp', got '$got'" [all...] |
H A D | options.sh | 63 got=$($SHELL -E -c : 2>/dev/null) 66 got=$(printf %q "$got") 67 err_exit "\$ENV file &>/dev/null does not redirect stdout -- expected '', got $got" 69 got=$($SHELL -E -c : 2>&1 >/dev/null) 70 if [[ $got != *nonstandard* || $got == *$'\n'* ]] 72 got=$(printf %q "$got") [all...] |
H A D | types.sh | 122 got=$(. $tmp/types) 2>/dev/null 123 [[ "$got" == "$expected" ]] || err_exit "typedefs in dot script failed -- expected '$expected', got '$got'" 202 got=${x.b} 203 [[ "$got" == "$expected" ]] || err_exit "type '_' reference failed -- expected '$expected', got '$got'" 218 got=${ tst.f;} 219 [[ "$got" [all...] |
H A D | glob.sh | 35 typeset lineno expected drop arg got sep op val add del 58 do got="$got$sep<$arg>" 63 then got="<$del> $got" 69 if [[ $got != "$expected" ]] 70 then 'err_exit' $lineno "glob -- expected '$expected', got '$got'" 77 typeset lineno expected subject pattern got 81 $pattern) got [all...] |
H A D | io.sh | 64 then err_exit "read on <> fd failed -- expected '$exp', got '$line'" 83 then read -u3 got 84 read -u4 got 86 case $got in 91 [[ $semantics == @(${FDFS[fdfs].semantics}) ]] || err_exit "'4< ${FDFS[fdfs].dir}/3' $semantics semantics instead of ${FDFS[fdfs].semantics} -- expected '$exp', got '$got'" 95 got=$( 104 case $got in 109 [[ $semantics == @(${FDFS[fdfs].semantics}) ]] || err_exit "${FDFS[fdfs].dir}/N $semantics semantics instead of ${FDFS[fdfs].semantics} -- expected '$exp', got '$got'" [all...] |
H A D | comvar.sh | 371 got=$z 372 [[ $got == "$exp" ]] || { 374 got=$(printf %q "$got") 375 err_exit "compound indexed array pretty print failed -- expected $exp, got $got" 387 got=${record[a]} 388 [[ $got == "$exp" ]] || { 390 got=$(printf %q "$got") [all...] |
H A D | basic.sh | 53 [[ $g == $2 ]] || err_exit "umask 0; umask $1 failed -- expected $2, got $g" 412 got=$(print -n fore;(sleep 2;print back)&) 413 [[ $got == $expected ]] || err_exit "command substitution background process output error -- got '$got', expected '$expected'" 442 got=$( 451 [[ $got == $exp ]] || err_exit "pipe to function with conditional fails -- expected '$exp', got '$got'" 452 got [all...] |
H A D | variables.sh | 67 got=${ $SHELL -c 'print $PPID'; } 69 then err_exit "PPID variable failed -- expected '$exp', got '$got'" 75 then err_exit "OLDPWD variable failed -- expected '$old', got '$OLDPWD'" 297 *) err_exit "IFS=': '; set -- '$i'; expected '$s' got '$g'" ;; 302 *) err_exit "IFS=': '; read '$i'; expected '$r' got '$g'" ;; 490 got=$(<$tmp/out) 491 [[ $got == new ]] || err_exit "previously unset environment variable not passed to script, expected 'new', got '$got'" [all...] |
H A D | sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh | 142 [[ "${out}" == ${output_format} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${output_format}"), got $(printf "%q\n" "${out}")" 170 [[ "${out}" == 'f1' ]] || err_exit "${testname}: Expected 'f1', got $(printf "%q\n" "${out}")"
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | t-match.c | 20 got = sm_match(str, pat); \ 21 if (!SM_TEST(got == want)) \ 24 str, pat, got ? "true" : "false"); 31 bool got; local
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_copy.c | 140 ssize_t got; local 158 for (resid = len; resid > 0; resid -= got, p += got) { 160 got = read(fd, buf, get); 162 if (got <= 0) { 163 if (got < 0) 168 bcopy(buf, (void *)p, got);
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | misc.c | 41 int got; local 45 got = strlen(ptr); 46 if (got >= 1 && ptr[got - 1] == '\n') { 48 if (got >= 2 && ptr[got - 2] == '\\') { 49 got -= 2; 54 ptr += got; 55 len -= got;
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/ |
H A D | ldscript.arm | 42 *(.got.plt .got)
|
/illumos-gate/usr/src/boot/sys/boot/arm/uboot/ |
H A D | ldscript.arm | 31 .rela.got : { *(.rela.got) } 77 .got : { *(.got) } 78 .got.plt : { *(.got.plt) }
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm64/ |
H A D | ldscript.arm64 | 49 *(.got.plt .got) 61 *(.rela.got)
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/ |
H A D | ldscript.i386 | 41 *(.got.plt .got) 54 *(.rel.got)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | config.c | 383 int got = 0; local 390 if (got != 0) 396 got = strlen(line); 398 if (got >= 2 && line[got-2] == '\\') { 400 line += got - 2; 401 length -= got - 2; 405 if (got > 0) 406 line[got-1] = '\0';
|