HomeSort by relevance Sort by last modified time
    Searched refs:size (Results 501 - 525 of 43697) sorted by null

<<21222324252627282930>>

  /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;
CountingOutputStream.java 25 private long size = 0; field in class:CountingOutputStream
33 if (size >= 0)
34 ++size;
39 if (size >= 0)
40 size += len;
52 return size;
  /external/skia/src/core/
SkFlattenableSerialization.cpp 17 size_t size = writer.bytesWritten(); local
18 auto data = SkData::MakeUninitialized(size);
23 SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size,
25 SkValidatingReadBuffer buffer(data, size);
29 sk_sp<SkImageFilter> SkValidatingDeserializeImageFilter(const void* data, size_t size) {
31 data, size, SkImageFilter::GetFlattenableType()));
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
Format.java 73 public final int size; field in class:Format
76 private Format(int size) {
77 this(size, false);
80 private Format(int size, boolean isPayloadFormat) {
81 this.size = size;
  /external/syslinux/lzo/src/
lzo_ptr.c 58 __lzo_align_gap(const lzo_voidp ptr, lzo_uint size)
65 n = (((p + size - 1) / size) * size) - p;
68 assert(size > 0);
70 assert(n <= size);
  /external/valgrind/none/tests/
bug129866.c 5 char * touch_malloc (int size)
9 result = malloc (size);
10 for (i = 0; i < size; i++)
15 char * touch_realloc (char * ptr, int size)
19 result = realloc (ptr, size);
20 for (i = 0; i < size; i++)
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
m4venc_oscl.h 31 #define M4VENC_MALLOC(size) malloc(size)
34 #define M4VENC_MEMSET(ptr,val,size) memset(ptr,val,size)
35 #define M4VENC_MEMCPY(dst,src,size) memcpy(dst,src,size)
  /frameworks/base/core/java/com/android/internal/widget/
ScrollBarUtils.java 21 public static int getThumbLength(int size, int thickness, int extent, int range) {
24 int length = Math.round((float) size * extent / range);
31 public static int getThumbOffset(int size, int thumbLength, int extent, int range, int offset) {
33 int thumbOffset = Math.round((float) (size - thumbLength) * offset / (range - extent));
34 if (thumbOffset > size - thumbLength) {
35 thumbOffset = size - thumbLength;
  /frameworks/compile/mclinker/lib/Target/
ELFAttributeValue.cpp 19 size_t size = 0; local
22 size += leb128::size<uint32_t>(m_IntValue);
25 size += m_StringValue.length() + 1 /* for NULL-terminator */;
27 if (size <= 0)
31 return size;
  /system/extras/memcpy-perf/
test-funcs.cpp 3 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size)
5 memcpy(dst,src,size);
8 void __attribute__((noinline)) memset_noinline(void *dst, int value, size_t size)
10 memset(dst, value, size);
13 uint64_t __attribute__((noinline)) sum(volatile void *src, size_t size)
17 size_t len = size / sizeof(uint64_t);
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/elf/
type.s 3 .size function,1
8 .size indirect_function,1
16 .size object,1
21 .size tls_object,1
26 .size notype,1
33 .size unique_global,1
  /dalvik/dexgen/src/com/android/dexgen/util/
IntList.java 31 /** {@code >= 0;} current size of the list */
32 private int size; field in class:IntList
90 throw new IllegalArgumentException("size < 0");
93 size = 0;
102 for (int i = 0; i < size; i++) {
126 if (size != otherList.size) {
130 for (int i = 0; i < size; i++) {
142 StringBuffer sb = new StringBuffer(size * 5 + 10);
146 for (int i = 0; i < size; i++)
161 public int size() { method in class:IntList
    [all...]
  /dalvik/dx/src/com/android/dx/util/
IntList.java 31 /** {@code >= 0;} current size of the list */
32 private int size; field in class:IntList
90 throw new IllegalArgumentException("size < 0");
93 size = 0;
102 for (int i = 0; i < size; i++) {
126 if (size != otherList.size) {
130 for (int i = 0; i < size; i++) {
142 StringBuffer sb = new StringBuffer(size * 5 + 10);
146 for (int i = 0; i < size; i++)
161 public int size() { method in class:IntList
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
BooleanArrayList.java 62 * The size of the list distinct from the length of the array. That is, it is the number of
65 private int size; field in class:BooleanArrayList
77 private BooleanArrayList(boolean[] array, int size) {
79 this.size = size;
91 if (size != other.size) {
96 for (int i = 0; i < size; i++) {
108 for (int i = 0; i < size; i++) {
116 if (capacity < size) {
134 public int size() { method in class:BooleanArrayList
    [all...]
DoubleArrayList.java 62 * The size of the list distinct from the length of the array. That is, it is the number of
65 private int size; field in class:DoubleArrayList
77 private DoubleArrayList(double[] array, int size) {
79 this.size = size;
91 if (size != other.size) {
96 for (int i = 0; i < size; i++) {
108 for (int i = 0; i < size; i++) {
117 if (capacity < size) {
135 public int size() { method in class:DoubleArrayList
    [all...]
FloatArrayList.java 61 * The size of the list distinct from the length of the array. That is, it is the number of
64 private int size; field in class:FloatArrayList
76 private FloatArrayList(float[] array, int size) {
78 this.size = size;
90 if (size != other.size) {
95 for (int i = 0; i < size; i++) {
107 for (int i = 0; i < size; i++) {
115 if (capacity < size) {
133 public int size() { method in class:FloatArrayList
    [all...]
IntArrayList.java 61 * The size of the list distinct from the length of the array. That is, it is the number of
64 private int size; field in class:IntArrayList
76 private IntArrayList(int[] array, int size) {
78 this.size = size;
90 if (size != other.size) {
95 for (int i = 0; i < size; i++) {
107 for (int i = 0; i < size; i++) {
115 if (capacity < size) {
133 public int size() { method in class:IntArrayList
    [all...]
LongArrayList.java 61 * The size of the list distinct from the length of the array. That is, it is the number of
64 private int size; field in class:LongArrayList
76 private LongArrayList(long[] array, int size) {
78 this.size = size;
90 if (size != other.size) {
95 for (int i = 0; i < size; i++) {
107 for (int i = 0; i < size; i++) {
115 if (capacity < size) {
133 public int size() { method in class:LongArrayList
    [all...]
  /external/speex/libspeex/
buffer.c 45 int size; member in struct:SpeexBuffer_
51 EXPORT SpeexBuffer *speex_buffer_init(int size)
54 st->data = speex_alloc(size);
55 st->size = size;
73 if (len > st->size)
75 data += len-st->size;
76 len = st->size;
80 if (end1 > st->size)
81 end1 = st->size;
    [all...]
  /system/connectivity/wifilogd/tests/
byte_buffer_unittest.cpp 44 buffer_.AppendOrDie(kSmallestMessage.data(), kSmallestMessage.size());
48 buffer_.AppendOrDie(kLargestMessage.data(), kLargestMessage.size());
54 buffer_.AppendOrDie(message1.data(), message1.size());
55 buffer_.AppendOrDie(message2.data(), message2.size());
58 EXPECT_EQ(0, std::memcmp(buffer_.data(), expected.data(), expected.size()));
63 buffer_.AppendOrDie(message1.data(), message1.size());
66 ASSERT_NE(buffer_.size(), copy.size());
69 ASSERT_EQ(buffer_.size(), copy.size());
    [all...]
  /tools/apksig/src/main/java/com/android/apksig/internal/util/
RandomAccessFileDataSource.java 40 * specified the whole file. Changes to the contents of the file, including the size of the
54 * @throws IndexOutOfBoundsException if {@code offset} or {@code size} is negative.
56 public RandomAccessFileDataSource(RandomAccessFile file, long offset, long size) {
58 throw new IndexOutOfBoundsException("offset: " + size);
60 if (size < 0) {
61 throw new IndexOutOfBoundsException("size: " + size);
65 mSize = size;
69 public long size() { method in class:RandomAccessFileDataSource
82 public RandomAccessFileDataSource slice(long offset, long size) {
    [all...]

Completed in 981 milliseconds

<<21222324252627282930>>