/external/pdfium/testing/libfuzzer/ |
pdf_codec_icc_fuzzer.cc | 15 FX_FLOAT src[4]; local 18 src[i] = 0.5f; 20 icc_module.Translate(transform, src, dst);
|
/external/skia/bench/ |
SwizzleBench.cpp | 19 uint32_t dst[K], src[K]; variable 21 fFn(dst, src, K);
|
/external/skia/experimental/tools/ |
mskp_parser.py | 22 src = open(mskp_src, 'rb') variable 25 magic = src.read(len(magic_constant)) 30 version, page_count = struct.unpack('II', src.read(8))[:2] 41 offset, size_x, size_y =struct.unpack('Qff', src.read(16)) 45 size_x, size_y =struct.unpack('ff', src.read(8)) 52 file_buffer = src.read(8192) 57 o.write(src.read(offsets[1] - offsets[0]))
|
/external/skia/src/core/ |
SkDrawLooper.cpp | 36 // src and dst rects may alias and we need to keep the original src, so copy it. 37 const SkRect src = s; local 42 *dst = src; // catch case where there are no loops 48 SkRect r(src);
|
/external/syslinux/gpxe/src/crypto/ |
crc32.c | 41 const u8 *src = data; local 46 crc ^= *src++;
|
/packages/apps/Settings/ |
wrap_alpha.py | 20 for src in files: 21 if not src.endswith(".png"): continue 22 src = src[0:-4] variable 24 src_clause = '\n android:src="@drawable/%s"' % (src) 26 alpha = src.endswith("_alpha") 28 src = src[0:-6] variable 33 am = src.endswith("_am" 35 src = src[0:-3] variable [all...] |
/system/core/libunwindstack/tests/ |
MemoryFake.cpp | 27 const uint8_t* src = reinterpret_cast<const uint8_t*>(memory); local 31 value->second = src[i]; 33 data_.insert({ addr, src[i] });
|
/libcore/benchmarks/src/benchmarks/regression/ |
ByteBufferScalarVersusVectorBenchmark.java | 28 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 31 src.position(0); 34 dst.put(src.get()); 40 ByteBuffer src = ByteBuffer.allocate(aligned ? 8192 : 8192 + 1); local 43 src.position(aligned ? 0 : 1); 44 src.get(dst, 0, dst.length); 49 ByteBuffer src = ByteBuffer.allocateDirect(aligned ? 8192 : 8192 + 1); local 52 src.position(aligned ? 0 : 1); 53 src.get(dst, 0, dst.length);
|
ByteBufferBenchmark.java | 85 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 87 src.position(aligned ? 0 : 1); 89 src.get(); 95 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 99 src.position(aligned ? 0 : 1); 100 src.get(dst); 106 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 108 src.position(aligned ? 0 : 1); 110 src.get(i); 116 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType) local 126 CharBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); local 137 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 147 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 157 DoubleBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer(); local 168 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 178 FloatBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asFloatBuffer(); local 189 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 199 IntBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asIntBuffer(); local 210 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 220 LongBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asLongBuffer(); local 231 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 241 ShortBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asShortBuffer(); local 256 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 277 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 288 char[] src = new char[1024]; local 298 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 309 double[] src = new double[1024]; local 319 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 330 float[] src = new float[1024]; local 340 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 351 int[] src = new int[1024]; local 361 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 372 long[] src = new long[1024]; local 382 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); local 393 short[] src = new short[1024]; local [all...] |
/art/compiler/linker/ |
buffered_output_stream.cc | 44 const uint8_t* src = reinterpret_cast<const uint8_t*>(buffer); local 45 memcpy(&buffer_[used_], src, byte_count);
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
memmove.c | 52 const char *src = src0; variable 55 if (length == 0 || dst == src) /* nothing to do */ 64 if ((unsigned long)dst < (unsigned long)src) { 68 t = (long)src; /* only need low bits */ 79 TLOOP1(*dst++ = *src++); 85 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); 87 TLOOP(*dst++ = *src++); 94 src += length; 96 t = (long)src; [all...] |
/cts/tests/dram/jni/ |
MemoryNativeJni.cpp | 32 char* src = new char[bufferSize]; local 34 if ((src == NULL) || (dst == NULL)) { 35 delete[] src; 40 memset(src, 0, bufferSize); 44 memcpy(dst, src, bufferSize); 45 src[bufferSize - 1] = i & 0xff; 48 delete[] src;
|
/device/google/contexthub/firmware/lib/libc/ |
bcopy.c | 71 const char *src = src0; local 74 if (length == 0 || dst == src) /* nothing to do */ 83 if ((unsigned long)dst < (unsigned long)src) { 87 t = (uintptr_t)src; /* only need low bits */ 98 TLOOP1(*dst++ = *src++); 104 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); 106 TLOOP(*dst++ = *src++); 113 src += length; 115 t = (uintptr_t)src; [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
_wcstod.h | 29 * FreeBSD: /repoman/r/ncvs/src/lib/libc/locale/wcstod.c,v 1.4 2004/04/07 09:47:56 tjr Exp
57 const wchar_t *src, *start;
local 65 src = nptr;
66 while (iswspace((wint_t)*src) != 0)
67 ++src;
68 if (*src == L'\0')
81 start = src;
82 len = wcstombs(NULL, src, 0);
95 len = wcstombs(buf, src, bufsiz + 1);
|
/external/autotest/client/site_tests/graphics_SanAngeles/src/ |
cams.h | 38 /* Five parameters of src[5] and dest[5]: 41 short src[5], dest[5]; member in struct:__anon13229
|
/external/google-breakpad/src/processor/ |
disassembler_x86.cc | 82 libdis::x86_op_t *src = libdis::x86_get_src_operand(¤t_instr_); local 119 // Flag block data operations that use bad registers for src or dest. 124 if (src && src->type == libdis::op_expression && 125 src->data.expression.base.id == bad_register_.id) 133 (src && src->type == libdis::op_expression && 134 src->data.expression.base.id == bad_register_.id) || 137 (src && src->type == libdis::op_register & [all...] |
/external/ipsec-tools/src/racoon/ |
rsalist.h | 50 struct netaddr *src; member in struct:rsa_key 55 int rsa_key_insert(struct genlist *list, struct netaddr *src, struct netaddr *dst, RSA *rsa);
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ |
swap_ranges.pass.cpp | 68 int src[2][2] = {{0, 1}, {2, 3}}; local 69 decltype(src) dest = {{9, 8}, {7, 6}}; 71 std::swap(src, dest); 73 assert ( src[0][0] == 9 ); 74 assert ( src[0][1] == 8 ); 75 assert ( src[1][0] == 7 ); 76 assert ( src[1][1] == 6 ); 85 int src[3][3] = {{0, 1, 2}, {3, 4, 5}, {6, 7, 8}}; local 86 decltype(src) dest = {{9, 8, 7}, {6, 5, 4}, {3, 2, 1}}; 88 std::swap(src, dest) [all...] |
/external/lz4/examples/ |
simple_buffer.c | 38 // We'll store some text into a variable pointed to by *src to be compressed later. 39 const char *src = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; local 41 const size_t src_size = strlen(src) + 1; 48 // That's all the information and preparation LZ4 needs to compress *src into *compressed_data. Invoke LZ4_compress_default now 51 return_value = LZ4_compress_default(src, compressed_data, src_size, max_dst_size); 67 // Now that we've successfully compressed the information from *src to *compressed_data, let's do the opposite! We'll create a 85 // We should be able to compare our original *src with our *new_src and be byte-for-byte identical. 86 if (memcmp(src, new_src, src_size) != 0) 87 run_screaming("Validation failed. *src and *new_src are not identical.", 1);
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_opt_small_immediates.c | 49 if (inst->src[i].file == QFILE_SMALL_IMM) 67 struct qreg src = qir_follow_movs(c, inst->src[i]); local 69 if (src.file != QFILE_UNIF || 70 src.pack || 71 c->uniform_contents[src.index] != 84 uint32_t imm = c->uniform_data[src.index]; 94 inst->src[i].file = QFILE_SMALL_IMM; 95 inst->src[i].index = imm;
|
/external/openssh/openbsd-compat/regress/ |
snprintftest.c | 50 char *src; local 57 if ((src = malloc(BUFSZ)) == NULL) { 60 memset(src, 'a', BUFSZ); 61 snprintf(b, sizeof(b), "%.*s", 1, src);
|
/external/strace/tests/ |
test_nlattr.h | 41 const void *const src, 49 memcpy(RTA_DATA(nla), src, n); local
|
/external/strace/tests-m32/ |
test_nlattr.h | 41 const void *const src, 49 memcpy(RTA_DATA(nla), src, n); local
|
/external/strace/tests-mx32/ |
test_nlattr.h | 41 const void *const src, 49 memcpy(RTA_DATA(nla), src, n); local
|
/external/syslinux/gpxe/src/arch/i386/include/ |
realmode.h | 72 * @v src Source 77 void *src, size_t n ) { 78 copy_to_user ( real_to_user ( dest_seg, dest_off ), 0, src, n ); local
|