Home
last modified time | relevance | path

Searched refs:dsize (Results 1 – 25 of 51) sorted by relevance

123

/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c217 key.dsize = keylen; in insert_tdb()
219 dbuf.dsize = datalen; in insert_tdb()
241 key.dsize = keylen; in store_tdb()
243 dbuf.dsize = datalen; in store_tdb()
263 key.dsize = keylen; in show_tdb()
288 key.dsize = keylen; in delete_tdb()
311 key.dsize = keylen; in move_rec()
340 printf("\nkey %d bytes\n", (int)key.dsize); in print_rec()
341 print_asc((const char *)key.dptr, key.dsize); in print_rec()
342 printf("\ndata %d bytes\n", (int)dbuf.dsize); in print_rec()
[all …]
Dtdb.c1172 data.dsize = len; in tdb_parse_data()
2578 key.dsize = sizeof(rec_ptr); in seen_insert()
2785 key.dsize = rec.key_len; in tdb_traverse_internal()
2787 dbuf.dsize = rec.data_len; in tdb_traverse_internal()
2882 key.dsize = rec.key_len; in tdb_firstkey()
2883 key.dptr =tdb_alloc_read(tdb,tdb->travlocks.off+sizeof(rec),key.dsize); in tdb_firstkey()
2906 || memcmp(k, oldkey.dptr, oldkey.dsize) != 0) { in tdb_nextkey()
2938 key.dsize = rec.key_len; in tdb_nextkey()
2940 key.dsize); in tdb_nextkey()
3104 return memcmp(data.dptr, key.dptr, data.dsize); in tdb_key_compare()
[all …]
/external/python/cpython3/Modules/
D_dbmmodule.c113 krec.dsize = tmp_size; in dbm_subscript()
125 return PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
139 krec.dsize = tmp_size; in dbm_ass_sub()
164 drec.dsize = tmp_size; in dbm_ass_sub()
222 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _dbm_dbm_keys_impl()
251 key.dsize = size; in dbm_contains()
263 key.dsize = PyBytes_GET_SIZE(arg); in dbm_contains()
301 dbm_key.dsize = key_length; in _dbm_dbm_get_impl()
305 return PyBytes_FromStringAndSize(val.dptr, val.dsize); in _dbm_dbm_get_impl()
332 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
[all …]
D_gdbmmodule.c124 okey.dsize=0; in dbm_length()
131 if (okey.dsize) { in dbm_length()
159 d->dsize = size; in parse_datum()
182 v = PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
331 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _gdbm_gdbm_keys_impl()
365 key.dsize = size; in dbm_contains()
377 key.dsize = PyBytes_GET_SIZE(arg); in dbm_contains()
415 v = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _gdbm_gdbm_firstkey_impl()
450 dbm_key.dsize = key_length; in _gdbm_gdbm_nextkey_impl()
454 v = PyBytes_FromStringAndSize(nextkey.dptr, nextkey.dsize); in _gdbm_gdbm_nextkey_impl()
/external/python/cpython2/Modules/
Ddbmmodule.c105 krec.dsize = tmp_size; in dbm_subscript()
118 return PyString_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
132 krec.dsize = tmp_size; in dbm_ass_sub()
151 drec.dsize = tmp_size; in dbm_ass_sub()
177 key.dsize = size; in dbm_contains()
230 item = PyString_FromStringAndSize(key.dptr, key.dsize); in dbm_keys()
255 key.dsize = tmp_size; in dbm_has_key()
273 key.dsize = tmp_size; in dbm_get()
277 return PyString_FromStringAndSize(val.dptr, val.dsize); in dbm_get()
296 key.dsize = tmp_size; in dbm_setdefault()
[all …]
Dgdbmmodule.c99 okey.dsize=0; 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()
134 v = PyString_FromStringAndSize(drec.dptr, drec.dsize); 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()
198 key.dsize = PyString_GET_SIZE(arg); in dbm_contains()
258 item = PyString_FromStringAndSize(key.dptr, key.dsize); in dbm_keys()
287 if (!PyArg_ParseTuple(args, "s#:has_key", &key.dptr, &key.dsize)) in dbm_has_key()
309 v = PyString_FromStringAndSize(key.dptr, key.dsize); in dbm_firstkey()
[all …]
/external/arm-trusted-firmware/lib/libc/
Dstrlcpy.c30 strlcpy(char * dst, const char * src, size_t dsize) in strlcpy() argument
33 size_t nleft = dsize; in strlcpy()
45 if (dsize != 0) in strlcpy()
Dstrlcat.c31 strlcat(char * dst, const char * src, size_t dsize) in strlcat() argument
35 size_t n = dsize; in strlcat()
42 n = dsize - dlen; in strlcat()
/external/libpcap/missing/
Dstrlcpy.c34 pcap_strlcpy(char * restrict dst, const char * restrict src, size_t dsize) in pcap_strlcpy() argument
37 size_t nleft = dsize; in pcap_strlcpy()
49 if (dsize != 0) in pcap_strlcpy()
Dstrlcat.c36 pcap_strlcat(char * restrict dst, const char * restrict src, size_t dsize) in pcap_strlcat() argument
40 size_t n = dsize; in pcap_strlcat()
47 n = dsize - dlen; in pcap_strlcat()
/external/skia/samplecode/
DSampleManyRects.cpp29 SkISize dsize = canvas->getBaseLayerSize(); in onDrawContent() local
35 int x = fRandom.nextRangeU(0, dsize.fWidth); in onDrawContent()
36 int y = fRandom.nextRangeU(0, dsize.fHeight); in onDrawContent()
/external/skqp/samplecode/
DSampleManyRects.cpp35 SkISize dsize = canvas->getBaseLayerSize(); in onDrawContent() local
41 int x = fRandom.nextRangeU(0, dsize.fWidth); in onDrawContent()
42 int y = fRandom.nextRangeU(0, dsize.fHeight); in onDrawContent()
/external/ltp/testcases/network/lib6/
Din6_02.c131 int dsize = -1; in getdatasize() local
139 dsize = strtol(line + 7, &p, 0); in getdatasize()
143 dsize *= 1024; in getdatasize()
148 return dsize; in getdatasize()
/external/arm-trusted-firmware/include/lib/libc/
Dstring.h28 size_t strlcpy(char * dst, const char * src, size_t dsize);
29 size_t strlcat(char * dst, const char * src, size_t dsize);
/external/dtc/libfdt/
Dfdt_rw.c57 unsigned int dsize = fdt_data_size_(fdt); in fdt_splice_() local
60 if ((oldlen < 0) || (soff + oldlen < soff) || (soff + oldlen > dsize)) in fdt_splice_()
62 if ((p < (char *)fdt) || (dsize + newlen < oldlen)) in fdt_splice_()
64 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) in fdt_splice_()
66 memmove(p + newlen, p + oldlen, ((char *)fdt + dsize) - (p + oldlen)); in fdt_splice_()
/external/mesa3d/src/mesa/main/
Deval.c216 GLint i, j, k, size, dsize, hsize; in _mesa_copy_map_points2f() local
228 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder; in _mesa_copy_map_points2f()
231 if(hsize>dsize) in _mesa_copy_map_points2f()
234 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2f()
259 GLint i, j, k, size, hsize, dsize; in _mesa_copy_map_points2d() local
271 dsize = (uorder == 2 && vorder == 2)? 0 : uorder*vorder; in _mesa_copy_map_points2d()
274 if(hsize>dsize) in _mesa_copy_map_points2d()
277 buffer = malloc((uorder*vorder*size+dsize)*sizeof(GLfloat)); in _mesa_copy_map_points2d()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_urb.c238 brw->urb.dsize == entry_size[MESA_SHADER_TESS_EVAL]) { in gen7_upload_urb()
246 brw->urb.dsize = entry_size[MESA_SHADER_TESS_EVAL]; in gen7_upload_urb()
/external/vixl/src/aarch64/
Dcpu-aarch64.cc406 uintptr_t dsize = static_cast<uintptr_t>(dcache_line_size_); in EnsureIAndDCacheCoherency() local
408 uintptr_t dline = start & ~(dsize - 1); in EnsureIAndDCacheCoherency()
412 VIXL_ASSERT(IsPowerOf2(dsize)); in EnsureIAndDCacheCoherency()
433 dline += dsize; in EnsureIAndDCacheCoherency()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c315 unsigned ssize, dsize, spitch, dpitch; in emit_blit() local
363 dsize = dslice->size0; in emit_blit()
365 dsize = dst->layout.layer_size; in emit_blit()
407 A5XX_RB_2D_DST_SIZE_ARRAY_PITCH(dsize)); in emit_blit()
/external/ppp/pppd/
Dmain.c2167 key.dsize = strlen(key.dptr); in lock_db()
2181 key.dsize = strlen(key.dptr); in unlock_db()
2210 key.dsize = strlen(db_key); in update_db_entry()
2212 dbuf.dsize = vlen; in update_db_entry()
2231 key.dsize = strlen(str);
2233 dbuf.dsize = strlen(db_key);
2248 key.dsize = strlen(str);
2263 key.dsize = strlen(db_key); in cleanup_db()
/external/e2fsprogs/e2fsck/
Ddirinfo.c223 key.dsize = sizeof(ext2_ino_t); in e2fsck_get_dir_info()
309 key.dsize = sizeof(ext2_ino_t); in e2fsck_put_dir_info()
311 data.dsize = sizeof(buf); in e2fsck_put_dir_info()
/external/boringssl/src/crypto/pem/
Dpem_lib.c276 int dsize = 0, i, j, ret = 0; in PEM_ASN1_write_bio() local
293 if ((dsize = i2d(x, NULL)) < 0) { in PEM_ASN1_write_bio()
295 dsize = 0; in PEM_ASN1_write_bio()
300 data = (unsigned char *)OPENSSL_malloc((unsigned int)dsize + 20); in PEM_ASN1_write_bio()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_lib.c276 int dsize = 0, i, j, ret = 0; in PEM_ASN1_write_bio() local
293 if ((dsize = i2d(x, NULL)) < 0) { in PEM_ASN1_write_bio()
295 dsize = 0; in PEM_ASN1_write_bio()
300 data = (unsigned char *)OPENSSL_malloc((unsigned int)dsize + 20); in PEM_ASN1_write_bio()
/external/libpng/contrib/tools/
Dpngcp.c1640 size_t dsize = strlen(dir); in makename() local
1642 if (dsize <= (sizeof dp->namebuf)-2) /* Allow for name + '/' + '\0' */ in makename()
1651 memcpy(dp->namebuf, dir, dsize); in makename()
1652 if (dsize > 0 && dp->namebuf[dsize-1] != '/') in makename()
1653 dp->namebuf[dsize++] = '/'; in makename()
1662 if (dsize+isize < (sizeof dp->namebuf)) /* dsize + infile + '\0' */ in makename()
1664 memcpy(dp->namebuf+dsize, infile, isize+1); in makename()
1673 dp->namebuf[dsize] = 0; /* allowed for: -2 at start */ in makename()
/external/webrtc/rtc_base/win/
Dwindows_version.cc155 DWORD* dsize, in ReadValue() argument
158 reinterpret_cast<LPBYTE>(data), dsize); in ReadValue()

123