Searched defs:size (Results 226 - 250 of 558) sorted by relevance

1234567891011>>

/frameworks/native/include/utils/
H A DString8.h58 inline size_t size() const;
116 char* lockBuffer(size_t size);
118 status_t unlockBuffer(size_t size);
256 inline size_t String8::size() const function in class:android::String8
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp49 MemoryHeapBase::MemoryHeapBase(size_t size, uint32_t flags, char const * name) argument
54 size = ((size + pagesize-1) & ~(pagesize-1));
55 int fd = ashmem_create_region(name == NULL ? "MemoryHeapBase" : name, size);
58 if (mapfd(fd, size) == NO_ERROR) {
66 MemoryHeapBase::MemoryHeapBase(const char* device, size_t size, uint32_t flags) argument
78 size = ((size + pagesize-1) & ~(pagesize-1));
79 if (mapfd(fd, size) == NO_ERROR) {
85 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_ argument
91 mapfd(dup(fd), size, offset); local
94 init(int fd, void *base, int size, int flags, const char* device) argument
107 mapfd(int fd, size_t size, uint32_t offset) argument
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp97 status_t Fence::flatten(void* buffer, size_t size, int fds[], argument
99 if (size != 0 || count != 1) {
107 status_t Fence::unflatten(void const* buffer, size_t size, int fds[], argument
109 if (size != 0 || count != 1) {
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DGLES20cHeader.cpp120 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, argument
122 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
H A DBaseFragmentPagerAdapter.java46 /** The default size of {@link #mFragmentCache} */
178 public FragmentCache(int size) { argument
179 super(size);
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java204 public int size() { method in class:LongSparseArray
213 * Given an index in the range <code>0...size()-1</code>, returns
226 * Given an index in the range <code>0...size()-1</code>, returns
240 * Given an index in the range <code>0...size()-1</code>, sets a new
H A DLruCache.java33 private int size; field in class:LruCache
96 size += safeSizeOf(key, createdValue);
123 size += safeSizeOf(key, value);
126 size -= safeSizeOf(key, previous);
140 * below the requested size.
142 * @param maxSize the maximum size of the cache before returning. May be -1
150 if (size < 0 || (map.isEmpty() && size != 0)) {
155 if (size <= maxSize || map.isEmpty()) {
163 size
263 public synchronized final int size() { method in class:LruCache
[all...]
H A DSparseArrayCompat.java104 * @param size Number of mappings to remove
106 public void removeAtRange(int index, int size) { argument
107 final int end = Math.min(mSize, index + size);
196 public int size() { method in class:SparseArrayCompat
205 * Given an index in the range <code>0...size()-1</code>, returns
218 * Given an index in the range <code>0...size()-1</code>, returns
231 * Given an index in the range <code>0...size()-1</code>, sets a new
/frameworks/wilhelm/src/desktop/
H A DSndFile.c77 SLuint32 size = (SLuint32) (count * sizeof(short)); local
78 result = IBufferQueue_Enqueue(caller, pBuffer, size);
/frameworks/wilhelm/tests/examples/
H A DslesTestPlayFdPath.cpp50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
117 locatorFd.length = size;
220 fprintf(stdout, "no file size given, using SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE\n");
H A DslesTestSawtoothBufferQueue.cpp54 /* Audio data buffer size in 16 bit words. 8 data segments are used in
76 SLuint32 size; member in struct:CallbackCntxt_
92 if(pCntxt->pData < (pCntxt->pDataBase + pCntxt->size))
98 /* Increase data pointer by buffer size */
195 cntxt.size = sizeof(pcmData) / 2;
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp137 for (size_t i = 0; i < stateByTrack.size(); ++i) {
148 state->mInBuffers.size(), state->mOutBuffers.size());
184 buffer->size(),
196 for (size_t i = 0; i < stateByTrack.size(); ++i) {
210 0 /* size */,
225 for (size_t i = 0; i < stateByTrack.size(); ++i) {
237 for (size_t i = 0; i < stateByTrack.size(); ++i) {
246 size_t size; local
250 &index, &offset, &size,
[all...]
/frameworks/av/include/media/
H A DAudioRecord.h67 size_t size; // total size in bytes == frameCount * frameSize member in class:android::AudioRecord::Buffer
84 * more bytes than indicated by 'size' field and update 'size' if less bytes are
123 * frameCount: Total size of track PCM buffer in frames. This defines the
178 * This includes the latency due to AudioRecord buffer size
303 ssize_t read(void* buffer, size_t size);
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorUtils.cpp57 size_t size; local
86 if (meta->findData(kKeyESDS, &type, &data, &size)) {
87 LOG1("displayMetaData kKeyESDS type=%d size=%d", type, size);
89 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
90 LOG1("displayMetaData kKeyAVCC data=0x%X type=%d size=%d",
91 *((unsigned int*)data), type, size);
93 if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
94 LOG1("displayMetaData kKeyVorbisInfo type=%d size=%d", type, size);
264 buildAVCCodecSpecificData(uint8_t **pOutputData, size_t *pOutputSize, const uint8_t *data, size_t size, MetaData *param) argument
[all...]
/frameworks/av/media/libmedia/
H A DVisualizer.cpp124 status_t Visualizer::setCaptureSize(uint32_t size) argument
126 if (size > VISUALIZER_CAPTURE_SIZE_MAX ||
127 size < VISUALIZER_CAPTURE_SIZE_MIN ||
128 popcount(size) != 1) {
143 *((int32_t *)p->data + 1)= size;
146 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status);
151 mCaptureSize = size;
311 uint32_t size = 0; local
313 size
[all...]
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp257 size_t size; local
271 mIsWide, &size)) != OK) {
274 mOffset += size;
H A DDRMExtractor.cpp88 size_t size; local
89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size));
93 CHECK(size >= 7);
202 CHECK(dstOffset + 4 <= (*buffer)->size());
H A DMetaData.cpp95 size_t size; local
96 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) {
108 size_t size; local
109 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) {
113 CHECK_EQ(size, sizeof(*value));
123 size_t size; local
124 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) {
128 CHECK_EQ(size, sizeof(*value));
138 size_t size; local
139 if (!findData(key, &type, &data, &size) || typ
153 size_t size; local
171 size_t size; local
187 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
255 setData( uint32_t type, const void *data, size_t size) argument
261 memcpy(storage(), data, size); local
271 allocateStorage(size_t size) argument
[all...]
H A DNuMediaExtractor.cpp51 for (size_t i = 0; i < mSelectedTracks.size(); ++i) {
128 status_t NuMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { argument
136 sp<FileSource> fileSource = new FileSource(dup(fd), offset, size);
242 for (size_t i = 0; i < mSelectedTracks.size(); ++i) {
256 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1);
287 for (i = 0; i < mSelectedTracks.size(); ++i) {
295 if (i == mSelectedTracks.size()) {
317 for (size_t i = 0; i < mSelectedTracks.size(); ++i) {
334 for (size_t i = 0; i < mSelectedTracks.size(); ++i) {
514 off64_t size; local
[all...]
H A DUtils.cpp118 msg->setInt32("max-input-size", maxInputSize);
123 size_t size; local
124 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
129 CHECK(size >= 7);
147 size -= 6;
153 CHECK(size >= 2);
157 size -= 2;
159 CHECK(size >= length);
161 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
162 memcpy(buffer->data() + buffer->size()
265 int size = i - lastparamoffset; local
296 int size = i - lastparamoffset; local
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp165 ssize_t ChromiumHTTPDataSource::readAt(off64_t offset, void *data, size_t size) { argument
199 mDelegate->initiateRead(data, size);
223 void ChromiumHTTPDataSource::onReadCompleted(ssize_t size) { argument
226 mIOResult = size;
234 status_t ChromiumHTTPDataSource::getSize(off64_t *size) { argument
241 *size = mContentSize;
252 ChromiumHTTPDataSource *me, void *data, size_t size) {
253 me->initiateRead(data, size);
256 void ChromiumHTTPDataSource::initiateRead(void *data, size_t size) { argument
257 mDelegate->initiateRead(data, size);
251 InitiateRead( ChromiumHTTPDataSource *me, void *data, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c64 int GetNextBuf(FILE* inFile,unsigned char* dst,int size) argument
66 int size2 = (int)fread(dst, sizeof(signed char), size,inFile);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_gain2.c78 Word16 index, *p, min_ind, size; local
96 size = RANGE;
100 size = size - 16; /* limit gain pitch to 1.0 */
124 size = RANGE;
278 for (i = 0; i < size; i++)
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp29 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncGetNALType(unsigned char *bitstream, int size, argument
33 if (size > 0)
170 /* allocate frame size dependent structures */
247 /* Purpose : Return max output buffer size that apps should allocate for */
251 /* Modified : size */
254 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncGetMaxOutputBufferSize(AVCHandle *avcHandle, int* size) argument
263 *size = encvid->rateCtrl->cpbSize;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h87 int32 size; member in struct:tagvideoDecControls

Completed in 7854 milliseconds

1234567891011>>