Home
last modified time | relevance | path

Searched refs:dptr (Results 1 – 25 of 58) sorted by relevance

123

/external/python/cpython2/Modules/
Dgdbmmodule.c100 okey.dptr=NULL; in dbm_length()
103 for (key=gdbm_firstkey(dp->di_dbm); key.dptr; in dbm_length()
106 if(okey.dsize) free(okey.dptr); in dbm_length()
120 if (!PyArg_Parse(key, "s#", &krec.dptr, &krec.dsize) ) in dbm_subscript()
129 if (drec.dptr == 0) { in dbm_subscript()
134 v = PyString_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
135 free(drec.dptr); in dbm_subscript()
144 if (!PyArg_Parse(v, "s#", &krec.dptr, &krec.dsize) ) { in dbm_ass_sub()
163 if (!PyArg_Parse(w, "s#", &drec.dptr, &drec.dsize)) { in dbm_ass_sub()
197 key.dptr = PyString_AS_STRING(arg); in dbm_contains()
[all …]
Ddbmmodule.c88 for ( key=dbm_firstkey(dp->di_dbm); key.dptr; in dbm_length()
102 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
108 if ( drec.dptr == 0 ) { in dbm_subscript()
118 return PyString_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
127 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
146 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
176 key.dptr = ptr; in dbm_contains()
185 return val.dptr != NULL; in dbm_contains()
228 for (key = dbm_firstkey(dp->di_dbm); key.dptr; in dbm_keys()
230 item = PyString_FromStringAndSize(key.dptr, key.dsize); in dbm_keys()
[all …]
/external/python/cpython3/Modules/
D_gdbmmodule.c108 okey.dptr=NULL; in dbm_length()
111 for (key=gdbm_firstkey(dp->di_dbm); key.dptr; in dbm_length()
114 if(okey.dsize) free(okey.dptr); in dbm_length()
128 if (!PyArg_Parse(key, "s#", &krec.dptr, &krec.dsize) ) in dbm_subscript()
137 if (drec.dptr == 0) { in dbm_subscript()
141 v = PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
142 free(drec.dptr); in dbm_subscript()
176 if (!PyArg_Parse(v, "s#", &krec.dptr, &krec.dsize) ) { in dbm_ass_sub()
194 if (!PyArg_Parse(w, "s#", &drec.dptr, &drec.dsize)) { in dbm_ass_sub()
287 while (key.dptr) { in _gdbm_gdbm_keys_impl()
[all …]
D_dbmmodule.c94 for ( key=dbm_firstkey(dp->di_dbm); key.dptr; in dbm_length()
108 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
114 if ( drec.dptr == 0 ) { in dbm_subscript()
123 return PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
132 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
150 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
211 for (key = dbm_firstkey(self->di_dbm); key.dptr; in _dbm_dbm_keys_impl()
213 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _dbm_dbm_keys_impl()
241 key.dptr = (char *)PyUnicode_AsUTF8AndSize(arg, &size); in dbm_contains()
243 if (key.dptr == NULL) in dbm_contains()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c216 key.dptr = (unsigned char *)keyname; in insert_tdb()
218 dbuf.dptr = (unsigned char *)data; in insert_tdb()
240 key.dptr = (unsigned char *)keyname; in store_tdb()
242 dbuf.dptr = (unsigned char *)data; in store_tdb()
262 key.dptr = (unsigned char *)keyname; in show_tdb()
266 if (!dbuf.dptr) { in show_tdb()
273 free( dbuf.dptr ); in show_tdb()
287 key.dptr = (unsigned char *)keyname; in delete_tdb()
310 key.dptr = (unsigned char *)keyname; in move_rec()
314 if (!dbuf.dptr) { in move_rec()
[all …]
Dtdb.c1182 data.dptr = offset + (unsigned char *)tdb->map_ptr; in tdb_parse_data()
1186 if (!(data.dptr = tdb_alloc_read(tdb, offset, len))) { in tdb_parse_data()
1191 free(data.dptr); in tdb_parse_data()
2577 key.dptr = (unsigned char *)&rec_ptr; in seen_insert()
2775 key.dptr = tdb_alloc_read(tdb, tl->off + sizeof(rec), in tdb_traverse_internal()
2777 if (!key.dptr) { in tdb_traverse_internal()
2786 dbuf.dptr = key.dptr + rec.key_len; in tdb_traverse_internal()
2792 SAFE_FREE(key.dptr); in tdb_traverse_internal()
2802 SAFE_FREE(key.dptr); in tdb_traverse_internal()
2805 SAFE_FREE(key.dptr); in tdb_traverse_internal()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll8 @dptr = external global double
115 ; CHECK: dptr
122 %double0 = load volatile double, double *@dptr
125 %double1 = load volatile double, double *@dptr
128 %double2 = load volatile double, double *@dptr
131 %double3 = load volatile double, double *@dptr
134 %double4 = load volatile double, double *@dptr
137 %double5 = load volatile double, double *@dptr
140 %double6 = load volatile double, double *@dptr
143 %double7 = load volatile double, double *@dptr
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll8 @dptr = external global double
115 ; CHECK: dptr
122 %double0 = load volatile double , double *@dptr
125 %double1 = load volatile double , double *@dptr
128 %double2 = load volatile double , double *@dptr
131 %double3 = load volatile double , double *@dptr
134 %double4 = load volatile double , double *@dptr
137 %double5 = load volatile double , double *@dptr
140 %double6 = load volatile double , double *@dptr
143 %double7 = load volatile double , double *@dptr
[all …]
/external/e2fsprogs/e2fsck/
Ddirinfo.c222 key.dptr = (unsigned char *) &ino; in e2fsck_get_dir_info()
226 if (!data.dptr) { in e2fsck_get_dir_info()
233 buf = (struct dir_info_ent *) data.dptr; in e2fsck_get_dir_info()
240 free(data.dptr); in e2fsck_get_dir_info()
308 key.dptr = (unsigned char *) &dir->ino; in e2fsck_put_dir_info()
310 data.dptr = (unsigned char *) &buf; in e2fsck_put_dir_info()
372 free(iter->tdb_iter.dptr); in e2fsck_dir_info_iter_end()
391 if (iter->tdb_iter.dptr == 0) in e2fsck_dir_info_iter()
395 if (!data.dptr) { in e2fsck_dir_info_iter()
400 buf = (struct dir_info_ent *) data.dptr; in e2fsck_dir_info_iter()
[all …]
/external/tcpdump/
Dprint-ospf.c891 register const u_char *dptr; in ospf_decode_lls() local
915 dptr = (const u_char *)op + length2; in ospf_decode_lls()
919 dptr = dptr + op->ospf_authdata[3]; in ospf_decode_lls()
926 ND_TCHECK2(*dptr, 2); in ospf_decode_lls()
927 ND_PRINT((ndo, "\n\t LLS: checksum: 0x%04x", (u_int)EXTRACT_16BITS(dptr))); in ospf_decode_lls()
929 dptr += 2; in ospf_decode_lls()
930 ND_TCHECK2(*dptr, 2); in ospf_decode_lls()
931 length2 = EXTRACT_16BITS(dptr); in ospf_decode_lls()
934 dptr += 2; in ospf_decode_lls()
935 ND_TCHECK(*dptr); in ospf_decode_lls()
[all …]
/external/u-boot/drivers/i2c/
Dtegra_i2c.c236 u8 *dptr; in send_recv_packets() local
251 dptr = trans->buf; in send_recv_packets()
254 u32 *wptr = (u32 *)dptr; in send_recv_packets()
260 memcpy(&local, dptr, last_bytes); in send_recv_packets()
261 } else if ((unsigned long)dptr & 3) { in send_recv_packets()
262 memcpy(&local, dptr, sizeof(u32)); in send_recv_packets()
283 memcpy(dptr, (char *)&local, last_bytes); in send_recv_packets()
284 else if ((unsigned long)dptr & 3) in send_recv_packets()
285 memcpy(dptr, &local, sizeof(u32)); in send_recv_packets()
291 dptr += sizeof(u32); in send_recv_packets()
/external/ltp/testcases/kernel/syscalls/readdir/
Dreaddir01.c155 struct dirent *dptr; in main() local
215 while ((dptr = readdir(test_dir)) != 0) { in main()
216 if (strcmp(dptr->d_name, ".") in main()
217 && strcmp(dptr->d_name, "..")) in main()
Dreaddir02.c67 struct dirent *dptr; in main() local
86 dptr = readdir(test_dir); in main()
94 if (dptr != NULL) { in main()
/external/clang/test/CodeGenCXX/
Dfunction-template-specialization.cpp25 void test2(int *iptr, double *dptr, int diff) { in test2() argument
29 dptr = next(dptr, diff); in test2()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadStoreElimination/
Dmerge-stores-big-endian.ll69 %dptr = bitcast i64* %ptr to i32*
75 store i32 67305985, i32* %dptr ; 04030201
94 %dptr = bitcast i64* %ptr to i32*
100 store i32 67305985, i32* %dptr ; 04030201
118 %dptr = bitcast i64* %ptr to i32*
122 store i32 67305985, i32* %dptr ; 04030201
148 %dptr = bitcast i8* %bptrm1 to i32*
151 store i32 1234, i32* %dptr, align 1
Dmerge-stores.ll67 %dptr = bitcast i64* %ptr to i32*
73 store i32 67305985, i32* %dptr ; 04030201
92 %dptr = bitcast i64* %ptr to i32*
98 store i32 67305985, i32* %dptr ; 04030201
116 %dptr = bitcast i64* %ptr to i32*
120 store i32 67305985, i32* %dptr ; 04030201
147 %dptr = bitcast i8* %bptrm1 to i32*
150 store i32 1234, i32* %dptr, align 1
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_buffer.c146 unsigned char *dptr = data_ptr + (c * 4); in sp_tgsi_store() local
148 format_desc->pack_rgba_uint(dptr, 0, temp, 0, 1, 1); in sp_tgsi_store()
173 unsigned char *dptr = data_ptr + (c * 4); in handle_op_uint() local
174 format_desc->fetch_rgba_uint(temp, dptr, 0, 0); in handle_op_uint()
271 unsigned char *dptr = data_ptr + (c * 4); in handle_op_uint() local
273 format_desc->pack_rgba_uint(dptr, 0, temp, 0, 1, 1); in handle_op_uint()
/external/u-boot/drivers/net/
Dravb.c104 u32 dptr; member
150 desc->dptr = (uintptr_t)packet; in ravb_send()
192 packet = (u8 *)(uintptr_t)desc->data.dptr; in ravb_recv()
259 eth->tx_desc[RAVB_NUM_TX_DESC - 1].dptr = (uintptr_t)eth->tx_desc; in ravb_tx_desc_init()
264 eth->base_desc[RAVB_TX_QUEUE_OFFSET].dptr = (uintptr_t)eth->tx_desc; in ravb_tx_desc_init()
281 eth->rx_desc[i].data.dptr = (uintptr_t)eth->rx_desc[i].packet; in ravb_rx_desc_init()
284 eth->rx_desc[i].link.dptr = (uintptr_t)&eth->rx_desc[i + 1]; in ravb_rx_desc_init()
289 eth->rx_desc[RAVB_NUM_RX_DESC - 1].link.dptr = (uintptr_t)eth->rx_desc; in ravb_rx_desc_init()
294 eth->base_desc[RAVB_RX_QUEUE_OFFSET].dptr = (uintptr_t)eth->rx_desc; in ravb_rx_desc_init()
/external/clang/test/SemaCXX/
Dbuiltin-ptrtomember-overload.cpp28 int test(D d, DPtr dptr) { in test() argument
29 return d->*dptr; in test()
/external/iptables/libxtables/
Dxtables.c620 struct xtables_match **dptr; in xtables_find_match() local
637 for (dptr = &xtables_pending_matches; *dptr; ) { in xtables_find_match()
638 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) { in xtables_find_match()
639 ptr = *dptr; in xtables_find_match()
640 *dptr = (*dptr)->next; in xtables_find_match()
644 dptr = &((*dptr)->next); in xtables_find_match()
715 struct xtables_target **dptr; in xtables_find_target() local
727 for (dptr = &xtables_pending_targets; *dptr; ) { in xtables_find_target()
728 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) { in xtables_find_target()
729 ptr = *dptr; in xtables_find_target()
[all …]
/external/skqp/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp149 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local
181 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
182 dptr++; in onFilterImage()
DSkMorphologyImageFilter.cpp544 SkPMColor* dptr = dst; in morph() local
553 *dptr = _mm_cvtsi128_si32(extreme); in morph()
554 dptr += dstStrideY; in morph()
577 SkPMColor* dptr = dst; in morph() local
585 *dptr = vget_lane_u32(vreinterpret_u32_u8(extreme), 0); in morph()
586 dptr += dstStrideY; in morph()
609 SkPMColor* dptr = dst; in morph() local
631 *dptr = SkPackARGB32(A, R, G, B); in morph()
632 dptr += dstStrideY; in morph()
/external/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp149 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local
181 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
182 dptr++; in onFilterImage()
DSkMorphologyImageFilter.cpp547 SkPMColor* dptr = dst; in morph() local
556 *dptr = _mm_cvtsi128_si32(extreme); in morph()
557 dptr += dstStrideY; in morph()
580 SkPMColor* dptr = dst; in morph() local
588 *dptr = vget_lane_u32(vreinterpret_u32_u8(extreme), 0); in morph()
589 dptr += dstStrideY; in morph()
612 SkPMColor* dptr = dst; in morph() local
634 *dptr = SkPackARGB32(A, R, G, B); in morph()
635 dptr += dstStrideY; in morph()
/external/ppp/pppd/
Dmain.c2166 key.dptr = PPPD_LOCK_KEY; in lock_db()
2167 key.dsize = strlen(key.dptr); in lock_db()
2180 key.dptr = PPPD_LOCK_KEY; in unlock_db()
2181 key.dsize = strlen(key.dptr); in unlock_db()
2209 key.dptr = db_key; in update_db_entry()
2211 dbuf.dptr = vbuf; in update_db_entry()
2230 key.dptr = (char *) str;
2232 dbuf.dptr = db_key;
2247 key.dptr = (char *) str;
2262 key.dptr = db_key; in cleanup_db()

123