Home
last modified time | relevance | path

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

1234567891011

/external/libpng/
Dpngtrans.c270 png_bytep rp = row; in png_do_invert() local
276 *rp = (png_byte)(~(*rp)); in png_do_invert()
277 rp++; in png_do_invert()
284 png_bytep rp = row; in png_do_invert() local
290 *rp = (png_byte)(~(*rp)); in png_do_invert()
291 rp += 2; in png_do_invert()
299 png_bytep rp = row; in png_do_invert() local
305 *rp = (png_byte)(~(*rp)); in png_do_invert()
306 *(rp + 1) = (png_byte)(~(*(rp + 1))); in png_do_invert()
307 rp += 4; in png_do_invert()
[all …]
/external/libopus/src/
Drepacketizer.c42 OpusRepacketizer *opus_repacketizer_init(OpusRepacketizer *rp) in opus_repacketizer_init() argument
44 rp->nb_frames = 0; in opus_repacketizer_init()
45 return rp; in opus_repacketizer_init()
50 OpusRepacketizer *rp; in opus_repacketizer_create() local
51 rp=(OpusRepacketizer *)opus_alloc(opus_repacketizer_get_size()); in opus_repacketizer_create()
52 if(rp==NULL)return NULL; in opus_repacketizer_create()
53 return opus_repacketizer_init(rp); in opus_repacketizer_create()
56 void opus_repacketizer_destroy(OpusRepacketizer *rp) in opus_repacketizer_destroy() argument
58 opus_free(rp); in opus_repacketizer_destroy()
61 static int opus_repacketizer_cat_impl(OpusRepacketizer *rp, const unsigned char *data, opus_int32 l… in opus_repacketizer_cat_impl() argument
[all …]
/external/chromium_org/third_party/opus/src/src/
Drepacketizer.c42 OpusRepacketizer *opus_repacketizer_init(OpusRepacketizer *rp) in opus_repacketizer_init() argument
44 rp->nb_frames = 0; in opus_repacketizer_init()
45 return rp; in opus_repacketizer_init()
50 OpusRepacketizer *rp; in opus_repacketizer_create() local
51 rp=(OpusRepacketizer *)opus_alloc(opus_repacketizer_get_size()); in opus_repacketizer_create()
52 if(rp==NULL)return NULL; in opus_repacketizer_create()
53 return opus_repacketizer_init(rp); in opus_repacketizer_create()
56 void opus_repacketizer_destroy(OpusRepacketizer *rp) in opus_repacketizer_destroy() argument
58 opus_free(rp); in opus_repacketizer_destroy()
61 static int opus_repacketizer_cat_impl(OpusRepacketizer *rp, const unsigned char *data, opus_int32 l… in opus_repacketizer_cat_impl() argument
[all …]
/external/qemu/distrib/libpng-1.2.46/
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/chromium_org/third_party/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/libpng/arm/
Dfilter_neon_intrinsics.c45 png_bytep rp = row; in png_read_filter_row_up_neon() local
49 for (; rp < rp_stop; rp += 16, pp += 16) in png_read_filter_row_up_neon()
53 qrp = vld1q_u8(rp); in png_read_filter_row_up_neon()
56 vst1q_u8(rp, qrp); in png_read_filter_row_up_neon()
64 png_bytep rp = row; in png_read_filter_row_sub3_neon() local
67 uint8x16_t vtmp = vld1q_u8(rp); in png_read_filter_row_sub3_neon()
74 for (; rp < rp_stop;) in png_read_filter_row_sub3_neon()
88 vtmp = vld1q_u8(rp + 12); in png_read_filter_row_sub3_neon()
92 vst1_lane_u32(png_ptr(uint32_t,rp), png_ldr(uint32x2_t,&vdest.val[0]), 0); in png_read_filter_row_sub3_neon()
93 rp += 3; in png_read_filter_row_sub3_neon()
[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.c403 unsigned int *rp=(unsigned int *)r_d; in BN_nist_mod_192() local
406 acc = rp[0]; acc += bp[3*2-6]; in BN_nist_mod_192()
407 acc += bp[5*2-6]; rp[0] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
409 acc += rp[1]; acc += bp[3*2-5]; in BN_nist_mod_192()
410 acc += bp[5*2-5]; rp[1] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
412 acc += rp[2]; acc += bp[3*2-6]; in BN_nist_mod_192()
414 acc += bp[5*2-6]; rp[2] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
416 acc += rp[3]; acc += bp[3*2-5]; in BN_nist_mod_192()
418 acc += bp[5*2-5]; rp[3] = (unsigned int)acc; acc >>= 32; in BN_nist_mod_192()
420 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 …]
/external/chromium_org/third_party/boringssl/src/crypto/bn/
Dmontgomery.c342 BN_ULONG *ap, *np, *rp, n0, v, carry;
359 rp = r->d;
363 memset(&rp[r->top], 0, (max - r->top) * sizeof(BN_ULONG));
369 for (carry = 0, i = 0; i < nl; i++, rp++) {
370 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2);
371 v = (v + carry + rp[nl]) & BN_MASK2;
372 carry |= (v != rp[nl]);
373 carry &= (v <= rp[nl]);
374 rp[nl] = v;
383 rp = ret->d;
[all …]
Dadd.c104 BN_ULONG *ap, *bp, *rp, carry, t1, t2; in BN_uadd() local
124 rp = r->d; in BN_uadd()
126 carry = bn_add_words(rp, ap, bp, min); in BN_uadd()
127 rp += min; in BN_uadd()
136 *(rp++) = t2; in BN_uadd()
144 *rp = 1; in BN_uadd()
149 if (dif && rp != ap) { in BN_uadd()
152 *(rp++) = *(ap++); in BN_uadd()
261 register BN_ULONG t1, t2, *ap, *bp, *rp; in BN_usub() local
280 rp = r->d; in BN_usub()
[all …]
/external/tcpdump/
Dprint-sunrpc.c88 register const struct sunrpc_msg *rp; in sunrpcrequest_print() local
96 rp = (struct sunrpc_msg *)bp; in sunrpcrequest_print()
100 EXTRACT_32BITS(&rp->rm_xid)); in sunrpcrequest_print()
104 EXTRACT_32BITS(&rp->rm_xid)); in sunrpcrequest_print()
129 EXTRACT_32BITS(&rp->rm_call.cb_proc))); in sunrpcrequest_print()
130 x = EXTRACT_32BITS(&rp->rm_call.cb_rpcvers); in sunrpcrequest_print()
134 switch (EXTRACT_32BITS(&rp->rm_call.cb_proc)) { in sunrpcrequest_print()
140 x = EXTRACT_32BITS(&rp->rm_call.cb_prog); in sunrpcrequest_print()
145 printf(".%u", EXTRACT_32BITS(&rp->rm_call.cb_vers)); in sunrpcrequest_print()
155 register struct rpcent *rp; local
[all …]
Dprint-nfs.c289 register const struct sunrpc_msg *rp; in nfsreply_print() local
293 rp = (const struct sunrpc_msg *)bp; in nfsreply_print()
295 TCHECK(rp->rm_xid); in nfsreply_print()
299 EXTRACT_32BITS(&rp->rm_xid)); in nfsreply_print()
303 EXTRACT_32BITS(&rp->rm_xid)); in nfsreply_print()
319 register const struct sunrpc_msg *rp; in nfsreply_print_noaddr() local
327 rp = (const struct sunrpc_msg *)bp; in nfsreply_print_noaddr()
329 TCHECK(rp->rm_reply.rp_stat); in nfsreply_print_noaddr()
330 reply_stat = EXTRACT_32BITS(&rp->rm_reply.rp_stat); in nfsreply_print_noaddr()
335 if (xid_map_find(rp, bp2, &proc, &vers) >= 0) in nfsreply_print_noaddr()
[all …]
Dprint-rip.c180 register const struct rip *rp; in rip_print() local
191 if (i < sizeof(*rp)) { in rip_print()
195 i -= sizeof(*rp); in rip_print()
197 rp = (struct rip *)dat; in rip_print()
201 rp->rip_vers); in rip_print()
203 switch (rp->rip_vers) { in rip_print()
216 print_unknown_data((u_int8_t *)&rp->rip_cmd,"\n\t",length); in rip_print()
223 rp->rip_cmd), in rip_print()
229 switch (rp->rip_cmd) { in rip_print()
233 printf(", routes: %u%s", j, rp->rip_vers == 2 ? " or less" : ""); 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/libunwind/tests/
Dia64-test-nat-asm.S37 br.call.sptk.many rp = b6;; \
52 br.ret.sptk.many rp
66 .save rp, loc1
67 mov loc1 = rp
89 mov rp = loc1
90 br.ret.sptk.many rp
104 .save rp, loc1
105 mov loc1 = rp
126 mov rp = loc1
127 br.ret.sptk.many rp
[all …]
Dia64-dyn-asm.S6 br.ret.sptk.many rp
19 mov r3 = rp
20 mov rp = loc0 // trash rp
32 br.call.sptk rp = b6
40 mov rp = r3
45 br.ret.sptk.many rp
54 mov loc0 = rp
62 mov rp = r2
79 mov rp = r3
80 br.ret.sptk.many rp
[all …]
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/sqlite/src/tool/
Dlemon.c216 struct rule *rp; /* The rule upon which the configuration is based */ member
246 struct rule *rp; /* The rule, if a reduce */ member
405 rc = ap1->x.rp->index - ap2->x.rp->index; in actioncmp()
437 newaction->x.rp = (struct rule *)arg; in Action_add()
660 struct rule *rp; in FindRulePrecedences() local
661 for(rp=xp->rule; rp; rp=rp->next){ in FindRulePrecedences()
662 if( rp->precsym==0 ){ in FindRulePrecedences()
664 for(i=0; i<rp->nrhs && rp->precsym==0; i++){ in FindRulePrecedences()
665 struct symbol *sp = rp->rhs[i]; in FindRulePrecedences()
669 rp->precsym = sp->subsym[j]; in FindRulePrecedences()
[all …]
/external/bison/src/
Dgram.c105 item_number *rp; in rule_rhs_print() local
106 for (rp = r->rhs; *rp >= 0; rp++) in rule_rhs_print()
107 fprintf (out, " %s", symbols[*rp]->tag); in rule_rhs_print()
121 item_number *rp; in rule_rhs_print_xml() local
123 for (rp = r->rhs; *rp >= 0; rp++) in rule_rhs_print_xml()
125 xml_escape (symbols[*rp]->tag)); in rule_rhs_print_xml()
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()
[all …]
Dnullable.c84 item_number *rp = NULL; in nullable_compute() local
86 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) in nullable_compute()
87 if (ISTOKEN (*rp)) in nullable_compute()
93 for (rp = rules_ruleno->rhs; *rp >= 0; ++rp) in nullable_compute()
96 p->next = rsets[*rp - ntokens]; in nullable_compute()
98 rsets[*rp - ntokens] = p; in nullable_compute()

1234567891011