/external/qemu/distrib/sdl-1.2.15/src/file/ |
SDL_rwops.c | 449 char *dst = path; local 456 *dst++ = ':'; /* relative paths begin with ':' */ 470 SDL_memcpy(dst, src, len); 471 dst += len; 474 *dst++ = ':'; 478 *dst++ = '\0'; 644 int SDL_WriteLE16 (SDL_RWops *dst, Uint16 value) 647 return(SDL_RWwrite(dst, &value, (sizeof value), 1)); 649 int SDL_WriteBE16 (SDL_RWops *dst, Uint16 value) 652 return(SDL_RWwrite(dst, &value, (sizeof value), 1)) [all...] |
/external/qemu-pc-bios/vgabios/tests/lfbprof/ |
lfbprof.c | 551 void *image[10],*dst; local
|
/external/skia/bench/ |
MatrixBench.cpp | 285 SkPoint* dst = fDst; local 293 dst->fY = SkScalarMulAdd(src->fY, my, ty); 294 dst->fX = SkScalarMulAdd(src->fX, mx, tx); 296 dst += 1; 324 SkPoint* dst = fDst; local 333 dst->fY = src->fY * my + ty; 334 dst->fX = src->fX * mx + tx; 336 dst += 1;
|
/external/skia/include/utils/ |
SkMatrix44.h | 330 /** Apply the matrix to the src vector, returning the new vector in dst. 331 It is legal for src and dst to point to the same memory. 333 void mapScalars(const SkScalar src[4], SkScalar dst[4]) const; 339 void map(const SkScalar src[4], SkScalar dst[4]) const { 340 this->mapScalars(src, dst); 349 void mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const; 351 inline void mapMScalars(const SkMScalar src[4], SkMScalar dst[4]) const { 352 this->mapScalars(src, dst); 360 SkVector4 dst; local 361 m.mapScalars(src.fData, dst.fData) [all...] |
/external/skia/src/core/ |
SkBitmapProcState.cpp | 50 SkRect src, dst; local 56 matrix.mapPoints(SkTCast<SkPoint*>(&dst), 65 dst.round(&idst); 295 static bool get_locked_pixels(const SkBitmap& src, int pow2, SkBitmap* dst) { 297 if (pr && pr->decodeInto(pow2, dst)) { 306 *dst = src; 307 dst->lockPixels(); 308 return SkToBool(dst->getPixels()); [all...] |
SkGeometry.cpp | 256 static void interp_quad_coords(const SkScalar* src, SkScalar* dst, SkScalar t) 261 dst[0] = src[0]; 262 dst[2] = ab; 263 dst[4] = SkScalarInterp(ab, bc, t); 264 dst[6] = bc; 265 dst[8] = src[4]; 268 void SkChopQuadAt(const SkPoint src[3], SkPoint dst[5], SkScalar t) 272 interp_quad_coords(&src[0].fX, &dst[0].fX, t); 273 interp_quad_coords(&src[0].fY, &dst[0].fY, t); 276 void SkChopQuadAtHalf(const SkPoint src[3], SkPoint dst[5] 885 float dst[3]; local [all...] |
SkString.cpp | 467 char* dst = this->writable_str(); local 470 memmove(dst + offset + len, dst + offset, length - offset); 472 memcpy(dst + offset, text, len); 474 dst[length + len] = 0; 481 char* dst = tmp.writable_str(); local 484 memcpy(dst, fRec->data(), offset); 486 memcpy(dst + offset, text, len); 488 memcpy(dst + offset + len, fRec->data() + offset, 598 char* dst = tmp.writable_str() local [all...] |
/external/skia/src/effects/ |
SkTableColorFilter.cpp | 16 uint8_t* dst = fStorage; local 18 memcpy(dst, tableA, 256); 19 dst += 256; 23 memcpy(dst, tableR, 256); 24 dst += 256; 28 memcpy(dst, tableG, 256); 29 dst += 256; 33 memcpy(dst, tableB, 256); 49 SkPMColor dst[]) const SK_OVERRIDE; 111 SkPMColor dst[]) const [all...] |
/external/skia/src/gpu/ |
GrClipMaskManager.cpp | 486 GrTexture* dst; local 507 dst = temp.texture(); 512 dst->asRenderTarget()); 518 dst = result; 532 if (!this->drawElement(dst, element, pr)) { [all...] |
/external/skia/src/images/ |
SkImageDecoder_libwebp.cpp | 59 unsigned char* dst = buffer + totalBytesRead; local 60 const size_t bytesRead = stream->read(dst, bytesToRead);
|
SkScaledBitmapSampler.cpp | 20 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; local 22 dst[x] = SkPackARGB32(0xFF, src[0], src[0], src[0]); 36 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; local 38 dst[x] = SkPackARGB32(0xFF, src[0], src[1], src[2]); 52 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; local 56 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); 67 uint32_t* SK_RESTRICT dst = reinterpret_cast<uint32_t*>(dstRow); local 71 dst[x] = SkPackARGB32NoCheck(alpha, src[0], src[1], src[2]); 82 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; local 87 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]) 114 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 125 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 145 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 157 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 178 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 197 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 209 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 230 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 241 SkPMColor16* dst = (SkPMColor16*)dstRow; local 263 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 280 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 300 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 318 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 360 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; local 376 SkPMColor* SK_RESTRICT dst = (SkPMColor*)dstRow; local 405 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 417 uint16_t* SK_RESTRICT dst = (uint16_t*)dstRow; local 441 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 456 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 473 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 490 SkPMColor16* SK_RESTRICT dst = (SkPMColor16*)dstRow; local 529 uint8_t* SK_RESTRICT dst = (uint8_t*)dstRow; local [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 19 void S32_Blend_BlitRow32_SSE2(SkPMColor* SK_RESTRICT dst, 31 SkASSERT(((size_t)dst & 0x03) == 0); 32 while (((size_t)dst & 0x0F) != 0) { 33 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale); 35 dst++; 40 __m128i *d = reinterpret_cast<__m128i*>(dst); 101 dst = reinterpret_cast<SkPMColor*>(d); 105 *dst = SkAlphaMulQ(*src, src_scale) + SkAlphaMulQ(*dst, dst_scale) 424 SkPMColor* dst = (SkPMColor *)device; local [all...] |
/external/skia/src/pathops/ |
SkPathOpsQuad.cpp | 219 SkDQuad dst; local 220 double ax = dst[0].fX = interp_quad_coords(&fPts[0].fX, t1); 221 double ay = dst[0].fY = interp_quad_coords(&fPts[0].fY, t1); 224 double cx = dst[2].fX = interp_quad_coords(&fPts[0].fX, t2); 225 double cy = dst[2].fY = interp_quad_coords(&fPts[0].fY, t2); 226 /* bx = */ dst[1].fX = 2*dx - (ax + cx)/2; 227 /* by = */ dst[1].fY = 2*dy - (ay + cy)/2; 228 return dst; 282 static void interp_quad_coords(const double* src, double* dst, double t) { 285 dst[0] = src[0] 294 SkDQuadPair dst; local [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 101 uint16_t* dst = reinterpret_cast<uint16_t*>(mask.fImage); local 111 dst[x] = -bittst(src, x); 113 dst = (uint16_t*)((char*)dst + dstRB); 120 dst[x] = grayToRGB16(src[x]); 122 dst = (uint16_t*)((char*)dst + dstRB); 132 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[2], tableR), 139 dst[x] = packTriple(sk_apply_lut_if<APPLY_PREBLEND>(triple[0], tableR), 146 dst = (uint16_t*)((char*)dst + dstRB) 200 uint8_t* dst = dstMask.fImage; local 284 uint8_t* dst = mask.fImage; local 491 uint16_t* dst = reinterpret_cast<uint16_t*>(glyph.fImage); local 513 uint8_t* SK_RESTRICT dst = (uint8_t*)glyph.fImage; local [all...] |
SkImageDecoder_WIC.cpp | 328 SkColor* dst = reinterpret_cast<SkColor*>(bytes); local 330 *dst = SkUnPreMultiply::PMColorToColor(*src);
|
/external/skia/src/xml/ |
SkDOM.cpp | 196 char* dst = (char*)chunk->alloc(len + 1, SkChunkAlloc::kThrow_AllocFailType); local 197 memcpy(dst, src, len + 1); 198 return dst;
|
/external/skia/tests/ |
BlurTest.cpp | 162 SkMask src, dst; local 171 dst.fImage = NULL; 172 SkBlurMask::BlurGroundTruth(sigma, &dst, src, SkBlurMask::kNormal_Style); 174 int midX = dst.fBounds.centerX(); 175 int midY = dst.fBounds.centerY(); 176 uint8_t* bytes = dst.getAddr8(midX, midY); 178 for (i = 0; i < dst.fBounds.width()-(midX-dst.fBounds.fLeft); ++i) { 188 SkMask::FreeImage(dst.fImage);
|
Matrix44Test.cpp | 285 SkScalar dst[8]; local 293 c.mapScalars(src, dst); c.mapScalars(src + 4, dst + 4); 295 REPORTER_ASSERT(reporter, 10 == dst[i]); 296 REPORTER_ASSERT(reporter, 12 == dst[i + 4]); 305 c.mapScalars(src, dst); c.mapScalars(src + 4, dst + 4); 307 REPORTER_ASSERT(reporter, 20 == dst[i]); 308 REPORTER_ASSERT(reporter, 22 == dst[i + 4]);
|
/external/srec/srec/Semproc/src/ |
SemanticProcessorImpl.c | 177 ESR_ReturnCode append_with_check(LCHAR** dst, const LCHAR src, const LCHAR* end) 179 if (*dst < end) 181 **dst = src; 182 ++(*dst); 481 LCHAR* dst = NULL; local 566 for (dst = &semproc->acc_scripts[0], semproc->acc_scripts[0] = '\0', i = 0; i < raw_scripts_buf.num_scripts; ++i) 574 /* set the rule name in a temporary buffer and in the dst */ 579 CHKLOG(rc, append_with_check(&dst, *src, &semproc->acc_scripts[MAX_SCRIPT_LEN-1])); 586 CHKLOG(rc, append_with_check(&dst, L('.'), &semproc->acc_scripts[MAX_SCRIPT_LEN-1])); 597 /* get the LHS identifier, append to dst, and store temporaril 787 LCHAR* dst = NULL; local [all...] |
/external/tcpdump/ |
print-tcp.c | 74 struct in_addr dst; member in struct:tha 77 struct in6_addr dst; 121 u_int32_t dst; member in struct:phu::phdr 136 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 138 phu.ph.dst = ip_finddst(ip); 314 const void *src, *dst; local 328 dst = &ip6->ip6_dst; 332 if (memcmp(src, dst, sizeof ip6->ip6_dst) > 0) 336 memcpy(&tha.src, dst, sizeof ip6->ip6_dst); 337 memcpy(&tha.dst, src, sizeof ip6->ip6_src) [all...] |
/external/valgrind/main/VEX/priv/ |
main_main.c | 850 { UChar* dst = &vta->host_bytes[out_used]; local [all...] |
/external/valgrind/main/VEX/switchback/ |
switchback.c | 114 static Bool chase_into_ok ( Addr64 dst ) { return False; } 880 HChar* dst = ((HChar*)(&trans_cache[trans_cache_used])) + i; local 882 *dst = *src;
|
/external/valgrind/main/memcheck/tests/ |
str_tester.c | 179 void *dst = one; local 180 check (strcpy (dst, src) == dst, 1); 181 equal (dst, "frobozz", 2); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_named_pipe.c | 87 static void ctrl_close_pipe(struct wpa_ctrl_dst *dst); 93 static void global_close_pipe(struct wpa_global_dst *dst); 116 struct wpa_ctrl_dst *dst, *next; local 118 dst = priv->ctrl_dst; 120 while (dst) { 121 next = dst->next; 122 if (ctrl_broken_pipe(dst->pipe, dst->used)) { 124 dst); 125 ctrl_close_pipe(dst); 134 struct wpa_ctrl_dst *dst; local 257 struct wpa_ctrl_dst *dst = (struct wpa_ctrl_dst *) overlap; local 349 struct wpa_ctrl_dst *dst = (struct wpa_ctrl_dst *) overlap; local 359 struct wpa_ctrl_dst *dst = eloop_data; local 479 struct wpa_ctrl_dst *dst, *next; local 558 struct wpa_global_dst *dst, *next; local 576 struct wpa_global_dst *dst; local 688 struct wpa_global_dst *dst = (struct wpa_global_dst *) overlap; local 765 struct wpa_global_dst *dst = (struct wpa_global_dst *) overlap; local 776 struct wpa_global_dst *dst = eloop_data; local [all...] |
wpas_glue.c | 124 u8 *msg, *dst, bssid[ETH_ALEN]; local 156 dst = bssid; 159 MAC2STR(dst)); 161 dst = wpa_s->last_eapol_src; 165 MAC2STR(dst)); 170 dst = wpa_s->bssid; 177 wpa_printf(MSG_DEBUG, "TX EAPOL: dst=" MACSTR, MAC2STR(dst)); 179 res = wpa_ether_send(wpa_s, dst, ETH_P_EAPOL, msg, msglen); 540 static int wpa_supplicant_send_tdls_mgmt(void *ctx, const u8 *dst, [all...] |