/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] });
|
/system/netd/libnetdutils/include/netdutils/ |
MemBlock.h | 38 // Allocate memory of size src.size() and copy src into this MemBlock. 39 MemBlock(Slice src) : MemBlock(src.size()) { 40 copy(get(), src); local
|
/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/tools/ahat/src/main/com/android/ahat/heapdump/ |
Reference.java | 20 * Reference represents a reference from 'src' to 'ref' through 'field'. 27 public final AhatInstance src; field in class:Reference 32 public Reference(AhatInstance src, String field, AhatInstance ref, boolean strong) { 33 this.src = src;
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
memmove.c | 52 const char *src = src0; local 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...] |
/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:__anon14211
|
/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/honggfuzz/examples/badcode/targets/ |
badcode2.c | 12 char src[128]; local 14 memcpy(src, dst, 8192);
|
/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 | 65 int src[2][2] = {{0, 1}, {2, 3}}; local 66 decltype(src) dest = {{9, 8}, {7, 6}}; 68 std::swap(src, dest); 70 assert ( src[0][0] == 9 ); 71 assert ( src[0][1] == 8 ); 72 assert ( src[1][0] == 7 ); 73 assert ( src[1][1] == 6 ); 82 int src[3][3] = {{0, 1, 2}, {3, 4, 5}, {6, 7, 8}}; local 83 decltype(src) dest = {{9, 8, 7}, {6, 5, 4}, {3, 2, 1}}; 85 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/skia/tests/ |
SkColorSpace_NewTest.cpp | 8 #include "../src/jumper/SkJumper.h" 43 // blending the same src color over the same dst color, but with 44 // three different transfer functions, for simplicity the same for src and dst. 45 SkColor src = 0x7f7f0000; local 59 SkJumper_MemoryCtx src_ctx = { &src, 0 },
|
/external/skqp/tests/ |
SkColorSpace_NewTest.cpp | 8 #include "../src/jumper/SkJumper.h" 43 // blending the same src color over the same dst color, but with 44 // three different transfer functions, for simplicity the same for src and dst. 45 SkColor src = 0x7f7f0000; local 59 SkJumper_MemoryCtx src_ctx = { &src, 0 },
|
/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
|
/external/syslinux/gpxe/src/include/gpxe/ |
udp.h | 34 uint16_t src; member in struct:udp_header
|
/external/tensorflow/tensorflow/core/kernels/ |
ops_testutil.cc | 54 auto src = output->tensor_data(); local 57 src.data(), src.size());
|
/external/valgrind/memcheck/tests/ |
overlap.c | 116 and used 'n' for the length, even when the src was shorter than 'n' */ 119 char src [16]; local 120 strcpy( src, "short" ); 121 strncpy( dest, src, 20 );
|
/frameworks/av/media/libstagefright/filters/ |
ZeroFilter.cpp | 44 uint32_t* src = (uint32_t*)srcBuffer->data(); local 47 *(dest++) = *(src++) ^ 0xFFFFFFFF;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
ZipFileRO.h | 165 ZipFileRO(const ZipFileRO& src); variable 166 ZipFileRO& operator=(const ZipFileRO& src);
|
/frameworks/native/opengl/tests/angeles/ |
cams.h | 38 /* Five parameters of src[5] and dest[5]: 41 short src[5], dest[5]; member in struct:__anon46498
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
AppCompatAnimatedVector.java | 37 final Drawable src = imageView.getDrawable(); local 38 if (src instanceof Animatable) { 39 ((Animatable) src).start();
|