Searched refs:kSize (Results 26 - 50 of 252) sorted by relevance

1234567891011

/external/skia/src/gpu/effects/
H A DGrConfigConversionEffect.h26 static constexpr int kSize = 256; local
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 *
[all...]
/external/skqp/src/gpu/effects/
H A DGrConfigConversionEffect.h26 static constexpr int kSize = 256; local
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 *
[all...]
/external/skia/src/core/
H A DSkAutoMalloc.h95 fSize = kSize;
104 fSize = kSize;
133 size = (size < kSize) ? kSize : size;
143 if (size == kSize) {
152 SkASSERT(fSize >= size && fSize >= kSize);
153 SkASSERT((fPtr == fStorage) || fSize > kSize);
164 static const size_t kSize = kSizeRequested > kMaxBytes ? kMaxBytes : kSizeAlign4; member in class:SkAutoSMalloc
166 static const size_t kSize = kSizeAlign4; member in class:SkAutoSMalloc
171 uint32_t fStorage[kSize >>
[all...]
/external/skqp/src/core/
H A DSkAutoMalloc.h95 fSize = kSize;
104 fSize = kSize;
133 size = (size < kSize) ? kSize : size;
143 if (size == kSize) {
152 SkASSERT(fSize >= size && fSize >= kSize);
153 SkASSERT((fPtr == fStorage) || fSize > kSize);
164 static const size_t kSize = kSizeRequested > kMaxBytes ? kMaxBytes : kSizeAlign4; member in class:SkAutoSMalloc
166 static const size_t kSize = kSizeAlign4; member in class:SkAutoSMalloc
171 uint32_t fStorage[kSize >>
[all...]
/external/skia/gm/
H A Dxfermodes3.cpp63 auto tempSurface(this->possiblyCreateTempSurface(canvas, kSize, kSize));
69 {SkPaint::kStroke_Style, SkIntToScalar(kSize) / 2},
76 SkIntToScalar(y + kSize + 3) + labelP.getTextSize(),
85 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get());
88 x += kSize + 10;
91 y += kSize + 30;
102 this->drawMode(canvas, x, y, kSize, kSize, modePain
215 kSize = 30, enumerator in enum:skiagm::Xfermodes3GM::__anon20547
[all...]
H A Dxfermodes2.cpp32 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;
133 kSize = 256 >> kShift, enumerator in enum:skiagm::Xfermodes2GM::__anon20545
[all...]
/external/skqp/gm/
H A Dxfermodes3.cpp63 auto tempSurface(this->possiblyCreateTempSurface(canvas, kSize, kSize));
69 {SkPaint::kStroke_Style, SkIntToScalar(kSize) / 2},
76 SkIntToScalar(y + kSize + 3) + labelP.getTextSize(),
85 this->drawMode(canvas, x, y, kSize, kSize, modePaint, tempSurface.get());
88 x += kSize + 10;
91 y += kSize + 30;
102 this->drawMode(canvas, x, y, kSize, kSize, modePain
215 kSize = 30, enumerator in enum:skiagm::Xfermodes3GM::__anon21217
[all...]
H A Dxfermodes2.cpp32 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;
133 kSize = 256 >> kShift, enumerator in enum:skiagm::Xfermodes2GM::__anon21215
[all...]
H A Datlastext.cpp63 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; member in class:AtlasTextGM
163 constexpr int AtlasTextGM::kSize; member in class:AtlasTextGM
[all...]
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dstack-use-after-return.cc20 #ifndef kSize
21 # define kSize 1 macro
40 char local[kSize];
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_addrhashmap.h25 // T must be a POD type, kSize is preferably a prime but can be any number.
43 template<typename T, uptr kSize>
70 Handle(AddrHashMap<T, kSize> *map, uptr addr);
71 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove);
72 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create);
80 friend AddrHashMap<T, kSize>;
81 AddrHashMap<T, kSize> *map_;
100 template<typename T, uptr kSize>
101 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *ma
[all...]
/external/skia/bench/
H A DHardStopGradientBench_ScaleNumHardStops.cpp34 return SkIPoint::Make(kSize, kSize);
40 SkPoint::Make(0, kSize/2),
41 SkPoint::Make(kSize-1, kSize/2),
90 static const int kSize = 500; member in class:HardStopGradientBench_ScaleNumHardStops
/external/skqp/bench/
H A DHardStopGradientBench_ScaleNumHardStops.cpp34 return SkIPoint::Make(kSize, kSize);
40 SkPoint::Make(0, kSize/2),
41 SkPoint::Make(kSize-1, kSize/2),
90 static const int kSize = 500; member in class:HardStopGradientBench_ScaleNumHardStops
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp212 bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int layers = 1) argument
214 for (int i = 0; i < kSize * kSize * layers; ++i)
227 bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, argument
231 for (int i = 0; i < kSize * kSize * layers; ++i)
1150 const int kSize = 11; local
1151 std::vector<T> data(kSize * kSize);
1160 glTexStorage2D(GL_TEXTURE_2D, 1, internalformat, kSize, kSiz
1277 const int kSize = 4; local
1437 const int kSize = 11; local
1577 const int kSize = 4; local
1679 const int kSize = 8; local
1848 const int kSize = 11; local
2090 const int kSize = 11; local
2351 const int kSize = 11; local
2566 const int kSize = 11; local
2773 const int kSize = 11; local
2938 const int kSize = 100; local
3202 const int kSize = 100; local
3464 const int kSize = 32; local
3558 const int kSize = 10; local
3650 const int kSize = 8; local
3875 const int kSize = 44; local
4130 const int kSize = 32; local
4225 const int kSize = 64; local
4314 const int kSize = 11; local
4435 const int kSize = 4; local
4563 const int kSize = 11; local
4651 const int kSize = 11; local
4747 const int kSize = 11; local
4838 const int kSize = 11; local
4903 const int kSize = 11; local
4995 const int kSize = 11; local
[all...]
/external/deqp/external/openglcts/modules/gles31/
H A Des31cShaderImageLoadStoreTests.cpp206 bool CompareValues(T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, int layers = 1) argument
208 for (int i = 0; i < kSize * kSize * layers; ++i)
221 bool CompareValues(bool always, T* map_data, int kSize, const T& expected_value, GLenum internalformat = 0, argument
225 for (int i = 0; i < kSize * kSize * layers; ++i)
1116 const int kSize = 11; local
1117 std::vector<T> data(kSize * kSize);
1126 glTexStorage2D(GL_TEXTURE_2D, 1, internalformat, kSize, kSiz
1243 const int kSize = 4; local
1402 const int kSize = 11; local
1542 const int kSize = 4; local
1643 const int kSize = 8; local
1812 const int kSize = 11; local
2051 const int kSize = 11; local
2313 const int kSize = 11; local
2528 const int kSize = 11; local
2738 const int kSize = 11; local
2903 const int kSize = 100; local
3166 const int kSize = 100; local
3421 const int kSize = 32; local
3511 const int kSize = 10; local
3601 const int kSize = 8; local
3826 const int kSize = 44; local
4080 const int kSize = 32; local
4175 const int kSize = 64; local
4264 const int kSize = 11; local
4385 const int kSize = 4; local
4513 const int kSize = 11; local
4600 const int kSize = 11; local
4695 const int kSize = 11; local
4786 const int kSize = 11; local
4850 const int kSize = 11; local
4941 const int kSize = 11; local
[all...]
/external/llvm/unittests/Support/
H A DCompressionTest.cpp49 const size_t kSize = 1024; local
50 char BinaryData[kSize];
51 for (size_t i = 0; i < kSize; ++i) {
54 StringRef BinaryDataStr(BinaryData, kSize);
/external/webrtc/webrtc/base/
H A Dmd5digest.h22 enum { kSize = 16 }; enumerator in enum:rtc::Md5Digest::__anon30578
H A Dsha1digest.h22 enum { kSize = SHA1_DIGEST_SIZE }; enumerator in enum:rtc::Sha1Digest::__anon30608
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_mutex_test.cc29 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; member in class:__sanitizer::TestData
67 T data_[kSize];
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_mutex_test.cc27 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; member in class:__tsan::TestData
62 T data_[kSize];
/external/skia/tests/
H A DPaintBreakTextTest.cpp62 static const int kSize = 16 * 1024; local
63 SkAutoMalloc block(kSize);
64 memset(block.get(), 'a', kSize - 1);
66 text[kSize - 1] = '\0';
67 const SkScalar width = paint.measureText(text, kSize);
70 const size_t length = paint.breakText(text, kSize, width, &mm);
71 REPORTER_ASSERT(reporter, length == kSize, msg);
H A DGrSurfaceTest.cpp148 static constexpr int kSize = 100; local
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;
[all...]
/external/skqp/tests/
H A DPaintBreakTextTest.cpp62 static const int kSize = 16 * 1024; local
63 SkAutoMalloc block(kSize);
64 memset(block.get(), 'a', kSize - 1);
66 text[kSize - 1] = '\0';
67 const SkScalar width = paint.measureText(text, kSize);
70 const size_t length = paint.breakText(text, kSize, width, &mm);
71 REPORTER_ASSERT(reporter, length == kSize, msg);
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_bench.cc19 const int kSize = 128; variable
26 volatile T data[kSize];
28 for (int j = 0; j < kSize; j++) {
85 for (int j = 0; j < kSize; j++)
87 for (int j = 0; j < kSize; j++)
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
H A DRunQueue.h38 template <typename Work, unsigned kSize>
43 eigen_assert((kSize & (kSize - 1)) == 0);
44 eigen_assert(kSize > 2); // why would you do this?
45 eigen_assert(kSize <= (64 << 10)); // leave enough space for counter
46 for (unsigned i = 0; i < kSize; i++)
61 front_.store(front + 1 + (kSize << 1), std::memory_order_relaxed);
114 back_.store(back + 1 + (kSize << 1), std::memory_order_relaxed);
149 back_.store(start + 1 + (kSize << 1), std::memory_order_relaxed);
166 if (size < 0) size += 2 * kSize;
[all...]

Completed in 610 milliseconds

1234567891011