Home
last modified time | relevance | path

Searched refs:srcbuf (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/kernel/io/aio/
Daio01.c82 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 …]
/external/llvm-project/clang/test/Analysis/
Dtaint-generic.c257 char dstbuf[16], srcbuf[16]; in testStructArray() local
261 __builtin_memset(srcbuf, 0, sizeof(srcbuf)); in testStructArray()
264 …__builtin_memcpy(dstbuf, srcbuf, tainted[0].length); // expected-warning {{Untrusted data is used … in testStructArray()
268 …__builtin_memcpy(dstbuf, srcbuf, tainted[0].length); // expected-warning {{Untrusted data is used … in testStructArray()
273 __builtin_memcpy(dstbuf, srcbuf, tainted[0].length); // no-warning in testStructArray()
274 __builtin_memcpy(dstbuf, srcbuf, tainted[2].length); // no-warning in testStructArray()
/external/python/cpython2/Objects/
Dmemoryobject.c633 char *srcbuf, *destbuf; in memory_ass_sub() local
701 srcbuf = (char *) srcview.buf; in memory_ass_sub()
702 if (destbuf + bytelen < srcbuf || srcbuf + bytelen < destbuf) in memory_ass_sub()
704 memcpy(destbuf, srcbuf, bytelen); in memory_ass_sub()
706 memmove(destbuf, srcbuf, bytelen); in memory_ass_sub()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_noise_estimate.c80 const uint8_t *srcbuf = src->y_buffer; in copy_frame() local
87 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
89 srcbuf += src->y_stride; in copy_frame()
Dvp9_denoiser.c442 const uint8_t *srcbuf = src->y_buffer; in copy_frame() local
449 memcpy(destbuf, srcbuf, dest->y_width); in copy_frame()
451 srcbuf += src->y_stride; in copy_frame()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_tgsi.c152 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()