Searched refs:size (Results 226 - 250 of 5695) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Script/
H A DOutputFormatCmd.cpp36 assert(m_FormatList.size() == 1 || m_FormatList.size() == 3);
37 for (size_t i = 0; i < m_FormatList.size(); ++i) {
H A DScriptReader.cpp46 size_t size = input.memArea()->size(); local
47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size);
/frameworks/minikin/libs/minikin/
H A DLineBreakerUtil.cpp30 const size_t len = str.size();
41 if (word.size() <= LONGEST_HYPHENATED_WORD) {
44 out.insert(out.end(), word.size(), HyphenationType::DONT_BREAK);
/frameworks/minikin/tests/unittest/
H A DMeasurementTests.cpp29 size_t size; local
30 ParseUnicode(buf, BUF_SIZE, src, &size, &offset);
31 return getRunAdvance(advances, buf, 0, size, offset);
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dstring_wrapper.h34 StringWrapper(pointer buffer, size_type capacity, size_type size) argument
37 end_(capacity < size ? capacity : size) {}
39 StringWrapper(pointer buffer, size_type size) argument
40 : StringWrapper(buffer, size, size) {}
84 size_type size() const { return end_; } function in class:android::pdx::rpc::StringWrapper
89 void resize(size_type size) { argument
90 if (size <= capacity_)
91 end_ = size;
116 WrapString(T* s, SizeType size) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DCellularNetworkTestUtil.java52 * allows the test to intentionally setting an incorrect size value.
56 * @param setWrongSize Flag for setting incorrect IEI size
67 // Use incorrect size intentionally.
88 int size = 0;
90 size += data.length;
92 return size;
/frameworks/av/media/libstagefright/include/
H A DHevcUtils.h79 status_t addNalUnit(const uint8_t* data, size_t size);
86 inline size_t getNumNalUnits() { return mNalUnits.size(); }
91 bool write(size_t index, uint8_t* dest, size_t size);
97 status_t parseVps(const uint8_t* data, size_t size);
98 status_t parseSps(const uint8_t* data, size_t size);
99 status_t parsePps(const uint8_t* data, size_t size);
H A DSecureBuffer.h32 * the size information. For decryption, it exposes underlying handle/pointer
37 SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size);
38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp98 // Find out buffer size for JPEG
101 ALOGE("%s: Camera %d: Jpeg buffer size (%zu) is invalid ",
117 // Since ashmem heaps are rounded up to page size, don't reallocate if
118 // the capture heap isn't exactly the same size as the required JPEG buffer
284 // Find size of JPEG image
286 if (jpegSize == 0) { // failed to find size, default to whole buffer
372 // Return the size of the JPEG, 0 indicates failure
374 size_t size; local
380 size = blob->jpeg_size;
381 if (size >
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java246 if (items != null && items.size() > 0) {
283 if (items != null && items.size() > 0) {
284 if (items.size() == 1) {
287 for (int i = 0; i < items.size() - 1; ++i) {
304 int size = mNodes.size();
305 for (int i = 0; i < size; i++) {
323 int size = mNodes.size();
324 for (int i = 0; i < size;
[all...]
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp34 void* data, size_t size, bool readOnly) :
35 mName(name), mAshmemFd(ashmemFd), mData(data), mSize(size), mReadOnly(readOnly) {
44 status_t CursorWindow::create(const String8& name, size_t size, CursorWindow** outCursorWindow) { argument
49 int ashmemFd = ashmem_create_region(ashmemName.string(), size);
55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0);
62 data, size, false /*readOnly*/);
77 ::munmap(data, size);
93 ssize_t size = ashmem_get_size_region(ashmemFd); local
94 if (size < 0) {
101 // the size o
33 CursorWindow(const String8& name, int ashmemFd, void* data, size_t size, bool readOnly) argument
206 alloc(size_t size, bool aligned) argument
278 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument
287 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument
303 memcpy(offsetToPtr(offset), value, size); local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DHistoryEvaluator.java59 int size = list.size();
60 for (int i = 0; i < size; i++) {
89 int size = list.size();
90 for (int i = 0; i < size; i++) {
/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();
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DNonOverlappingLinearLayout.java69 while (mSortedAvailableViews.size() > getChildCount()) {
70 mSortedAvailableViews.remove(mSortedAvailableViews.size() - 1);
72 while (mSortedAvailableViews.size() < getChildCount()) {
78 for (int i = 0; i < mSortedAvailableViews.size(); i++) {
79 for (int j = 0; j < mSortedAvailableViews.get(i).size(); j++) {
87 for (int i = 0; i < mSortedAvailableViews.size(); i++) {
/frameworks/av/include/media/stagefright/
H A DDataURISource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
33 virtual status_t getSize(off64_t *size);
/frameworks/av/media/libaaudio/tests/
H A Dtest_block_adapter.cpp129 int32_t size = (r % TEST_BUFFER_SIZE); local
130 ASSERT_LE(size, TEST_BUFFER_SIZE);
131 ASSERT_GE(size, 0);
132 result = tester.testInputWrite(size);
144 int32_t size = (r % TEST_BUFFER_SIZE); local
145 ASSERT_LE(size, TEST_BUFFER_SIZE);
146 ASSERT_GE(size, 0);
147 result = tester.testOutputRead(size);
/frameworks/av/media/libaudiohal/2.0/
H A DConversionHelperHidl.cpp32 if (halKeys.size() == 0) return BAD_VALUE;
33 hidlKeys->resize(halKeys.size());
38 bool keepFormatValue = halKeys.size() == 2 &&
42 for (size_t i = 0; i < halKeys.size(); ++i) {
61 if (params.size() == 0) return BAD_VALUE;
62 hidlParams->resize(params.size());
63 for (size_t i = 0; i < params.size(); ++i) {
77 for (size_t i = 0; i < parameters.size(); ++i) {
/frameworks/av/media/libstagefright/
H A DHevcUtils.cpp47 status_t HevcParameterSets::addNalUnit(const uint8_t* data, size_t size) { argument
48 if (size < 1) {
56 if (size < 2) {
57 ALOGE("invalid NAL/VPS size b/35467107");
60 err = parseVps(data + 2, size - 2);
63 if (size < 2) {
64 ALOGE("invalid NAL/SPS size b/35467107");
67 err = parseSps(data + 2, size - 2);
70 if (size < 2) {
71 ALOGE("invalid NAL/PPS size
142 write(size_t index, uint8_t* dest, size_t size) argument
154 parseVps(const uint8_t* data, size_t size) argument
189 parseSps(const uint8_t* data, size_t size) argument
380 size_t size = 23; // 23 bytes in the header local
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | |
83 uint32_t block_size, /* download block size */
90 off64_t size; local
126 status_t getSizeErr = mDataSource->getSize(&size);
133 size = 65536;
136 sp<ABuffer> buffer = *out != NULL ? *out : new ABuffer(size);
143 if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length)) {
144 range_length = buffer->size() + block_size;
147 // Only resize when we don't know the size.
148 size_t bufferRemaining = buffer->capacity() - buffer->size();
[all...]
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DDataURISource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
33 virtual status_t getSize(off64_t *size);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp46 snprintf(buffer, SIZE, "\n%*sAudio Routes (%zu):\n", spaces, "", size());
48 for (size_t i = 0; i < size(); i++) {
/frameworks/base/cmds/incident_helper/src/parsers/
H A DProcrankParser.cpp59 if (record.size() != header.size()) {
60 if (record[record.size() - 1] == "TOTAL") { // TOTAL record
70 for (int i=0; i<(int)record.size(); i++) {
84 for (int i=(int)record.size(); i>0; i--) {
85 table.insertField(&proto, header[header.size() - i].c_str(), record[record.size() - i].c_str());
110 fprintf(stderr, "[%s]Proto size: %zu bytes\n", this->name.string(), proto.size());
/frameworks/base/cmds/statsd/tests/condition/
H A DStateTracker_test.cpp76 EXPECT_EQ(1ULL, tracker.mLastChangedToTrueDimensions.size());
77 EXPECT_EQ(0ULL, tracker.mLastChangedToFalseDimensions.size());
83 EXPECT_EQ(0ULL, tracker.mLastChangedToTrueDimensions.size());
84 EXPECT_EQ(0ULL, tracker.mLastChangedToFalseDimensions.size());
93 EXPECT_EQ(1ULL, tracker.mLastChangedToTrueDimensions.size());
94 EXPECT_EQ(1ULL, tracker.mLastChangedToFalseDimensions.size());
102 EXPECT_EQ(1ULL, tracker.mLastChangedToTrueDimensions.size());
103 EXPECT_EQ(0ULL, tracker.mLastChangedToFalseDimensions.size());
/frameworks/base/core/java/android/net/
H A DMatchAllNetworkSpecifier.java76 public MatchAllNetworkSpecifier[] newArray(int size) {
77 return new MatchAllNetworkSpecifier[size];
H A DNetworkQuotaInfo.java67 public NetworkQuotaInfo[] newArray(int size) {
68 return new NetworkQuotaInfo[size];

Completed in 754 milliseconds

1234567891011>>