Home
last modified time | relevance | path

Searched refs:doff (Results 1 – 25 of 28) sorted by relevance

12

/external/python/cpython2/Lib/bsddb/test/
Dtest_all.py101 def set_range(self, k, dlen=-1, doff=-1) : argument
104 v = self._dbcursor.set_range(k, dlen=dlen, doff=doff)
119 def put(self, key, data, flags=0, dlen=-1, doff=-1) : argument
125 doff=doff)
127 def current(self, flags=0, dlen=-1, doff=-1) : argument
128 v = self._dbcursor.current(flags=flags, dlen=dlen, doff=doff)
265 def put(self, key, data, txn=None, flags=0, dlen=-1, doff=-1) : argument
271 doff=doff)
288 def get(self, key, default="MagicCookie", txn=None, flags=0, dlen=-1, doff=-1) : argument
293 dlen=dlen, doff=doff)
[all …]
Dtest_basics.py415 rec = c.set_range('011',dlen=0,doff=0)
450 c2.put('', 'er', db.DB_CURRENT, dlen=0, doff=5)
556 self.assertEqual(d.get(key, dlen=20, doff=990),
560 self.assertEqual(d.get("partialtest2", dlen=5, doff=30000), "robin")
568 d.put(key, "0000", dlen=2000, doff=0)
571 d.put(key, "1111", dlen=1, doff=2)
/external/elfutils/tests/
Dallfcts.c91 ptrdiff_t doff = 0; in main() local
94 doff = dwarf_getfuncs (die, cb, NULL, doff); in main()
99 while (doff != 0); in main()
/external/libexif/libexif/canon/
Dexif-mnote-data-canon.c121 size_t i, o, s, doff; in exif_mnote_data_canon_save() local
170 doff = *buf_size - s; in exif_mnote_data_canon_save()
171 if (s & 1) { doff--; *(*buf + *buf_size - 1) = '\0'; } in exif_mnote_data_canon_save()
172 exif_set_long (*buf + o, n->order, n->offset + doff); in exif_mnote_data_canon_save()
174 doff = o; in exif_mnote_data_canon_save()
180 if (!n->entries[i].data) memset (*buf + doff, 0, s); in exif_mnote_data_canon_save()
181 else memcpy (*buf + doff, n->entries[i].data, s); in exif_mnote_data_canon_save()
182 if (s < 4) memset (*buf + doff + s, 0, (4 - s)); in exif_mnote_data_canon_save()
/external/libexif/libexif/fuji/
Dexif-mnote-data-fuji.c83 size_t i, o, s, doff; in exif_mnote_data_fuji_save() local
136 doff = *buf_size - s; in exif_mnote_data_fuji_save()
137 if (s & 1) { doff--; *(*buf + *buf_size - 1) = '\0'; } in exif_mnote_data_fuji_save()
138 exif_set_long (*buf + o, n->order, doff); in exif_mnote_data_fuji_save()
140 doff = o; in exif_mnote_data_fuji_save()
146 if (!n->entries[i].data) memset (*buf + doff, 0, s); in exif_mnote_data_fuji_save()
147 else memcpy (*buf + doff, n->entries[i].data, s); in exif_mnote_data_fuji_save()
/external/python/cpython2/Lib/bsddb/
Ddbrecio.py78 r = self.db.get(self.key, txn=self.txn, dlen=dlen, doff=self.pos)
124 self.db.put(self.key, "", txn=self.txn, dlen=self.len-size, doff=size)
134 self.db.put(self.key, s, txn=self.txn, dlen=len(s), doff=self.pos)
/external/libexif/libexif/pentax/
Dexif-mnote-data-pentax.c160 size_t doff; /* offset to current data portion of tag */ in exif_mnote_data_pentax_save() local
181 doff = *buf_size; in exif_mnote_data_pentax_save()
190 exif_set_long (*buf + o, n->order, datao + doff); in exif_mnote_data_pentax_save()
192 doff = o; in exif_mnote_data_pentax_save()
196 memcpy (*buf + doff, n->entries[i].data, s); in exif_mnote_data_pentax_save()
199 memset (*buf + doff, 0, s); in exif_mnote_data_pentax_save()
/external/libexif/libexif/
Dexif-data.c165 unsigned int s, doff; in exif_data_load_data_entry() local
190 doff = exif_get_long (d + offset + 8, data->priv->order); in exif_data_load_data_entry()
192 doff = offset + 8; in exif_data_load_data_entry()
195 int64_t doff64 = doff; in exif_data_load_data_entry()
207 memcpy (entry->data, d + doff, s); in exif_data_load_data_entry()
227 data->priv->offset_mnote = doff; in exif_data_load_data_entry()
237 unsigned int doff, s; in exif_data_save_data_entry() local
275 doff = *ds - 6; in exif_data_save_data_entry()
292 exif_set_long (*d + 6 + offset + 8, data->priv->order, doff); in exif_data_save_data_entry()
297 doff = offset + 8; in exif_data_save_data_entry()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c250 unsigned soff, doff, w, p; in emit_blit_buffer() local
253 doff = (dbox->x + off) & ~0x3f; in emit_blit_buffer()
259 debug_assert((doff + w) <= fd_bo_size(dst->bo)); in emit_blit_buffer()
291 OUT_RELOCW(ring, dst->bo, doff, 0, 0); /* RB_2D_DST_LO/HI */ in emit_blit_buffer()
387 unsigned doff = fd_resource_offset(dst, info->dst.level, dbox->z + i); in emit_blit() local
390 debug_assert((doff + (dbox->height * dpitch)) <= fd_bo_size(dst->bo)); in emit_blit()
423 OUT_RELOCW(ring, dst->bo, doff, 0, 0); /* RB_2D_DST_LO/HI */ in emit_blit()
/external/libnl/lib/
Dobject.c114 int doff = offsetof(struct nl_derived_object, data); in nl_object_clone() local
125 size = ops->oo_size - doff; in nl_object_clone()
134 memcpy((void *)new + doff, (void *)obj + doff, size); in nl_object_clone()
/external/android-clat/
Dtranslate.c376 if (tcp->doff < 5) { in tcp_packet()
377 logmsg_dbg(ANDROID_LOG_ERROR, "tcp_packet/tcp header length set to less than 5: %x", tcp->doff); in tcp_packet()
381 if ((size_t)tcp->doff * 4 > len) { in tcp_packet()
382 logmsg_dbg(ANDROID_LOG_ERROR, "tcp_packet/tcp header length set too large: %x", tcp->doff); in tcp_packet()
386 header_size = tcp->doff * 4; in tcp_packet()
Ddump.c182 printf("d_off = %x\n", tcp->doff); in dump_tcp_generic()
/external/libexif/libexif/olympus/
Dexif-mnote-data-olympus.c103 size_t i, o, s, doff, base = 0, o2 = 6 + 2; in exif_mnote_data_olympus_save() local
212 doff = *buf_size; in exif_mnote_data_olympus_save()
222 exif_set_long (*buf + o, n->order, datao + doff); in exif_mnote_data_olympus_save()
224 doff = o; in exif_mnote_data_olympus_save()
228 memcpy (*buf + doff, n->entries[i].data, s); in exif_mnote_data_olympus_save()
231 memset (*buf + doff, 0, s); in exif_mnote_data_olympus_save()
/external/iproute2/include/netinet/
Dtcp.h98 u_int16_t doff:4; member
107 u_int16_t doff:4; member
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_ra.c405 int dsz, doff; in get_definer() local
415 dd = get_definer(ctx, src->instr, &dsz, &doff); in get_definer()
420 *off = doff - n; in get_definer()
481 int dsz, doff; in get_definer() local
483 dd = get_definer(ctx, phi, &dsz, &doff); in get_definer()
486 *off = doff; in get_definer()
515 int dsz, doff; in get_definer() local
517 dd = get_definer(ctx, d->regs[1]->instr, &dsz, &doff); in get_definer()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_select_reuseport_kern.c116 if ((th->doff << 2) + sizeof(*cmd) > data_check.len) in _select_by_skb_data()
118 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy, in _select_by_skb_data()
Dbpf_flow.c188 if (tcp->doff < 5) in parse_ip_proto()
191 if ((__u8 *)tcp + (tcp->doff << 2) > data_end) in parse_ip_proto()
/external/iproute2/include/uapi/linux/
Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/external/honggfuzz/examples/linux_kernel_ip/
Dlinux-kernel-4.10.0.patch92 - if (len < (th->doff << 2) || tcp_checksum_complete(skb))
93 + if (len < (th->doff << 2) || (tcp_checksum_complete(skb) && skb == NULL))
120 * provided case of th->doff==0 is eliminated.
/external/kernel-headers/original/uapi/linux/
Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/external/libnl/
Dmake.log75 memcpy((void *)new + doff, (void *)obj + doff, size);
78 memcpy((void *)new + doff, (void *)obj + doff, size);
286 memcpy((void *)new + doff, (void *)obj + doff, size);
289 memcpy((void *)new + doff, (void *)obj + doff, size);
/external/virglrenderer/src/
Dvrend_iov.h38 typedef void (*iov_cb)(void *cookie, unsigned int doff, void *src, int len);
/external/python/cpython2/Modules/
D_bsddb.c511 static int add_partial_dbt(DBT* d, int dlen, int doff) { in add_partial_dbt() argument
513 if ((dlen == -1) && (doff == -1)) { in add_partial_dbt()
517 if ((dlen < 0) || (doff < 0)) { in add_partial_dbt()
524 d->doff = (unsigned int) doff; in add_partial_dbt()
795 int doff = -1; in _DBCursor_get() local
800 &flags, &dlen, &doff)) in _DBCursor_get()
808 if (!add_partial_dbt(&data, dlen, doff)) in _DBCursor_get()
1970 int doff = -1; in DB_get() local
1978 &doff)) in DB_get()
1994 if (!add_partial_dbt(&data, dlen, doff)) { in DB_get()
[all …]
/external/u-boot/arch/m68k/include/asm/coldfire/
Dedma.h64 u16 doff; /* 0x16 Signed Destination Address Offset */ member
/external/iptables/utils/
Dnfsynproxy.c45 length = th->doff * 4 - sizeof(*th); in parse_packet()

12