/external/skia/tests/ |
ColorTest.cpp | 55 SkPMColor dst = SkPreMultiplyColor(colorDst); 57 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst); 58 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src); 72 SkPMColor dst = SkPreMultiplyColor(colorDst); local 74 REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a0) == dst); 75 REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a255) == src);
|
PackBitsTest.cpp | 37 uint8_t dst[100]; local 40 gTests[i].fCount, dst, maxSize - 1); 43 gTests[i].fCount, dst, sizeof(dst)); 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); 48 srcCount = SkPackBits::Unpack8(dst, dstSize, src, sizeof(src)); 58 uint8_t dst[600]; local 61 size_t dstSize = SkPackBits::Pack8(src, size, dst, sizeof(dst)); 65 size_t srcCount = SkPackBits::Unpack8(dst, dstSize, src2, size) [all...] |
SRGBTest.cpp | 72 SkJumper_MemoryCtx dst = { &color, 0 }; local 78 p.append(SkRasterPipeline::store_f32, &dst);
|
/external/skqp/bench/ |
ReadPixBench.cpp | 94 SkPixmap src, dst; variable 96 fDst.peekPixels(&dst); 98 SkPixmapPriv::Orient(dst, src, flags);
|
SkRasterPipelineBench.cpp | 15 static uint64_t dst[N]; // sRGB or F16 variable 22 // - load srgb/f16 dst 23 // - src = srcover(dst, src) 41 dst_ctx = {dst, 0}; 81 dst_ctx = {dst, 0};
|
/external/skqp/experimental/tools/ |
coreGraphicsPdf2png.cpp | 63 CGImageDestinationRef dst = local 66 ASSERT(dst); 67 CGImageDestinationAddImage(dst, image, nullptr); 68 ASSERT(CGImageDestinationFinalize(dst)); 69 CFRelease(dst);
|
/external/skqp/samplecode/ |
SampleCamera.cpp | 39 SkRect dst = { -150, -150, 150, 150 }; local 41 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit);
|
/external/skqp/src/core/ |
SkBlitter_A8.cpp | 52 uint8_t* dst = fDevice.writable_addr8(x, y); local 55 *dst = alpha; 56 dst += dstRB; 61 uint8_t* dst = fDevice.writable_addr8(x, y); local 64 memset(dst, 0xFF, width); 65 dst += dstRB; 77 uint8_t* dst = fDevice.writable_addr8(x, y); local 83 memcpy(dst, src, width); 84 dst += dstRB;
|
SkSpriteBlitter_RGB565.cpp | 20 static void S32_src(uint16_t dst[], const SkPMColor src[], int count) { 22 dst[i] = SkPixel32ToPixel16(src[i]); 26 static void S32_srcover(uint16_t dst[], const SkPMColor src[], int count) { 28 dst[i] = SkSrcOver32To16(src[i], dst[i]); 43 uint16_t* SK_RESTRICT dst = fDst.writable_addr16(x, y); variable 50 S32_srcover(dst, src, width); 52 S32_src(dst, src, width); 55 dst = (uint16_t* SK_RESTRICT)((char*)dst + dstRB) 131 uint8_t* SK_RESTRICT dst = fDst.writable_addr8(x, y); variable [all...] |
SkXfermode.cpp | 34 void xfer32(SkPMColor dst[], const SkPMColor src[], int count, 36 SkASSERT(dst && src && count >= 0); 40 SkJumper_MemoryCtx dst_ctx = { (void*)dst, 0 }, 81 "Clear", "Src", "Dst", "SrcOver", "DstOver", "SrcIn", "DstIn", 121 SkBlendModeCoeff src, dst; local 122 if (!SkBlendMode_AsCoeff(mode, &src, &dst)) { 136 switch (dst) {
|
/external/skqp/src/effects/ |
SkImageSource.cpp | 62 SkRect src, dst; local 64 buffer.readRect(&dst); 71 return SkImageSource::Make(std::move(image), src, dst, filterQuality); 163 str->appendf("src: (%f,%f,%f,%f) dst: (%f,%f,%f,%f) ",
|
/external/skqp/src/jumper/ |
SkJumper_misc.h | 35 template <typename Dst, typename Src> 36 SI Dst bit_cast(const Src& src) { 37 static_assert(sizeof(Dst) == sizeof(Src), ""); 38 return unaligned_load<Dst>(&src); 41 template <typename Dst, typename Src> 42 SI Dst widen_cast(const Src& src) { 43 static_assert(sizeof(Dst) > sizeof(Src), ""); 44 Dst dst; local 45 memcpy(&dst, &src, sizeof(Src)) [all...] |
/external/skqp/src/utils/ |
SkBase64.cpp | 37 unsigned char* dst = (unsigned char*) fData; local 88 *dst = (unsigned char) one; 90 dst++; 94 *dst = (unsigned char) two; 95 dst++; 99 *dst = (unsigned char) three; 100 dst++; 103 fLength = dst - dstStart; 119 unsigned char* dst = (unsigned char*) dstPtr; 120 if (dst) { [all...] |
/external/skqp/tests/ |
ColorTest.cpp | 55 SkPMColor dst = SkPreMultiplyColor(colorDst); 57 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a0) == dst); 58 REPORTER_ASSERT(reporter, SkFourByteInterp(src, dst, a255) == src); 72 SkPMColor dst = SkPreMultiplyColor(colorDst); local 74 REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a0) == dst); 75 REPORTER_ASSERT(reporter, SkFastFourByteInterp(src, dst, a255) == src);
|
PackBitsTest.cpp | 37 uint8_t dst[100]; local 40 gTests[i].fCount, dst, maxSize - 1); 43 gTests[i].fCount, dst, sizeof(dst)); 46 int srcCount = SkPackBits::Unpack8(dst, dstSize, src, gTests[i].fCount - 1); 48 srcCount = SkPackBits::Unpack8(dst, dstSize, src, sizeof(src)); 58 uint8_t dst[600]; local 61 size_t dstSize = SkPackBits::Pack8(src, size, dst, sizeof(dst)); 65 size_t srcCount = SkPackBits::Unpack8(dst, dstSize, src2, size) [all...] |
SRGBTest.cpp | 72 SkJumper_MemoryCtx dst = { &color, 0 }; local 78 p.append(SkRasterPipeline::store_f32, &dst);
|
/external/syslinux/core/ |
serirq.c | 42 char *dst; local 46 dst = SerialHead; 55 *dst++ = inb(SerialPort); 60 dst = (char *)((unsigned long)dst & (serial_buf_size - 1)); 63 if (dst != SerialTail) 64 SerialHead = dst; 95 static inline void save_irq_vectors(uint32_t *src, uint32_t *dst) 100 *dst++ = *src++; 103 static inline void install_irq_vectors(uint32_t *dst, int first 169 uint32_t *dst; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
layout_util_test.cc | 74 Shape dst = MakeShapeWithLayout(F32, {2, 3}, {1, 0}); local 76 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(src, dst)); 77 EXPECT_IS_OK(LayoutUtil::CopyLayoutBetweenShapes(src, &dst)); 78 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(src, dst)); 81 dst.clear_layout(); 82 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(src, dst)); 83 EXPECT_IS_OK(LayoutUtil::CopyLayoutBetweenShapes(src, &dst)); 84 EXPECT_TRUE(LayoutUtil::LayoutsInShapesEqual(src, dst)); 88 EXPECT_FALSE(LayoutUtil::LayoutsInShapesEqual(src, dst)); 89 EXPECT_TRUE(dst.has_layout()) 97 Shape dst = MakeShapeWithLayout(F32, {2, 3}, {1, 0}); local 125 Shape dst = ShapeUtil::MakeTupleShape( local 144 Shape dst = ShapeUtil::MakeTupleShape( local 158 Shape dst = MakeShapeWithLayout(F32, {2, 3, 5}, {1, 0}); local 165 Shape dst = MakeShapeWithLayout(F32, {2, 3, 5}, {1, 0}); local 172 Shape dst = MakeShapeWithLayout(F32, {2, 3}, {1, 0}); local 181 Shape dst = MakeShapeWithSparseLayout(F32, {2, 3}, 4); local 194 Shape dst = ShapeUtil::MakeTupleShape( local 209 Shape dst = ShapeUtil::MakeShape(F32, {2, 3}); local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
thunk_schedule.cc | 63 const auto* dst = thunk->hlo_instruction(); local 64 CHECK(stream_assignment_->HasStreamAssigned(*dst)); 65 for (const auto* src : dst->operands()) { 108 for (const Thunk* dst : thunk_total_order_) { 109 if (!depends_on_.count(dst)) { 114 stream_assignment_->StreamNumberForHlo(*dst->hlo_instruction()); 115 std::list<const Thunk*>& sources = FindOrDie(depends_on_, dst); 118 // `dst` depends on `src`. 130 depends_on_.erase(dst);
|
/external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
segment.cc | 39 const tensorflow::Node* dst = edge->dst(); local 42 // graph. So, if there is a directed path from 'src' to 'dst', other 43 // than 'edge' (or any other direct edge from 'src' to 'dst'), then 44 // combining 'src' and 'dst' will cause a cycle along that path. 48 // 1. Get all nodes incoming to 'dst', excluding 'src' 52 for (tensorflow::Node* node : dst->in_nodes()) { 73 // Transfer all inputs and outputs of 'dst' to 'src' except edges 76 tensorflow::Node* dst = edge->dst(); local 197 const tensorflow::Node* dst = contract_edge->dst(); local [all...] |
/external/tensorflow/tensorflow/core/framework/ |
rendezvous.h | 60 // Parses the key constructed by CreateKey and parse src/dst device 67 DeviceNameUtils::ParsedName dst; member in struct:tensorflow::Rendezvous::ParsedKey
|
/external/tensorflow/tensorflow/core/kernels/ |
inplace_ops_functor_gpu.cu.cc | 32 const T* src, T* dst) { 36 T* p = dst + r * cols + c; 51 T* dst = output->flat<T>().data(); local 54 cfg.virtual_thread_count, nrows, ncols, loc, src, dst);
|
/external/vixl/src/ |
code-buffer-vixl.cc | 115 char* dst = reinterpret_cast<char*>(cursor_); local 117 char* null_char = stpcpy(dst, string); 132 byte* dst = buffer_ + offset; local 133 VIXL_ASSERT(dst + size <= cursor_); 134 memcpy(dst, data, size);
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTPAssembler.cpp | 89 uint8_t *dst = accessUnit->data() + offset; local 97 dst[0] = 0xff; 99 dst[1] = 102 dst[2] = (profile << 6) 106 dst[3] = ((channelConfig & 3) << 6) | (frameLength >> 11); 108 dst[4] = (frameLength >> 3) & 0xff; 109 dst[5] = (frameLength & 7) << 5; 110 dst[6] = 0x00; 112 memcpy(dst + 7, nal->data(), nal->size());
|
/system/bt/btif/co/ |
bta_pan_co.cc | 157 RawAddress dst; local 176 p_buf = bta_pan_ci_readbuf(handle, src, dst, &protocol, &ext, &forward); 187 btpan_tap_send(btpan_cb.tap_fd, src, dst, protocol, 229 UNUSED_ATTR const RawAddress& dst, 252 UNUSED_ATTR const RawAddress& dst,
|