/external/skia/experimental/Intersection/ |
CubicSubDivide.cpp | 67 void sub_divide(const Cubic& src, double t1, double t2, Cubic& dst) { 69 dst[0] = src[0]; 70 dst[1] = src[1]; 71 dst[2] = src[2]; 72 dst[3] = src[3]; 75 double ax = dst[0].x = interp_cubic_coords(&src[0].x, t1); 76 double ay = dst[0].y = interp_cubic_coords(&src[0].y, t1); 81 double dx = dst[3].x = interp_cubic_coords(&src[0].x, t2); 82 double dy = dst[3].y = interp_cubic_coords(&src[0].y, t2); 87 /* bx = */ dst[1].x = (mx * 2 - nx) / 18 [all...] |
/external/chromium_org/v8/src/x64/ |
assembler-x64.cc | 505 Register dst, 509 emit_rex(dst, size); 512 emit_modrm(subcode, dst); 514 } else if (dst.is(rax)) { 519 emit_modrm(subcode, dst); 525 const Operand& dst, 529 emit_rex(dst, size); 532 emit_operand(subcode, dst); 536 emit_operand(subcode, dst); 543 Register dst, [all...] |
/external/owasp/sanitizer/tools/ |
update_tree_in_svn.py | 61 def remove(src, dst): run(['rm', dst]) 63 def svn_delete(src, dst): svn_deletes.append(dst) 65 def recurse(src, dst): 68 if os.path.isdir(dst): 69 children.update(os.listdir(dst)) 72 handle(os.path.join(src, child), os.path.join(dst, child)) 74 def copy(src, dst): run(['cp', '-f', src, dst]) [all...] |
/build/libs/host/ |
CopyFile.c | 51 static int copyFileRecursive(const char* src, const char* dst, bool isCmdLine, unsigned int options); 99 static void printCopyMsg(const char* src, const char* dst, unsigned int options) 102 printf(" '%s' --> '%s'\n", src, dst); 105 static void printNotNewerMsg(const char* src, const char* dst, unsigned int options) 108 printf(" '%s' is up-to-date\n", dst); 116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) 136 "acp: failed writing '%s': %s\n", dst, strerror(errno)); 141 dst, writeCount, readCount); 160 static int setPermissions(const char* dst, const struct stat* pSrcStat, unsigned int options) 173 if (utime(dst, &ut) != 0) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_rect.c | 44 util_copy_rect(ubyte * dst, 73 dst += dst_x * blocksize; 75 dst += dst_y * dst_stride; 80 memcpy(dst, src, height * width); 83 memcpy(dst, src, width); 84 dst += dst_stride; 91 util_fill_rect(ubyte * dst, 116 dst += dst_x * blocksize; 117 dst += dst_y * dst_stride; 123 memset(dst, uc->ub, height * width_size) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_rect.c | 44 util_copy_rect(ubyte * dst, 73 dst += dst_x * blocksize; 75 dst += dst_y * dst_stride; 80 memcpy(dst, src, height * width); 83 memcpy(dst, src, width); 84 dst += dst_stride; 91 util_fill_rect(ubyte * dst, 116 dst += dst_x * blocksize; 117 dst += dst_y * dst_stride; 123 memset(dst, uc->ub, height * width_size) [all...] |
/external/skia/src/core/ |
SkConfig8888.cpp | 35 void convert32_row(uint32_t* dst, const uint32_t* src, int count) { 36 // This has to be correct if src == dst (but not partial overlap) 38 dst[i] = convert32<doSwapRB, doAlpha>(src[i]); 46 static AlphaVerb compute_AlphaVerb(SkAlphaType src, SkAlphaType dst) { 48 SkASSERT(kIgnore_SkAlphaType != dst); 50 if (kOpaque_SkAlphaType == src || kOpaque_SkAlphaType == dst || src == dst) { 53 if (kPremul_SkAlphaType == dst) { 58 SkASSERT(kUnpremul_SkAlphaType == dst); 63 static void memcpy32_row(uint32_t* dst, const uint32_t* src, int count) [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
MetadataConverter.cpp | 83 struct camera2_shot * dst = NULL; local 89 dst = &dst_ext->shot; 91 dst->magicNumber = 0x23456789; 92 dst->ctl.aa.aeTargetFpsRange[0] = 15; 93 dst->ctl.aa.aeTargetFpsRange[1] = 30; 94 dst->ctl.aa.aeExpCompensation = 5; 105 dst->ctl.lens.focusDistance = curr_entry.data.f[0]; 111 dst->ctl.lens.aperture = curr_entry.data.f[0]; 117 dst->ctl.lens.focalLength = curr_entry.data.f[0]; 123 dst->ctl.lens.filterDensity = curr_entry.data.f[0] 396 struct camera2_shot * dst = NULL; local [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkStippleMaskFilter.cpp | 11 bool SkStippleMaskFilter::filterMask(SkMask* dst, 20 dst->fBounds = src.fBounds; 21 dst->fRowBytes = dst->fBounds.width(); 22 dst->fFormat = SkMask::kA8_Format; 23 dst->fImage = NULL; 26 size_t dstSize = dst->computeImageSize(); 31 dst->fImage = SkMask::AllocImage(dstSize); 34 uint8_t* scanline = dst->fImage; 40 scanline += dst->fRowBytes [all...] |
/external/chromium_org/third_party/skia/tests/ |
QuickRejectTest.cpp | 57 SkBitmap dst; local 58 dst.allocN32Pixels(10, 10); 59 dst.eraseColor(SK_ColorTRANSPARENT); 61 SkCanvas canvas(dst); 65 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 69 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); 72 dst.eraseColor(SK_ColorTRANSPARENT); 73 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 77 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 85 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)) [all...] |
/external/skia/src/effects/ |
SkStippleMaskFilter.cpp | 11 bool SkStippleMaskFilter::filterMask(SkMask* dst, 20 dst->fBounds = src.fBounds; 21 dst->fRowBytes = dst->fBounds.width(); 22 dst->fFormat = SkMask::kA8_Format; 23 dst->fImage = NULL; 26 size_t dstSize = dst->computeImageSize(); 31 dst->fImage = SkMask::AllocImage(dstSize); 34 uint8_t* scanline = dst->fImage; 40 scanline += dst->fRowBytes [all...] |
/external/skia/tests/ |
QuickRejectTest.cpp | 57 SkBitmap dst; local 58 dst.allocN32Pixels(10, 10); 59 dst.eraseColor(SK_ColorTRANSPARENT); 61 SkCanvas canvas(dst); 65 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 69 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)); 72 dst.eraseColor(SK_ColorTRANSPARENT); 73 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 77 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5)); 85 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5)) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Memory.java | 32 * Used to optimize nio heap buffer bulk get operations. 'dst' must be a primitive array. 35 public static native void unsafeBulkGet(Object dst, int dstOffset, int byteCount, 42 public static native void unsafeBulkPut(byte[] dst, int dstOffset, int byteCount, 91 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { 93 dst[offset++] = (byte) ((value >> 24) & 0xff); 94 dst[offset++] = (byte) ((value >> 16) & 0xff); 95 dst[offset++] = (byte) ((value >> 8) & 0xff); 96 dst[offset ] = (byte) ((value >> 0) & 0xff); 98 dst[offset++] = (byte) ((value >> 0) & 0xff); 99 dst[offset++] = (byte) ((value >> 8) & 0xff) [all...] |
/system/core/libcutils/arch-arm64/ |
android_memset.S | 41 #define dst x0 define 88 add dst, dst, tmp1 92 stp A_l, A_l, [dst, #-48] 94 stp A_l, A_l, [dst, #-32] 96 stp A_l, A_l, [dst, #-16] 100 add dst, dst, count 101 stp A_l, A_l, [dst, #-16] /* Repeat some/all of last store. */ 108 str A_l, [dst], # [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
LittleEndian.java | 73 public static void setInt8(byte[] dst, int offset, int value) { 74 dst[offset] = (byte) value; 80 public static void setInt16(byte[] dst, int offset, int value) { 81 dst[offset + 0] = (byte) (value & 0xFF); 82 dst[offset + 1] = (byte) ((value >>> 8) & 0xFF); 88 public static void setInt32(byte[] dst, int offset, long value) 96 dst[offset + 0] = (byte) (value & 0xFF); 97 dst[offset + 1] = (byte) ((value >>> 8) & 0xFF); 98 dst[offset + 2] = (byte) ((value >>> 16) & 0xFF); 99 dst[offset + 3] = (byte) ((value >>> 24) & 0xFF) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BlendComposite.java | 247 public abstract int[] blend(int[] src, int[] dst, int[] result); 361 public int[] blend(int[] src, int[] dst, int[] result) { 369 public int[] blend(int[] src, int[] dst, int[] result) { 371 result[i] = Math.min(255, src[i] + dst[i]); 379 public int[] blend(int[] src, int[] dst, int[] result) { 381 result[i] = (src[i] + dst[i]) >> 1; 383 result[3] = Math.min(255, src[3] + dst[3]); 390 public int[] blend(int[] src, int[] dst, int[] result) { 391 System.arraycopy(dst, 0, result, 0, 3); 392 result[3] = Math.min(255, src[3] + dst[3]) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rtasm/ |
rtasm_x86sse.c | 287 struct x86_reg dst, 290 switch (dst.mod) { 293 emit_modrm(p, dst, src); 300 emit_modrm(p, src, dst); 454 void x86_mov_reg_imm( struct x86_function *p, struct x86_reg dst, int imm ) 456 DUMP_RI( dst, imm ); 457 assert(dst.file == file_REG32); 458 assert(dst.mod == mod_REG); 459 emit_1ub(p, 0xb8 + dst.idx); 463 void x86_mov_imm( struct x86_function *p, struct x86_reg dst, int imm [all...] |
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
rtasm_x86sse.c | 287 struct x86_reg dst, 290 switch (dst.mod) { 293 emit_modrm(p, dst, src); 300 emit_modrm(p, src, dst); 454 void x86_mov_reg_imm( struct x86_function *p, struct x86_reg dst, int imm ) 456 DUMP_RI( dst, imm ); 457 assert(dst.file == file_REG32); 458 assert(dst.mod == mod_REG); 459 emit_1ub(p, 0xb8 + dst.idx); 463 void x86_mov_imm( struct x86_function *p, struct x86_reg dst, int imm [all...] |
/external/chromium_org/v8/src/ia32/ |
assembler-ia32.h | 598 void pop(Register dst); 599 void pop(const Operand& dst); 605 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); } 606 void mov_b(Register dst, const Operand& src); 607 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); } 608 void mov_b(const Operand& dst, int8_t imm8); 609 void mov_b(const Operand& dst, Register src); 611 void mov_w(Register dst, const Operand& src) [all...] |
/external/chromium_org/third_party/skia/src/images/ |
transform_scanline.h | 21 * Transform 'width' pixels from 'src' buffer into 'dst' buffer, 25 int width, char* SK_RESTRICT dst); 28 * Identity transformation: just copy bytes from src to dst. 31 char* SK_RESTRICT dst) { 32 memcpy(dst, src, width); 41 char* SK_RESTRICT dst) { 45 *dst++ = SkPacked16ToR32(c); 46 *dst++ = SkPacked16ToG32(c); 47 *dst++ = SkPacked16ToB32(c); 56 char* SK_RESTRICT dst) { [all...] |
/external/skia/src/images/ |
transform_scanline.h | 21 * Transform 'width' pixels from 'src' buffer into 'dst' buffer, 25 int width, char* SK_RESTRICT dst); 28 * Identity transformation: just copy bytes from src to dst. 31 char* SK_RESTRICT dst) { 32 memcpy(dst, src, width); 41 char* SK_RESTRICT dst) { 45 *dst++ = SkPacked16ToR32(c); 46 *dst++ = SkPacked16ToG32(c); 47 *dst++ = SkPacked16ToB32(c); 56 char* SK_RESTRICT dst) { [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Base64.java | 110 byte[] dst = new byte[codeLength]; 125 dst[didx++] = base64[bits6]; 127 dst[didx++] = base64[bits6]; 129 dst[didx++] = base64[bits6]; 131 dst[didx++] = base64[bits6]; 136 dst[didx++] = 0x0A; 144 dst[didx++] = base64[bits6]; 146 dst[didx++] = base64[bits6]; 148 dst[didx++] = base64[bits6]; 149 dst[didx++] = (byte) '='; [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_clock.cc | 28 // void ThreadClock::release(SyncClock *dst) const { 30 // dst->clock[i] = max(dst->clock[i], clock[i]); 33 // void ThreadClock::ReleaseStore(SyncClock *dst) const { 35 // dst->clock[i] = clock[i]; 38 // void ThreadClock::acq_rel(SyncClock *dst) { 39 // acquire(dst); 40 // release(dst); 162 void ThreadClock::release(SyncClock *dst) const { 164 DCHECK_LE(dst->clk_.Size(), kMaxTid) [all...] |
/bionic/libc/arch-arm64/denver64/bionic/ |
memcpy.S | 47 #define dst x6 define 65 mov dst, dstin 78 add dst, dst, tmp1 84 stp A_l, A_h, [dst, #-48] 87 stp A_l, A_h, [dst, #-32] 90 stp A_l, A_h, [dst, #-16] 97 add dst, dst, count 98 stp A_l, A_h, [dst, #-16 [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_extend.c | 17 uint8_t *dst, int dst_pitch, 26 uint8_t *dst_ptr1 = dst - extend_left; 27 uint8_t *dst_ptr2 = dst + w; 41 src_ptr1 = dst - extend_left; 42 src_ptr2 = dst + dst_pitch * (h - 1) - extend_left; 43 dst_ptr1 = dst + dst_pitch * (-extend_top) - extend_left; 44 dst_ptr2 = dst + dst_pitch * (h) - extend_left; 59 YV12_BUFFER_CONFIG *dst) { 79 const int et_a = dst->border >> (dst->alpha_height != dst->y_height) [all...] |