Searched refs:ok (Results 1 - 25 of 56) sorted by relevance

123

/ast/src/lib/libast/features/
H A Dlibpath.sh22 ok=0
31 then ok=1
36 then ok=1
40 if test "0" != "$ok"
/ast/src/lib/libast/misc/
H A Dsetenviron.c31 * environ==0 is ok
49 static char ok[] = ""; /* delete/optimization ok return*/ local
117 return ok;
132 return ok;
142 return ok;
/ast/src/cmd/nmake/
H A DSCCS.mk15 return : $(O) ok
/ast/src/cmd/3d/
H A Dstrmatch.c462 int ok = 0; local
495 if (ok)
503 ok = 1;
507 ok = 1;
511 ok = 1;
515 ok = 1;
519 ok = 1;
523 ok = 1;
527 ok = 1;
531 ok
[all...]
/ast/src/lib/libast/astsa/
H A Dstrmatch.c347 int ok = 0; local
375 if (ok)
383 ok = 1;
387 ok = 1;
391 ok = 1;
395 ok = 1;
399 ok = 1;
403 ok = 1;
407 ok = 1;
411 ok
[all...]
/ast/src/lib/libtk/library/
H A Dbgerror.tcl46 button $w.ok -text OK -command "destroy $w"
50 pack $w.ok -side bottom -padx 3m -pady 2m
H A Dmsgbox.tcl46 {-type "" "" "ok"}
67 ok {
69 {ok -width 6 -text OK -under 0}
72 set data(-default) "ok"
77 {ok -width 6 -text OK -under 0}
101 error "invalid message box type \"$data(-type)\", must be abortretryignore, ok, okcancel, retrycancel, yesno or yesnocancel"
/ast/src/cmd/cs/
H A Dcat.c142 int ok; local
148 ok = 1;
154 ok = 0;
159 ok = 0;
163 if (ok) return(0);
/ast/src/lib/libtk/library/demos/
H A Dmsgbox.tcl46 set msgboxType ok
47 foreach t {abortretryignore ok okcancel retrycancel yesno yesnocancel} {
59 tk_messageBox -icon info -message "You have selected \"$button\"" -type ok\
H A Dixset22 proc ok {} {
185 button .buttons.ok -command "ok" -text "Ok"
190 pack .buttons.ok .buttons.apply .buttons.cancel .buttons.quit \
/ast/src/lib/libcs/
H A Dcsaddr.c168 goto ok;
185 goto ok;
191 goto ok;
198 goto ok;
253 goto ok;
263 goto ok;
269 goto ok;
274 ok:
H A Dcsauth.c67 goto ok;
85 goto ok;
210 ok:
/ast/src/cmd/ksh93/tests/
H A Dfunctions.sh251 if [[ $( (winpath --man 2>/dev/null); print ok) != ok ]]
254 if [[ $( (winpath -z 2>/dev/null); print ok) != ok ]]
436 print ok
443 print ok
448 [[ $(foobar) != ok ]] && err_exit 'typeset -f not generating function'
783 else print ok
789 [[ $(foo 'NUMBERED RECORDSIZE') == ok ]] || err_exit 'optimization error with undefined variable'
1009 f 257 && print ok
[all...]
H A Dsubshell.sh73 z.foo[two]=ok
74 [[ ${z.foo[two]} == ok ]] || err_exit 'associative array assignment to compound variable in subshell not working'
197 print ok
200 [[ $r == ok ]] || err_exit "large subshell command substitution hangs"
218 print ok
220 [[ $r == ok ]] || err_exit "shell hangs on $TEST_test"
270 exp=ok
292 exp=ok
296 else print ok
458 cmd='echo $((case x in x)echo ok;esa
[all...]
H A Darrays.sh279 foo[$((10))]=ok 2> /dev/null || err_exit 'arithmetic expression as subscript not working'
322 do [[ ${foo[i]} ]] && print ok
323 done) == ok ]] || err_exit 'invalid optimization for subscripted variables'
430 typeset -a foo=([1]=ok [2]=no)
431 [[ $foo[bar] == ok ]] || err_exit 'typeset -a not working for simple assignment'
433 typeset -a foo=([1]=(x=ok) [2]=(x=no))
438 typeset -A foo=([1]=ok [2]=no)
439 [[ $foo[bar] == ok ]] && err_exit 'typeset -A not working for simple assignment'
441 typeset -A foo=([1]=(x=ok) [2]=(x=no))
442 [[ ${foo[bar].x} == ok ]]
[all...]
H A Dpath.sh75 print print ok > $tmp/ok
76 /bin/chmod 755 $tmp/ok
80 ok
88 [[ $($SHELL ./bug1 2>/dev/null) == ok ]] || err_exit "PATH in function not working"
225 print 'print ok' > bin/tst
227 if [[ $(PATH=$PWD/bin tst 2>/dev/null) != ok ]]
313 ok=
316 then ok=1
320 [[ $ok ]] || err_exi
[all...]
H A Dpty.sh234 c echo ok\n
235 u ^ok\r?\n$
279 w echo ok
280 u ^ok\r?\n$
H A Dsignal.sh361 print ok
365 [[ $x == ok ]] || err_exit 'return without arguments in trap not preserving exit status'
377 print ok
380 [[ $x == ok ]] || err_exit 'SIGPIPE exit status causes PIPE signal to be propogaged'
H A Dnameref.sh183 then print ok
186 done) != ok ]] && err_exit 'invalid for loop optimization of name references'
276 foo[xyz]=ok
277 [[ $x == ok ]] || err_exit 'nameref to unset subscript not working'
341 ref=ok
344 [[ $(foobar) == ok ]] 2> /dev/null || err_exit 'nameref in function not creating variable in proper scope'
H A Dbracket.sh251 [[ $($SHELL -c 'case F in ~(Eilr)[a-z0-9#]) print ok;;esac' 2> /dev/null) == ok ]] || err_exit '~(Eilr) not working in case command'
252 [[ $($SHELL -c "case Q in ~(Fi)q | \$'\E') print ok;;esac" 2> /dev/null) == ok ]] || err_exit '~(Fi)q | \E not working in case command'
330 { x=$($SHELL -c '[[ (( $# -eq 0 )) ]] && print ok') 2> /dev/null;}
331 [[ $x == ok ]] || err_exit '((...)) inside [[...]] not treated as nested ()'
/ast/src/cmd/pack/
H A Dunpack.c173 goto ok;
177 ok:
/ast/src/lib/librecsort/
H A Drshdr.h138 { reg uchar *ok, *tk; reg ssize_t l, d; \
139 ok = (one)->key+SIZEOF_LONG; tk = (two)->key+SIZEOF_LONG; \
143 else if((cmp = *ok++ - *tk++) ) break; \
/ast/src/lib/libast/port/
H A Dastconf.c392 goto ok;
412 goto ok;
419 goto ok;
478 ok:
505 register int ok = 1; local
513 ok = 1;
516 ok = getenv(state.strict) != 0;
519 ok = 1;
522 ok = 1;
525 ok
[all...]
/ast/src/cmd/mailx/
H A Dspam.c485 int ok; local
513 ok = no = fromours = me = 0;
738 ok++;
768 note(0, "spam: ok=%d no=%d test=%s", ok, no, buf);
770 if (no > ok)
772 if (ok > no)
793 note(0, "spam: host ok#%d `%s' `%s'", __LINE__, local, s);
800 note(0, "spam: host ok#%d `%s' `%s'", __LINE__, local, s);
/ast/src/cmd/re/
H A Dtestglob.c251 0, "OK", "ok",
504 int ok; local
620 ok = 0;
950 if (!ok || !(flags & GLOB_APPEND)) {
951 if (ok) {
952 ok = 0;
983 ok = 1;

Completed in 111 milliseconds

123