/frameworks/base/telephony/java/com/android/ims/ |
ImsConferenceState.java | 104 out.writeInt(mParticipants.size()); 106 if (mParticipants.size() > 0) { 123 int size = in.readInt(); local 125 for (int i = 0; i < size; ++i) { 140 public ImsConferenceState[] newArray(int size) { 141 return new ImsConferenceState[size];
|
/frameworks/base/tools/preload/ |
PrintCsv.java | 88 if (procNames.size() <= 3) { 96 out.print("...and " + (procNames.size() - 2) 102 out.print(loadedClass.loads.size()); 104 out.print(loadedClass.initializations.size());
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ArrayObjectAdapter.java | 50 public int size() { method in class:ArrayObjectAdapter 51 return mItems.size(); 88 add(mItems.size(), item); 93 * If the index is >= {@link #size} an exception will be thrown. 105 * given index. If the index is >= {@link #size} an exception will be thrown. 111 int itemsCount = items.size(); 155 int itemsToRemove = Math.min(count, mItems.size() - position); 171 int itemCount = mItems.size();
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
TileListTest.java | 57 public void size() { method in class:TileListTest 58 assertThat(mTileList.size(), is(0)); 60 assertThat(mTileList.size(), is(1)); 62 assertThat(mTileList.size(), is(1)); 64 assertThat(mTileList.size(), is(2)); 67 assertThat(mTileList.size(), is(0)); 128 assertThat(mTileList.size(), is(3)); 131 assertThat(mTileList.size(), is(2)); 134 assertThat(mTileList.size(), is(1));
|
/libcore/luni/src/test/java/libcore/java/util/ |
BitSetTest.java | 51 assertEquals(64 * longs.length, bs.size()); 95 assertEquals(roundUp(8 * bytes.length, 64), bs.size()); 237 final int size = 128; local 240 byte[] bytes = new byte[size];
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertificateRevokedException.java | 183 * @serialData the size of the extensions map (int), followed by all of 194 // Write out the size (number of mappings) of the extensions map 195 oos.writeInt(extensions.size()); 224 // Read in the size (number of mappings) of the extensions map 226 int size = ois.readInt(); local 227 if (size == 0) { 230 extensions = new HashMap<String, Extension>(size); 234 for (int i = 0; i < size; i++) {
|
/libcore/ojluni/src/main/java/java/util/ |
HashSet.java | 36 * (<tt>add</tt>, <tt>remove</tt>, <tt>contains</tt> and <tt>size</tt>), 39 * the <tt>HashSet</tt> instance's size (the number of elements) plus the 116 map = new HashMap<>(Math.max((int) (c.size()/.75f) + 1, 16)); 178 public int size() { method in class:HashSet 179 return map.size(); 266 * the size of the set (the number of elements it contains) 279 // Write out size 280 s.writeInt(map.size()); 303 // Read in size 304 int size = s.readInt() local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gltrace/format/ |
GLAPISpecTest.java | 45 assertEquals(argSpecs.size(), args.size()); 64 for (int i = 0; i < args.size(); i++) { 66 if (i != args.size() - 1) {
|
/art/runtime/base/ |
length_prefixed_array.h | 79 size_t size() const { function in class:art::LengthPrefixedArray
|
/art/runtime/gc/space/ |
rosalloc_space-inl.h | 32 // obj is a valid object. Use its class in the header to get the size. 34 size_t size = obj->SizeOf<kVerifyNone>(); local 39 size += 2 * kDefaultMemoryToolRedZoneBytes; 44 size_t size_by_size = rosalloc_->UsableSize(size); 51 LOG(INFO) << "Found a bad sized obj of size " << size
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
StringDataItem.java | 25 private int size; field in class:StringDataItem 33 size = file.readUleb128(); 34 if (size != 0) { 35 dataAsBytes = file.readDexUtf(size); 37 if (size != data.length()) { 51 file.writeUleb128(size); 52 if (size > 0) { 69 public void setSize(int size) { 70 this.size = size; [all...] |
/bionic/libc/kernel/uapi/asm-arm64/asm/ |
sigcontext.h | 35 __u32 size; member in struct:_aarch64_ctx
|
/bionic/libc/kernel/uapi/drm/ |
armada_drm.h | 29 uint32_t size; member in struct:drm_armada_gem_create 37 uint64_t size; member in struct:drm_armada_gem_mmap 47 uint32_t size; member in struct:drm_armada_gem_pwrite
|
/bionic/libc/kernel/uapi/linux/ |
hidraw.h | 25 __u32 size; member in struct:hidraw_report_descriptor
|
i2c-dev.h | 39 __u32 size; member in struct:i2c_smbus_ioctl_data
|
wil6210_uapi.h | 47 uint32_t size; member in struct:wil_memio_block
|
/bionic/libc/private/ |
libc_logging.h | 68 size_t size; member in struct:abort_msg_t
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fmemopen.c | 30 size_t size; /* allocated size */ member in struct:state 54 for (i = 0; i < l && i + st->pos < st->size; i++) 61 if (st->len < st->size) 64 st->string[st->size - 1] = '\0'; 87 if (off > st->size - base || off < -base) { 117 fmemopen(void *buf, size_t size, const char *mode) 123 if (size == 0) { 147 st->len = (oflags & O_WRONLY) ? 0 : size; 148 st->size = size [all...] |
open_memstream.c | 34 size_t size; /* number of allocated char */ member in struct:state 47 if (end >= st->size) { 49 size_t sz = st->size * 8 / 5; 56 bzero(p + st->size, sz - st->size); 58 st->size = sz; 132 st->size = BUFSIZ; 133 if ((st->string = calloc(1, st->size)) == NULL) {
|
open_wmemstream.c | 35 size_t size; /* number of allocated wchar_t */ member in struct:state 49 if (end >= st->size) { 51 size_t sz = st->size * 8 / 5; 58 bzero(p + st->size, (sz - st->size) * sizeof(wchar_t)); 60 st->size = sz; 63 nmc = (st->size - st->pos) * sizeof(wchar_t); 142 st->size = BUFSIZ * sizeof(wchar_t); 143 if ((st->string = calloc(1, st->size)) == NULL) {
|
/bionic/tests/ |
sched_test.cpp | 161 size_t size = CPU_ALLOC_SIZE(17); local 163 CPU_ZERO_S(size, set); 164 ASSERT_EQ(0, CPU_COUNT_S(size, set)); 165 CPU_SET_S(16, size, set); 166 ASSERT_TRUE(CPU_ISSET_S(16, size, set)); 173 size_t size = CPU_ALLOC_SIZE(10 * CPU_SETSIZE); local 175 CPU_ZERO_S(size, set); 176 ASSERT_EQ(0, CPU_COUNT_S(size, set)); 177 CPU_SET_S(CPU_SETSIZE, size, set); 178 ASSERT_TRUE(CPU_ISSET_S(CPU_SETSIZE, size, set)) 185 size_t size = CPU_ALLOC_SIZE(set_size); local [all...] |
/bionic/tools/relocation_packer/src/ |
sleb128.cc | 50 static const size_t size = CHAR_BIT * sizeof(value); local 61 value |= -(static_cast<uint_t>(1) << (size - 7)); 76 for (size_t i = 0; i < values.size(); ++i) { 98 static const size_t size = CHAR_BIT * sizeof(value); local 112 if (shift < size && (byte & 64)) 121 while (cursor_ < encoding_.size()) {
|
/build/core/combo/ |
HOST_darwin-x86.mk | 104 define get-file-size
|
/cts/suite/audio_quality/lib/src/ |
FileUtil.cpp | 121 int size; local 122 size = vsnprintf(mBuffer + start, mBufferSize - start - 2, fmt, ap); // 2 for \n\0 123 if (size < 0) { 127 if ((size + start + 2) > mBufferSize) { 128 //default buffer does not fit, increase buffer size and retry 130 mBuffer = new char[2 * size]; 135 mBufferSize = 2 * size; 139 size += start; 140 mBuffer[size] = '\n'; 141 size++ [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
Buffer.cpp | 24 Buffer::Buffer(size_t capacity, size_t size, bool stereo) 26 mSize(size), 97 size_t size = file.tellg(); local 98 Buffer* buffer = new Buffer(size, size, stereo); 103 file.read(buffer->mData, size); //TODO handle read error 140 LOGD("size mismatch %d %d", mSize, b.mSize);
|