/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_RLEaccel.c | 393 RLEClipBlit(int w, Uint8 * srcbuf, SDL_Surface * surf_dst, in RLEClipBlit() argument 407 ofs += *(Type *)srcbuf; \ in RLEClipBlit() 408 run = ((Type *)srcbuf)[1]; \ in RLEClipBlit() 409 srcbuf += 2 * sizeof(Type); \ in RLEClipBlit() 425 do_blit(dstbuf + startcol * bpp, srcbuf + start * bpp, \ in RLEClipBlit() 429 srcbuf += run * bpp; \ in RLEClipBlit() 456 Uint8 *srcbuf; in SDL_RLEBlit() local 473 srcbuf = (Uint8 *) surf_src->map->data; in SDL_RLEBlit() 484 ofs += *(Type *)srcbuf; \ in SDL_RLEBlit() 485 run = ((Type *)srcbuf)[1]; \ in SDL_RLEBlit() [all …]
|
/third_party/ltp/testcases/kernel/io/aio/ |
D | aio01.c | 82 char *srcbuf, *dstbuf; variable 129 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() 192 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() 254 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() 300 io_prep_pwrite(iocbs[0], fd, srcbuf, bufsize, pos); in main() 329 if (srcbuf[j] != dstbuf[j]) { in main() 332 dstbuf[j], srcbuf[j]); in main() 384 posix_memalign((void **)&srcbuf, bufsize, bufsize)) != 0) in setup() 394 if ((srcbuf = malloc(sizeof(char) * bufsize)) == NULL) in setup() 401 memset((void *)srcbuf, 65, bufsize); in setup() [all …]
|
/third_party/pixman/test/ |
D | filter-reduction-test.c | 23 uint32_t *srcbuf, *dstbuf; in test_scale() local 26 srcbuf = malloc (SIZE * SIZE * 4); in test_scale() 27 prng_randmemset (srcbuf, SIZE * SIZE * 4, 0); in test_scale() 29 PIXMAN_a8r8g8b8, SIZE, SIZE, srcbuf, SIZE * 4); in test_scale() 53 free (srcbuf); in test_scale()
|
D | affine-test.c | 46 uint32_t * srcbuf; in test_composite() local 77 srcbuf = (uint32_t *)malloc (src_stride * src_height); in test_composite() 80 prng_randmemset (srcbuf, src_stride * src_height, 0); in test_composite() 85 srcbuf += (src_stride / 4) * (src_height - 1); in test_composite() 102 src_fmt, src_width, src_height, srcbuf, src_stride); in test_composite() 297 srcbuf += (src_stride / 4) * (src_height - 1); in test_composite() 302 free (srcbuf); in test_composite()
|
D | scaling-crash-test.c | 33 uint32_t * srcbuf; in run_test() local 55 srcbuf = (uint32_t *)malloc ((src_width + 10) * (src_height + 10) * 4); in run_test() 58 memset (srcbuf, 0x88, src_width * src_height * 4); in run_test() 63 srcbuf + (src_width + 10) * 5 + 5, (src_width + 10) * 4); in run_test() 96 free (srcbuf); in run_test()
|
D | scaling-test.c | 77 uint32_t * srcbuf; in test_composite() local 139 srcbuf = (uint32_t *)malloc (src_stride * src_height); in test_composite() 143 prng_randmemset (srcbuf, src_stride * src_height, 0); in test_composite() 153 srcbuf += (src_stride / 4) * (src_height - 1); in test_composite() 170 src_fmt, src_width, src_height, srcbuf, src_stride); in test_composite() 393 srcbuf += (src_stride / 4) * (src_height - 1); in test_composite() 401 free (srcbuf); in test_composite()
|
D | blitters-test.c | 247 uint32_t *srcbuf, *maskbuf; in test_composite() local 294 srcbuf = pixman_image_get_data (src_img); in test_composite() 315 srcbuf, in test_composite() 319 maskbuf = srcbuf; in test_composite() 373 if (srcbuf == maskbuf) in test_composite()
|
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/ |
D | dshowvideofakesrc.cpp | 133 STDMETHODIMP VideoFakeSrcPin::CopyToDestinationBuffer (byte *srcbuf, byte *dstbuf) in CopyToDestinationBuffer() argument 157 memcpy (dstbuf + dststride * i, srcbuf + srcstride * i, srcstride); in CopyToDestinationBuffer() 165 src = srcbuf; in CopyToDestinationBuffer() 170 src = srcbuf + GST_ROUND_UP_4 (vh->rcSource.right) * GST_ROUND_UP_2 (vh->rcSource.bottom); in CopyToDestinationBuffer() 172 … src = srcbuf + GST_ROUND_UP_4 (vh->rcSource.right) * GST_ROUND_UP_2 (vh->rcSource.bottom) + in CopyToDestinationBuffer()
|
/third_party/boost/boost/iostreams/filter/ |
D | stdio.hpp | 69 srcbuf(&src[0], &src[0] + src.size()); in do_filter() local 72 scoped_redirector redirect_input(standard_input((Ch*)0), &srcbuf); in do_filter()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_nnedi.c | 567 float *srcbuf = s->input_buf[jobnr]; in filter_slice() local 599 srcbuf + 32, in filter_slice() 602 srcbuf += srcbuf_stride; in filter_slice() 605 srcbuf + 32, in filter_slice() 608 srcbuf += srcbuf_stride; in filter_slice() 611 srcbuf + 32, in filter_slice() 614 srcbuf += srcbuf_stride; in filter_slice() 619 s->read(in_line, srcbuf + 32, src_linesize * 2, srcbuf_stride, in filter_slice() 625 srcbuf + 32 + srcbuf_stride * (slice_height - last_slice), in filter_slice() 630 srcbuf + 32 + srcbuf_stride * (slice_height + 1 - last_slice), in filter_slice() [all …]
|
/third_party/pixman/pixman/dither/ |
D | make-blue-noise.c | 110 float *srcbuf = src->buffer, in matrix_copy() local 117 while (srcbuf < srcend) in matrix_copy() 118 *dstbuf++ = *srcbuf++; in matrix_copy() 165 bool_t *srcbuf = src->buffer, in pattern_copy() local 172 while (srcbuf < srcend) in pattern_copy() 173 *dstbuf++ = *srcbuf++; in pattern_copy()
|
/third_party/ffmpeg/libavcodec/ |
D | dvbsubdec.c | 371 const uint8_t **srcbuf, int buf_size, in dvbsub_read_2bit_string() argument 380 init_get_bits(&gb, *srcbuf, buf_size << 3); in dvbsub_read_2bit_string() 454 (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; in dvbsub_read_2bit_string() 472 (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; in dvbsub_read_2bit_string() 478 const uint8_t **srcbuf, int buf_size, in dvbsub_read_4bit_string() argument 487 init_get_bits(&gb, *srcbuf, buf_size << 3); in dvbsub_read_4bit_string() 508 (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; in dvbsub_read_4bit_string() 595 (*srcbuf) += (get_bits_count(&gb) + 7) >> 3; in dvbsub_read_4bit_string() 602 const uint8_t **srcbuf, int buf_size, in dvbsub_read_8bit_string() argument 605 const uint8_t *sbuf_end = (*srcbuf) + buf_size; in dvbsub_read_8bit_string() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsuboverlay/ |
D | dvb-sub.c | 637 const guint8 ** srcbuf, gint buf_size, guint8 non_mod, guint8 * map_table) in _dvb_sub_read_2bit_string() argument 639 GstBitReader gb = GST_BIT_READER_INIT (*srcbuf, buf_size); in _dvb_sub_read_2bit_string() 720 *srcbuf += (gst_bit_reader_get_pos (&gb) + 7) >> 3; in _dvb_sub_read_2bit_string() 731 const guint8 ** srcbuf, gint buf_size, guint8 non_mod, guint8 * map_table) in _dvb_sub_read_4bit_string() argument 733 GstBitReader gb = GST_BIT_READER_INIT (*srcbuf, buf_size); in _dvb_sub_read_4bit_string() 740 "size is %d @ %p", *srcbuf, buf_size, dbuf_len, destbuf); in _dvb_sub_read_4bit_string() 819 *srcbuf += (gst_bit_reader_get_pos (&gb) + 7) >> 3; in _dvb_sub_read_4bit_string() 829 const guint8 ** srcbuf, gint buf_size, guint8 non_mod, guint8 * map_table) in _dvb_sub_read_8bit_string() argument 831 GstBitReader gb = GST_BIT_READER_INIT (*srcbuf, buf_size); in _dvb_sub_read_8bit_string() 903 *srcbuf += (gst_bit_reader_get_pos (&gb) + 7) >> 3; in _dvb_sub_read_8bit_string()
|
/third_party/libcoap/src/ |
D | coap_session.c | 552 static int32_t loopback_packet_check(const char *srcbuf) { in loopback_packet_check() argument 581 if (memcmp(srcbuf, addr_perface, strlen(addr_perface)) == 0 && in loopback_packet_check() 582 strlen(srcbuf) == strlen(tmpbuf) + strlen(addr_perface)) { in loopback_packet_check() 583 ret = memcmp(srcbuf + strlen(addr_perface), tmpbuf, strlen(srcbuf) - strlen(addr_perface)); in loopback_packet_check() 585 if (strlen(srcbuf) == strlen(tmpbuf)) { in loopback_packet_check() 586 ret = memcmp(srcbuf, tmpbuf, strlen(srcbuf)); in loopback_packet_check() 603 char srcbuf[INET6_ADDRSTRLEN] = {0}; in is_loopback_packet() local 605 coap_address_ntop(&(packet->addr_info.remote), srcbuf, INET6_ADDRSTRLEN); in is_loopback_packet() 607 return loopback_packet_check(srcbuf); in is_loopback_packet()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shaderlib_tgsi.c | 152 struct ureg_src srcbuf; in si_create_dma_compute_shader() local 156 srcbuf = ureg_DECL_buffer(ureg, 1, false); in si_create_dma_compute_shader() 184 struct ureg_src srcs[] = {srcbuf, ureg_src(load_addr)}; in si_create_dma_compute_shader()
|