/external/skia/src/core/ |
SkSpriteBlitterTemplate.h | 22 SkSPRITE_DST_TYPE* SK_RESTRICT dst =fDevice->SkSPRITE_DST_GETADDR(x, y); local 34 SkSPRITE_DST_TYPE* d = dst; 50 dst = (SkSPRITE_DST_TYPE* SK_RESTRICT)((char*)dst + dstRB);
|
/external/skia/src/gpu/ |
SkGrPixelRef.cpp | 86 GrTexture* dst = context->createUncachedTexture(desc, NULL, 0); local 87 if (NULL == dst) { 91 context->copyTexture(texture, dst->asRenderTarget(), topLeft); 100 dst->releaseRenderTarget(); 103 SkGrPixelRef* pixelRef = SkNEW_ARGS(SkGrPixelRef, (info, dst)); 104 SkSafeUnref(dst); 160 bool SkGrPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) { 177 dst->setConfig(SkBitmap::kARGB_8888_Config, width, height); 178 if (!dst->allocPixels()) { 182 SkAutoLockPixels al(*dst); [all...] |
/external/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 75 static void expand_bits_to_bytes(uint8_t dst[], const uint8_t src[], int bits) 81 dst[0] = (mask >> 7) & 1; 82 dst[1] = (mask >> 6) & 1; 83 dst[2] = (mask >> 5) & 1; 84 dst[3] = (mask >> 4) & 1; 85 dst[4] = (mask >> 3) & 1; 86 dst[5] = (mask >> 2) & 1; 87 dst[6] = (mask >> 1) & 1; 88 dst[7] = (mask >> 0) & 1; 89 dst += 8 131 uint8_t* dst = decodedBitmap->getAddr8(0, 0); local [all...] |
/external/skia/src/utils/ |
SkFrontBufferedStream.cpp | 49 // dst, if non-NULL. Updates fOffset. Assumes that fOffset is less 51 size_t readFromBuffer(char* dst, size_t size); 53 // Buffer up to size bytes from the stream, and copy to dst if non- 56 size_t bufferAndWriteTo(char* dst, size_t size); 58 // Read up to size bytes directly from the stream and into dst if non- 61 size_t readDirectlyFromStream(char* dst, size_t size); 101 size_t FrontBufferedStream::readFromBuffer(char* dst, size_t size) { 107 if (dst != NULL) { 108 memcpy(dst, fBuffer + fOffset, bytesToCopy); 119 size_t FrontBufferedStream::bufferAndWriteTo(char* dst, size_t size) 159 char* dst = reinterpret_cast<char*>(voidDst); local [all...] |
SkOSFile.cpp | 37 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t)); local 40 dst[i] = src[i]; 42 if (i > 0 && dst[i-1] != '/') 43 dst[i++] = '/'; 44 dst[i++] = '*'; 49 dst[i++] = *suffix++; 51 dst[i] = 0; 54 return dst;
|
/external/skia/src/views/animated/ |
SkImageView.cpp | 158 SkRect dst; local 159 dst.set(0, 0, this->width(), this->height()); 160 matrix.setRectToRect(src, dst, scaleTypeToScaleToFit(this->getScaleType()));
|
/external/skia/tests/ |
ClipperTest.cpp | 80 SkPoint dst[2]; local 95 bool valid = SkLineClipper::IntersectLine(&gEmpty[i], gR, dst); 97 SkDebugf("----- [%d] %g %g -> %g %g\n", i/2, dst[0].fX, dst[0].fY, dst[1].fX, dst[1].fY); 119 bool valid = SkLineClipper::IntersectLine(&gFull[i], gR, dst); 120 if (!valid || memcmp(&gFull[i], dst, sizeof(dst))) { 121 SkDebugf("++++ [%d] %g %g -> %g %g\n", i/2, dst[0].fX, dst[0].fY, dst[1].fX, dst[1].fY) [all...] |
PackBitsTest.cpp | 36 uint8_t dst[100]; local 38 gTests[i].fCount, dst); 40 int srcCount = SkPackBits::Unpack16(dst, dstSize, src); 49 uint8_t dst[200]; local 52 size_t dstSize = SkPackBits::Pack16(src, size, dst); 56 size_t srcCount = SkPackBits::Unpack16(dst, dstSize, src2); 87 uint8_t dst[100]; local 90 gTests[i].fCount, dst); 93 int srcCount = SkPackBits::Unpack8(dst, dstSize, src); 103 uint8_t dst[600] local [all...] |
StreamTest.cpp | 88 char* dst = new char[100 * 26 + 1]; local 89 dst[100*26] = '*'; 90 ds.copyTo(dst); 91 REPORTER_ASSERT(reporter, dst[100*26] == '*'); 93 REPORTER_ASSERT(reporter, memcmp(&dst[i * 26], s, 26) == 0); 122 REPORTER_ASSERT(reporter, memcmp(dst, data->data(), data->size()) == 0); 134 delete[] dst;
|
/external/stlport/test/unit/ |
uninitialized_test.cpp | 93 vector<NotTrivialCopyStruct> dst(10); 94 uninitialized_copy(src.begin(), src.end(), dst.begin()); 95 vector<NotTrivialCopyStruct>::const_iterator it(dst.begin()), end(dst.end()); 105 TrivialCopyStruct dst[count]; local 113 uninitialized_copy(src+0, src+count, dst+0); 114 for (it = dst+0, end = dst+count; it != end; ++it) { 130 list<NotTrivialCopyStruct> dst(10); 132 list<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end()) [all...] |
/external/v8/src/arm/ |
lithium-gap-resolver-arm.cc | 250 Register dst = cgen_->ToRegister(destination); local 252 __ mov(dst, Operand(cgen_->ToInteger32(constant_source))); 254 __ LoadObject(dst, cgen_->ToHandle(constant_source));
|
/external/v8/src/mips/ |
lithium-gap-resolver-mips.cc | 254 Register dst = cgen_->ToRegister(destination); local 256 __ li(dst, Operand(cgen_->ToInteger32(constant_source))); 258 __ LoadObject(dst, cgen_->ToHandle(constant_source));
|
/external/v8/src/x64/ |
lithium-gap-resolver-x64.cc | 174 Register dst = cgen_->ToRegister(destination); local 175 __ movq(dst, src); 178 Operand dst = cgen_->ToOperand(destination); local 179 __ movq(dst, src); 185 Register dst = cgen_->ToRegister(destination); local 186 __ movq(dst, src); 189 Operand dst = cgen_->ToOperand(destination); local 191 __ movq(dst, kScratchRegister); 197 Register dst = cgen_->ToRegister(destination); local 199 __ movl(dst, Immediate(cgen_->ToInteger32(constant_source))) 205 Operand dst = cgen_->ToOperand(destination); local 250 Register dst = cgen_->ToRegister(destination); local 268 Operand dst = cgen_->ToOperand(destination); local [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
misc.c | 63 UChar* dst = VG_(arena_malloc)( VG_AR_DINFO, cc, nStr ); local 64 tl_assert(dst); 65 VG_(memcpy)(dst, str, nStr); 66 return dst;
|
/external/valgrind/main/none/tests/linux/ |
mremap2.c | 43 // A suitable attempted fixed dst is workingarea + 150*PAGE. 92 char* dst = NULL; variable 99 if (p == dst) return "dst"; 130 dst = dstpossible ? try_dst : dst_impossible; 143 printf("maymv %d fixed %d newsz %2d dstpo %d dst %p -> ", 144 maymove, fixed, newsizes[nsi], dstpossible, dst ); 146 syscall(__NR_mremap, src, 20*PAGE, newsize, flags, dst, 0 );
|
/external/webp/src/utils/ |
rescaler.c | 28 uint8_t* const dst, int dst_width, int dst_height, 36 wrk->dst = dst; 100 uint8_t* const dst = wrk->dst; local 109 dst[x_out] = (!(v & ~0xff)) ? v : (v < 0) ? 0 : 255; 113 wrk->dst += wrk->dst_stride; 114 return dst;
|
rescaler.h | 31 int y_add, y_sub; // vertical increments (add ~= src, sub ~= dst) 32 int x_add, x_sub; // horizontal increments (add ~= src, sub ~= dst) 35 uint8_t* dst; member in struct:__anon28591 40 // Initialize a rescaler given scratch area 'work' and dimensions of src & dst. 42 uint8_t* const dst,
|
/frameworks/av/media/libstagefright/ |
SkipCutBuffer.cpp | 63 char *dst = (char*) buffer->data(); local 64 size_t copied = read(dst, buffer->size()); 90 char *dst = (char*) buffer->base(); local 91 size_t copied = read(dst, buffer->capacity()); 133 size_t SkipCutBuffer::read(char *dst, size_t num) { 148 memcpy(dst, mCutBuffer + mReadHead, copyfirst); 150 dst += copyfirst; 155 memcpy(dst, mCutBuffer, num);
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.cpp | 159 uint8_t *dst = outHeader->pBuffer; local 161 memcpy(dst, srcLine, img->d_w); 164 dst += img->d_w; 169 memcpy(dst, srcLine, img->d_w / 2); 172 dst += img->d_w / 2; 177 memcpy(dst, srcLine, img->d_w / 2); 180 dst += img->d_w / 2;
|
/frameworks/base/libs/hwui/ |
PathTessellator.h | 69 TYPE* dst = alloc<TYPE>(verticesToCopy); local 73 TYPE::copyWithOffset(&dst[i], src[i], xOffset, yOffset);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Alpha8BitmapActivity.java | 87 Rect dst = new Rect(0, mBitmap1.getHeight() * 3, mBitmap1.getWidth(), local 89 canvas.drawBitmap(mBitmap1, src, dst, mBitmapPaint);
|
/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...] |
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 147 jbyte* dst = reinterpret_cast<jbyte*>(&sun.sun_path); local 148 memset(dst, 0, sizeof(sun.sun_path)); 149 env->GetByteArrayRegion(addressBytes.get(), 0, path_length, dst); 165 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr); local 166 env->GetByteArrayRegion(addressBytes.get(), 0, 16, dst); 180 jbyte* dst = reinterpret_cast<jbyte*>(&sin6.sin6_addr.s6_addr[12]); local 181 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst); 192 jbyte* dst = reinterpret_cast<jbyte*>(&sin.sin_addr.s_addr); local 193 env->GetByteArrayRegion(addressBytes.get(), 0, 4, dst);
|
java_util_zip_Inflater.cpp | 77 Bytef* dst = reinterpret_cast<Bytef*>(&stream->input[0]); local 79 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, dst, len))) > 0) { 80 dst += byteCount;
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-boost.c | 37 char *dst; local 39 for (dst = src; *src != '\0'; dst++, src++) 47 *dst = '\t'; 51 *dst = '\n'; 55 *dst = '\r'; 65 *dst = *src; 71 if (src != dst) 72 *dst = *src; 74 *dst = '\0' [all...] |