Searched defs:size (Results 176 - 200 of 1111) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseIntArray.java33 public int size() { method in class:UnmodifiableSparseIntArray
34 return mArray.size();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DThroughput.java26 public Throughput(int totalFrames, int periodFrames, long periodTime, int size) { argument
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAbstractLayoutTest.java42 public View create(Context context, String name, int size) { argument
/frameworks/base/tools/aapt2/io/
H A DData.h36 virtual size_t size() const = 0;
39 return size();
53 size_t size() const override { return len_; }
55 bool Next(const void** data, size_t* size) override {
60 *size = len_ - (next_read_ - offset_);
102 size_t size() const override { return map_.getDataLength(); }
104 bool Next(const void** data, size_t* size) override {
109 *size = map_.getDataLength() - next_read_;
144 MallocData(std::unique_ptr<const uint8_t[]> data, size_t size) argument
145 : data_(std::move(data)), size_(size) {}
[all...]
H A DStringStream.cpp27 bool StringInputStream::Next(const void** data, size_t* size) { argument
28 if (offset_ == str_.size()) {
33 *size = str_.size() - offset_;
34 offset_ = str_.size();
51 return str_.size();
65 bool StringOutputStream::Next(void** data, size_t* size) { argument
71 *size = buffer_capacity_ - buffer_offset_;
85 return str_->size() + buffer_offset_;
/frameworks/base/tools/incident_report/
H A Dprinter.cpp44 Out::reallocate(int size) argument
46 if (size > mBufSize) {
47 char* p = (char*)malloc(size);
50 mBufSize = size;
52 return size;
86 int size = p != NULL ? p - last + 1 : strlen(last); local
87 fwrite(last, size, 1, mOut);
/frameworks/compile/mclinker/include/mcld/ADT/
H A Dilist_sort.h22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { argument
26 assert(xs.size() == size && "Incorrect list size argument");
29 switch (size) {
46 size_t mid = size / 2;
55 sort(ys, size - mid, is_less_than);
79 detail::sort(list, list.size(), is_less_than);
/frameworks/compile/mclinker/include/mcld/LD/
H A DNamePool.h91 size_type size() const { return m_Table.numOfEntries(); } function in class:mcld::NamePool
/frameworks/compile/mclinker/include/mcld/Script/
H A DSectionsCmd.h48 size_t size() const { return m_SectionCommands.size(); } function in class:mcld::SectionsCmd
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLA25Stub.cpp78 size_t MipsLA25Stub::size() const { function in class:mcld::MipsLA25Stub
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp44 size_t size; local
47 size = leb128::encode<uint32_t>(result, 2);
50 ASSERT_TRUE(size == 1);
53 size = leb128::encode<uint32_t>(result, 127);
56 ASSERT_TRUE(size == 1);
59 size = leb128::encode<uint32_t>(result, 128);
63 ASSERT_TRUE(size == 2);
66 size = leb128::encode<uint32_t>(result, 129);
70 ASSERT_TRUE(size == 2);
73 size
90 size_t size; local
136 size_t size; local
195 size_t size; local
230 size_t size; local
297 size_t size; local
414 size_t size; local
496 size_t size; local
512 size_t size; local
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java70 long size, boolean isLayout) throws XmlPullParserException {
73 stream = readAndClose(stream, name, size);
99 long size) throws XmlPullParserException {
101 if (size > Integer.MAX_VALUE) {
104 int intSize = (int) size;
113 // get the size to read.
69 create(@onNull InputStream stream, @Nullable String name, long size, boolean isLayout) argument
98 readAndClose(@onNull InputStream stream, @Nullable String name, long size) argument
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java38 public int size() { method in class:UnsafeByteSequence
/frameworks/minikin/app/
H A DHyphTool.cpp21 size_t size = statbuf.st_size; local
27 uint8_t* buf = new uint8_t[size];
28 size_t read_size = fread(buf, 1, size, f);
30 if (read_size < size) {
/frameworks/minikin/libs/minikin/
H A DMinikinInternal.h70 inline size_t size() const { return (size_t)hb_blob_get_length(mBlob.get()); } function in class:minikin::HbBlob
72 inline operator bool() const { return size() > 0; }
/frameworks/native/include/ui/
H A DGraphicBufferAllocator.h67 size_t size; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/libs/math/include/math/
H A Dvec2.h56 inline constexpr size_type size() const { return SIZE; } function in class:android::details::TVec2
98 // cross product works only on vectors of size 2 or 3
/frameworks/native/libs/ui/include/ui/
H A DGraphicBufferAllocator.h67 size_t size; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/libs/ui/include_vndk/ui/
H A DGraphicBufferAllocator.h67 size_t size; member in struct:android::GraphicBufferAllocator::alloc_rec_t
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dthread_local_buffer.h57 // Resizes the buffer to |size| elements.
58 static void Resize(std::size_t size) { argument
60 InitializeBuffer(size);
61 buffer_->resize(size);
65 // elements. The current size of the buffer is left intact. The returned
74 // elements. The current size of the buffer is set to zero. The returned
83 // Gets a reference to the underlying buffer after resizing it to |size|
85 static BufferType& GetSizedBuffer(std::size_t size = Capacity) {
87 Resize(size);
/frameworks/native/libs/vr/libperformance/
H A Dperformance_client.cpp94 std::size_t size) {
101 auto wrapper = WrapString(partition_out, size);
107 if (wrapper.size() < size)
108 partition_out[wrapper.size()] = '\0';
142 extern "C" int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size) { argument
145 return client->GetCpuPartition(task_id, partition, size);
93 GetCpuPartition(pid_t task_id, char* partition_out, std::size_t size) argument
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp45 GLsizei n = mBuffers.size();
63 bo->size = 0;
70 GLsizeiptr size, GLenum usage)
73 if (size != bo->size) {
74 uint8_t* data = (uint8_t*)malloc(size);
79 bo->size = size;
69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DIconEvent.java9 public IconEvent(long bssid, String fileName, int size, byte[] data) { argument
12 mSize = size;
37 ", size=" + mSize;
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java42 if (mCacheMap.size() >= MAX_CACHED_ITEMS) {
46 Log.v(TAG, "Failed! size limitation reached.");
57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total.");
90 Log.v(TAG, mCacheMap.size() + " items cached.");
98 Log.v(TAG, "Purging cache, " + mCacheMap.size()
104 public int size() { method in class:AbstractCache
105 return mCacheMap.size();
H A DDrmConvertSession.java79 * @param size The number of bytes that shall be converted.
83 public byte [] convert(byte[] inBuffer, int size) { argument
88 if (size != inBuffer.length) {
89 byte[] buf = new byte[size];
90 System.arraycopy(inBuffer, 0, buf, 0, size);

Completed in 359 milliseconds

1234567891011>>