Home
last modified time | relevance | path

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

123

/third_party/iowow/src/fs/tests/
Diwfs_test1.c217 const int dsize = psize * 4; in test_mmap1() local
218 uint8_t *data = malloc(dsize); in test_mmap1()
219 uint8_t *cdata = malloc(dsize); in test_mmap1()
225 for (int i = 0; i < dsize; ++i) { in test_mmap1()
260 for (int i = 0; i < dsize; ++i) { in test_mmap1()
277 rc = ef.write(&ef, psize * i, data, dsize, &sp); in test_mmap1()
279 CU_ASSERT_EQUAL_FATAL(dsize, sp); in test_mmap1()
281 rc = ef.read(&ef, psize * i, cdata, dsize, &sp); in test_mmap1()
283 CU_ASSERT_EQUAL_FATAL(dsize, sp); in test_mmap1()
287 for (int i = 0; i < dsize; ++i) { in test_mmap1()
[all …]
/third_party/ffmpeg/libavcodec/
Dvc1_common.h72 int dsize = 0, i; in vc1_unescape_buffer() local
75 for (dsize = 0; dsize < size; dsize++) in vc1_unescape_buffer()
81 dst[dsize++] = src[1]; in vc1_unescape_buffer()
85 dst[dsize++] = *src; in vc1_unescape_buffer()
87 return dsize; in vc1_unescape_buffer()
Ddxa.c44 int dsize; member
215 unsigned long dsize; in decode_frame() local
247 dsize = c->dsize; in decode_frame()
250 if (uncompress(c->decomp_buf, &dsize, avpkt->data + bytestream2_tell(&gb), in decode_frame()
255 memset(c->decomp_buf + dsize, 0, DECOMP_BUF_PADDING); in decode_frame()
259 av_log(avctx, AV_LOG_DEBUG, "compr:%2d, dsize:%d\n", compr, (int)dsize); in decode_frame()
311 decode_13(avctx, c, frame->data[0], frame->linesize[0], srcptr, dsize, c->prev->data[0]); in decode_frame()
343 c->dsize = avctx->width * avctx->height * 2; in decode_init()
344 c->decomp_buf = av_malloc(c->dsize + DECOMP_BUF_PADDING); in decode_init()
Dbmp.c46 int dsize; in bmp_decode_frame() local
217 dsize = buf_size - hsize; in bmp_decode_frame()
222 if (n * avctx->height > dsize && comp != BMP_RLE4 && comp != BMP_RLE8) { in bmp_decode_frame()
224 if (n * avctx->height > dsize) { in bmp_decode_frame()
226 dsize, n * avctx->height); in bmp_decode_frame()
283 bytestream2_init(&gb, buf, dsize); in bmp_decode_frame()
/third_party/lwip/src/netif/ppp/
Dmultilink.c212 key.dsize = p - bundle_id; in mp_join_bundle()
217 if (rec.dptr != NULL && rec.dsize > 0) { in mp_join_bundle()
219 rec.dptr[rec.dsize-1] = 0; in mp_join_bundle()
294 key.dsize = strlen(blinks_id); in mp_bundle_terminated()
312 key.dsize = strlen(blinks_id); in make_bundle_links()
317 if (rec.dptr != NULL && rec.dsize > 0) { in make_bundle_links()
318 rec.dptr[rec.dsize-1] = 0; in make_bundle_links()
324 l = rec.dsize + strlen(entry); in make_bundle_links()
336 rec.dsize = strlen(p) + 1; in make_bundle_links()
352 key.dsize = strlen(blinks_id); in remove_bundle_link()
[all …]
/third_party/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.c1180 data.dsize = len; in tdb_parse_data()
2592 key.dsize = sizeof(rec_ptr); in seen_insert()
2799 key.dsize = rec.key_len; in tdb_traverse_internal()
2801 dbuf.dsize = rec.data_len; in tdb_traverse_internal()
2896 key.dsize = rec.key_len; in tdb_firstkey()
2897 key.dptr =tdb_alloc_read(tdb,tdb->travlocks.off+sizeof(rec),key.dsize); in tdb_firstkey()
2920 || memcmp(k, oldkey.dptr, oldkey.dsize) != 0) { in tdb_nextkey()
2952 key.dsize = rec.key_len; in tdb_nextkey()
2954 key.dsize); in tdb_nextkey()
3120 return memcmp(data.dptr, key.dptr, data.dsize); in tdb_key_compare()
[all …]
/third_party/cmsis/CMSIS/Core/Include/
Dcachel1_armv7.h328 __STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr (volatile void *addr, int32_t dsize) in SCB_InvalidateDCache_by_Addr() argument
331 if ( dsize > 0 ) { in SCB_InvalidateDCache_by_Addr()
332 int32_t op_size = dsize + (((uint32_t)addr) & (__SCB_DCACHE_LINE_SIZE - 1U)); in SCB_InvalidateDCache_by_Addr()
358 __STATIC_FORCEINLINE void SCB_CleanDCache_by_Addr (volatile void *addr, int32_t dsize) in SCB_CleanDCache_by_Addr() argument
361 if ( dsize > 0 ) { in SCB_CleanDCache_by_Addr()
362 int32_t op_size = dsize + (((uint32_t)addr) & (__SCB_DCACHE_LINE_SIZE - 1U)); in SCB_CleanDCache_by_Addr()
388 __STATIC_FORCEINLINE void SCB_CleanInvalidateDCache_by_Addr (volatile void *addr, int32_t dsize) in SCB_CleanInvalidateDCache_by_Addr() argument
391 if ( dsize > 0 ) { in SCB_CleanInvalidateDCache_by_Addr()
392 int32_t op_size = dsize + (((uint32_t)addr) & (__SCB_DCACHE_LINE_SIZE - 1U)); in SCB_CleanInvalidateDCache_by_Addr()
/third_party/python/Modules/
D_dbmmodule.c138 krec.dsize = tmp_size; in dbm_subscript()
150 return PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
166 krec.dsize = tmp_size; in dbm_ass_sub()
191 drec.dsize = tmp_size; in dbm_ass_sub()
249 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _dbm_dbm_keys_impl()
280 key.dsize = size; in dbm_contains()
292 key.dsize = PyBytes_GET_SIZE(arg); in dbm_contains()
317 dbm_key.dsize = key_length; in _dbm_dbm_get_impl()
321 return PyBytes_FromStringAndSize(val.dptr, val.dsize); in _dbm_dbm_get_impl()
351 dbm_key.dsize = key_length; in _dbm_dbm_setdefault_impl()
[all …]
D_gdbmmodule.c146 okey.dsize=0; in gdbm_length()
153 if (okey.dsize) { in gdbm_length()
181 d->dsize = size; in parse_datum()
205 v = PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in gdbm_subscript()
355 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _gdbm_gdbm_keys_impl()
390 key.dsize = size; in gdbm_contains()
402 key.dsize = PyBytes_GET_SIZE(arg); in gdbm_contains()
431 v = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _gdbm_gdbm_firstkey_impl()
469 dbm_key.dsize = key_length; in _gdbm_gdbm_nextkey_impl()
473 v = PyBytes_FromStringAndSize(nextkey.dptr, nextkey.dsize); in _gdbm_gdbm_nextkey_impl()
/third_party/flutter/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()
/third_party/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()
/third_party/mindspore/tests/ut/cpp/dataset/
Daffine_op_test.cc97 std::vector<size_t> dsize; in TEST_F() local
98 dsize.push_back(width); in TEST_F()
99 dsize.push_back(height); in TEST_F()
105 EXPECT_TRUE(Affine(lite_mat_rgb, dst, M, dsize, UINT8_C3(0, 0, 0))); in TEST_F()
/third_party/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()
/third_party/ntfs-3g/libntfs-3g/
Drunlist.c221 static runlist_element *ntfs_rl_append(runlist_element *dst, int dsize, in ntfs_rl_append() argument
235 if ((loc + 1) < dsize) in ntfs_rl_append()
239 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - right); in ntfs_rl_append()
255 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - loc - 1 - right); in ntfs_rl_append()
288 static runlist_element *ntfs_rl_insert(runlist_element *dst, int dsize, in ntfs_rl_insert() argument
322 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert()
342 ntfs_rl_mm(dst, marker, loc, dsize - loc); in ntfs_rl_insert()
384 static runlist_element *ntfs_rl_replace(runlist_element *dst, int dsize, in ntfs_rl_replace() argument
402 if ((loc + 1) < dsize) in ntfs_rl_replace()
412 dst = ntfs_rl_realloc(dst, dsize, dsize + delta); in ntfs_rl_replace()
[all …]
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstamrparse.c264 gint fsize = 0, mode, dsize; in gst_amr_parse_handle_frame() local
273 dsize = map.size; in gst_amr_parse_handle_frame()
275 GST_LOG ("buffer: %d bytes", dsize); in gst_amr_parse_handle_frame()
278 if (dsize >= AMR_MIME_HEADER_SIZE && in gst_amr_parse_handle_frame()
309 } else if (dsize > fsize) { in gst_amr_parse_handle_frame()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dlite_image_utils.cc622 std::vector<size_t> dsize; in RotateAngleWithOutMirror() local
623 dsize.push_back(width); in RotateAngleWithOutMirror()
624 dsize.push_back(height); in RotateAngleWithOutMirror()
633 bool ret = Affine(lite_mat_rgb, lite_mat_affine, M, dsize, UINT8_C3(0, 0, 0)); in RotateAngleWithOutMirror()
692 std::vector<size_t> dsize; in RotateAngleWithMirror() local
693 dsize.push_back(width); in RotateAngleWithMirror()
694 dsize.push_back(height); in RotateAngleWithMirror()
703 bool ret = Affine(lite_mat_rgb, lite_mat_affine, M, dsize, UINT8_C3(0, 0, 0)); in RotateAngleWithMirror()
757 std::vector<size_t> dsize; in Affine() local
758 dsize.push_back(width); in Affine()
[all …]
/third_party/boost/libs/container/src/
Ddlmalloc_ext_2_8_6.c127 size_t dsize = fm->dvsize += psize; in mspace_free_lockless() local
129 set_size_and_pinuse_of_free_chunk(p, dsize); in mspace_free_lockless()
327 size_t dsize = oldsize + dvs - nb; in try_realloc_chunk_with_min() local
328 if (dsize >= MIN_CHUNK_SIZE) { in try_realloc_chunk_with_min()
330 mchunkptr n = chunk_plus_offset(r, dsize); in try_realloc_chunk_with_min()
332 set_size_and_pinuse_of_free_chunk(r, dsize); in try_realloc_chunk_with_min()
334 m->dvsize = dsize; in try_realloc_chunk_with_min()
567 size_t dsize = oldsize + prevsize; in internal_grow_both_sides() local
596 dsize = oldsize + prevsize; in internal_grow_both_sides()
602 size_t newprevsize = dsize - rsize; in internal_grow_both_sides()
[all …]
/third_party/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()
/third_party/littlefs/scripts/
Dreadmdir.py90 def dsize(self): member in Tag
187 tag.data = block[off+4:off+tag.dsize]
191 crc = binascii.crc32(block[off:off+tag.dsize], crc)
193 off += tag.dsize
/third_party/ejdb/src/jbl/
Dbinn.c346 int storage_type, dsize; in AdvanceDataPos() local
377 memcpy(&dsize, p, 4); in AdvanceDataPos()
378 dsize = frombe32(dsize); in AdvanceDataPos()
379 p += 4 + dsize; in AdvanceDataPos()
385 dsize = *((unsigned char*) p); in AdvanceDataPos()
386 if (dsize & 0x80) { in AdvanceDataPos()
390 memcpy(&dsize, p, 4); in AdvanceDataPos()
391 dsize = frombe32(dsize); in AdvanceDataPos()
392 dsize &= 0x7FFFFFFF; in AdvanceDataPos()
394 dsize--; // remove the type byte already added before in AdvanceDataPos()
[all …]
/third_party/gn/src/base/win/
Dregistry.cc308 DWORD* dsize, in ReadValue() argument
311 reinterpret_cast<LPBYTE>(data), dsize); in ReadValue()
360 DWORD dsize, in WriteValue() argument
362 DCHECK(data || !dsize); in WriteValue()
366 reinterpret_cast<LPBYTE>(const_cast<void*>(data)), dsize); in WriteValue()
Dregistry.h107 DWORD* dsize,
121 DWORD dsize,
/third_party/pulseaudio/src/pulsecore/
Ddatabase-tdb.c45 to->dsize = from->size; in datum_to_tdb()
55 to->size = from->dsize; in datum_from_tdb()
Ddatabase-gdbm.c40 to->dsize = from->size; in datum_to_gdbm()
50 to->size = from->dsize; in datum_from_gdbm()

123