Home
last modified time | relevance | path

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

1234567

/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/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngtrans.c267 png_bytep rp = row; in png_do_invert() local
273 *rp = (png_byte)(~(*rp)); in png_do_invert()
274 rp++; in png_do_invert()
281 png_bytep rp = row; in png_do_invert() local
287 *rp = (png_byte)(~(*rp)); in png_do_invert()
288 rp += 2; in png_do_invert()
296 png_bytep rp = row; in png_do_invert() local
302 *rp = (png_byte)(~(*rp)); in png_do_invert()
303 *(rp + 1) = (png_byte)(~(*(rp + 1))); in png_do_invert()
304 rp += 4; in png_do_invert()
[all …]
Dfx_pngwtran.c585 png_bytep rp; in png_do_write_intrapixel() local
597 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
599 *(rp) = (png_byte)((*rp - *(rp + 1)) & 0xff); in png_do_write_intrapixel()
600 *(rp + 2) = (png_byte)((*(rp + 2) - *(rp + 1)) & 0xff); in png_do_write_intrapixel()
607 png_bytep rp; in png_do_write_intrapixel() local
619 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_write_intrapixel()
621 png_uint_32 s0 = (*(rp ) << 8) | *(rp + 1); in png_do_write_intrapixel()
622 png_uint_32 s1 = (*(rp + 2) << 8) | *(rp + 3); in png_do_write_intrapixel()
623 png_uint_32 s2 = (*(rp + 4) << 8) | *(rp + 5); in png_do_write_intrapixel()
626 *(rp ) = (png_byte)((red >> 8) & 0xff); in png_do_write_intrapixel()
[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/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/boringssl/src/crypto/bn/
Dmontgomery.c337 BN_ULONG *ap, *np, *rp, n0, v, carry;
354 rp = r->d;
358 memset(&rp[r->top], 0, (max - r->top) * sizeof(BN_ULONG));
364 for (carry = 0, i = 0; i < nl; i++, rp++) {
365 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2);
366 v = (v + carry + rp[nl]) & BN_MASK2;
367 carry |= (v != rp[nl]);
368 carry &= (v <= rp[nl]);
369 rp[nl] = v;
378 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/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 …]
Dia64-test-stack-asm.S61 mov r16 = rp
63 .savesp rp, SAVED_RP_OFF+16
97 (p6) br.call.sptk.many rp = stack_it // next iteration
98 (p7) br.call.sptk.many rp = do_unwind_tests // time for introspection...
111 mov rp = r17
119 br.ret.sptk.many rp
132 .save rp, loc0
133 mov loc0 = rp
170 (p6) br.call.sptk.many rp = stack_it
171 (p7) br.call.sptk.many rp = touch_all
[all …]
Dia64-test-readonly-asm.S35 mov loc1 = rp
36 .save rp, r0
43 br.call.sptk.many rp = b6
46 mov rp = loc1
48 br.ret.sptk.many rp
/external/tcpdump/
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-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-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/icu/icu4c/source/tools/tzcode/
Dzic.c170 static zic_t rpytime(const struct rule * rp, zic_t wantedy);
171 static void rulesub(struct rule * rp,
901 register struct rule * rp; in associate() local
939 rp = &rules[base]; in associate()
941 if (strcmp(rp->r_name, rules[out].r_name) != 0) in associate()
945 if (strcmp(zp->z_rule, rp->r_name) != 0) in associate()
947 zp->z_rules = rp; in associate()
1393 rulesub(register struct rule *const rp, in rulesub() argument
1410 rp->r_month = lp->l_value; in rulesub()
1411 rp->r_todisstd = FALSE; in rulesub()
[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()
Dderives.c49 rule **rp; in print_derives() local
51 for (rp = derives[i - ntokens]; *rp; ++rp) in print_derives()
53 fprintf (stderr, "\t\t%3d ", (*rp)->user_number); in print_derives()
54 rule_rhs_print (*rp, stderr); in print_derives()
Dlalr.c237 item_number const *rp; in build_relations() local
241 for (rp = (*rulep)->rhs; ! item_number_is_rule_number (*rp); rp++) in build_relations()
244 item_number_as_symbol_number (*rp)); in build_relations()
259 rp--; in build_relations()
260 if (ISVAR (*rp)) in build_relations()
264 item_number_as_symbol_number (*rp)); in build_relations()
265 if (nullable[*rp - ntokens]) in build_relations()
332 reductions *rp = s->reductions; in state_lookahead_tokens_count() local
350 if (rp->num > 1 in state_lookahead_tokens_count()
351 || (rp->num == 1 && sp->num && TRANSITION_IS_SHIFT (sp, 0)) in state_lookahead_tokens_count()
[all …]
/external/toybox/toys/pending/
Dtelnet.c59 struct addrinfo *info, *rp; local
62 rp = xzalloc(sizeof(struct addrinfo));
63 rp->ai_family = AF_UNSPEC;
64 rp->ai_socktype = SOCK_STREAM;
65 rp->ai_protocol = IPPROTO_TCP;
68 ret = getaddrinfo(host, buf, rp, &info);
70 free(rp);
72 for (rp = info; rp; rp = rp->ai_next)
73 if ( (rp->ai_family == AF_INET) || (rp->ai_family == AF_INET6)) break;
75 if (!rp) error_exit("Invalid IP %s", host);
[all …]
/external/eigen/test/
Dpermutationmatrices.cpp35 RightPermutationType rp(rv); in permutationmatrices() local
36 MatrixType m_permuted = lp * m_original * rp; in permutationmatrices()
43 Matrix<Scalar,Cols,Cols> rm(rp); in permutationmatrices()
47 VERIFY_IS_APPROX(lp.inverse()*m_permuted*rp.inverse(), m_original); in permutationmatrices()
73 m_permuted = m_permuted * rp.inverse(); in permutationmatrices()
74 VERIFY_IS_APPROX(m_permuted, m_original*rp.inverse()); in permutationmatrices()
81 m_permuted = m_permuted * rp; in permutationmatrices()
82 VERIFY_IS_APPROX(m_permuted, m_original*rp); in permutationmatrices()
95 RightPermutationType rp2 = rp; in permutationmatrices()
99 rm = rp; in permutationmatrices()
/external/libunwind/src/ia64/
Dsiglongjmp.S36 .save rp, r15
50 .save rp, loc0
59 br.call.sptk.many rp = sigprocmask
61 mov rp = loc0
64 br.ret.sptk.many rp
/external/libvpx/libvpx/vp8/encoder/
Dssim.c19 int rp, in vp8_ssim_parms_16x16_c() argument
28 for(i=0;i<16;i++,s+=sp,r+=rp) in vp8_ssim_parms_16x16_c()
45 int rp, in vp8_ssim_parms_8x8_c() argument
54 for(i=0;i<8;i++,s+=sp,r+=rp) in vp8_ssim_parms_8x8_c()
97 static double ssim_16x16(unsigned char *s,int sp, unsigned char *r,int rp) in ssim_16x16() argument
100 vp8_ssim_parms_16x16(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, &sum_sxr); in ssim_16x16()
103 static double ssim_8x8(unsigned char *s,int sp, unsigned char *r,int rp) in ssim_8x8() argument
106 vp8_ssim_parms_8x8(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, &sum_sxr); in ssim_8x8()
112 long dssim(unsigned char *s,int sp, unsigned char *r,int rp) in dssim() argument
125 vp8_ssim_parms_16x16(s, sp, r, rp, &sum_s, &sum_r, &sum_sq_s, &sum_sq_r, &sum_sxr); in dssim()

1234567