Home
last modified time | relevance | path

Searched refs:dbuf (Results 1 – 25 of 32) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c107 static int print_rec(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
108 static int print_key(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
109 static int print_hexkey(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state);
209 TDB_DATA key, dbuf; in insert_tdb() local
218 dbuf.dptr = (unsigned char *)data; in insert_tdb()
219 dbuf.dsize = datalen; in insert_tdb()
221 if (tdb_store(tdb, key, dbuf, TDB_INSERT) == -1) { in insert_tdb()
228 TDB_DATA key, dbuf; in store_tdb() local
242 dbuf.dptr = (unsigned char *)data; in store_tdb()
243 dbuf.dsize = datalen; in store_tdb()
[all …]
Dtdb.c2759 TDB_DATA key, dbuf; in tdb_traverse_internal() local
2786 dbuf.dptr = key.dptr + rec.key_len; in tdb_traverse_internal()
2787 dbuf.dsize = rec.data_len; in tdb_traverse_internal()
2795 if (fn && fn(tdb, key, dbuf, private_data)) { in tdb_traverse_internal()
3153 static int tdb_update_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, TDB_DATA dbuf) in tdb_update_hash() argument
3163 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off_t)) { in tdb_update_hash()
3169 dbuf.dptr, dbuf.dsize) == -1) in tdb_update_hash()
3172 if (dbuf.dsize != rec.data_len) { in tdb_update_hash()
3174 rec.data_len = dbuf.dsize; in tdb_update_hash()
3457 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag) in tdb_store() argument
[all …]
/external/u-boot/fs/btrfs/
Dextent-io.c17 char *dbuf; in btrfs_read_extent_inline() local
37 dbuf = malloc(dlen); in btrfs_read_extent_inline()
38 if (!dbuf) in btrfs_read_extent_inline()
41 dbuf = out; in btrfs_read_extent_inline()
44 res = btrfs_decompress(extent->compression, cbuf, clen, dbuf, dlen); in btrfs_read_extent_inline()
49 memcpy(out, dbuf + offset, size); in btrfs_read_extent_inline()
50 free(dbuf); in btrfs_read_extent_inline()
52 memmove(out, dbuf + offset, size); in btrfs_read_extent_inline()
59 free(dbuf); in btrfs_read_extent_inline()
69 char *cbuf, *dbuf; in btrfs_read_extent_reg() local
[all …]
Dcompression.c13 static u32 decompress_lzo(const u8 *cbuf, u32 clen, u8 *dbuf, u32 dlen) in decompress_lzo() argument
45 ret = lzo1x_decompress_safe(cbuf, in_len, dbuf, &out_len); in decompress_lzo()
51 dbuf += out_len; in decompress_lzo()
63 static u32 decompress_zlib(const u8 *_cbuf, u32 clen, u8 *dbuf, u32 dlen) in decompress_zlib() argument
76 stream.next_out = dbuf; in decompress_zlib()
115 u8 *dbuf; in btrfs_decompress() local
118 dbuf = (u8 *) d; in btrfs_decompress()
123 memcpy(dbuf, cbuf, res); in btrfs_decompress()
126 return decompress_zlib(cbuf, clen, dbuf, dlen); in btrfs_decompress()
128 return decompress_lzo(cbuf, clen, dbuf, dlen); in btrfs_decompress()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc152 void test_internal_strlcpy(char *dbuf, const char *sbuf) { in test_internal_strlcpy() argument
154 retval = internal_strlcpy(dbuf, sbuf, kStrlcpyBufSize); in test_internal_strlcpy()
155 EXPECT_EQ(internal_strncmp(dbuf, sbuf, kStrlcpyBufSize - 1), 0); in test_internal_strlcpy()
156 EXPECT_EQ(internal_strlen(dbuf), in test_internal_strlcpy()
163 retval = internal_strlcpy(dbuf, sbuf, maxlen); in test_internal_strlcpy()
164 EXPECT_EQ(internal_strncmp(dbuf, sbuf, maxlen - 1), 0); in test_internal_strlcpy()
165 EXPECT_EQ(internal_strlen(dbuf), maxlen - 1); in test_internal_strlcpy()
176 char dbuf[kStrlcpyBufSize] = {}; in TEST() local
182 internal_strlcpy(dbuf, shortstr, 0); in TEST()
183 EXPECT_EQ(dbuf[0], 0); in TEST()
[all …]
/external/iproute2/tc/
Dm_skbmod.c58 char dbuf[ETH_ALEN]; in parse_skbmod() local
93 dbuf, dbuf + 1, dbuf + 2, in parse_skbmod()
94 dbuf + 3, dbuf + 4, dbuf + 5) != 6) { in parse_skbmod()
151 addattr_l(n, MAX_MSG, TCA_SKBMOD_DMAC, dbuf, ETH_ALEN); in parse_skbmod()
Dm_ife.c63 char dbuf[ETH_ALEN]; in parse_ife() local
134 dbuf, dbuf + 1, dbuf + 2, in parse_ife()
135 dbuf + 3, dbuf + 4, dbuf + 5) != 6) { in parse_ife()
189 addattr_l(n, MAX_MSG, TCA_IFE_DMAC, dbuf, ETH_ALEN); in parse_ife()
/external/toybox/toys/other/
Dbzcat.c77 unsigned int *dbuf; member
324 unsigned hh, *dbuf = bw->dbuf; in read_huffman_data() local
410 while (hh--) dbuf[dbufCount++] = uc; in read_huffman_data()
433 dbuf[dbufCount++] = (unsigned int)uc; in read_huffman_data()
455 unsigned int *dbuf = bw->dbuf; in burrows_wheeler_prep() local
469 unsigned char uc = dbuf[ii]; in burrows_wheeler_prep()
470 dbuf[byteCount[uc]] |= (ii << 8); in burrows_wheeler_prep()
485 bw->writePos = dbuf[bw->origPtr]; in burrows_wheeler_prep()
515 unsigned int *dbuf = bw->dbuf; in write_bunzip_data() local
547 pos = dbuf[pos]; in write_bunzip_data()
[all …]
/external/u-boot/drivers/block/
Dide.c134 ushort *dbuf; in ide_output_data_shorts() local
138 dbuf = (ushort *)sect_buf; in ide_output_data_shorts()
145 *pbuf = *dbuf++; in ide_output_data_shorts()
151 ushort *dbuf; in ide_input_data_shorts() local
155 dbuf = (ushort *)sect_buf; in ide_input_data_shorts()
162 *dbuf++ = *pbuf; in ide_input_data_shorts()
856 ushort *dbuf = (ushort *)sect_buf; in ide_input_swap_data() local
863 *dbuf++ = swab16p((u16 *)pbuf); in ide_input_swap_data()
864 *dbuf++ = swab16p((u16 *)pbuf); in ide_input_swap_data()
866 *dbuf++ = ld_le16(pbuf); in ide_input_swap_data()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_vunmap/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
11 print fmt: "dmabuf=%p", REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_kunmap/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
11 print fmt: "dmabuf=%p", REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_kmap/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
11 print fmt: "dmabuf=%p", REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_vmap/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
11 print fmt: "dmabuf=%p", REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_mmap/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
11 print fmt: "dmabuf=%p", REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_detach/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
12 print fmt: "dmabuf=%p, device=%s", REC->dbuf, __get_str(name)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_map_dma_buf/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
12 print fmt: "dmabuf=%p, device=%s", REC->dbuf, __get_str(name)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_attach/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
12 print fmt: "dmabuf=%p, device=%s", REC->dbuf, __get_str(name)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_unmap_dma_buf/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
12 print fmt: "dmabuf=%p, device=%s", REC->dbuf, __get_str(name)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_release/
Dformat11 field:struct dma_buf * dbuf; offset:24; size:8; signed:0;
13 print fmt: "cli=%s handle=%p dmabuf=%p", REC->cli, REC->h, REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_make_dmabuf/
Dformat11 field:struct dma_buf * dbuf; offset:24; size:8; signed:0;
13 print fmt: "cli=%s handle=%p dmabuf=%p", REC->cli, REC->h, REC->dbuf
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_end_cpu_access/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
13 print fmt: "dmabuf=%p, start=%zd len=%zd", REC->dbuf, REC->start, REC->len
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvmap/nvmap_dmabuf_begin_cpu_access/
Dformat9 field:struct dma_buf * dbuf; offset:8; size:8; signed:0;
13 print fmt: "dmabuf=%p, start=%zd len=%zd", REC->dbuf, REC->start, REC->len
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsockcmsg_unix.go53 h, dbuf, err := socketControlMessageHeaderAndData(b[i:])
57 m := SocketControlMessage{Header: *h, Data: dbuf}
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
Dcrash.ll24 @dbuf = common global [16 x i32] zeroinitializer ; <[16 x i32]*> [#uses=2]
35 %scevgep5 = getelementptr [16 x i32]* @dbuf, i32 0, i32 %0 ; <i32*> [#uses=1]
47 …tail call void @llvm.arm.neon.vst4.v4i32(i8* bitcast ([16 x i32]* @dbuf to i8*), <4 x i32> %2, <4 …
/external/ppp/pppd/
Dmain.c2193 TDB_DATA key, dbuf; in update_db_entry() local
2211 dbuf.dptr = vbuf; in update_db_entry()
2212 dbuf.dsize = vlen; in update_db_entry()
2213 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE)) in update_db_entry()
2228 TDB_DATA key, dbuf; local
2232 dbuf.dptr = db_key;
2233 dbuf.dsize = strlen(db_key);
2234 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))

12