/external/icu/icu4c/source/test/iotest/ |
D | iotest.cpp | 206 char cBuffer[512]; in DataDrivenPrintf() local 207 char cFormat[sizeof(cBuffer)]; in DataDrivenPrintf() 208 char cExpected[sizeof(cBuffer)]; in DataDrivenPrintf() 251 u_austrncpy(cBuffer, format, sizeof(cBuffer)); in DataDrivenPrintf() 258 log_verbose("Test %d: format=\"%s\"\n", i, cBuffer); in DataDrivenPrintf() 261 dbl = atof(u_austrcpy(cBuffer, argument)); in DataDrivenPrintf() 286 u_austrncpy(cBuffer, argument, sizeof(cBuffer)); in DataDrivenPrintf() 287 uBufferLenReturned = u_sprintf_u(uBuffer, format, cBuffer); in DataDrivenPrintf() 288 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer); in DataDrivenPrintf() 300 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintf() [all …]
|
D | strtst.c | 254 char cBuffer[256]; in TestLocalizedString() local 267 u_austrcpy(cBuffer,testStr); in TestLocalizedString() 269 log_err("u_fprintf failed to work on an en string Got: %s\n", cBuffer); in TestLocalizedString() 292 u_austrcpy(cBuffer,testStr); in TestLocalizedString() 294 log_err("u_fprintf failed to work on a de string Got: %s\n", cBuffer); in TestLocalizedString()
|
/external/swiftshader/src/Shader/ |
D | PixelRoutine.hpp | 48 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas… 50 …virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cM… 58 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 59 void logicOperation(int index, Pointer<Byte> &cBuffer, Vector4s ¤t, Int &x); 60 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4s ¤t, Int &sMask, Int &zMa… 61 void alphaBlend(int index, Pointer<Byte> &cBuffer, Vector4f &oC, Int &x); 62 …void writeColor(int index, Pointer<Byte> &cBuffer, Int &i, Vector4f &oC, Int &sMask, Int &zMask, I… 79 void readPixel(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s &pixel);
|
D | PixelRoutine.cpp | 51 …void PixelRoutine::quad(Pointer<Byte> cBuffer[RENDERTARGETS], Pointer<Byte> &zBuffer, Pointer<Byte… in quad() 258 rasterOperation(f, cBuffer, x, sMask, zMask, cMask); in quad() 998 void PixelRoutine::readPixel(int index, Pointer<Byte> &cBuffer, Int &x, Vector4s &pixel) in readPixel() argument 1008 buffer = cBuffer + 2 * x; in readPixel() 1018 buffer = cBuffer + 4 * x; in readPixel() 1038 buffer = cBuffer + 4 * x; in readPixel() 1057 buffer = cBuffer + 1 * x; in readPixel() 1067 buffer = cBuffer + 1 * x; in readPixel() 1077 buffer = cBuffer + 4 * x; in readPixel() 1095 buffer = cBuffer + 2 * x; in readPixel() [all …]
|
D | PixelPipeline.hpp | 33 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
|
D | PixelProgram.hpp | 35 …virtual void rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMas…
|
D | PixelProgram.cpp | 644 …void PixelProgram::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], In… in rasterOperation() 681 …Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[inde… in rasterOperation() 732 …Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[inde… in rasterOperation()
|
D | PixelPipeline.cpp | 302 …void PixelPipeline::rasterOperation(Float4 &fog, Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], I… in rasterOperation() 344 Pointer<Byte> buffer = cBuffer[0] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[0])); in rasterOperation() 365 Pointer<Byte> buffer = cBuffer[0] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[0])); in rasterOperation()
|
/external/zstd/examples/ |
D | multiple_simple_compression.c | 19 void* cBuffer; member 51 ress.cBuffer = malloc_orDie(ress.cBufferSize); in createResources_orDie() 60 free(ress.cBuffer); in freeResources() 74 …size_t const cSize = ZSTD_compressCCtx(ress.cctx, ress.cBuffer, ress.cBufferSize, ress.fBuffer, fS… in compressFile_orDie() 77 saveFile_orDie(oname, ress.cBuffer, cSize); in compressFile_orDie()
|
/external/swiftshader/src/Pipeline/ |
D | PixelRoutine.hpp | 51 …virtual void rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa… 53 …void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cMask[4], … 59 void alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4s ¤t, const Int &x); 60 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4f &oC, const Int &sM… 61 void alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4f &oC, const Int &x); 62 …void writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s ¤t, const In… 79 void readPixel(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &pixel);
|
D | PixelProgram.hpp | 40 …virtual void rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], Int cMa…
|
D | PixelProgram.cpp | 266 void PixelProgram::rasterOperation(Pointer<Byte> cBuffer[4], Int &x, Int sMask[4], Int zMask[4], In… in rasterOperation() 299 …Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[inde… in rasterOperation() 345 …Pointer<Byte> buffer = cBuffer[index] + q * *Pointer<Int>(data + OFFSET(DrawData, colorSliceB[inde… in rasterOperation()
|
D | PixelRoutine.cpp | 58 void PixelRoutine::quad(Pointer<Byte> cBuffer[RENDERTARGETS], Pointer<Byte> &zBuffer, Pointer<Byte>… in quad() 328 rasterOperation(cBuffer, x, sMask, zMask, cMask, sampleId); in quad() 999 void PixelRoutine::readPixel(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &pixel) in readPixel() argument 1003 Pointer<Byte> buffer = cBuffer; in readPixel() 1164 void PixelRoutine::alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4s ¤t, const Int… in alphaBlend() argument 1174 readPixel(index, cBuffer, x, pixel); in alphaBlend() 1285 void PixelRoutine::writeColor(int index, const Pointer<Byte> &cBuffer, const Int &x, Vector4s &curr… in writeColor() argument 1496 Pointer<Byte> buffer = cBuffer; in writeColor() 1926 void PixelRoutine::alphaBlend(int index, const Pointer<Byte> &cBuffer, Vector4f &oC, const Int &x) in alphaBlend() argument 1936 Pointer<Byte> buffer = cBuffer; in alphaBlend() [all …]
|
/external/skia/src/codec/ |
D | SkBmpStandardCodec.cpp | 78 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]); in createColorTable() local 79 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) { in createColorTable() 98 uint8_t blue = get_byte(cBuffer.get(), i*fBytesPerColor); in createColorTable() 99 uint8_t green = get_byte(cBuffer.get(), i*fBytesPerColor + 1); in createColorTable() 100 uint8_t red = get_byte(cBuffer.get(), i*fBytesPerColor + 2); in createColorTable() 105 alpha = get_byte(cBuffer.get(), i*fBytesPerColor + 3); in createColorTable()
|
D | SkBmpRLECodec.cpp | 81 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]); in createColorTable() local 82 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) { in createColorTable() 91 uint8_t blue = get_byte(cBuffer.get(), i*fBytesPerColor); in createColorTable() 92 uint8_t green = get_byte(cBuffer.get(), i*fBytesPerColor + 1); in createColorTable() 93 uint8_t red = get_byte(cBuffer.get(), i*fBytesPerColor + 2); in createColorTable()
|
/external/skqp/src/codec/ |
D | SkBmpStandardCodec.cpp | 78 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]); in createColorTable() local 79 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) { in createColorTable() 98 uint8_t blue = get_byte(cBuffer.get(), i*fBytesPerColor); in createColorTable() 99 uint8_t green = get_byte(cBuffer.get(), i*fBytesPerColor + 1); in createColorTable() 100 uint8_t red = get_byte(cBuffer.get(), i*fBytesPerColor + 2); in createColorTable() 105 alpha = get_byte(cBuffer.get(), i*fBytesPerColor + 3); in createColorTable()
|
D | SkBmpRLECodec.cpp | 78 std::unique_ptr<uint8_t[]> cBuffer(new uint8_t[colorBytes]); in createColorTable() local 79 if (stream()->read(cBuffer.get(), colorBytes) != colorBytes) { in createColorTable() 88 uint8_t blue = get_byte(cBuffer.get(), i*fBytesPerColor); in createColorTable() 89 uint8_t green = get_byte(cBuffer.get(), i*fBytesPerColor + 1); in createColorTable() 90 uint8_t red = get_byte(cBuffer.get(), i*fBytesPerColor + 2); in createColorTable()
|
/external/zstd/tests/ |
D | zbufftest.c | 275 BYTE* cBuffer; in fuzzerTests() local 296 cBuffer = (BYTE*)malloc (cBufferSize); in fuzzerTests() 298 !copyBuffer || !dstBuffer || !cBuffer || !zc || !zd, in fuzzerTests() 377 …size_t const compressionError = ZBUFF_compressContinue(zc, cBuffer+cSize, &dstBuffSize, srcBuffer+… in fuzzerTests() 390 size_t const flushError = ZBUFF_compressFlush(zc, cBuffer+cSize, &dstBuffSize); in fuzzerTests() 401 remainingToFlush = ZBUFF_compressEnd(zc, cBuffer+cSize, &dstBuffSize); in fuzzerTests() 415 …errorCode = ZBUFF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, cBuffer+totalCSize,… in fuzzerTests() 436 memcpy(cBuffer+cStart, srcBuffer+noiseStart, noiseSize); in fuzzerTests() 447 …ror = ZBUFF_decompressContinue(zd, dstBuffer+totalGenSize, &dstBuffSize, cBuffer+totalCSize, &read… in fuzzerTests() 463 free(cBuffer); in fuzzerTests()
|
D | zstreamtest.c | 1747 BYTE* const cBuffer = (BYTE*)malloc (cBufferSize); in fuzzerTests() local 1769 !copyBuffer || !dstBuffer || !cBuffer || !zc || !zd || !zd_noise , in fuzzerTests() 1867 { ZSTD_outBuffer outBuff = { cBuffer, cBufferSize, 0 } ; in fuzzerTests() 1914 ZSTD_inBuffer inBuff = { cBuffer, cSize, 0 }; in fuzzerTests() 1948 memcpy(cBuffer+cStart, srcBuffer+noiseStart, noiseSize); in fuzzerTests() 1953 { ZSTD_inBuffer inBuff = { cBuffer, cSize, 0 }; in fuzzerTests() 1979 free(cBuffer); in fuzzerTests() 2012 BYTE* const cBuffer = (BYTE*)malloc (cBufferSize); in fuzzerTests_newAPI() local 2037 !copyBuffer || !dstBuffer || !cBuffer || !zc || !zd || !zd_noise , in fuzzerTests_newAPI() 2244 ZSTD_outBuffer outBuff = { cBuffer, cBufferSize, 0 } ; in fuzzerTests_newAPI() [all …]
|
D | fuzzer.c | 3322 BYTE* const cBuffer = (BYTE*) malloc (cBufferSize); in fuzzerTests() local 3342 || !dstBuffer || !mirrorBuffer || !cBuffer || !refCtx || !ctx || !dctx, in fuzzerTests() 3407 cSize = ZSTD_compressCCtx(ctx, cBuffer, cBufferSize, sampleBuffer, sampleSize, cLevel); in fuzzerTests() 3426 CHECK_Z( ZSTD_getFrameHeader(&zfh, cBuffer, cSize) ); in fuzzerTests() 3431 { unsigned long long const rSize = ZSTD_findDecompressedSize(cBuffer, cSize); in fuzzerTests() 3438 size_t const dSize = ZSTD_decompress(dstBuffer, sampleSize + margin, cBuffer, cSize); in fuzzerTests() 3452 memcpy(cBufferTooSmall, cBuffer, tooSmallSize); in fuzzerTests() 3465 { size_t const errorCode = ZSTD_decompress(dstBuffer, tooSmallSize, cBuffer, cSize); in fuzzerTests() 3490 memcpy(cBuffer + pos, srcBuffer + noiseStart, noiseLength); in fuzzerTests() 3498 … { size_t const decompressResult = ZSTD_decompress(dstBuffer, sampleSize, cBuffer, cSize); in fuzzerTests() [all …]
|
/external/swiftshader/src/Device/ |
D | QuadRasterizer.cpp | 72 Pointer<Byte> cBuffer[RENDERTARGETS]; in rasterize() local 82 …cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, colorBuffer[index])) + yMin * *Po… in rasterize() 207 quad(cBuffer, zBuffer, sBuffer, cMask, x, y); in rasterize() 215 …cBuffer[index] += *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index])) << (1 + clusterCountL… in rasterize()
|
D | QuadRasterizer.hpp | 45 …virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cM…
|
/external/swiftshader/src/Renderer/ |
D | QuadRasterizer.cpp | 95 Pointer<Byte> cBuffer[RENDERTARGETS]; in rasterize() local 103 …cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,colorBuffer[index])) + yMin * *Poi… in rasterize() 290 quad(cBuffer, zBuffer, sBuffer, cMask, x); in rasterize() 300 …cBuffer[index] += *Pointer<Int>(data + OFFSET(DrawData,colorPitchB[index])) << (1 + sw::log2(clust… in rasterize()
|
D | QuadRasterizer.hpp | 51 …virtual void quad(Pointer<Byte> cBuffer[4], Pointer<Byte> &zBuffer, Pointer<Byte> &sBuffer, Int cM…
|