/external/libpng/ |
D | pngtrans.c | 218 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 …]
|
D | pngwtran.c | 538 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/ |
D | pngtrans.c | 188 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 …]
|
D | pngwtran.c | 528 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/bluetooth/bluez/lib/ |
D | hci.c | 1226 evt_conn_complete rp; in hci_create_connection() local 1243 rq.rparam = &rp; in hci_create_connection() 1249 if (rp.status) { in hci_create_connection() 1254 *handle = rp.handle; in hci_create_connection() 1260 evt_disconn_complete rp; in hci_disconnect() local 1274 rq.rparam = &rp; in hci_disconnect() 1280 if (rp.status) { in hci_disconnect() 1289 read_local_name_rp rp; in hci_read_local_name() local 1295 rq.rparam = &rp; in hci_read_local_name() 1301 if (rp.status) { in hci_read_local_name() [all …]
|
/external/bluetooth/hcidump/parser/ |
D | hci.c | 1707 read_link_policy_rp *rp = frm->ptr; in read_link_policy_dump() local 1708 uint16_t policy = btohs(rp->policy); in read_link_policy_dump() 1713 rp->status, btohs(rp->handle), policy); in read_link_policy_dump() 1715 if (rp->status > 0) { in read_link_policy_dump() 1717 printf("Error: %s\n", status2str(rp->status)); in read_link_policy_dump() 1752 read_pin_type_rp *rp = frm->ptr; in read_pin_type_dump() local 1755 printf("status 0x%2.2x type %d\n", rp->status, rp->pin_type); in read_pin_type_dump() 1757 if (rp->status > 0) { in read_pin_type_dump() 1759 printf("Error: %s\n", status2str(rp->status)); in read_pin_type_dump() 1765 read_stored_link_key_rp *rp = frm->ptr; in read_stored_link_key_dump() local [all …]
|
/external/openssl/crypto/bn/ |
D | bn_add.c | 108 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 …]
|
D | bn_mont.c | 180 BN_ULONG *ap,*np,*rp,n0,v,*nrp; in BN_from_montgomery_word() local 196 rp=r->d; in BN_from_montgomery_word() 220 t1 = rp[0] * (n0 & 0177777); in BN_from_montgomery_word() 223 t3 = rp[0] & 0177777; in BN_from_montgomery_word() 226 v=bn_mul_add_words(rp,np,nl,(BN_ULONG) t1); in BN_from_montgomery_word() 229 v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2); in BN_from_montgomery_word() 232 rp++; in BN_from_montgomery_word() 260 rp=ret->d; in BN_from_montgomery_word() 266 v=bn_sub_words(rp,ap,np,ri); in BN_from_montgomery_word() 280 nrp=(BN_ULONG *)(((size_t)rp&~m1)|((size_t)ap&m1)); in BN_from_montgomery_word() [all …]
|
D | bn_sqr.c | 162 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()
|
/external/blktrace/btt/ |
D | trace_remap.c | 23 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/tcpdump/ |
D | print-nfs.c | 289 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 …]
|
D | print-sunrpc.c | 73 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 …]
|
D | print-rip.c | 162 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 …]
|
D | print-ripng.c | 64 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/ |
D | zic.c | 167 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/third_party/icu/source/tools/tzcode/ |
D | zic.c | 167 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/bluetooth/bluez/tools/ |
D | csr_h4.c | 86 unsigned char cp[254], rp[254]; in do_command() local 125 if (read(fd, rp, 1) < 1) in do_command() 127 } while (rp[0] != 0x04); in do_command() 129 if (read(fd, rp + 1, 2) < 2) in do_command() 133 len = read(fd, rp + offset, sizeof(rp) - offset); in do_command() 135 } while (offset < rp[2] + 3); in do_command() 137 if (rp[0] != 0x04 || rp[1] != 0xff || rp[3] != 0xc2) { in do_command() 142 if ((rp[12] + (rp[13] << 8)) != 0) { in do_command() 147 memcpy(value, rp + 14, length); in do_command()
|
D | csr.c | 2360 unsigned char cp[254], rp[254]; in csr_write_varid_valueless() local 2381 rq.rparam = rp; in csr_write_varid_valueless() 2382 rq.rlen = sizeof(rp); in csr_write_varid_valueless() 2387 if (rp[0] != 0xc2) { in csr_write_varid_valueless() 2392 if ((rp[9] + (rp[10] << 8)) != 0) { in csr_write_varid_valueless() 2406 unsigned char cp[254], rp[254]; in csr_write_varid_complex() local 2420 rq.rparam = rp; in csr_write_varid_complex() 2421 rq.rlen = sizeof(rp); in csr_write_varid_complex() 2426 if (rp[0] != 0xc2) { in csr_write_varid_complex() 2431 if ((rp[9] + (rp[10] << 8)) != 0) { in csr_write_varid_complex() [all …]
|
D | hciattach_st.c | 48 unsigned char cp[260], rp[260]; in do_command() local 71 if (read(fd, rp, 1) < 1) in do_command() 73 } while (rp[0] != 0x04); in do_command() 75 if (read(fd, rp + 1, 2) < 2) in do_command() 79 len = read(fd, rp + offset, sizeof(rp) - offset); in do_command() 81 } while (offset < rp[2] + 3); in do_command() 87 printf(" %02x", rp[i]); in do_command() 91 if (rp[0] != 0x04) { in do_command() 96 switch (rp[1]) { in do_command() 98 if (rp[6] != 0x00) in do_command() [all …]
|
D | csr_usb.c | 105 unsigned char cp[254], rp[254]; in do_command() local 131 usb_interrupt_read(udev, 0x81, (void *) rp, sizeof(rp), 2); in do_command() 147 (void *) (rp + offset), sizeof(rp) - offset, 10); in do_command() 151 if (rp[0] != 0xff || rp[2] != 0xc2) { in do_command() 156 if ((rp[11] + (rp[12] << 8)) != 0) { in do_command() 161 memcpy(value, rp + 13, length); in do_command()
|
D | csr_hci.c | 89 unsigned char cp[254], rp[254]; in do_command() local 126 rq.rparam = rp; in do_command() 127 rq.rlen = sizeof(rp); in do_command() 132 if (rp[0] != 0xc2) { in do_command() 137 if ((rp[9] + (rp[10] << 8)) != 0) { in do_command() 142 memcpy(value, rp + 11, length); in do_command()
|
/external/bison/src/ |
D | gram.c | 132 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()
|
D | nullable.c | 86 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()
|
D | lalr.c | 248 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/openssl/crypto/bn/asm/ |
D | s390x-mont.pl | 39 $rp="%r2"; # BN_ULONG *rp, 77 lghi $rp,-160-8 # leave room for carry bit 80 la $rp,0($rp,$sp) 81 la $sp,0($j,$rp) # alloca 188 lg $rp,160+8+16($j,$sp) # reincarnate rp 196 stg $alo,0($j,$rp) 205 ngr $np,$rp 212 stg $alo,0($j,$rp)
|