Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 97) sorted by relevance

1234

/titanic_41/usr/src/common/crypto/ecc/
H A Decp_192.c74 mp_digit r0, r1, r2; in ec_GFp_nistp192_mod() local
195 r2 = MP_DIGIT(a, 2); in ec_GFp_nistp192_mod()
203 MP_ADD_CARRY(r2, a4, r2, carry, carry); in ec_GFp_nistp192_mod()
207 MP_ADD_CARRY(r2, a5, r2, carry, carry); in ec_GFp_nistp192_mod()
210 MP_ADD_CARRY(r2, 0, r2, carry, carry); in ec_GFp_nistp192_mod()
214 r2 = MP_DIGIT(a, 2); in ec_GFp_nistp192_mod()
232 : "=r"(r0), "=r"(r1), "=r"(r2), "=r"(r3), "=r"(a3), in ec_GFp_nistp192_mod()
234 : "0" (r0), "1" (r1), "2" (r2), "3" (r3), in ec_GFp_nistp192_mod()
244 MP_ADD_CARRY(r2, 0, r2, carry, carry); in ec_GFp_nistp192_mod()
254 : "=r"(r0), "=r"(r1), "=r"(r2), "=r"(r3), "=r"(a3) in ec_GFp_nistp192_mod()
[all …]
H A Decp_256.c68 mp_digit r0, r1, r2, r3, r4, r5, r6, r7; in ec_GFp_nistp256_mod() local
73 mp_digit r0, r1, r2, r3; in ec_GFp_nistp256_mod() local
108 r2 = MP_DIGIT(a,2); in ec_GFp_nistp256_mod()
138 MP_ADD_CARRY(r2, a10, r2, carry, carry); in ec_GFp_nistp256_mod()
152 MP_ADD_CARRY(r2, a11, r2, carry, carry); in ec_GFp_nistp256_mod()
162 MP_SUB_BORROW(r2, a13, r2, carry, carry); in ec_GFp_nistp256_mod()
172 MP_SUB_BORROW(r2, a14, r2, carry, carry); in ec_GFp_nistp256_mod()
182 MP_SUB_BORROW(r2, a15, r2, carry, carry); in ec_GFp_nistp256_mod()
192 MP_SUB_BORROW(r2, 0, r2, carry, carry); in ec_GFp_nistp256_mod()
205 MP_ADD_CARRY(r2, 0, r2, carry, carry); in ec_GFp_nistp256_mod()
[all …]
H A Decl_gf.c277 mp_digit r0 = 0, r1 = 0, r2 = 0; in ec_GFp_add_3() local
290 r2 = MP_DIGIT(b,2); in ec_GFp_add_3()
300 MP_ADD_CARRY(a2, r2, r2, carry, carry); in ec_GFp_add_3()
308 : "=r"(r0), "=r"(r1), "=r"(r2), "=r"(carry) in ec_GFp_add_3()
310 "0" (r0), "1" (r1), "2" (r2) in ec_GFp_add_3()
315 MP_DIGIT(r, 2) = r2; in ec_GFp_add_3()
324 if (carry || r2 > a2 || in ec_GFp_add_3()
325 ((r2 == a2) && mp_cmp(r,&meth->irr) != MP_LT)) { in ec_GFp_add_3()
331 MP_SUB_BORROW(r2, a2, r2, carry, carry); in ec_GFp_add_3()
337 : "=r"(r0), "=r"(r1), "=r"(r2) in ec_GFp_add_3()
[all …]
H A Decp_224.c75 mp_digit r0, r1, r2, r3; in ec_GFp_nistp224_mod() local
233 r2 = MP_DIGIT(a, 2); in ec_GFp_nistp224_mod()
243 MP_ADD_CARRY (r2, a4 , r2, carry, carry); in ec_GFp_nistp224_mod()
246 MP_ADD_CARRY (r2, a6 , r2, carry, carry); in ec_GFp_nistp224_mod()
251 MP_SUB_BORROW(r2, a6a_a5b, r2, carry, carry); in ec_GFp_nistp224_mod()
256 MP_SUB_BORROW(r2, 0, r2, carry, carry); in ec_GFp_nistp224_mod()
268 MP_ADD_CARRY(r2, 0, r2, carry, carry); in ec_GFp_nistp224_mod()
274 MP_SUB_BORROW(r2, 0, r2, carry, carry); in ec_GFp_nistp224_mod()
283 MP_ADD_CARRY (r2, MP_DIGIT_MAX, r2, carry, carry); in ec_GFp_nistp224_mod()
289 if ((r3 == (MP_DIGIT_MAX >> 32)) && (r2 == MP_DIGIT_MAX) in ec_GFp_nistp224_mod()
[all …]
/titanic_41/usr/src/common/util/
H A Dqsort.c42 static void swapp32(uint32_t *r1, uint32_t *r2, size_t cnt);
43 static void swapp64(uint64_t *r1, uint64_t *r2, size_t cnt);
44 static void swapi(uint32_t *r1, uint32_t *r2, size_t cnt);
45 static void swapb(char *r1, char *r2, size_t cnt);
480 swapp32(uint32_t *r1, uint32_t *r2, size_t cnt) in swapp32() argument
485 *r1++ = *r2; in swapp32()
486 *r2++ = temp; in swapp32()
491 swapp64(uint64_t *r1, uint64_t *r2, size_t cnt) in swapp64() argument
496 *r1++ = *r2; in swapp64()
497 *r2++ = temp; in swapp64()
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/struct/
H A Dtst.StructAssoc.d47 struct record r2; variable
54 r2.position = 1;
55 r2.content = 'a';
58 assoc_array[r2] = 2000;
61 printf("assoc_array[r2]: %d\n", assoc_array[r2]);
67 /assoc_array[r1] != assoc_array[r2]/
H A Derr.D_DECL_INCOMPLETE.recursive.d45 struct record r2; variable
52 r2.position = 2;
53 r2.content = 'b';
56 printf("r2.position: %d\nr2.content: %c\n", r2.position, r2.content);
H A Derr.D_PROTO_ARG.DupStructAssoc.d51 struct record r2; variable
60 r2.position = 2;
61 r2.content = 'b';
70 assoc_array[r2] = 2000;
75 printf("assoc_array[r2]: %d\n", assoc_array[r2]);
/titanic_41/usr/src/cmd/dtrace/test/tst/common/union/
H A Dtst.UnionAssoc.d47 union record r2; variable
54 r2.position = 1;
55 r2.content = 'a';
58 assoc_array[r2] = 2000;
61 printf("assoc_array[r2]: %d\n", assoc_array[r2]);
67 /assoc_array[r1] != assoc_array[r2]/
H A Derr.D_DECL_INCOMPLETE.recursive.d45 union record r2; variable
52 r2.position = 2;
53 r2.content = 'b';
56 printf("r2.position: %d\nr2.content: %c\n", r2.position, r2.content);
H A Derr.D_PROTO_ARG.DupUnionAssoc.d51 union record r2; variable
60 r2.position = 2;
61 r2.content = 'b';
70 assoc_array[r2] = 2000;
75 printf("assoc_array[r2]: %d\n", assoc_array[r2]);
/titanic_41/usr/src/ucbcmd/expr/
H A Dexpr.y141 rel(int oper, char *r1, char *r2) in rel() argument
145 if(ematch(r1, "-\\{0,1\\}[0-9]*$") && ematch(r2, "-\\{0,1\\}[0-9]*$")) in rel()
146 i = atol(r1) - atol(r2); in rel()
148 i = strcmp(r1, r2); in rel()
172 char *arith(oper, r1, r2) char *r1, *r2; in arith() argument
177 if(!(ematch(r1, "-\\{0,1\\}[0-9]*$") && ematch(r2, "-\\{0,1\\}[0-9]*$")))
180 i2 = atol(r2);
207 char *conj(oper, r1, r2) char *r1, *r2; in conj() argument
216 if(EQL(r2, "0")
217 || EQL(r2, ""))
[all …]
/titanic_41/usr/src/lib/libsqlite/test/
H A Dexpr.test24 execsql {CREATE TABLE test1(i1 int, i2 int, r1 real, r2 real, t1 text, t2 text)}
137 test_expr expr-2.1 {r1=1.23, r2=2.34} {r1+r2} 3.57
138 test_expr expr-2.2 {r1=1.23, r2=2.34} {r1-r2} -1.11
139 test_expr expr-2.3 {r1=1.23, r2=2.34} {r1*r2} 2.8782
140 test_expr expr-2.4 {r1=1.23, r2=2.34} {r1/r2} 0.525641025641026
141 test_expr expr-2.5 {r1=1.23, r2=2.34} {r2/r1} 1.90243902439024
142 test_expr expr-2.6 {r1=1.23, r2=2.34} {r2<r1} 0
143 test_expr expr-2.7 {r1=1.23, r2=2.34} {r2<=r1} 0
144 test_expr expr-2.8 {r1=1.23, r2=2.34} {r2>r1} 1
145 test_expr expr-2.9 {r1=1.23, r2=2.34} {r2>=r1} 1
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Derrors.c78 char *r, *r2; in krb5int_get_error() local
110 r2 = realloc (r, 1 + strlen(r)); in krb5int_get_error()
111 if (r2) in krb5int_get_error()
112 return r2; in krb5int_get_error()
121 || (r2 = strdup (r)) == NULL) { in krb5int_get_error()
125 return r2; in krb5int_get_error()
136 r2 = strdup (r); in krb5int_get_error()
137 if (r2 == NULL) { in krb5int_get_error()
143 return r2; in krb5int_get_error()
/titanic_41/usr/src/cmd/expr/
H A Dexpr.c174 *rel(oper, r1, r2) register char *r1, *r2; in rel() argument
179 ematch(r2, "-\\{0,1\\}[0-9]*$")) {
182 l2 = strtoll(r2, (char **)NULL, 10);
220 i = strcoll(r1, r2);
246 *arith(oper, r1, r2) char *r1, *r2; in arith() argument
252 ematch(r2, "-\\{0,1\\}[0-9]*$")))
256 i2 = strtoll(r2, (char **)NULL, 10);
299 *conj(oper, r1, r2) in conj() argument
300 char *r1, *r2; in conj()
308 if (EQL(r2, "0") || EQL(r2, ""))
[all …]
/titanic_41/usr/src/cmd/sendmail/libsm/
H A Dt-memstat.c47 int r, r2, i, l, slp, sz; local
81 r2 = -1;
86 r2 = sm_memstat_get(resource, &v);
89 printf("open=%d, memstat=%d, %s=%ld\n", r, r2,
108 printf("open=%d, memstat=%d, %s=%ld\n", r, r2,
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dcombine_keys.c83 unsigned char *r1, *r2, *combined, *rnd, *output; in krb5int_c_combine_keys() local
121 if ((r2 = (unsigned char *) malloc(keybytes)) == NULL) { in krb5int_c_combine_keys()
128 free(r2); in krb5int_c_combine_keys()
134 free(r2); in krb5int_c_combine_keys()
141 free(r2); in krb5int_c_combine_keys()
171 if ((ret = dr(context, enc, key2, r2, &input))) in krb5int_c_combine_keys()
179 printf(" %02x", (unsigned char) r2[i]); in krb5int_c_combine_keys()
192 memcpy(combined + keybytes, r2, keybytes); in krb5int_c_combine_keys()
281 memset(r2, 0, keybytes); in krb5int_c_combine_keys()
287 free(r2); in krb5int_c_combine_keys()
/titanic_41/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_cpu.c89 ao_scrubber_max(uint32_t r1, uint32_t r2) in ao_scrubber_max() argument
91 if (r1 != 0 && r2 != 0) in ao_scrubber_max()
92 return (MIN(r1, r2)); in ao_scrubber_max()
94 return (r1 ? r1 : r2); in ao_scrubber_max()
/titanic_41/usr/src/lib/brand/shared/brand/sparc/
H A Dhandler.s50 #define GET_SYM_ADDR(r1, r2, name) \ argument
52 sethi %hi(name), r2 ;\
53 or r2, %lo(name), r2 ;\
54 ldn [r2 + r1], r1
56 #define GET_SYM_ADDR(r1, r2, name) \ argument
/titanic_41/usr/src/cmd/vi/port/
H A Dovdoprnt.s71 movb (r1)+,r2
73 cmp r2,$'%
118 mov (r1)+,r2
125 jmp (r2)
205 mov $10.,r2
/titanic_41/usr/src/cmd/refer/
H A Drefer5.c345 char **p, *r1, *r2; local
348 r2 = s;
349 for (r1 = *p; ((*r1 ^ *r2) & ~040) == 0; r1++)
350 r2++;
351 if (*r1 == 0 && *r2 != 0)
352 return (r2);
/titanic_41/usr/src/cmd/sgs/m4/common/
H A Dm4y.y85 static int peek(int c, int r1, int r2);
154 peek(int c, int r1, int r2) in peek() argument
157 return (r2); in peek()
H A Dm4y_xpg4.y90 static int peek(char c, int r1, int r2);
160 peek(char c, int r1, int r2) in peek() argument
163 return (r2); in peek()
/titanic_41/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeData.java548 compareRecords(Record r1, Record r2) in compareRecords() argument
553 ScalarRecord t2 = ScalarRecord.class.cast(r2); in compareRecords()
568 Comparable v2 = Comparable.class.cast(r2); in compareRecords()
572 ExitRecord e2 = ExitRecord.class.cast(r2); in compareRecords()
578 r1.getClass().cast(r2); in compareRecords()
580 String s2 = r2.toString(); in compareRecords()
607 Record r2; in compareRecordLists() local
611 r2 = list2.get(i); in compareRecordLists()
613 cmp = compareRecords(r1, r2); in compareRecordLists()
/titanic_41/usr/src/ucbcmd/sed/
H A Dsed0.c255 cmpend[depth++] = &rep->r2.lb1; in fcomp()
368 while(pt1 = pt->r2.lb1) in fcomp()
370 pt->r2.lb1 = rep; in fcomp()
384 rep->r2.lb1 = lpt->address; in fcomp()
387 while(pt1 = pt->r2.lb1) in fcomp()
389 pt->r2.lb1 = rep; in fcomp()
432 rep->r2.lb1 = ptrspace; in fcomp()
808 while(trptr = rptr->r2.lb1) { in dechain()
809 rptr->r2.lb1 = lptr->address; in dechain()
812 rptr->r2.lb1 = lptr->address; in dechain()

1234