/external/deqp/framework/common/ |
tcuVector.hpp | 36 template <typename T, int VecSize, int Size> 44 VecAccess& operator= (const Vector<T, Size>& v); 46 operator Vector<T, Size> (void) const; 50 int m_index[Size]; 53 template <typename T, int VecSize, int Size> 54 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y) 57 DE_STATIC_ASSERT(Size == 2); 62 template <typename T, int VecSize, int Size> 63 VecAccess<T, VecSize, Size>::VecAccess (Vector<T, VecSize>& v, int x, int y, int z) 66 DE_STATIC_ASSERT(Size == 3) [all...] |
/external/eigen/bench/ |
sparse_setter.cpp | 6 #ifndef SIZE 7 #define SIZE 100000 63 int rows = SIZE; 64 int cols = SIZE; 77 // DynamicSparseMatrix<int> stencil(SIZE,SIZE); 93 int i = internal::random<int>(0,pool.size()); 107 std::cout << "nnz = " << coords.size() << "\n"; 197 SparseMatrix<Scalar> mat(SIZE,SIZE); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
TreeMultiset.java | 134 SIZE { 218 public int size() { method in class:TreeMultiset 219 return Ints.saturatedCast(aggregateForEntries(Aggregate.SIZE));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultiset.java | 130 SIZE { 214 public int size() { method in class:TreeMultiset 215 return Ints.saturatedCast(aggregateForEntries(Aggregate.SIZE));
|
/external/mesa3d/src/gallium/tests/graw/ |
fs-test.c | 287 #define SIZE 16 295 ubyte tex2d[SIZE][SIZE][4]; 298 #if (SIZE != 2) 299 for (s = 0; s < SIZE; s++) { 300 for (t = 0; t < SIZE; t++) { 310 tex2d[t][s][0] = s*255/(SIZE-1); 311 tex2d[t][s][1] = t*255/(SIZE-1); 341 templat.width0 = SIZE; 342 templat.height0 = SIZE; [all...] |
quad-sample.c | 161 #define SIZE 16 169 ubyte tex2d[SIZE][SIZE][4]; 172 #if (SIZE != 2) 173 for (s = 0; s < SIZE; s++) { 174 for (t = 0; t < SIZE; t++) { 184 tex2d[t][s][0] = s*255/(SIZE-1); 185 tex2d[t][s][1] = t*255/(SIZE-1); 215 templat.width0 = SIZE; 216 templat.height0 = SIZE; [all...] |
vs-test.c | 238 #define SIZE 16 246 ubyte tex2d[SIZE][SIZE][4]; 249 #if (SIZE != 2) 250 for (s = 0; s < SIZE; s++) { 251 for (t = 0; t < SIZE; t++) { 261 tex2d[t][s][0] = s*255/(SIZE-1); 262 tex2d[t][s][1] = t*255/(SIZE-1); 292 templat.width0 = SIZE; 293 templat.height0 = SIZE; [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_render.c | 62 #define SIZE 4 123 const GLuint sz = VB->ClipPtr->size; \
|
/external/webp/src/enc/ |
picture_tools.c | 26 #define SIZE 8 27 #define SIZE2 (SIZE / 2) 28 static int is_transparent_area(const uint8_t* ptr, int stride, int size) { 30 for (y = 0; y < size; ++y) { 31 for (x = 0; x < size; ++x) { 41 static int is_transparent_argb_area(const uint32_t* ptr, int stride, int size) { 43 for (y = 0; y < size; ++y) { 44 for (x = 0; x < size; ++x) { 54 static void flatten(uint8_t* ptr, int v, int stride, int size) { 56 for (y = 0; y < size; ++y) [all...] |
/external/zlib/src/examples/ |
gun.c | 76 #define SIZE 32768U /* input and output buffer sizes */ 80 input file and a buffer of size SIZE */ 101 if ((unsigned)ret > SIZE - len) 102 ret = (int)(SIZE - len); 110 } while (ret != 0 && len < SIZE); 161 unsigned char inbuf[SIZE]; /* input buffer */ 162 unsigned char outbuf[SIZE]; /* output buffer */ 267 /* if the table will be full after this, increment the code size */ 350 while (stack > SIZE - outcnt) [all...] |
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 90 for (unsigned int i = 0; i < trustedUids.size(); ++i) { 102 if (0 >= trustedUids.size()) { 342 const size_t SIZE = 256; 343 char buffer[SIZE]; 346 snprintf(buffer, SIZE, "Permission Denial: " 354 for (size_t i = 0; i < args.size(); i++) { 362 result.append(s.c_str(), s.size()); 368 write(fd, result.string(), result.size());
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
AudioProfile.h | 174 for (size_t profileIndex = 0; profileIndex < size(); profileIndex++) { 187 for (size_t i = 0; i < size(); i++) { 208 for (size_t i = 0; i < size(); i++) { 218 for (size_t i = 0; i < size(); i++) { 233 for (size_t i = 0; i < size(); i++) { 244 for (size_t i = 0; i < size(); i++) { 261 for (size_t i = 0; i < formats.size(); i++) { 274 for (size_t i = size(); i != 0; ) { 286 const size_t SIZE = 256; 287 char buffer[SIZE]; [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioPort.cpp | 76 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) { 85 for (size_t rateIndex = 0; rateIndex < ratesToExport.size(); rateIndex++) { 91 for (size_t chanIndex = 0; chanIndex < channelsToExport.size(); chanIndex++) { 97 if (flatenedRates.size() > AUDIO_PORT_MAX_SAMPLING_RATES || 98 flatenedChannels.size() > AUDIO_PORT_MAX_CHANNEL_MASKS || 99 flatenedFormats.size() > AUDIO_PORT_MAX_FORMATS) { 108 port->num_sample_rates = flatenedRates.size(); 109 port->num_channel_masks = flatenedChannels.size(); 110 port->num_formats = flatenedFormats.size(); 111 for (size_t i = 0; i < flatenedRates.size(); i++) [all...] |
/frameworks/av/services/mediaresourcemanager/ |
ResourceManagerService.cpp | 40 for (size_t i = 0; i < items.size(); ++i) { 47 for (size_t i = 0; i < resources.size(); ++i) { 56 for (size_t i = 0; i < infos.size(); ++i) { 81 for (size_t i = 0; i < infos.size(); ++i) { 90 return infos.editItemAt(infos.size() - 1); 98 for (size_t i = 0; i < resources.size(); ++i) { 116 write(fd, result.string(), result.size()); 132 const size_t SIZE = 256; 133 char buffer[SIZE]; 134 snprintf(buffer, SIZE, "ResourceManagerService: %p\n", this) [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
NewDatabasePerformanceTests.java | 107 private static final int SIZE = 10 * kMultiplier; 109 private String[] statements = new String[SIZE]; 116 for (int i = 0; i < SIZE; i++) { 128 for (int i = 0; i < SIZE; i++) { 139 private static final int SIZE = 10 * kMultiplier; 141 private String[] statements = new String[SIZE]; 148 for (int i = 0; i < SIZE; i++) { 161 for (int i = 0; i < SIZE; i++) { 172 private static final int SIZE = 1 * kMultiplier; 175 private String[] where = new String[SIZE]; [all...] |
/frameworks/base/libs/common_time/ |
common_time_server_api.cpp | 157 if (ifaceName.size()) { 294 const size_t SIZE = 256; 295 char buffer[SIZE]; 298 snprintf(buffer, SIZE, "Permission Denial: " 370 const size_t SIZE = 256; 371 char buffer[SIZE]; 374 snprintf(buffer, SIZE, "Permission Denial: " 409 const size_t SIZE = 256; 410 char buffer[SIZE];
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ZenLog.java | 40 private static final int SIZE = Build.IS_DEBUGGABLE ? 100 : 20; 42 private static final long[] TIMES = new long[SIZE]; 43 private static final int[] TYPES = new int[SIZE]; 44 private static final String[] MSGS = new String[SIZE]; 201 for (int i = 0; i < components.size(); ++i) { 216 sNext = (sNext + 1) % SIZE; 217 if (sSize < SIZE) { 226 final int start = (sNext - sSize + SIZE) % SIZE; 228 final int j = (start + i) % SIZE; [all...] |
/frameworks/native/opengl/libs/EGL/ |
Loader.cpp | 256 const ssize_t SIZE = 256; 257 char scrap[SIZE]; 269 if ((index>0 && (index<SIZE-1)) && (!strcmp(name+index, "OES"))) { 280 snprintf(scrap, SIZE, "%sOES", name);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
Material.java | 30 public static final int SIZE = 64 * 1024;
36 public byte[] mOpacityTable = new byte[SIZE];
38 public byte[] mColor = new byte[SIZE * STRIDE]; // table contain r, g, b, A, S, D
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareGeneric.cpp | 168 const size_t SIZE = 256; 169 char buffer[SIZE]; 172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); 174 ::write(fd, result.string(), result.size()); 247 const size_t SIZE = 256; 248 char buffer[SIZE]; 250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); 252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); 254 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()) [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Double.java | 123 public static final int SIZE = 64; 130 public static final int BYTES = SIZE / Byte.SIZE; 290 // Initialized to maximum size of output. [all...] |
Float.java | 122 public static final int SIZE = 32; 129 public static final int BYTES = SIZE / Byte.SIZE; [all...] |
/sdk/find_java/src/source/ |
find_java_lib.cpp | 181 for(int i = 0; i < paths->size(); i++) {
219 DWORD size = 4096; // MAX_PATH is 260, so 4 KB should be good enough
local 220 char* buffer = (char*) malloc(size);
222 while (ret == ERROR_MORE_DATA && size < (1<<16) /*64 KB*/) {
229 &size); // lpcbData
232 size *= 2;
233 buffer = (char*) realloc(buffer, size);
235 buffer[size] = 0;
466 0)) { // nSize (0=default buffer size)
512 #define SIZE 1024 [all...] |
/system/core/healthd/ |
BatteryMonitor.cpp | 127 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) { 138 ssize_t count = TEMP_FAILURE_RETRY(read(fd, buf, size)); 152 const int SIZE = 128; 153 char buf[SIZE]; 154 int length = readFromFile(path, buf, SIZE); 186 const int SIZE = 16; 187 char buf[SIZE]; 190 if (readFromFile(path, buf, SIZE) > 0) { 200 const int SIZE = 128; 201 char buf[SIZE]; [all...] |
/device/asus/fugu/libaudio/ |
AudioStreamOut.cpp | 159 ALOGI("releaseAllOutputs: releasing %d mPhysOutputs", mPhysOutputs.size()); 200 ALOGV("updateInputNums: chunk size %u from output rate %u\n", 205 // Buffer size is just the frame size multiplied by the number of 658 finishedWriteOp(framesWritten, (0 == mPhysOutputs.size())); 744 snprintf(buffer, SIZE, a); \ 745 buffer[SIZE - 1] = 0; \ 751 const size_t SIZE = 256; 752 char buffer[SIZE]; 756 DUMP("\tbuffer size : %d\n", bufferSize()) [all...] |