HomeSort by relevance Sort by last modified time
    Searched defs:size (Results 1851 - 1875 of 11184) sorted by null

<<71727374757677787980>>

  /external/wpa_supplicant_8/src/utils/
wpabuf.h 21 size_t size; /* total size of the allocated buffer */ member in struct:wpabuf
43 * wpabuf_size - Get the currently allocated size of a wpabuf buffer
45 * Returns: Currently allocated size of the buffer
49 return buf->size;
63 * wpabuf_tailroom - Get size of available tail room in the end of the buffer
69 return buf->size - buf->used;
155 buf->size = buf->used = len;
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/
XMPPath.java 72 * @return Returns the size of the xmp path.
74 public int size() method in class:XMPPath
76 return segments.size();
88 while (index < size())
91 if (index < size() - 1)
  /external/zlib/src/contrib/puff/
pufftest.c 33 /* Return size times approximately the cube root of 2, keeping the result as 1,
34 3, or 5 times a power of 2 -- the result is always > size, until the result
37 local size_t bythirds(size_t size)
42 m = size;
46 return size + 1;
48 m = size >> n;
51 return m > size ? m : (size_t)(-1);
62 size_t size; local
67 buf = malloc(size = 4096);
73 *len += fread((char *)buf + *len, 1, size - *len, in)
    [all...]
  /external/zlib/src/
gzwrite.c 14 state->size to non-zero. Return -1 on failure or 0 on success. */
53 state->size = state->want;
57 strm->avail_out = state->size;
79 if (state->size == 0 && gz_init(state) == -1)
107 strm->avail_out = state->size;
148 n = GT_OFF(state->size) || (z_off64_t)state->size > len ?
149 (unsigned)len : state->size;
196 if (state->size == 0 && gz_init(state) == -1)
207 if (len < state->size) {
312 int size, len; local
393 int size, len; local
    [all...]
  /frameworks/av/include/media/
RingBuffer.h 31 * A RingBuffer class that maintains an array of objects that can grow up to a certain size.
49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr);
146 * this ringbuffer, [0, size), the behavior for this is undefined.
152 * for this ringbuffer, [0, size), the behavior for this is undefined.
157 * Return the current size of this RingBuffer.
159 size_t size() const;
162 * Remove all elements from this RingBuffer and set the size to 0.
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) :
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {
347 size_t RingBuffer<T>::size() const { function in class:android::RingBuffer
    [all...]
  /frameworks/av/include/ndk/
NdkMediaCodec.h 22 * Do not change the size of any of the classes defined in here.
46 int32_t size; member in struct:AMediaCodecBufferInfo
134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
  /frameworks/av/media/libmedia/
IEffect.cpp 72 int size = cmdSize; local
74 size = 0;
76 data.writeInt32(size);
77 if (size) {
78 data.write(pCmdData, size);
81 size = 0;
83 size = *pReplySize;
85 data.writeInt32(size);
97 size = reply.readInt32();
98 if (size != 0 && pReplyData != NULL && pReplySize != NULL)
    [all...]
IResourceManagerService.cpp 40 size_t size = items.size(); local
41 // truncates size, but should be okay for this usecase
42 data->writeUint32(static_cast<uint32_t>(size));
43 for (size_t i = 0; i < size; i++) {
50 size_t size = (size_t)data.readUint32(); local
51 for (size_t i = 0; i < size && data.dataAvail() > 0; i++) {
  /frameworks/av/media/libmediaplayerservice/
MetadataRetrieverClient.cpp 63 const size_t SIZE = 256;
64 char buffer[SIZE];
69 write(fd, result.string(), result.size());
153 ALOGE("offset (%lld) bigger than file size (%llu)",
211 size_t size = sizeof(VideoFrame) + frame->mSize; local
212 sp<MemoryHeapBase> heap = new MemoryHeapBase(size, 0, "MetadataRetrieverClient");
218 mThumbnail = new MemoryBase(heap, 0, size);
220 ALOGE("not enough memory for VideoFrame size=%zu", size);
253 size_t size = sizeof(MediaAlbumArt) + albumArt->size() local
    [all...]
  /frameworks/av/media/libstagefright/
SkipCutBuffer.cpp 87 size_t copied = read(dst, buffer->size());
98 int32_t buflen = buffer->size();
143 ALOGV("reallocated buffer at size %d", newcapacity);
191 size_t SkipCutBuffer::size() { function in class:android::SkipCutBuffer
StagefrightMediaScanner.cpp 147 off64_t size = lseek64(fd, 0, SEEK_END); local
148 if (size < 0) {
154 if (mRetriever->setDataSource(fd, 0, size) == OK) {
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
conceal.cpp 149 int32 lumstart, chrstart, size; local
157 size = (int32)height * width_Y;
163 u2 = prevFrame + size + chrstart;
164 v2 = prevFrame + size + (size >> 2) + chrstart;
  /frameworks/av/media/libstagefright/foundation/
ABitReader.cpp 23 ABitReader::ABitReader(const uint8_t *data, size_t size)
25 mSize(size),
135 NALBitReader::NALBitReader(const uint8_t *data, size_t size)
136 : ABitReader(data, size),
141 // check against raw size and reservoir bits first
149 size_t size = mSize; local
152 while (size > 0 && numBitsRemaining > 0) {
166 --size;
MediaBuffer.cpp 36 MediaBuffer::MediaBuffer(void *data, size_t size)
40 mSize(size),
42 mRangeLength(size),
48 MediaBuffer::MediaBuffer(size_t size)
52 mSize(size),
54 mRangeLength(size),
58 if (size < kSharedMemThreshold
60 mData = malloc(size);
64 new MemoryDealer(size + sizeof(SharedControl), "MediaBuffer");
65 mMemory = memoryDealer->allocate(size + sizeof(SharedControl))
142 size_t MediaBuffer::size() const { function in class:android::MediaBuffer
    [all...]
MediaBufferGroup.cpp 55 ALOGW("Only allocated %zu shared buffers of size %zu", i, buffer_size);
70 ALOGW("Only allocated %zu malloc buffers of size %zu", i, buffer_size);
107 // optionally: mGrowthLimit = max(mGrowthLimit, mBuffers.size());
111 if (mBuffers.size() < mGrowthLimit) {
131 const size_t size = (*it)->size(); local
132 if (size >= requestedSize) {
136 if (size < smallest) {
137 smallest = size; // always free the smallest buf
143 && (free != mBuffers.end() || mBuffers.size() < mGrowthLimit))
    [all...]
  /frameworks/av/media/libstagefright/httplive/
HTTPDownloader.cpp 71 * | `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/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DumpCommand.java 97 Point size = new Point(); local
98 display.getSize(size);
99 AccessibilityNodeInfoDumper.dumpWindowToFile(info, dumpFile, rotation, size.x, size.y);
  /frameworks/base/core/java/android/text/
PackedObjectVector.java 92 if (mRowGapLength > size() * 2)
100 size() method in class:PackedObjectVector
115 GrowingArrayUtils.growSize(size()) * mColumns);
  /frameworks/base/core/java/android/util/
IntArray.java 64 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
91 * {@link #size()} if all elements in the array are less than the specified key.
178 public int size() { method in class:IntArray
LongArray.java 62 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
163 public int size() { method in class:LongArray
LongSparseLongArray.java 155 public int size() { method in class:LongSparseLongArray
160 * Given an index in the range <code>0...size()-1</code>, returns
166 * smallest key and <code>keyAt(size()-1)</code> will return the largest
174 * Given an index in the range <code>0...size()-1</code>, returns
181 * smallest key and <code>valueAt(size()-1)</code> will return the value
242 if (size() <= 0) {
SparseIntArray.java 155 public int size() { method in class:SparseIntArray
160 * Given an index in the range <code>0...size()-1</code>, returns
166 * smallest key and <code>keyAt(size()-1)</code> will return the largest
174 * Given an index in the range <code>0...size()-1</code>, returns
181 * smallest key and <code>valueAt(size()-1)</code> will return the value
249 if (size() == 0) {
252 return Arrays.copyOf(mKeys, size());
262 if (size() <= 0) {
SparseLongArray.java 153 public int size() { method in class:SparseLongArray
158 * Given an index in the range <code>0...size()-1</code>, returns
164 * smallest key and <code>keyAt(size()-1)</code> will return the largest
172 * Given an index in the range <code>0...size()-1</code>, returns
179 * smallest key and <code>valueAt(size()-1)</code> will return the value
240 if (size() <= 0) {
  /frameworks/base/core/java/android/view/
HandlerActionQueue.java 95 public int size() { method in class:HandlerActionQueue
ViewPropertyAnimatorRT.java 67 int size = parent.mPendingAnimations.size(); local
79 for (int i = 0; i < size; i++) {
127 int size = mPendingAnimations.size(); local
128 for (int i = 0; i < size; i++) {

Completed in 446 milliseconds

<<71727374757677787980>>