/external/python/cpython2/Lib/bsddb/test/ |
D | test_all.py | 101 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 …]
|
D | test_basics.py | 415 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/ |
D | allfcts.c | 91 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/ |
D | exif-mnote-data-canon.c | 121 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/ |
D | exif-mnote-data-fuji.c | 83 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/ |
D | dbrecio.py | 78 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/ |
D | exif-mnote-data-pentax.c | 160 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/ |
D | exif-data.c | 165 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/ |
D | fd5_blitter.c | 250 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/ |
D | object.c | 114 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/ |
D | translate.c | 376 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()
|
D | dump.c | 182 printf("d_off = %x\n", tcp->doff); in dump_tcp_generic()
|
/external/libexif/libexif/olympus/ |
D | exif-mnote-data-olympus.c | 103 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/ |
D | tcp.h | 98 u_int16_t doff:4; member 107 u_int16_t doff:4; member
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_ra.c | 405 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/ |
D | test_select_reuseport_kern.c | 116 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()
|
D | bpf_flow.c | 188 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/ |
D | tcp.h | 32 doff:4, member 42 __u16 doff:4, member
|
/external/honggfuzz/examples/linux_kernel_ip/ |
D | linux-kernel-4.10.0.patch | 92 - 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/ |
D | tcp.h | 32 doff:4, member 42 __u16 doff:4, member
|
/external/libnl/ |
D | make.log | 75 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/ |
D | vrend_iov.h | 38 typedef void (*iov_cb)(void *cookie, unsigned int doff, void *src, int len);
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 511 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/ |
D | edma.h | 64 u16 doff; /* 0x16 Signed Destination Address Offset */ member
|
/external/iptables/utils/ |
D | nfsynproxy.c | 45 length = th->doff * 4 - sizeof(*th); in parse_packet()
|