Home
last modified time | relevance | path

Searched refs:cPtr (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/experimental/skottiekit/
Dinterface.js12 var cPtr = copy1dArray(color4f, SkottieKit.HEAPF32);
13 this._clear(cPtr);
14 SkottieKit._free(cPtr);
Dskottiekit_bindings.cpp338 .function("_clear", optional_override([](SkCanvas& self, uintptr_t /* float* */ cPtr) { in EMSCRIPTEN_BINDINGS() argument
340 float* fourFloats = reinterpret_cast<float*>(cPtr); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/
Dinterface.js453 var cPtr = copyColorToWasm(color4f);
454 this._clear(cPtr);
550 var cPtr = copyColorToWasm(color4f);
552 this._drawColor(cPtr, mode);
554 this._drawColor(cPtr);
565 var cPtr = copyColorComponentsToWasm(r, g, b, a);
567 this._drawColor(cPtr, mode);
569 this._drawColor(cPtr);
611 var cPtr = copyIRectToWasm(center);
613 this._drawImageNine(img, cPtr, dPtr, filter, paint || null);
[all …]
Dcanvaskit_bindings.cpp99 SkColor4f ptrToSkColor4f(WASMPointerF32 cPtr) { in ptrToSkColor4f() argument
100 float* fourFloats = reinterpret_cast<float*>(cPtr); in ptrToSkColor4f()
912 .function("_clear", optional_override([](SkCanvas& self, WASMPointerF32 cPtr) { in EMSCRIPTEN_BINDINGS() argument
913 self.clear(ptrToSkColor4f(cPtr)); in EMSCRIPTEN_BINDINGS()
965 .function("_drawColor", optional_override([](SkCanvas& self, WASMPointerF32 cPtr) { in EMSCRIPTEN_BINDINGS() argument
966 self.drawColor(ptrToSkColor4f(cPtr)); in EMSCRIPTEN_BINDINGS()
968 ….function("_drawColor", optional_override([](SkCanvas& self, WASMPointerF32 cPtr, SkBlendMode mode… in EMSCRIPTEN_BINDINGS() argument
969 self.drawColor(ptrToSkColor4f(cPtr), mode); in EMSCRIPTEN_BINDINGS()
1194 ….class_function("_MakeBlend", optional_override([](WASMPointerF32 cPtr, SkBlendMode mode)->sk_sp<S… in EMSCRIPTEN_BINDINGS() argument
1195 return SkColorFilters::Blend(ptrToSkColor4f(cPtr).toSkColor(), mode); in EMSCRIPTEN_BINDINGS()
[all …]
Dskottie.js122 var cPtr = copyColorToWasm(color);
123 return this._setColor(key, cPtr);
Dskottie_bindings.cpp343 …lor" , optional_override([](ManagedAnimation& self, const std::string& key, WASMPointerF32 cPtr) { in EMSCRIPTEN_BINDINGS() argument
344 float* fourFloats = reinterpret_cast<float*>(cPtr); in EMSCRIPTEN_BINDINGS()
Dparagraph_bindings.cpp31 SkColor4f toSkColor4f(WASMPointerF32 cPtr) { in toSkColor4f() argument
32 float* fourFloats = reinterpret_cast<float*>(cPtr); in toSkColor4f()
/third_party/grpc/src/csharp/Grpc.Core.Api/Utils/
DEncodingExtensions.cs37 fixed (char* cPtr = s) in GetString()
39 encoding.GetChars(source, byteCount, cPtr, charCount); in GetString()
/third_party/lz4/programs/
Dbench.c309 char* cPtr; member
345 char* cPtr = (char*)compressedBuffer; in BMK_benchMem() local
355 blockTable[nbBlocks].cPtr = cPtr; in BMK_benchMem()
360 cPtr += blockTable[nbBlocks].cRoom; in BMK_benchMem()
409 blockTable[blockNb].srcPtr, blockTable[blockNb].cPtr, in BMK_benchMem()
452 blockTable[blockNb].cPtr, blockTable[blockNb].resPtr, in BMK_benchMem()
/third_party/flutter/skia/tests/
DPathOpsTestCommon.cpp22 const SkDCubic* cPtr; in calc_t_div() local
24 cPtr = &cubic; in calc_t_div()
28 cPtr = &sub; in calc_t_div()
30 const SkDCubic& c = *cPtr; in calc_t_div()
/third_party/skia/tests/
DPathOpsTestCommon.cpp23 const SkDCubic* cPtr; in calc_t_div() local
25 cPtr = &cubic; in calc_t_div()
29 cPtr = &sub; in calc_t_div()
31 const SkDCubic& c = *cPtr; in calc_t_div()
/third_party/flutter/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp637 uintptr_t /* SkColor* */ cPtr, uintptr_t /* SkScalar* */ pPtr, in EMSCRIPTEN_BINDINGS()
641 const SkColor* colors = reinterpret_cast<const SkColor*> (cPtr); in EMSCRIPTEN_BINDINGS()
648 uintptr_t /* SkColor* */ cPtr, uintptr_t /* SkScalar* */ pPtr, in EMSCRIPTEN_BINDINGS()
653 const SkColor* colors = reinterpret_cast<const SkColor*> (cPtr); in EMSCRIPTEN_BINDINGS()
662 uintptr_t /* SkColor* */ cPtr, uintptr_t /* SkScalar* */ pPtr, in EMSCRIPTEN_BINDINGS()
665 const SkColor* colors = reinterpret_cast<const SkColor*> (cPtr); in EMSCRIPTEN_BINDINGS()
672 uintptr_t /* SkColor* */ cPtr, uintptr_t /* SkScalar* */ pPtr, in EMSCRIPTEN_BINDINGS()
676 const SkColor* colors = reinterpret_cast<const SkColor*> (cPtr); in EMSCRIPTEN_BINDINGS()
686 uintptr_t /* SkColor* */ cPtr, uintptr_t /* SkScalar* */ pPtr, in EMSCRIPTEN_BINDINGS()
689 const SkColor* colors = reinterpret_cast<const SkColor*> (cPtr); in EMSCRIPTEN_BINDINGS()
[all …]
/third_party/skia/tools/sk_app/win/
DWindow_win.cpp246 const uint16_t* cPtr = reinterpret_cast<uint16_t*>(&wParam); in WndProc() local
247 SkUnichar c = SkUTF::NextUTF16(&cPtr, cPtr + 2); in WndProc()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_reference.cpp2335 int16 *cPtr = bPtr + sPlaneStep; in RefVignette16() local
2336 int16 *dPtr = cPtr + sPlaneStep; in RefVignette16()
2346 uint32 c = cPtr [col] + 32768; in RefVignette16()
2363 cPtr [col] = (int16) (c - 32768); in RefVignette16()
2370 cPtr += sRowStep; in RefVignette16()
2524 real32 *cPtr = bPtr + sPlaneStep; in RefVignette32() local
2525 real32 *dPtr = cPtr + sPlaneStep; in RefVignette32()
2535 real32 c = cPtr [col]; in RefVignette32()
2549 cPtr [col] = c; in RefVignette32()
2556 cPtr += sRowStep; in RefVignette32()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp766 const deUint8* cPtr = (const deUint8*) ptr + byteOffset; in readChannel() local
771 result = (result << 8U) | (deUint64) (cPtr[numBytes - byteNdx - 1]); in readChannel()