| /onnv-gate/usr/src/lib/libshell/common/tests/ |
| H A D | cubetype.sh | 151 cc[2]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6) 170 cc[two]=(x=2 y=3 name=two colors+=([table]=white) items+=(pencil) z=6) 173 [[ ${cc[two].y} == 3 ]] || err_exit '${cc[two].y} != 3' 174 (( cc[two].y == 3 )) || err_exit '(( cc[two].y != 3))' 175 [[ ${cc[two].colors[table]} == white ]] || err_exit '${cc[two].colors[table]} != white' 176 [[ ${cc[two].items[2]} == pencil ]] || err_exit '${cc[two].items[2]} != pencil' 177 (( cc[two].len == 7 )) || err_exit '(( cc[two].len != 7 ))' 178 [[ $(cc[two].len) == 7 ]] || err_exit '$(cc[two].len) != 7 ))' 179 [[ ${cc[two].len} == 7 ]] || err_exit '${cc[two].len} != 7 ))' 180 (( cc[two].count == 2 )) || err_exit 'cc[two].count != 2' [all …]
|
| H A D | arrays.sh | 43 set -A x zero one two three four 'five six' 56 if [[ ${x[2]} != two ]] 59 if [[ ${x[@]:2:1} != two ]] 72 if [[ ${y[2]} != two ]] 76 if [[ ${y[2]} != two ]] 189 foo=(one two) 191 foo[two]=3 239 ( set -A list one two three four) 259 foo=( $foo two) 285 typeset -A foo=( [two]=1) [all …]
|
| H A D | sun_solaris_cr_6805792_varmovetest1.sh | 109 node.two="dummy2" 117 nameref nodetwo=node.two 137 node.two="world"
|
| H A D | treemove.sh | 59 node.two="world" 73 node.two="world"
|
| /onnv-gate/usr/src/cmd/sendmail/libsm/ |
| H A D | t-strl.c | 32 int one, two, k; variable 98 two = sm_snprintf(dst2, sizeof dst2, "%s/%s", src1[0], src1[1]); 99 SM_TEST(one == two); 102 two = sm_snprintf(dst2, 10, "%s/%s", src1[0], src1[1]); 103 SM_TEST(one == two); 106 two = sm_snprintf(dst2, 5, "%s/%s", src1[0], src1[1]); 107 SM_TEST(one == two); 110 two = sm_snprintf(dst2, 0, "%s/%s", src1[0], src1[1]); 111 SM_TEST(one == two); 114 two = sm_snprintf(dst2, sizeof dst2, "%s/%s/%s", src1[0], src1[1], src1[2]); [all …]
|
| /onnv-gate/usr/src/lib/fm/libdiagcode/common/tests/ |
| H A D | SAMPLE0.dict | 35 # here's a worked by hand example for key: "fault.one fault.two" 58 fault.one fault.three fault.two=2 "this is all three faults" 61 fault.two=6 62 fault.one fault.two=5 64 fault.three fault.two=3 72 #TEST:key2code:0:fault.two fault.one:SAMPLE0-8000-5V 73 #TEST:key2code:0:fault.one fault.two:SAMPLE0-8000-5V 74 #TEST:key2code:0:fault.one fault.two fault.one:SAMPLE0-8000-5V 75 #TEST:key2code:0:fault.one fault.two fault.one fault.one fault.two:SAMPLE0-8000-5V 80 #TEST:code2key:EINVAL:SAMPLE0-7000-5S:fault.one fault.two [all …]
|
| H A D | SAMPLE1.dict | 36 fault.y.two=2097151 37 fault.y.two fault.z.one=2097152 39 fault.x.three fault.y.two=274880004090 40 fault.x.three fault.y.two fault.z.one=1928 47 #TEST:key2code:0:fault.y.two:SAMPLE1-9YYY-YT 49 #TEST:key2code:0:fault.x.three fault.y.two:SAMPLE1-CYYY-YYYX-M4 50 #TEST:key2code:0:fault.x.three fault.y.two fault.z.one:SAMPLE1-801V-89 54 #TEST:code2key:0:SAMPLE1-9YYY-YT:fault.y.two 56 #TEST:code2key:0:SAMPLE1-CYYY-YYYX-M4:fault.x.three fault.y.two 57 #TEST:code2key:0:SAMPLE1-801V-89:fault.x.three fault.y.two fault.z.one
|
| H A D | MALFORMED.dict | 33 fault.one fault.three fault.two 2 36 fault.two=6 37 fault.one fault.two=5 39 fault.three fault.two=3 42 #TEST:key2code:0:fault.two fault.three:MALFORMED-8000-3N
|
| H A D | BADMAXKEY.dict | 35 fault.two=6 36 fault.one fault.two=5 38 fault.one fault.three fault.two=3 42 #TEST:key2code:0:fault.one fault.three fault.two:BADMAXKEY-8000-30
|
| H A D | BADBITS.dict | 36 fault.two=6 37 fault.one fault.two=5 39 fault.three fault.two=3 45 #TEST:key2code:0:fault.one fault.two fault.one:BADBITS-8000-5T
|
| H A D | SAMPLE2.dict | 35 fault.two=7958473 36 fault.one fault.two=1501916219321029 38 fault.three fault.two=36029071898968063 39 fault.one fault.three fault.two=36029071898968064 45 #TEST:key2code:0:fault.two fault.one:SAMPLE2-D2NC-G0XL-HNDC-L0 46 #TEST:key2code:0:fault.three fault.two:SAMPLE2-EYYY-YYYY-YYYY-E8 47 #TEST:key2code:0:fault.one fault.three fault.two:SAMPLE2-F000-0000-0000-000E-XN 48 #TEST:code2key:0:SAMPLE2-D2NC-G0XL-HNDC-L0:fault.one fault.two 49 #TEST:code2key:0:SAMPLE2-EYYY-YYYY-YYYY-E8:fault.three fault.two 50 #TEST:code2key:0:SAMPLE2-F000-0000-0000-000E-XN:fault.one fault.three fault.two
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/ |
| H A D | get_number_test.c | 117 u_short two; in main() local 132 two = 0; in main() 133 if (get_number(&src, (void *) &two, 2) != 0) in main() 136 printf("short: %d\n", two); in main() 165 two = 0; in main() 166 if (get_number(&src, (void *) &two, 2) != 0) in main() 169 printf("short: 0x%x\n", two); in main() 196 two = 0; in main() 197 if (get_number(&src, (void *) &two, 2) != 0) in main() 200 printf("short: 0x%x\n", two); in main()
|
| /onnv-gate/usr/src/cmd/dtrace/test/tst/common/types/ |
| H A D | tst.relenum.d | 42 two enumerator 55 printf("zero = %d; one = %d; two = %d", zero, one, two); 61 /second < one || two > second || null == first/ 64 printf("zero = %d; one = %d; two = %d", zero, one, two); 70 /first < two && second > one && one != two && zero != first/
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Time/HiRes/t/ |
| H A D | HiRes.t | 102 my @two = gettimeofday(); 103 ok 4, ($two[0] > $one[0] || ($two[0] == $one[0] && $two[1] > $one[1])), 108 ok 6, $f - $two[0] < 2, "$f - $two[0] >= 2"; 117 my $two = time; 120 ok 7, $one == $two || $two == $three, "slept too long, $one $two $three"; 167 my $two = time; $tick = 0; ualarm(10_000); while ($tick == 0) { sleep } 169 ok 12, $one == $two || $two == $three, "slept too long, $one $two $three";
|
| /onnv-gate/usr/src/lib/libsqlite/test/ |
| H A D | join4_28.test | 28 insert into t1 values(2,'two'); 39 } {2 two 2 niban ok} 44 } {1 one {} {} {} 2 two 2 niban ok 3 three {} {} {} 4 four {} {} {}} 52 } {2 two 2 niban ok} 57 } {1 one {} {} {} 2 two 2 niban ok 3 three {} {} {} 4 four {} {} {}} 62 } {2 two 2 niban ok} 67 } {1 one {} {} {} 2 two 2 niban ok 3 three {} {} {} 4 four {} {} {}} 72 } {2 two 2 niban ok} 77 } {1 one {} {} {} 2 two 2 niban ok 3 three {} {} {} 4 four {} {} {}}
|
| H A D | trans.test | 30 INSERT INTO one VALUES(2,'two'); 34 } {one two three} 37 CREATE TABLE two(a int PRIMARY KEY, b text); 38 INSERT INTO two VALUES(1,'I'); 39 INSERT INTO two VALUES(5,'V'); 40 INSERT INTO two VALUES(10,'X'); 41 SELECT b FROM two ORDER BY a; 47 } {one two three} 49 execsql {SELECT b FROM two ORDER BY a} altdb 83 SELECT a FROM two ORDER BY a; [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/ |
| H A D | mbi_rand.t | 32 my $two = Math::BigInt->new(2); 65 "# tried $ADB * $B + $two*$AMB - $AMB\n" 66 unless ok ($ADB*$B+$two*$AMB-$AMB,$As); 74 "# tried $ADB * $A + $two*$AMB - $AMB\n" 75 unless ok ($ADB*$A+$two*$AMB-$AMB,$Bs);
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/ |
| H A D | Language.pod | 4 Locale::Language - ISO two letter codes for language identification (ISO 639) 19 The C<Locale::Language> module provides access to the ISO two-letter 22 or via the two functions which return lists of all language codes or 28 There are two conversion routines: C<code2language()> and C<language2code()>. 34 This function takes a two letter language code and returns a string 44 two letter language code, if such exists. 58 There are two function which can be used to obtain a list of all 65 Returns a list of all two-letter language codes. 72 two-letter language code. The names are capitalised, and not returned 110 Currently just supports the two letter language codes -
|
| H A D | Currency.pod | 23 or with the two functions which return lists of all currency codes or 26 There are two special codes defined by the standard which aren't 44 There are two conversion routines: C<code2currency()> and C<currency2code()>. 74 There are two function which can be used to obtain a list of all 143 Kwacha has two codes: mwk for Malawi, and zmk for Zambia. 144 The Russian Ruble has two codes: rub and rur. 145 The Belarussian Ruble has two codes: byr and byb.
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/comp/ |
| H A D | decl.t | 17 do two(); 19 sub two { subroutine 22 format two = format
|
| /onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| H A D | vmprofile.c | 256 reg Pfobj_t *one, *two, *next; local 263 one = two = NIL(Pfobj_t*); 271 pf->next = two; 272 two = pf; 279 two = pfsort(two); 282 if(PFLINE(one) == 0 && PFLINE(two) == 0) 283 cmp = PFVM(one) > PFVM(two) ? 1 : -1; 286 else if(PFLINE(two) == 0) 288 else if((cmp = strcmp(PFFILE(one),PFFILE(two))) == 0) 289 { cmp = PFLINE(one) - PFLINE(two); [all …]
|
| /onnv-gate/usr/src/cmd/svc/shell/ |
| H A D | net_include.sh | 245 done < "$file" | while read one two; do 247 [ "$one" = "$keyword" ] && echo "$one $two" 531 done` | while read one two; do 533 [ "$one $two" = "$inet_oneline_epilogue" ] && \ 535 line="addif $zaddr $one $two" 547 | while read one two; do 550 addif $two >/dev/null
|
| /onnv-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/ |
| H A D | tst.tuplecompat.d | 34 @two["foo", 789, "bar", curthread] = sum(456); 35 printa("%10s %10d %10s %@10d %@10d\n", @one, @two);
|
| /onnv-gate/usr/src/cmd/dtrace/test/tst/common/sched/ |
| H A D | tst.enqueue.d | 41 self->two = 1; 45 /self->two && args[0]->pr_lwpid > 0/
|
| /onnv-gate/usr/src/cmd/agents/snmp/snmprelayd/ |
| H A D | subtree.c | 62 static int longest_subtree_match (Oid * one, Oid * two) in longest_subtree_match() argument 66 if (one == NULL || two == NULL) in longest_subtree_match() 69 if (one->len > two->len) in longest_subtree_match() 70 return two->len - one->len; in longest_subtree_match() 73 if (one->subids[i] > two->subids[i]) in longest_subtree_match() 75 if (one->subids[i] < two->subids[i]) in longest_subtree_match() 78 return two->len - one->len; in longest_subtree_match()
|