Searched refs:size (Results 51 - 75 of 3843) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Fragment/
H A DRegionFragment.cpp23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment
24 return m_Region.size();
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp23 pSection.setIndex(m_SectionTable.size());
29 if (pIdx >= m_SectionTable.size())
35 if (pIdx >= m_SectionTable.size())
60 size_t size = m_SectionTable.size(); local
61 for (; result != size; ++result)
68 if (pIdx >= m_SymTab.size())
74 if (pIdx >= m_SymTab.size())
81 size_t size = m_SymTab.size(); local
90 size_t size = m_SymTab.size(); local
[all...]
/frameworks/base/core/java/android/app/usage/
H A DTimeSparseArray.java45 final int size = size();
47 int hi = size - 1;
65 } else if (time > key && lo < size) {
83 return size() - 1;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSizeAreaComparator.java38 public int compare(Camera.Size size, Camera.Size size2) { argument
39 checkNotNull(size, "size must not be null");
42 if (size.equals(size2)) {
46 long width = size.width;
48 long area = width * size.height;
59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area
63 * @return a non-{@code null} size
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSizeAreaComparator.java37 public int compare(Size size, Size size2) { argument
38 checkNotNull(size, "size must not be null");
41 if (size.equals(size2)) {
45 long width = size.getWidth();
47 long area = width * size.getHeight();
58 * Get the largest {@code Size} from the list by comparing each size's area
62 * @return a non-{@code null} size
/frameworks/base/media/java/android/media/midi/
H A DMidiPortImpl.java37 * Maximum size of a packet that can pass through our ParcelFileDescriptor.
42 * size of message timestamp in bytes
47 * Data packet overhead is timestamp size plus packet type byte
60 * messageSize is size of variable length MIDI message
63 * returns size of packed message
65 public static int packData(byte[] message, int offset, int size, long timestamp, argument
67 if (size > MAX_PACKET_DATA_SIZE) {
68 size = MAX_PACKET_DATA_SIZE;
74 System.arraycopy(message, offset, dest, length, size);
75 length += size;
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsRawData.java33 int size;
34 size = source.readInt();
35 byte[] data = new byte[size];
40 public SmsRawData[] newArray(int size) {
41 return new SmsRawData[size];
/frameworks/native/libs/diskusage/
H A Ddirsize.c32 int64_t size = 0; local
57 size += stat_size(&s);
61 size += calculate_dir_size(subfd);
65 size += stat_size(&s);
70 return size;
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetTransformFeedbackVarying.java1 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
9 int[] size,
17 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
27 java.nio.IntBuffer size,
32 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
39 java.nio.IntBuffer size,
44 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
49 int[] size,
55 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
60 java.nio.IntBuffer size,
3 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
22 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
34 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name ) argument
46 glGetTransformFeedbackVarying( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
57 glGetTransformFeedbackVarying( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp64 // update metadata only applicable, and return the payload size
66 const uint8_t *ptr, size_t size, sp<MetaData> *metaData) {
92 ABitReader bits(ptr, size);
172 static bool IsSeeminglyValidAC3Header(const uint8_t *ptr, size_t size) { argument
173 return parseAC3SyncFrame(ptr, size, NULL) > 0;
177 const uint8_t *ptr, size_t size, size_t *frameLength) {
178 if (size < 7) {
203 if (frameLengthInHeader > size) {
211 static bool IsSeeminglyValidMPEGAudioHeader(const uint8_t *ptr, size_t size) { argument
212 if (size <
65 parseAC3SyncFrame( const uint8_t *ptr, size_t size, sp<MetaData> *metaData) argument
176 IsSeeminglyValidADTSHeader( const uint8_t *ptr, size_t size, size_t *frameLength) argument
248 appendData( const void *data, size_t size, int64_t timeUs) argument
754 fetchTimestamp(size_t size) argument
792 size_t size = mBuffer->size(); local
936 size_t size = mBuffer->size(); local
1004 EncodeSize14(uint8_t **_ptr, size_t size) argument
1049 size_t size = mBuffer->size(); local
1196 getNextChunkSize( const uint8_t *data, size_t size) argument
1222 size_t size = mBuffer->size(); local
1406 size_t size = mBuffer->size(); local
[all...]
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
129 SimpleBestFitAllocator(size_t size);
132 size_t allocate(size_t size, uint32_t flags = 0);
134 size_t size() const;
143 chunk_t(size_t start, size_t size) argument
144 : start(start), size(size), free(1), prev(0), next(0) {
147 size_t size : 28; member in struct:android::SimpleBestFitAllocator::chunk_t
153 ssize_t alloc(size_t size, uint32_t flags);
168 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size)
166 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
205 size_t size = end-start; local
230 MemoryDealer(size_t size, const char* name, uint32_t flags) argument
241 allocate(size_t size) argument
280 SimpleBestFitAllocator(size_t size) argument
296 size_t SimpleBestFitAllocator::size() const function in class:android::SimpleBestFitAllocator
301 allocate(size_t size, uint32_t flags) argument
318 alloc(size_t size, uint32_t flags) argument
439 size_t size = 0; local
[all...]
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp45 for (size_t i = encoded.size(); i > 0;) {
60 size_t dataLen = strlen(uri) - tmp.size() - 6;
88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument
89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) {
93 size_t copy = mBuffer->size() - offset;
94 if (copy > size) {
95 copy = size;
103 status_t DataURISource::getSize(off64_t *size) { argument
104 *size = mBuffer->size();
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java55 * size of the item.
57 public int size; field in class:StaggeredGrid.Location
59 public Location(int row, int offset, int size) { argument
62 this.size = size;
69 // <= mFirstIndex + mLocations.size() - 1
90 return mFirstIndex + mLocations.size() - 1;
94 * Returns the size of the saved {@link Location}s.
97 return mLocations.size();
102 if (mLocations.size()
[all...]
/frameworks/native/libs/gui/
H A DSensor.cpp437 status_t Sensor::flatten(void* buffer, size_t size) const {
438 if (size < getFlattenedSize()) {
442 flattenString8(buffer, size, mName);
443 flattenString8(buffer, size, mVendor);
444 FlattenableUtils::write(buffer, size, mVersion);
445 FlattenableUtils::write(buffer, size, mHandle);
446 FlattenableUtils::write(buffer, size, mType);
447 FlattenableUtils::write(buffer, size, mMinValue);
448 FlattenableUtils::write(buffer, size, mMaxValue);
449 FlattenableUtils::write(buffer, size, mResolutio
475 unflatten(void const* buffer, size_t size) argument
524 flattenString8(void*& buffer, size_t& size, const String8& string8) argument
532 unflattenString8(void const*& buffer, size_t& size, String8& outputString8) argument
[all...]
/frameworks/base/core/java/android/service/carrier/
H A DMessagePdu.java65 dest.writeInt(mPduList.size());
79 int size = source.readInt();
81 if (size == NULL_LENGTH) {
84 pduList = new ArrayList<>(size);
85 for (int i = 0; i < size; i++) {
93 public MessagePdu[] newArray(int size) {
94 return new MessagePdu[size];
/frameworks/base/wifi/java/android/net/wifi/
H A DScanSettings.java62 out.writeInt(channelSet == null ? 0 : channelSet.size());
73 int size = in.readInt();
74 if (size > 0) {
75 settings.channelSet = new ArrayList<WifiChannel>(size);
76 while (size-- > 0)
83 public ScanSettings[] newArray(int size) {
84 return new ScanSettings[size];
/frameworks/av/include/media/
H A DMidiIoWrapper.h29 MidiIoWrapper(int fd, off64_t offset, int64_t size);
34 int readAt(void *buffer, int offset, int size);
35 int size();
/frameworks/av/media/libmedia/
H A DAudioPolicy.cpp73 size_t size = (size_t)parcel->readInt32(); local
74 if (size > MAX_CRITERIA_PER_MIX) {
75 size = MAX_CRITERIA_PER_MIX;
77 for (size_t i = 0; i < size; i++) {
96 size_t size = mCriteria.size(); local
97 if (size > MAX_CRITERIA_PER_MIX) {
98 size = MAX_CRITERIA_PER_MIX;
101 parcel->writeInt32(size);
102 size_t finalSize = size;
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_buffer.h24 * Given a Java NativeBuffer instance, get access to the underlying C pointer and its size. The
25 * size argument may be NULL, in which case the object is not queried for its size.
27 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size);
30 * Attach a given C data buffer and its size to a given allocated Java NativeBuffer instance. After
35 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size);
43 Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.h30 NativeFrame(int size);
34 // Set the frame data and size in bytes. The NativeFrame object takes ownership of the data.
36 bool SetData(uint8_t* data, int size);
38 // Write the specified data of the given size to the frame at the specified offset. The
40 bool WriteData(const uint8_t* data, int offset, int size);
52 // Resize the frame. You can only resize to a size that fits within the frame's capacity.
56 // Returns the size of the frame in bytes.
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DInfoStoreTrojan.java30 final int size = store.mLayoutHolderMap.size();
31 for (int i = 0; i < size; i ++) {
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.cpp54 return mBufferQueue.size();
58 off64_t offset, void *data, size_t size) {
71 totalAvailable += buffer->size();
73 if (totalAvailable >= size) {
78 if (totalAvailable < size) {
82 return readAt_l(offset, data, size);
85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument
87 return readAt_l(offset, data, size);
90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument
98 while (sizeDone < size) {
57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java38 public Rectangle(Point origin, Point size) { argument
40 origin.plus(size.x, 0.0f),
41 origin.plus(0.0f, size.y),
42 origin.plus(size.x, size.y));
45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { argument
46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f);
47 Point p1 = new Point(center.x + size.x/2f, center.y - size
60 fromCenterVerticalAxis(Point center, Point vAxis, Point size) argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DDirectedAcyclicGraph.java102 for (int i = 0, size = mGraph.size(); i < size; i++) {
115 for (int i = 0, size = mGraph.size(); i < size; i++) {
128 for (int i = 0, size = mGraph.size(); i < size; i++) {
151 for (int i = 0, size
184 int size() { method in class:DirectedAcyclicGraph
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFFileFormat.h43 return (f_pNULLSection != NULL) && (f_pNULLSection->size() != 0);
46 bool hasGOT() const { return (f_pGOT != NULL) && (f_pGOT->size() != 0); }
48 bool hasPLT() const { return (f_pPLT != NULL) && (f_pPLT->size() != 0); }
51 return (f_pRelDyn != NULL) && (f_pRelDyn->size() != 0);
55 return (f_pRelPlt != NULL) && (f_pRelPlt->size() != 0);
59 return (f_pRelaDyn != NULL) && (f_pRelaDyn->size() != 0);
63 return (f_pRelaPlt != NULL) && (f_pRelaPlt->size() != 0);
68 return (f_pComment != NULL) && (f_pComment->size() != 0);
72 return (f_pData1 != NULL) && (f_pData1->size() != 0);
76 return (f_pDebug != NULL) && (f_pDebug->size() !
[all...]

Completed in 631 milliseconds

1234567891011>>