Home
last modified time | relevance | path

Searched refs:dbuf (Results 1 – 25 of 31) 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.c2761 TDB_DATA key, dbuf; in tdb_traverse_internal() local
2788 dbuf.dptr = key.dptr + rec.key_len; in tdb_traverse_internal()
2789 dbuf.dsize = rec.data_len; in tdb_traverse_internal()
2797 if (fn && fn(tdb, key, dbuf, private_data)) { in tdb_traverse_internal()
3155 static int tdb_update_hash(struct tdb_context *tdb, TDB_DATA key, u32 hash, TDB_DATA dbuf) in tdb_update_hash() argument
3165 if (rec.rec_len < key.dsize + dbuf.dsize + sizeof(tdb_off_t)) { in tdb_update_hash()
3171 dbuf.dptr, dbuf.dsize) == -1) in tdb_update_hash()
3174 if (dbuf.dsize != rec.data_len) { in tdb_update_hash()
3176 rec.data_len = dbuf.dsize; in tdb_update_hash()
3459 int tdb_store(struct tdb_context *tdb, TDB_DATA key, TDB_DATA dbuf, int flag) in tdb_store() argument
[all …]
/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/syslinux/com32/lib/syslinux/
Dshuffle.c66 struct shuffle_descriptor *dp, *dbuf; in syslinux_do_shuffle() local
79 dp = dbuf = NULL; in syslinux_do_shuffle()
160 dbuf = malloc(need_ptrs * sizeof(struct shuffle_descriptor)); in syslinux_do_shuffle()
161 if (!dbuf) in syslinux_do_shuffle()
166 addr_t descoffs = descaddr - (addr_t) dbuf; in syslinux_do_shuffle()
169 nmoves, nzero, dbuf, descoffs); in syslinux_do_shuffle()
175 dp = dbuf; in syslinux_do_shuffle()
222 bios_do_shuffle_and_boot(bootflags, descaddr, dbuf, in syslinux_do_shuffle()
223 (size_t)dp - (size_t)dbuf); in syslinux_do_shuffle()
/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/perfetto/src/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/ftrace_reader/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/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/syslinux/diag/geodsp/
Dgeodspms.asm51 dbuf equ 8000h define
94 mov bx,dbuf
123 mov bx,dbuf ; ES should still be safe.
Dgeodsp1s.asm55 dbuf equ 8000h define
105 mov bx,dbuf
134 mov bx,dbuf
/external/llvm/test/CodeGen/Thumb2/
Dcrash.ll25 @dbuf = common global [16 x i32] zeroinitializer ; <[16 x i32]*> [#uses=2]
36 %scevgep5 = getelementptr [16 x i32], [16 x i32]* @dbuf, i32 0, i32 %0 ; <i32*> [#uses=1]
48 …tail call void @llvm.arm.neon.vst4.p0i8.v4i32(i8* bitcast ([16 x i32]* @dbuf to i8*), <4 x i32> %2…
/external/ppp/pppd/
Dmain.c2216 TDB_DATA key, dbuf; in update_db_entry() local
2234 dbuf.dptr = vbuf; in update_db_entry()
2235 dbuf.dsize = vlen; in update_db_entry()
2236 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE)) in update_db_entry()
2251 TDB_DATA key, dbuf; local
2255 dbuf.dptr = db_key;
2256 dbuf.dsize = strlen(db_key);
2257 if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))

12