/external/autotest/client/bin/result_tools/ |
utils_unittest.py | 22 SIZE = unittest_lib.SIZE 24 '': {utils_lib.ORIGINAL_SIZE_BYTES: 4 * SIZE, 26 'file1': {utils_lib.ORIGINAL_SIZE_BYTES: SIZE}, 27 'folder1': {utils_lib.ORIGINAL_SIZE_BYTES: 2 * SIZE, 30 utils_lib.ORIGINAL_SIZE_BYTES: SIZE}, 32 utils_lib.ORIGINAL_SIZE_BYTES: SIZE}, 36 'folder2': {utils_lib.ORIGINAL_SIZE_BYTES: SIZE, 40 SIZE}}, 44 '': {utils_lib.ORIGINAL_SIZE_BYTES: 4 * SIZE, [all...] |
/external/clang/test/CodeGenCXX/ |
2010-07-23-DeclLoc.cpp | 36 typedef _SIZE SIZE; 42 template <typename SIZE> class TRange { 44 typename SIZE::ptr_t _location; 45 typename SIZE::size_t _length; 46 TRange(typename SIZE::ptr_t location, typename SIZE::size_t length) : _location(location), _length(length) { } 48 template <typename SIZE, typename T> class TRangeValue : public TRange<SIZE> { 51 TRangeValue(typename SIZE::ptr_t location, typename SIZE::size_t length, T value) : TRange<SIZE>(location, length), _value(value) {} [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
hugetlb_vs_thp_test.c | 7 /* This must match the huge page & THP size */ 8 #define SIZE (16 * 1024 * 1024) 17 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, 27 if (munmap(addr, SIZE)) { 33 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, 48 * getcwd(p, SIZE); 56 munmap(addr, SIZE);
|
prot_sao.c | 15 #define SIZE (64 * 1024) 29 p = mmap(NULL, SIZE, PROT_READ | PROT_WRITE | PROT_SAO, 34 memset(p, 0xaa, SIZE);
|
/external/ltp/testcases/kernel/syscalls/read/ |
read01.c | 37 #define SIZE 512 40 static char buf[SIZE]; 46 TEST(read(fd, buf, SIZE)); 56 memset(buf, '*', SIZE); 58 SAFE_WRITE(1, fd, buf, SIZE);
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-size/ |
size32-2.s | 1 # 32-bit size relocation against TLS symbol in shared object 6 .size xxx, 40 13 .size yyy, 40 18 .long xxx@SIZE 19 .long yyy@SIZE 20 .long zzz@SIZE 21 .long zzz@SIZE-30 22 .long zzz@SIZE+30
|
size64-2.s | 1 # 64-bit size relocation against TLS symbol in shared object 6 .size xxx, 40 13 .size yyy, 40 18 .quad xxx@SIZE 19 .quad yyy@SIZE 20 .quad zzz@SIZE 21 .quad zzz@SIZE-30 22 .quad zzz@SIZE+30
|
size32-3a.s | 1 # 32-bit size relocation against hidden symbol in shared object 5 .long xxx@SIZE
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SmallCircleActivity.java | 38 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); 41 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); 47 private static final int SIZE = 37; 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW) [all...] |
/external/valgrind/callgrind/tests/ |
simwork.c | 9 #define SIZE 100000 16 for(i = 0; i< SIZE; i++) a[i] = b[i] = 1.0; 22 for(i = 0; i< SIZE; i++) { 34 for(i = 0; i< SIZE; i++) sum += c[i]; 54 a = (double*) malloc(SIZE * sizeof(double)); 55 b = (double*) malloc(SIZE * sizeof(double)); 56 c = (double*) malloc(SIZE * sizeof(double));
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioRoute.cpp | 29 const size_t SIZE = 256; 30 char buffer[SIZE]; 33 snprintf(buffer, SIZE, "%*s- Type: %s\n", spaces, "", mType == AUDIO_ROUTE_MUX ? "Mux" : "Mix"); 36 snprintf(buffer, SIZE, "%*s- Sink: %s\n", spaces, "", mSink->getTagName().string()); 39 if (mSources.size() != 0) { 40 snprintf(buffer, SIZE, "%*s- Sources: \n", spaces, ""); 42 for (size_t i = 0; i < mSources.size(); i++) { 43 snprintf(buffer, SIZE, "%*s%s \n", spaces + 4, "", mSources[i]->getTagName().string()); 49 write(fd, result.string(), result.size());
|
AudioSourceDescriptor.cpp | 34 const size_t SIZE = 256; 35 char buffer[SIZE]; 38 snprintf(buffer, SIZE, "mStream: %d\n", audio_attributes_to_stream_type(&mAttributes)); 40 snprintf(buffer, SIZE, "mDevice:\n"); 42 write(fd, result.string(), result.size()); 50 const size_t SIZE = 256; 51 char buffer[SIZE]; 53 snprintf(buffer, SIZE, "\nAudio sources dump:\n"); 55 for (size_t i = 0; i < size(); i++) { 56 snprintf(buffer, SIZE, "- Source %d dump:\n", keyAt(i)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/config/i386/ |
bsd.h | 33 /* Assembler pseudos to introduce constants of various size. */ 48 that says to advance the location counter by SIZE bytes. */ 50 #define ASM_OUTPUT_SKIP(FILE,SIZE) \ 51 fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)) 59 #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \ 67 #define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ 73 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGNMENT) \ 76 fprintf ((FILE), ",%u,%u\n", (int)(SIZE), (int)(ALIGNMENT) / BITS_PER_UNIT))
|
/external/linux-kselftest/tools/testing/selftests/powerpc/stringloops/ |
memcmp.c | 6 #define SIZE 256 14 unsigned long offset, size; local 16 for (offset = 0; offset < SIZE; offset++) { 17 for (size = 0; size < (SIZE-offset); size++) { 21 y = memcmp(s1+offset, s2+offset, size); 22 x = test_memcmp(s1+offset, s2+offset, size); 26 printf("memcmp returned %d, should have returned %d (offset %ld size %ld)\n", x, y, offset, size) [all...] |
/external/autotest/client/site_tests/security_Minijail_seccomp/src/ |
fail.c | 10 #define SIZE 1024 13 char buf[SIZE]; 16 int nr = syscall(__NR_read, fd_z, buf, SIZE); 17 int nw = syscall(__NR_write, fd_n, buf, SIZE);
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap10.c | 48 * 16M in size is also multi-threaded the subsequent munmap() of 67 #define SIZE (5*1024*1024) 126 x = mmap(NULL, SIZE + SIZE - ps, PROT_READ | PROT_WRITE, 131 x = mmap(NULL, SIZE + SIZE - ps, PROT_READ | PROT_WRITE, 138 if (madvise(x, SIZE + SIZE - ps, MADV_MERGEABLE) == -1) 142 x[SIZE] = 0; 148 if (munmap(x + SIZE + ps, SIZE - ps - ps) == -1 [all...] |
/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe02.c | 30 #define SIZE 5 33 static char rdbuf[SIZE]; 34 static char wrbuf[SIZE]; 40 SAFE_WRITE(1, fd[1], wrbuf, SIZE); 44 SAFE_WRITE(1, fd[1], wrbuf, SIZE); 54 memset(wrbuf, 'a', SIZE); 76 memset(rdbuf, 0, SIZE); 78 SAFE_READ(1, fd[0], rdbuf, SIZE); 80 if (memcmp(wrbuf, rdbuf, SIZE) != 0) {
|
/frameworks/base/core/java/android/provider/ |
OpenableColumns.java | 42 public static final String SIZE = "_size";
|
/frameworks/base/libs/hwui/utils/ |
FatVector.h | 41 template <typename T, size_t SIZE> 49 char array[sizeof(T) * SIZE]; 63 if (!mAllocation.inUse && num <= SIZE) { 83 * std::vector with SIZE elements preallocated into an internal buffer. 85 * Useful for avoiding the cost of malloc in cases where only SIZE or 88 template <typename T, size_t SIZE> 89 class FatVector : public std::vector<T, InlineStdAllocator<T, SIZE>> { 91 FatVector() : std::vector<T, InlineStdAllocator<T, SIZE>>( 92 InlineStdAllocator<T, SIZE>(mAllocation)) { 93 this->reserve(SIZE); [all...] |
/frameworks/native/services/sensorservice/ |
vec.h | 36 template <typename TYPE, size_t SIZE> 39 template <typename TYPE, size_t SIZE> 48 typename TYPE, size_t SIZE, size_t S> 49 vec<TYPE, SIZE>& doAssign( 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { 51 const size_t minSize = min(SIZE, S); 52 const size_t maxSize = max(SIZE, S); 65 size_t SIZE 67 VLHS<TYPE, SIZE> PURE doAdd( 68 const VLHS<TYPE, SIZE>& lhs 318 size_type size() const { return SIZE; } function in class:android::vec [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
PriorityQueueTest.java | 40 * Returns a new queue of given size containing consecutive 51 assertEquals(n, q.size()); 59 assertEquals(0, new PriorityQueue(SIZE).size()); 87 new PriorityQueue(Arrays.asList(new Integer[SIZE])); 96 Integer[] ints = new Integer[SIZE]; 97 for (int i = 0; i < SIZE - 1; ++i) 109 Integer[] ints = new Integer[SIZE]; 110 for (int i = 0; i < SIZE; ++i) 113 for (int i = 0; i < SIZE; ++i [all...] |
PriorityBlockingQueueTest.java | 41 // return new PriorityBlockingQueue(SIZE); 65 * Returns a new queue of given size containing consecutive 78 assertEquals(n, q.size()); 87 new PriorityBlockingQueue(SIZE).remainingCapacity()); 114 Collection<Integer> elements = Arrays.asList(new Integer[SIZE]); 125 Integer[] ints = new Integer[SIZE]; 126 for (int i = 0; i < SIZE - 1; ++i) 139 Integer[] ints = new Integer[SIZE]; 140 for (int i = 0; i < SIZE; ++i) 143 for (int i = 0; i < SIZE; ++i 285 final int size = 4; local [all...] |
/art/test/103-string-append/src/ |
Main.java | 19 public static final int SIZE = 8 * 1024; 25 for (int i = 0; i < SIZE; i++) {
|
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-moxie.h | 36 #define md_estimate_size_before_relax(A, B) (as_fatal (_("estimate size\n")), 0) 47 #define md_section_align(SEGMENT, SIZE) (SIZE)
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
x86-64-size-inval-1.l | 13 [ ]*5[ ]+\?\?\?\? B85E0000 movl \$xxx@SIZE \+ 100, %eax 15 [ ]*6[ ]+\?\?\?\? B8ECFFFF movl \$yyy@SIZE - 100, %eax 20 [ ]*10[ ]+\?\?\?\? 5E000000 \.long xxx@SIZE \+ 100 21 [ ]*11[ ]+\?\?\?\? ECFFFFFF \.long yyy@SIZE - 100 22 .* Error: symbol size computation overflow 23 .* Error: symbol size computation overflow 24 .* Error: symbol size computation overflow 25 .* Error: symbol size computation overflow
|