Home
last modified time | relevance | path

Searched refs:dstbuf (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavutil/
Dbprint.c265 void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars, in av_bprint_escape() argument
276 av_bprint_chars(dstbuf, '\'', 1); in av_bprint_escape()
279 av_bprintf(dstbuf, "'\\''"); in av_bprint_escape()
281 av_bprint_chars(dstbuf, *src, 1); in av_bprint_escape()
283 av_bprint_chars(dstbuf, '\'', 1); in av_bprint_escape()
294 case '&' : av_bprintf(dstbuf, "%s", "&"); break; in av_bprint_escape()
295 case '<' : av_bprintf(dstbuf, "%s", "&lt;"); break; in av_bprint_escape()
296 case '>' : av_bprintf(dstbuf, "%s", "&gt;"); break; in av_bprint_escape()
301 av_bprintf(dstbuf, "%s", "&apos;"); in av_bprint_escape()
307 av_bprintf(dstbuf, "%s", "&quot;"); in av_bprint_escape()
[all …]
Davstring.c338 AVBPrint dstbuf; in av_escape() local
341 av_bprint_init(&dstbuf, 1, INT_MAX); /* (int)dstbuf.len must be >= 0 */ in av_escape()
342 av_bprint_escape(&dstbuf, src, special_chars, mode, flags); in av_escape()
344 if (!av_bprint_is_complete(&dstbuf)) { in av_escape()
345 av_bprint_finalize(&dstbuf, NULL); in av_escape()
348 if ((ret = av_bprint_finalize(&dstbuf, dst)) < 0) in av_escape()
350 return dstbuf.len; in av_escape()
Dbprint.h216 void av_bprint_escape(AVBPrint *dstbuf, const char *src, const char *special_chars,
/third_party/pixman/test/
Dscaling-crash-test.c34 uint32_t * dstbuf; in run_test() local
56 dstbuf = (uint32_t *)malloc (dst_width * dst_height * 4); in run_test()
59 memset (dstbuf, 0x33, dst_width * dst_height * 4); in run_test()
71 PIXMAN_a8r8g8b8, dst_width, dst_height, dstbuf, dst_width * 4); in run_test()
89 if (dstbuf[i] != 0xCCCCCCCC && dstbuf[i] != 0x33333333) in run_test()
97 free (dstbuf); in run_test()
Dfilter-reduction-test.c23 uint32_t *srcbuf, *dstbuf; in test_scale() local
31 dstbuf = malloc (SIZE * SIZE * 4); in test_scale()
32 prng_randmemset (dstbuf, SIZE * SIZE * 4, 0); in test_scale()
34 PIXMAN_a8r8g8b8, SIZE, SIZE, dstbuf, SIZE * 4); in test_scale()
54 free (dstbuf); in test_scale()
Daffine-test.c47 uint32_t * dstbuf; in test_composite() local
78 dstbuf = (uint32_t *)malloc (dst_stride * dst_height); in test_composite()
81 prng_randmemset (dstbuf, dst_stride * dst_height, 0); in test_composite()
91 dstbuf += (dst_stride / 4) * (dst_height - 1); in test_composite()
105 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite()
300 dstbuf += (dst_stride / 4) * (dst_height - 1); in test_composite()
303 free (dstbuf); in test_composite()
Dscaling-test.c78 uint32_t * dstbuf; in test_composite() local
141 dstbuf = (uint32_t *)malloc (dst_stride * dst_height); in test_composite()
145 prng_randmemset (dstbuf, dst_stride * dst_height, 0); in test_composite()
165 dstbuf += (dst_stride / 4) * (dst_height - 1); in test_composite()
176 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite()
399 dstbuf += (dst_stride / 4) * (dst_height - 1); in test_composite()
403 free (dstbuf); in test_composite()
/third_party/ltp/testcases/kernel/io/aio/
Daio01.c82 char *srcbuf, *dstbuf; variable
160 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
223 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
268 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
314 io_prep_pread(iocbs[0], fd, dstbuf, bufsize, pos); in main()
329 if (srcbuf[j] != dstbuf[j]) { in main()
332 dstbuf[j], srcbuf[j]); in main()
389 posix_memalign((void **)&dstbuf, bufsize, bufsize)) != 0) in setup()
397 if ((dstbuf = malloc(sizeof(char) * bufsize)) == NULL) in setup()
409 free(dstbuf); in cleanup()
/third_party/grpc/third_party/upb/upb/pb/
Dtextprinter.c53 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); in putescaped() local
65 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()
66 dst = dstbuf; in putescaped()
93 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_RLEaccel.c394 Uint8 * dstbuf, SDL_Rect * srcrect, unsigned alpha) in RLEClipBlit() argument
404 dstbuf -= left * bpp; \ in RLEClipBlit()
425 do_blit(dstbuf + startcol * bpp, srcbuf + start * bpp, \ in RLEClipBlit()
436 dstbuf += surf_dst->pitch; \ in RLEClipBlit()
455 Uint8 *dstbuf; in SDL_RLEBlit() local
471 dstbuf = (Uint8 *) surf_dst->pixels in SDL_RLEBlit()
522 RLEClipBlit(w, srcbuf, surf_dst, dstbuf, srcrect, alpha); in SDL_RLEBlit()
536 do_blit(dstbuf + ofs * bpp, srcbuf, run, bpp, alpha); \ in SDL_RLEBlit()
543 dstbuf += surf_dst->pitch; \ in SDL_RLEBlit()
639 Uint8 * dstbuf, SDL_Rect * srcrect) in RLEAlphaClipBlit() argument
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideofakesrc.cpp133 STDMETHODIMP VideoFakeSrcPin::CopyToDestinationBuffer (byte *srcbuf, byte *dstbuf) in CopyToDestinationBuffer() argument
157 memcpy (dstbuf + dststride * i, srcbuf + srcstride * i, srcstride); in CopyToDestinationBuffer()
179 dst = dstbuf; in CopyToDestinationBuffer()
183 dst = dstbuf + width * height; in CopyToDestinationBuffer()
188 dst = dstbuf + width * height + in CopyToDestinationBuffer()
/third_party/mesa3d/src/mesa/tnl/
Dt_split_copy.c91 GLubyte *dstbuf; member
216 copy->dstptr = copy->dstbuf; in flush()
291 assert(copy->dstptr == (copy->dstbuf + in elt()
519 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size); in replay_init()
520 copy->dstptr = copy->dstbuf; in replay_init()
532 dstattr->Ptr = copy->dstbuf + offset; in replay_init()
569 free(copy->dstbuf); in replay_finish()
/third_party/ffmpeg/libavcodec/
Dyop.c46 uint8_t *dstbuf; member
162 if (bufptr < s->dstbuf) { in yop_copy_previous_block()
213 s->dstbuf = frame->data[0]; in yop_decode_frame()
/third_party/pixman/pixman/dither/
Dmake-blue-noise.c112 *dstbuf = dst->buffer; in matrix_copy() local
118 *dstbuf++ = *srcbuf++; in matrix_copy()
167 *dstbuf = dst->buffer; in pattern_copy() local
173 *dstbuf++ = *srcbuf++; in pattern_copy()
/third_party/mbedtls/library/
Dssl_tls13_keys.h210 unsigned char *dstbuf, size_t dstbuf_len );
Dssl_tls.c392 unsigned char *dstbuf, size_t dlen ) in tls_prf_generic() argument
437 status = psa_key_derivation_output_bytes( &derivation, dstbuf, dlen ); in tls_prf_generic()
466 unsigned char *dstbuf, size_t dlen ) in tls_prf_generic() argument
538 dstbuf[i + j] = h_i[j]; in tls_prf_generic()
556 unsigned char *dstbuf, size_t dlen ) in tls_prf_sha256() argument
559 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha256()
567 unsigned char *dstbuf, size_t dlen ) in tls_prf_sha384() argument
570 label, random, rlen, dstbuf, dlen ) ); in tls_prf_sha384()
638 unsigned char *dstbuf, size_t dlen ) in mbedtls_ssl_tls_prf() argument
660 return( tls_prf( secret, slen, label, random, rlen, dstbuf, dlen ) ); in mbedtls_ssl_tls_prf()
[all …]
Dssl_tls13_keys.c252 unsigned char *dstbuf, size_t dstbuf_len ) in mbedtls_ssl_tls13_derive_secret() argument
287 dstbuf, dstbuf_len ) ); in mbedtls_ssl_tls13_derive_secret()
Dssl_misc.h466 unsigned char *dstbuf, size_t dlen );
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c151 struct ureg_dst dstbuf = ureg_dst(ureg_DECL_buffer(ureg, 0, false)); in si_create_dma_compute_shader() local
195 struct ureg_dst dst = ureg_writemask(dstbuf, u_bit_consecutive(0, inst_dwords[d])); in si_create_dma_compute_shader()
/third_party/ffmpeg/libavfilter/
Dvf_nnedi.c569 float *dstbuf = s->output_buf[jobnr]; in filter_slice() local
648 dstbuf + (y / 2) * dstbuf_stride, in filter_slice()
655 dstbuf + (y / 2) * dstbuf_stride, in filter_slice()
659 s->write(dstbuf, out_line, dstbuf_stride, dst_linesize * 2, in filter_slice()
/third_party/ffmpeg/fftools/
Dffprobe.c687 AVBPrint dstbuf; in validate_string() local
690 av_bprint_init(&dstbuf, 0, AV_BPRINT_SIZE_UNLIMITED); in validate_string()
719 av_bprintf(&dstbuf, "%s", wctx->string_validation_replacement); in validate_string()
725 av_bprint_append_data(&dstbuf, p0, p-p0); in validate_string()
735 av_bprint_finalize(&dstbuf, dstp); in validate_string()
/third_party/mbedtls/include/mbedtls/
Dssl.h4520 unsigned char *dstbuf, size_t dlen );
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c8600 char dstbuf[4096], *dst = dstbuf, *dstend = dstbuf + sizeof(dstbuf); in putescaped() local
8612 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()
8613 dst = dstbuf; in putescaped()
8640 upb_bytessink_putbuf(p->output_, p->subc, dstbuf, dst - dstbuf, NULL); in putescaped()