/third_party/skia/tests/ |
H A D | CachedDecodingPixelRefTest.cpp | 59 char* bytePtr = static_cast<char*>(pixels); variable 63 sk_memset32((uint32_t*)bytePtr, 65 bytePtr += rowBytes; 70 sk_memset16((uint16_t*)bytePtr, 72 bytePtr += rowBytes;
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_read_image.cpp | 140 inline void DecodeDeltaBytes (uint8 *bytePtr, int32 cols, int32 channels) in DecodeDeltaBytes() argument 146 uint8 b0 = bytePtr [0]; in DecodeDeltaBytes() 148 bytePtr += 1; in DecodeDeltaBytes() 153 b0 += bytePtr [0]; in DecodeDeltaBytes() 155 bytePtr [0] = b0; in DecodeDeltaBytes() 157 bytePtr += 1; in DecodeDeltaBytes() 166 uint8 b0 = bytePtr [0]; in DecodeDeltaBytes() 167 uint8 b1 = bytePtr [1]; in DecodeDeltaBytes() 168 uint8 b2 = bytePtr [2]; in DecodeDeltaBytes() 170 bytePtr in DecodeDeltaBytes() [all...] |
H A D | dng_image_writer.cpp | 2828 inline void EncodeDeltaBytes (uint8 *bytePtr, int32 cols, int32 channels) in EncodeDeltaBytes() argument 2834 bytePtr += (cols - 1); in EncodeDeltaBytes() 2836 uint8 this0 = bytePtr [0]; in EncodeDeltaBytes() 2841 uint8 prev0 = bytePtr [-1]; in EncodeDeltaBytes() 2845 bytePtr [0] = this0; in EncodeDeltaBytes() 2849 bytePtr -= 1; in EncodeDeltaBytes() 2858 bytePtr += (cols - 1) * 3; in EncodeDeltaBytes() 2860 uint8 this0 = bytePtr [0]; in EncodeDeltaBytes() 2861 uint8 this1 = bytePtr [1]; in EncodeDeltaBytes() 2862 uint8 this2 = bytePtr [ in EncodeDeltaBytes() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 257 auto bytePtr = reinterpret_cast<unsigned char*>(location); in fillWithRandomData() local 258 const auto endPtr = bytePtr + length; in fillWithRandomData() 260 while (bytePtr != endPtr) in fillWithRandomData() 262 const auto remaining = (endPtr - bytePtr); in fillWithRandomData() 264 if (remaining >= 8) { const auto data = rnd.getUint64(); deMemcpy(bytePtr, &data, sizeof(data)); bytePtr += sizeof(data); } in fillWithRandomData() 265 else if (remaining >= 4) { const auto data = rnd.getUint32(); deMemcpy(bytePtr, &data, sizeof(data)); bytePtr += sizeof(data); } in fillWithRandomData() 266 else if (remaining >= 2) { const auto data = rnd.getUint16(); deMemcpy(bytePtr, &data, sizeof(data)); bytePtr in fillWithRandomData() [all...] |
/third_party/skia/modules/canvaskit/ |
H A D | gm.js | 39 var bytePtr = copyArrayBuffer(buffer); 40 WasmGMTests._LoadResource(name, bytePtr, buffer.byteLength);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 262 auto bytePtr = reinterpret_cast<unsigned char*>(location); in fillWithRandomData() local 263 const auto endPtr = bytePtr + length; in fillWithRandomData() 265 while (bytePtr != endPtr) in fillWithRandomData() 267 const auto remaining = (endPtr - bytePtr); in fillWithRandomData() 269 if (remaining >= 8) { const auto data = rnd.getUint64(); deMemcpy(bytePtr, &data, sizeof(data)); bytePtr += sizeof(data); } in fillWithRandomData() 270 else if (remaining >= 4) { const auto data = rnd.getUint32(); deMemcpy(bytePtr, &data, sizeof(data)); bytePtr += sizeof(data); } in fillWithRandomData() 271 else if (remaining >= 2) { const auto data = rnd.getUint16(); deMemcpy(bytePtr, &data, sizeof(data)); bytePtr in fillWithRandomData() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessUtil.cpp | 144 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in isValueZero() local 148 if (bytePtr[i] != 0) in isValueZero() 272 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in logValue() local 278 logMsg << " " << (deUint32)bytePtr[i]; in logValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustnessUtil.cpp | 169 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in isValueZero() local 173 if (bytePtr[i] != 0) in isValueZero() 297 const deUint8* bytePtr = reinterpret_cast<const deUint8*>(valuePtr); in logValue() local 303 logMsg << " " << (deUint32)bytePtr[i]; in logValue()
|
/third_party/skia/src/effects/ |
H A D | SkTableColorFilter.cpp | 69 auto apply_table_to_component = [&](skvm::F32 c, const uint8_t* bytePtr) -> skvm::F32 { 71 skvm::Uniform table = uniforms->pushPtr(bytePtr);
|
/third_party/icu/icu4c/source/common/ |
H A D | icuplug.cpp | 81 uint8_t *bytePtr = (uint8_t *)list; in uplug_removeEntryAt() local 90 memmove(bytePtr+(itemToRemove*memberSize), bytePtr+((itemToRemove+1)*memberSize), memberSize); in uplug_removeEntryAt()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | icuplug.cpp | 81 uint8_t *bytePtr = (uint8_t *)list; in uplug_removeEntryAt() local 90 memmove(bytePtr+(itemToRemove*memberSize), bytePtr+((itemToRemove+1)*memberSize), memberSize); in uplug_removeEntryAt()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | icuplug.cpp | 81 uint8_t *bytePtr = (uint8_t *)list; in uplug_removeEntryAt() local 90 memmove(bytePtr+(itemToRemove*memberSize), bytePtr+((itemToRemove+1)*memberSize), memberSize); in uplug_removeEntryAt()
|
/third_party/lz4/lib/ |
H A D | lz4hc.c | 218 { const BYTE* bytePtr = (const BYTE*)(&pattern) + 3; /* works for any endianness */ in LZ4HC_reverseCountPattern() local 220 if (ip[-1] != *bytePtr) break; in LZ4HC_reverseCountPattern() 221 ip--; bytePtr--; in LZ4HC_reverseCountPattern()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | UniformBufferTest.cpp | 597 const GLubyte *bytePtr = reinterpret_cast<const GLubyte *>(mapPtr); in TEST_P() local 598 std::vector<GLubyte> actualData(bytePtr, bytePtr + bigSize); in TEST_P()
|