Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 25 of 162) sorted by relevance

1234567

/external/libpng/
Dpngtrans.c218 png_bytep rp = row; in png_do_invert() local
224 *rp = (png_byte)(~(*rp)); in png_do_invert()
225 rp++; in png_do_invert()
231 png_bytep rp = row; in png_do_invert() local
237 *rp = (png_byte)(~(*rp)); in png_do_invert()
238 rp+=2; in png_do_invert()
244 png_bytep rp = row; in png_do_invert() local
250 *rp = (png_byte)(~(*rp)); in png_do_invert()
251 *(rp+1) = (png_byte)(~(*(rp+1))); in png_do_invert()
252 rp+=4; in png_do_invert()
[all …]
Dpngwtran.c538 png_bytep rp; in png_do_write_intrapixel() local
548 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
550 *(rp) = (png_byte)((*rp - *(rp+1))&0xff); in png_do_write_intrapixel()
551 *(rp+2) = (png_byte)((*(rp+2) - *(rp+1))&0xff); in png_do_write_intrapixel()
556 png_bytep rp; in png_do_write_intrapixel() local
566 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
568 png_uint_32 s0 = (*(rp ) << 8) | *(rp+1); in png_do_write_intrapixel()
569 png_uint_32 s1 = (*(rp+2) << 8) | *(rp+3); in png_do_write_intrapixel()
570 png_uint_32 s2 = (*(rp+4) << 8) | *(rp+5); in png_do_write_intrapixel()
573 *(rp ) = (png_byte)((red >> 8) & 0xff); in png_do_write_intrapixel()
[all …]
/external/qemu/distrib/libpng-1.2.19/
Dpngtrans.c188 png_bytep rp = row; in png_do_invert() local
194 *rp = (png_byte)(~(*rp)); in png_do_invert()
195 rp++; in png_do_invert()
201 png_bytep rp = row; in png_do_invert() local
207 *rp = (png_byte)(~(*rp)); in png_do_invert()
208 rp+=2; in png_do_invert()
214 png_bytep rp = row; in png_do_invert() local
220 *rp = (png_byte)(~(*rp)); in png_do_invert()
221 *(rp+1) = (png_byte)(~(*(rp+1))); in png_do_invert()
222 rp+=4; in png_do_invert()
[all …]
Dpngwtran.c528 png_bytep rp; in png_do_write_intrapixel() local
538 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
540 *(rp) = (png_byte)((*rp - *(rp+1))&0xff); in png_do_write_intrapixel()
541 *(rp+2) = (png_byte)((*(rp+2) - *(rp+1))&0xff); in png_do_write_intrapixel()
546 png_bytep rp; in png_do_write_intrapixel() local
556 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
558 png_uint_32 s0 = (*(rp ) << 8) | *(rp+1); in png_do_write_intrapixel()
559 png_uint_32 s1 = (*(rp+2) << 8) | *(rp+3); in png_do_write_intrapixel()
560 png_uint_32 s2 = (*(rp+4) << 8) | *(rp+5); in png_do_write_intrapixel()
563 *(rp ) = (png_byte)((red >> 8) & 0xff); in png_do_write_intrapixel()
[all …]
/external/blktrace/btt/
Dtrace_remap.c23 static inline void cvt_pdu_remap(struct blk_io_trace_remap *rp) in cvt_pdu_remap() argument
25 rp->device_from = be32_to_cpu(rp->device_from); in cvt_pdu_remap()
26 rp->device_to = be32_to_cpu(rp->device_to); in cvt_pdu_remap()
27 rp->sector_from = be64_to_cpu(rp->sector_from); in cvt_pdu_remap()
38 struct blk_io_trace_remap *rp; in trace_remap() local
43 rp = a_iop->pdu; in trace_remap()
44 cvt_pdu_remap(rp); in trace_remap()
49 q_dip = __dip_find(rp->device_from); in trace_remap()
53 q_iop = dip_find_sec(q_dip, IOP_Q, rp->sector_from); in trace_remap()
/external/openssl/crypto/bn/
Dbn_add.c108 BN_ULONG *ap,*bp,*rp,carry,t1,t2; in BN_uadd() local
128 rp=r->d; in BN_uadd()
130 carry=bn_add_words(rp,ap,bp,min); in BN_uadd()
131 rp+=min; in BN_uadd()
142 *(rp++) = t2; in BN_uadd()
152 *rp = 1; in BN_uadd()
156 if (dif && rp != ap) in BN_uadd()
159 *(rp++) = *(ap++); in BN_uadd()
169 register BN_ULONG t1,t2,*ap,*bp,*rp; in BN_usub() local
192 rp=r->d; in BN_usub()
[all …]
Dbn_nist.c404 unsigned int *rp=(unsigned int *)r_d; in BN_nist_mod_192() local
407 acc = rp[0]; acc += bp[3*2-6]; in BN_nist_mod_192()
408 acc += bp[5*2-6]; rp[0] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
410 acc += rp[1]; acc += bp[3*2-5]; in BN_nist_mod_192()
411 acc += bp[5*2-5]; rp[1] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
413 acc += rp[2]; acc += bp[3*2-6]; in BN_nist_mod_192()
415 acc += bp[5*2-6]; rp[2] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
417 acc += rp[3]; acc += bp[3*2-5]; in BN_nist_mod_192()
419 acc += bp[5*2-5]; rp[3] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
421 acc += rp[4]; acc += bp[4*2-6]; in BN_nist_mod_192()
[all …]
Dbn_mont.c180 BN_ULONG *ap,*np,*rp,n0,v,carry; in BN_from_montgomery_word() local
192 rp=r->d; in BN_from_montgomery_word()
197 rp[i]=0; in BN_from_montgomery_word()
199 memset(&(rp[r->top]),0,(max-r->top)*sizeof(BN_ULONG)); in BN_from_montgomery_word()
208 for (carry=0, i=0; i<nl; i++, rp++) in BN_from_montgomery_word()
215 t1 = rp[0] * (n0 & 0177777); in BN_from_montgomery_word()
218 t3 = rp[0] & 0177777; in BN_from_montgomery_word()
221 v=bn_mul_add_words(rp,np,nl,(BN_ULONG) t1); in BN_from_montgomery_word()
224 v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2); in BN_from_montgomery_word()
226 v = (v+carry+rp[nl])&BN_MASK2; in BN_from_montgomery_word()
[all …]
Dbn_sqr.c162 BN_ULONG *rp; in bn_sqr_normal() local
166 rp=r; in bn_sqr_normal()
167 rp[0]=rp[max-1]=0; in bn_sqr_normal()
168 rp++; in bn_sqr_normal()
174 rp[j]=bn_mul_words(rp,ap,j,ap[-1]); in bn_sqr_normal()
175 rp+=2; in bn_sqr_normal()
182 rp[j]=bn_mul_add_words(rp,ap,j,ap[-1]); in bn_sqr_normal()
183 rp+=2; in bn_sqr_normal()
Dbn_shift.c65 register BN_ULONG *ap,*rp,t,c; in BN_lshift1() local
82 rp=r->d; in BN_lshift1()
87 *(rp++)=((t<<1)|c)&BN_MASK2; in BN_lshift1()
92 *rp=1; in BN_lshift1()
101 BN_ULONG *ap,*rp,t,c; in BN_rshift1() local
120 rp=r->d; in BN_rshift1()
123 if (t>>=1) rp[i]=t; in BN_rshift1()
127 rp[i]=((t>>1)&BN_MASK2)|c; in BN_rshift1()
Dbn_asm.c71 BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) in bn_mul_add_words() argument
81 mul_add(rp[0],ap[0],w,c1); in bn_mul_add_words()
82 mul_add(rp[1],ap[1],w,c1); in bn_mul_add_words()
83 mul_add(rp[2],ap[2],w,c1); in bn_mul_add_words()
84 mul_add(rp[3],ap[3],w,c1); in bn_mul_add_words()
85 ap+=4; rp+=4; num-=4; in bn_mul_add_words()
90 mul_add(rp[0],ap[0],w,c1); in bn_mul_add_words()
91 ap++; rp++; num--; in bn_mul_add_words()
97 BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w) in bn_mul_words() argument
107 mul(rp[0],ap[0],w,c1); in bn_mul_words()
[all …]
/external/tcpdump/
Dprint-sunrpc.c73 register const struct sunrpc_msg *rp; in sunrpcrequest_print() local
81 rp = (struct sunrpc_msg *)bp; in sunrpcrequest_print()
85 EXTRACT_32BITS(&rp->rm_xid)); in sunrpcrequest_print()
89 EXTRACT_32BITS(&rp->rm_xid)); in sunrpcrequest_print()
114 EXTRACT_32BITS(&rp->rm_call.cb_proc))); in sunrpcrequest_print()
115 x = EXTRACT_32BITS(&rp->rm_call.cb_rpcvers); in sunrpcrequest_print()
119 switch (EXTRACT_32BITS(&rp->rm_call.cb_proc)) { in sunrpcrequest_print()
125 x = EXTRACT_32BITS(&rp->rm_call.cb_prog); in sunrpcrequest_print()
130 printf(".%u", EXTRACT_32BITS(&rp->rm_call.cb_vers)); in sunrpcrequest_print()
140 register struct rpcent *rp; local
[all …]
Dprint-nfs.c289 register const struct sunrpc_msg *rp; in nfsreply_print() local
298 rp = (const struct sunrpc_msg *)bp; in nfsreply_print()
303 EXTRACT_32BITS(&rp->rm_xid)); in nfsreply_print()
307 EXTRACT_32BITS(&rp->rm_xid)); in nfsreply_print()
310 reply_stat = EXTRACT_32BITS(&rp->rm_reply.rp_stat); in nfsreply_print()
315 if (xid_map_find(rp, bp2, &proc, &vers) >= 0) in nfsreply_print()
316 interp_reply(rp, proc, vers, length); in nfsreply_print()
321 rstat = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_stat); in nfsreply_print()
325 rlow = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_vers.low); in nfsreply_print()
326 rhigh = EXTRACT_32BITS(&rp->rm_reply.rp_reject.rj_vers.high); in nfsreply_print()
[all …]
Dprint-rip.c162 register const struct rip *rp; in rip_print() local
174 if (i < sizeof(*rp)) { in rip_print()
178 i -= sizeof(*rp); in rip_print()
180 rp = (struct rip *)dat; in rip_print()
184 rp->rip_vers); in rip_print()
186 switch (rp->rip_vers) { in rip_print()
199 print_unknown_data((u_int8_t *)&rp->rip_cmd,"\n\t",length); in rip_print()
206 rp->rip_cmd), in rip_print()
212 switch (rp->rip_cmd) { in rip_print()
217 ni = (struct rip_netinfo *)(rp + 1); in rip_print()
[all …]
Dprint-ripng.c64 register const struct rip6 *rp = (struct rip6 *)dat; in ripng_print() local
79 switch (rp->rip6_cmd) { in ripng_print()
84 && rp->rip6_nets->rip6_metric == HOPCNT_INFINITY6 in ripng_print()
85 && IN6_IS_ADDR_UNSPECIFIED(&rp->rip6_nets->rip6_dest)) { in ripng_print()
94 for (ni = rp->rip6_nets; i >= sizeof(*ni); in ripng_print()
110 for (ni = rp->rip6_nets; i >= sizeof(*ni); in ripng_print()
122 printf(" ripng-%d ?? %u", rp->rip6_cmd, length); in ripng_print()
125 if (rp->rip6_vers != RIP6_VERSION) in ripng_print()
126 printf(" [vers %d]", rp->rip6_vers); in ripng_print()
/external/icu4c/tools/tzcode/
Dzic.c167 static zic_t rpytime(const struct rule * rp, int wantedy);
168 static void rulesub(struct rule * rp,
173 static int stringrule(char * result, const struct rule * rp,
866 register struct rule * rp; in associate() local
905 rp = &rules[base]; in associate()
907 if (strcmp(rp->r_name, rules[out].r_name) != 0) in associate()
911 if (strcmp(zp->z_rule, rp->r_name) != 0) in associate()
913 zp->z_rules = rp; in associate()
1387 rulesub(rp, loyearp, hiyearp, typep, monthp, dayp, timep) in rulesub() argument
1388 register struct rule * const rp; in rulesub()
[all …]
/external/bison/src/
Dnullable.c86 item_number *rp = NULL; in nullable_compute() local
88 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) in nullable_compute()
89 if (ISTOKEN (*rp)) in nullable_compute()
95 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) in nullable_compute()
98 p->next = rsets[*rp - ntokens]; in nullable_compute()
100 rsets[*rp - ntokens] = p; in nullable_compute()
Dgram.c132 item_number *rp; in rule_rhs_print() local
133 for (rp = r->rhs; *rp >= 0; rp++) in rule_rhs_print()
134 fprintf (out, " %s", symbols[*rp]->tag); in rule_rhs_print()
270 item_number *rp = NULL; in grammar_dump() local
274 for (rp = rule_i->rhs; *rp >= 0; ++rp) in grammar_dump()
285 for (rp = rule_i->rhs; *rp >= 0; rp++) in grammar_dump()
286 fprintf (out, " %3d", *rp); in grammar_dump()
287 fprintf (out, " [%d]\n", item_number_as_rule_number (*rp)); in grammar_dump()
Dderives.c51 rule **rp; in print_derives() local
53 for (rp = derives[i - ntokens]; *rp; ++rp) in print_derives()
55 fprintf (stderr, "\t\t%3d ", (*rp)->user_number); in print_derives()
56 rule_rhs_print (*rp, stderr); in print_derives()
Dlalr.c248 item_number const *rp; in build_relations() local
252 for (rp = (*rulep)->rhs; ! item_number_is_rule_number (*rp); rp++) in build_relations()
255 item_number_as_symbol_number (*rp)); in build_relations()
270 rp--; in build_relations()
271 if (ISVAR (*rp)) in build_relations()
275 item_number_as_symbol_number (*rp)); in build_relations()
276 if (nullable[*rp - ntokens]) in build_relations()
345 reductions *rp = s->reductions; in state_look_ahead_tokens_count() local
352 if (rp->num > 1 in state_look_ahead_tokens_count()
353 || (rp->num == 1 && sp->num && in state_look_ahead_tokens_count()
[all …]
/external/eigen/test/
Dpermutationmatrices.cpp36 RightPermutationType rp(rv); in permutationmatrices() local
37 MatrixType m_permuted = lp * m_original * rp; in permutationmatrices()
44 Matrix<Scalar,Cols,Cols> rm(rp); in permutationmatrices()
48 VERIFY_IS_APPROX(lp.inverse()*m_permuted*rp.inverse(), m_original); in permutationmatrices()
74 m_permuted = m_permuted * rp.inverse(); in permutationmatrices()
75 VERIFY_IS_APPROX(m_permuted, m_original*rp.inverse()); in permutationmatrices()
82 m_permuted = m_permuted * rp; in permutationmatrices()
83 VERIFY_IS_APPROX(m_permuted, m_original*rp); in permutationmatrices()
96 RightPermutationType rp2 = rp; in permutationmatrices()
100 rm = rp; in permutationmatrices()
/external/oprofile/module/ia64/
DIA64syscallstub.h37 mov r17=rp; \
91 mov loc0=rp; \
105 br.call.sptk.many rp = post_sys_##name; \
108 mov rp = loc0; \
113 br.ret.sptk.few rp; \
134 mov r16=rp; /* save krp */ \
158 mov rp=r16; /* restore krp */ \
174 mov loc0=rp; \
187 br.call.sptk.many rp = pre_sys_##name; \
190 mov rp = loc0; \
[all …]
/external/openssl/crypto/bn/asm/
Darmv4-mont.pl31 $bp="r2"; $bi="r2"; $rp="r2";
162 ldr $rp,[$_rp] @ pull rp
173 str $tj,[$rp],#4 @ rp[j]=
178 sub $rp,$rp,$aj @ "rewind" $rp
181 bic $np,$rp,$nhi
186 str $tj,[$rp],#4
Ds390x-mont.pl66 $rp="%r2"; # BN_ULONG *rp,
111 lghi $rp,-$stdframe-8 # leave room for carry bit
114 la $rp,0($rp,$sp)
115 la $sp,0($j,$rp) # alloca
233 l${g} $rp,`$stdframe+8+2*$SIZE_T`($j,$sp) # reincarnate rp
243 stg $alo,0($j,$rp)
252 ngr $np,$rp
260 stg $alo,0($j,$rp)
/external/openssl/crypto/
Dpariscid.pl17 $rp="%r2";
32 bv ($rp)
44 bv ($rp)
84 bv ($rp)
127 bv ($rp)
167 bv ($rp)
214 bv ($rp)

1234567