/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_bigmem.py | 18 # its size. To make sure whether a result has the right contents, better 32 # passed-in 'size', and don't rely on the size being very large. Also, 33 # memuse-per-size should remain sane (less than a few thousand); if your 34 # test uses more, adjust 'size' upward, instead. 38 def test_capitalize(self, size): 40 s = '-' * size + SUBSTR 47 def test_center(self, size): 49 s = SUBSTR.center(size) 50 self.assertEqual(len(s), size) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bigmem.py | 18 # its size. To make sure whether a result has the right contents, better 32 # passed-in 'size', and don't rely on the size being very large. Also, 33 # memuse-per-size should remain sane (less than a few thousand); if your 34 # test uses more, adjust 'size' upward, instead. 38 def test_capitalize(self, size): 40 s = '-' * size + SUBSTR 47 def test_center(self, size): 49 s = SUBSTR.center(size) 50 self.assertEqual(len(s), size) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_bigmem.py | 18 # its size. To make sure whether a result has the right contents, better 32 # passed-in 'size', and don't rely on the size being very large. Also, 33 # memuse-per-size should remain sane (less than a few thousand); if your 34 # test uses more, adjust 'size' upward, instead. 38 def test_capitalize(self, size): 40 s = '-' * size + SUBSTR 47 def test_center(self, size): 49 s = SUBSTR.center(size) 50 self.assertEqual(len(s), size) [all...] |
/external/libcxx/test/std/containers/associative/map/map.access/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/external/libcxx/test/std/containers/associative/multimap/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/external/libcxx/test/std/containers/associative/multiset/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/external/libcxx/test/std/containers/associative/set/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/external/syslinux/com32/hdt/ |
hdt-util.c | 54 int *size, int sectors) 56 *size = sectors / 2; // Converting to bytes 59 *previous_size = *size; 60 if (*size > 1000) { 61 *size = *size / 1000; 63 if (*size > 1000) { 64 *previous_size = *size; 65 *size = *size / 1000 [all...] |
/external/v8/src/regexp/ |
regexp-stack.cc | 36 size_t size = sizeof(thread_local_); local 37 MemCopy(reinterpret_cast<void*>(to), &thread_local_, size); local 39 return to + size; 44 size_t size = sizeof(thread_local_); local 45 MemCopy(&thread_local_, reinterpret_cast<void*>(from), size); 46 return from + size; 66 Address RegExpStack::EnsureCapacity(size_t size) { 67 if (size > kMaximumStackSize) return NULL; 68 if (size < kMinimumStackSize) size = kMinimumStackSize [all...] |
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
BenchmarkResults.java | 50 final int size = mResults.size(); local 52 for (int i = 0; i < size; ++i) { 55 return (double) sum / size; 59 final int size = mResults.size(); local 60 if (size == 0) { 64 final int idx = size / 2; 65 return size % 2 == 0 71 final int size = mResults.size() local [all...] |
/frameworks/compile/mclinker/lib/Target/ |
ELFAttributeData.cpp | 21 size_t size = 0; local 24 leb128::decode<uint64_t>(pBuf, size)); 26 if (size > pBufSize) 29 pBuf += size; 30 pBufSize -= size; 40 size_t size = 0; local 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); 44 if (size > pBufSize) 47 pBuf += size; 48 pBufSize -= size; 55 size_t size = pValue.getStringValue().length() + 1 \/* '\\0' *\/; local [all...] |
/frameworks/layoutlib/bridge/src/dalvik/system/ |
VMRuntime_Delegate.java | 36 int size = ((minLength & 1) == 0) ? minLength + 1 : minLength; local 37 return java.lang.reflect.Array.newInstance(componentType, size); 42 int size = dataBytes / 2; local 43 return new char[size]; 45 int size = ((minLength & 1) == 0) ? minLength + 1 : minLength; local 46 return new int[size]; 51 int size = dataBytes; local 52 return new byte[size]; 57 int size = dataBytes; local 58 return new boolean[size]; 63 int size = dataBytes \/ 2; local 66 int size = ((minLength & 1) == 0) ? minLength + 1 : minLength; local [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/map.access/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/multimap/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/multiset/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/associative/set/ |
size.pass.cpp | 14 // size_type size() const; 26 assert(m.size() == 0); 28 assert(m.size() == 1); 30 assert(m.size() == 2); 32 assert(m.size() == 3); 34 assert(m.size() == 2); 36 assert(m.size() == 1); 38 assert(m.size() == 0); 44 assert(m.size() == 0); 46 assert(m.size() == 1) [all...] |
/toolchain/binutils/binutils-2.27/libiberty/ |
xmalloc.c | 33 @deftypefn Replacement void* xrealloc (void *@var{ptr}, size_t @var{size}) 119 xmalloc_failed (size_t size) 131 (unsigned long) size, (unsigned long) allocated); 136 (unsigned long) size); 142 xmalloc (size_t size) 146 if (size == 0) 147 size = 1; 148 newmem = malloc (size); 150 xmalloc_failed (size); 171 xrealloc (PTR oldmem, size_t size) [all...] |
/external/proguard/src/proguard/evaluation/ |
Variables.java | 40 protected int size; field in class:Variables 46 public Variables(int size) 48 this.values = new Value[size]; 49 this.size = size; 59 this(variables.size); 69 public void reset(int size) 72 if (size > values.length) 75 values = new Value[size]; 83 this.size = size 162 public int size() method in class:Variables [all...] |
/external/valgrind/coregrind/m_gdbserver/ |
valgrind-low-ppc64.c | 39 consists of 64 VSR registers of size 128-bits. The 32 floating point 41 vr[0] to vr[31] registers of size 128-bits map to vsr[31] to vsr[63]. The 254 transfer_direction dir, int size, Bool *mod) 297 case 0: VG_(transfer) (&ppc64->guest_GPR0, buf, dir, size, mod); break; 298 case 1: VG_(transfer) (&ppc64->guest_GPR1, buf, dir, size, mod); break; 299 case 2: VG_(transfer) (&ppc64->guest_GPR2, buf, dir, size, mod); break; 300 case 3: VG_(transfer) (&ppc64->guest_GPR3, buf, dir, size, mod); break; 301 case 4: VG_(transfer) (&ppc64->guest_GPR4, buf, dir, size, mod); break; 302 case 5: VG_(transfer) (&ppc64->guest_GPR5, buf, dir, size, mod); break; 303 case 6: VG_(transfer) (&ppc64->guest_GPR6, buf, dir, size, mod); break [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
DebugInfoItem.java | 23 // Right now we are not parsing debug_info_item, just take the raw size 25 private int size; field in class:DebugInfoItem 28 public DebugInfoItem(int size) { 29 this.size = size; 35 data = new byte[size]; 39 if (data[size - 1] != 0) {
|
/external/cmockery/cmockery_0_1_2/src/example/ |
allocate_module.c | 19 extern void* _test_malloc(const size_t size, const char* file, const int line); 20 extern void* _test_calloc(const size_t number_of_elements, const size_t size, 24 #define malloc(size) _test_malloc(size, __FILE__, __LINE__) 25 #define calloc(num, size) _test_calloc(num, size, __FILE__, __LINE__)
|
/external/compiler-rt/test/lsan/TestCases/ |
register_root_region.cc | 17 size_t size = getpagesize() * 2; local 19 mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); 22 assert(0 == mprotect((char *)p + size / 2, size / 2, PROT_NONE)); 24 __lsan_register_root_region(p, size); 28 __lsan_unregister_root_region(p, size);
|
/external/elfutils/tests/ |
run-dwelfgnucompressed.sh | 26 # .size testfunc, .-testfunc 35 # .size testfunc2, .-testfunc2 46 # .size functest3, .-functest3 70 # .size _start, .-_start 82 section 2: GNU Compressed size: 60 83 section 3: GNU Compressed size: aa 84 section 5: GNU Compressed size: 8d 89 section 3: GNU Compressed size: 60 90 section 4: GNU Compressed size: 7e 91 section 6: GNU Compressed size: 8 [all...] |
/external/libchrome/base/memory/ |
aligned_memory.cc | 16 void* AlignedAlloc(size_t size, size_t alignment) { 17 DCHECK_GT(size, 0U); 22 ptr = _aligned_malloc(size, alignment); 29 ptr = memalign(alignment, size); 31 if (posix_memalign(&ptr, alignment, size)) 39 << "size=" << size << ", alignment=" << alignment;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
CountingInputStream.java | 20 private long size = 0; field in class:CountingInputStream 28 if (ret != -1 && size >= 0) 29 ++size; 36 if (ret > 0 && size >= 0) 37 size += ret; 43 return size;
|