/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_common_test.cc | 174 static const uptr kSize = 5; 175 uptr arr[kSize]; 176 for (uptr i = 0; i < kSize; i++) arr[i] = i * i; 178 for (uptr i = 0; i < kSize; i++) 179 ASSERT_EQ(InternalBinarySearch(arr, 0, kSize, i * i, UptrLess), i); 181 ASSERT_EQ(InternalBinarySearch(arr, 0, kSize, 7, UptrLess), kSize + 1);
|
sanitizer_mutex_test.cc | 29 for (int i = 0; i < kSize; i++) 36 for (int i = 0; i < kSize; i++) { 46 for (int i = 0; i < kSize; i++) { 54 volatile T data[kSize] = {}; 55 for (int i = 0; i < kSize; i++) { 63 static const int kSize = 64; 67 T data_[kSize];
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_dense_alloc.h | 29 static const uptr kSize = 128; 32 IndexT cache[kSize]; 69 if (c->pos == Cache::kSize) 118 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { 127 for (uptr i = 0; i < Cache::kSize / 2; i++) {
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 27 for (int i = 0; i < kSize; i++) 34 for (int i = 0; i < kSize; i++) { 43 for (int i = 0; i < kSize; i++) { 49 volatile T data[kSize] = {}; 50 for (int i = 0; i < kSize; i++) { 58 static const int kSize = 64; 62 T data_[kSize];
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
esextcDrawBuffersIndexedColorMasks.cpp | 102 static const int kSize = 32; 123 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, format, kSize, kSize, maxDrawBuffers); 224 std::vector<unsigned char> rendered(kSize * kSize * 4, 45); 227 kSize, kSize); 249 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), kSize, kSize); 271 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32), kSize, kSize) [all...] |
/external/gemmlowp/internal/ |
kernel.h | 133 static const int kSize = kWidth * kDepth;
|
/external/skia/gm/ |
atlastext.cpp | 63 SkISize onISize() override { return SkISize::Make(kSize, kSize); } 71 auto targetHandle = fRenderer->makeTargetHandle(kSize, kSize); 75 fTarget = SkAtlasTextTarget::Make(fContext, kSize, kSize, targetHandle); 142 if (x + 100 > kSize) { 145 if (y > kSize) { 156 static constexpr int kSize = 1280; 166 constexpr int AtlasTextGM::kSize; [all...] |
bigrrectaaeffect.cpp | 121 constexpr int kSize = 700; 123 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRect(SkRect::MakeIWH(kSize, kSize)), "rect"); ) 124 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeOval(SkRect::MakeIWH(kSize, kSize)), "circle"); ) 125 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeOval(SkRect::MakeIWH(kSize - 1, kSize - 10)), "ellipse"); ) 127 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRectXY(SkRect::MakeIWH(kSize - 1, kSize - 10), kSize/2.f - 10.f, kSize/2.f - 10.f), "circular_corner"); [all...] |
lumafilter.cpp | 15 static SkScalar kSize = 80; 35 SkRect r, c, bounds = SkRect::MakeWH(kSize, kSize); 85 SkPoint g2Points[] = { { 0, 0 }, { kSize, 0 } }; 124 SkScalar gridStep = kSize + 2 * kInset;
|
ninepatchstretch.cpp | 20 const int kSize = 2*kFixed + kStretchy; 22 auto surface(make_surface(root, kSize)); 25 SkRect r = SkRect::MakeWH(SkIntToScalar(kSize), SkIntToScalar(kSize)); 36 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); 39 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy));
|
xfermodes2.cpp | 32 const SkScalar w = SkIntToScalar(kSize); 33 const SkScalar h = SkIntToScalar(kSize); 104 srcBmp.allocN32Pixels(kSize, kSize); 107 for (int y = 0; y < kSize; ++y) { 110 for (int x = 0; x < kSize; ++x) { 111 pixels[kSize * y + x] = rowColor; 117 dstBmp.allocN32Pixels(kSize, kSize); 120 for (int x = 0; x < kSize; ++x) [all...] |
/external/skia/src/core/ |
SkAAClip.h | 129 kSize = 32 * 32 131 SkAutoSMalloc<kSize> fGrayMaskScratch; // used for blitMask
|
/external/skia/src/gpu/effects/ |
GrConfigConversionEffect.h | 26 static constexpr int kSize = 256; 28 SkAutoTMalloc<uint32_t> data(kSize * kSize * 3); 30 uint32_t* firstRead = data.get() + kSize * kSize; 31 uint32_t* secondRead = data.get() + 2 * kSize * kSize; 36 for (int y = 0; y < kSize; ++y) { 37 for (int x = 0; x < kSize; ++x) { 38 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize * y + x]) [all...] |
/external/skia/tests/ |
GrMipMappedTest.cpp | 31 static constexpr int kSize = 8; 48 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, isRT, mipMapped); 114 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, false, mipMapped); 150 SkImageInfo imageInfo = SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType, 236 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, true, mipMapped); 246 SkImageInfo info = SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType [all...] |
GrSurfaceTest.cpp | 148 static constexpr int kSize = 100; 150 desc.fWidth = desc.fHeight = kSize; 151 std::unique_ptr<uint32_t[]> data(new uint32_t[kSize * kSize]); 186 kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); 187 memset(data.get(), 0xAB, kSize * kSize * sizeof(uint32_t)); 190 for (int i = 0; i < kSize * kSize; ++i) [all...] |
/external/skqp/gm/ |
atlastext.cpp | 63 SkISize onISize() override { return SkISize::Make(kSize, kSize); } 71 auto targetHandle = fRenderer->makeTargetHandle(kSize, kSize); 72 fTarget = SkAtlasTextTarget::Make(fContext, kSize, kSize, targetHandle); 139 if (x + 100 > kSize) { 142 if (y > kSize) { 153 static constexpr int kSize = 1280; 163 constexpr int AtlasTextGM::kSize; [all...] |
bigrrectaaeffect.cpp | 121 constexpr int kSize = 700; 123 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRect(SkRect::MakeIWH(kSize, kSize)), "rect"); ) 124 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeOval(SkRect::MakeIWH(kSize, kSize)), "circle"); ) 125 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeOval(SkRect::MakeIWH(kSize - 1, kSize - 10)), "ellipse"); ) 127 DEF_GM( return new BigRRectAAEffectGM (SkRRect::MakeRectXY(SkRect::MakeIWH(kSize - 1, kSize - 10), kSize/2.f - 10.f, kSize/2.f - 10.f), "circular_corner"); [all...] |
lumafilter.cpp | 15 static SkScalar kSize = 80; 35 SkRect r, c, bounds = SkRect::MakeWH(kSize, kSize); 85 SkPoint g2Points[] = { { 0, 0 }, { kSize, 0 } }; 124 SkScalar gridStep = kSize + 2 * kInset;
|
ninepatchstretch.cpp | 20 const int kSize = 2*kFixed + kStretchy; 22 auto surface(make_surface(root, kSize)); 25 SkRect r = SkRect::MakeWH(SkIntToScalar(kSize), SkIntToScalar(kSize)); 36 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); 39 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy));
|
xfermodes2.cpp | 32 const SkScalar w = SkIntToScalar(kSize); 33 const SkScalar h = SkIntToScalar(kSize); 104 srcBmp.allocN32Pixels(kSize, kSize); 107 for (int y = 0; y < kSize; ++y) { 110 for (int x = 0; x < kSize; ++x) { 111 pixels[kSize * y + x] = rowColor; 117 dstBmp.allocN32Pixels(kSize, kSize); 120 for (int x = 0; x < kSize; ++x) [all...] |
/external/skqp/src/core/ |
SkAAClip.h | 129 kSize = 32 * 32 131 SkAutoSMalloc<kSize> fGrayMaskScratch; // used for blitMask
|
/external/skqp/src/gpu/effects/ |
GrConfigConversionEffect.h | 26 static constexpr int kSize = 256; 28 SkAutoTMalloc<uint32_t> data(kSize * kSize * 3); 30 uint32_t* firstRead = data.get() + kSize * kSize; 31 uint32_t* secondRead = data.get() + 2 * kSize * kSize; 36 for (int y = 0; y < kSize; ++y) { 37 for (int x = 0; x < kSize; ++x) { 38 uint8_t* color = reinterpret_cast<uint8_t*>(&srcData[kSize * y + x]) [all...] |
/external/skqp/tests/ |
GrMipMappedTest.cpp | 31 static constexpr int kSize = 8; 48 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, isRT, mipMapped); 114 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, false, mipMapped); 150 SkImageInfo imageInfo = SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType, 229 nullptr, kSize, kSize, kRGBA_8888_GrPixelConfig, true, mipMapped); 239 SkImageInfo info = SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType [all...] |
GrSurfaceTest.cpp | 166 static constexpr int kSize = 100; 168 desc.fWidth = desc.fHeight = kSize; 169 std::unique_ptr<uint32_t[]> data(new uint32_t[kSize * kSize]); 201 kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); 202 memset(data.get(), 0xAB, kSize * kSize * sizeof(uint32_t)); 205 for (int i = 0; i < kSize * kSize; ++i) [all...] |
/external/v8/src/ |
source-position-table.cc | 63 encoded >>= ValueBits::kSize; 90 shift += ValueBits::kSize;
|