Searched refs:size (Results 76 - 100 of 1920) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp44 AString::AString(const char *s, size_t size) argument
48 setTo(s, size);
55 setTo(from, 0, from.size());
71 setTo(from, 0, from.size());
77 size_t AString::size() const { function in class:android::AString
93 void AString::setTo(const char *s, size_t size) { argument
95 append(s, size);
168 void AString::append(const char *s, size_t size) { argument
171 if (mSize + size + 1 > mAllocSize) {
172 mAllocSize = (mAllocSize + size
269 insert(const char *from, size_t size, size_t insertionPos) argument
[all...]
H A DABuffer.cpp56 void ABuffer::setRange(size_t offset, size_t size) { argument
58 CHECK_LE(offset + size, mCapacity);
61 mRangeLength = size;
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp135 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { argument
137 return fread(data, 1, size, mFile);
151 ReadTracker(off64_t size) { argument
152 allocSize = 1 + size / 8192; // 1 bit per kilobyte
159 void mark(off64_t offset, size_t size) { argument
161 int lastbit = (offset + size - 1) / 1024;
194 off64_t size;
195 if (source->getSize(&size) == OK) {
196 mReadTracker = new ReadTracker(size);
198 ALOGE("couldn't get data source size");
203 readAt(off64_t offset, void *data, size_t size) argument
581 uint64_t size = readU32(0); local
1010 need(size_t size) argument
1028 enter(off64_t offset, uint32_t type, uint64_t size) argument
1127 parseTrackHeader( uint32_t type, size_t offset, uint64_t size) argument
1178 parseMediaHeader( uint32_t type, size_t offset, uint64_t size) argument
1211 parseMediaHandler( uint32_t type, size_t offset, uint64_t size) argument
1239 parseVisualSampleEntry( uint32_t type, size_t offset, uint64_t size) argument
1282 parseAudioSampleEntry( uint32_t type, size_t offset, uint64_t size) argument
1330 addCodecSpecificData( const sp<AMessage> &format, int32_t index, const void *data, size_t size, bool insertStartCode = false) argument
1348 parseSampleSizes( uint32_t type, size_t offset, uint64_t size) argument
1354 parseCompactSampleSizes( uint32_t type, size_t offset, uint64_t size) argument
1360 parseSampleToChunk( uint32_t type, size_t offset, uint64_t size) argument
1366 parseChunkOffsets( uint32_t type, size_t offset, uint64_t size) argument
1372 parseChunkOffsets64( uint32_t type, size_t offset, uint64_t size) argument
1378 parseAVCCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument
1461 parseESDSCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument
1566 parseMediaData( uint32_t type, size_t offset, uint64_t size) argument
1587 parseSegmentIndex( uint32_t type, size_t offset, uint64_t size) argument
1674 parseTrackExtends( uint32_t type, size_t offset, uint64_t size) argument
1725 parseTrackFragmentHeader( uint32_t type, size_t offset, uint64_t size) argument
1815 parseTrackFragmentRun( uint32_t type, size_t offset, uint64_t size) argument
1973 copyBuffer( sp<ABuffer> *dst, size_t offset, uint64_t size, size_t extra) const argument
[all...]
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp85 int size = data.size(); local
86 if (FAILURE != ftruncate(fd, size)) {
87 if (size != write(fd, data.string(), size)) {
102 int size = data.size(); local
103 if (size != write(fd, data.string(), size)) {
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp45 ABitReader br(seqParamSet->data() + 1, seqParamSet->size() - 1);
139 size_t size = *_size; local
144 if (size == 0) {
151 while (offset < size && data[offset] == 0x00) {
155 if (offset == size) {
170 while (offset < size && data[offset] != 0x01) {
174 if (offset == size) {
176 offset = size + 2;
198 if (offset + 2 < size) {
200 *_size = size
209 FindNAL( const uint8_t *data, size_t size, unsigned nalType, size_t *stopOffset) argument
249 size_t size = accessUnit->size(); local
312 size_t size = buffer->size(); local
334 size_t size = accessUnit->size(); local
401 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.cpp68 size_t size = 0; local
76 size = textBuffer->size();
78 if (size > 0) {
82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
92 size_t size = 0; local
103 kKeyTextFormatData, &type, &data, &size)) {
107 if (size > 0) {
110 (const uint8_t *)data, size, flag, 0, parcel);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java94 return connections.size() > 0;
128 if (l.size() == 0) {
132 for (int i = 0, s = l.size() ; i < s ; i++) {
154 if (l.size() == 0) {
158 for (int i = 0, s = l.size() ; i < s ; i++) {
175 if (l.size() == 0) {
179 for (int i = 0, s = l.size() ; i < s ; i++) {
209 if (l.size() == 0) {
215 for (int i = 0, s = l.size() ; i < s ; i++) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument
49 MemInfo.Size = size + 1;
55 pMemop->Set(CodecID, mem_ptr, 0, size + 1);
64 MemInfo.Size = size + alignment;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument
49 MemInfo.Size = size + 1;
55 pMemop->Set(CodecID, mem_ptr, 0, size + 1);
64 MemInfo.Size = size + alignment;
71 pMemop->Set(CodecID, tmp, 0, size + alignment);
/frameworks/compile/linkloader/lib/
H A DMemChunk.cpp49 bool MemChunk::allocate(size_t size) { argument
51 buf = (unsigned char *)mmap((void *)StartAddr, size,
56 buf = (unsigned char *)mmap(0, size,
67 StartAddr += (size + 4095) / 4096 * 4096;
70 buf_size = size;
/frameworks/native/include/binder/
H A DMemoryHeapBase.h45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0);
50 MemoryHeapBase(const char* device, size_t size = 0, uint32_t flags = 0);
55 MemoryHeapBase(size_t size, uint32_t flags = 0, char const* name = NULL);
85 status_t init(int fd, void *base, int size,
89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
/frameworks/native/include/utils/
H A DSharedBuffer.h36 /*! allocate a buffer of size 'size' and acquire() it.
39 static SharedBuffer* alloc(size_t size);
54 //! get size of the buffer
55 inline size_t size() const;
63 //! get the size of a SharedBuffer object from its data
70 SharedBuffer* editResize(size_t size) const;
76 SharedBuffer* reset(size_t size) const;
113 size_t SharedBuffer::size() const { function in class:android::SharedBuffer
/frameworks/base/media/mca/filterfw/native/core/
H A Dvalue.h57 Value MakeBufferValue(const char* data, int size);
58 Value MakeBufferValueNoCopy(const char* data, int size);
59 Value MakeMutableBufferValue(const char* data, int size);
60 Value MakeMutableBufferValueNoCopy(char* data, int size);
68 int SetMutableBufferValue(Value* value, const char* new_data, int size);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DJpegProcessor.cpp71 // Find out buffer size for JPEG
221 // Find size of JPEG image
223 if (jpegSize == 0) { // failed to find size, default to whole buffer
308 // Return the size of the JPEG, 0 indicates failure
310 size_t size; local
316 size = blob->jpeg_size;
317 if (size > 0 && size <= maxSize - sizeof(struct camera2_jpeg_blob)) {
319 size_t offset = size - MARKER_LENGTH;
322 ALOGV("Found JPEG transport header, img size
[all...]
/frameworks/av/cmds/stagefright/
H A DWaveWriter.h49 void Append(const void *data, size_t size) { argument
50 fwrite(data, 1, size, mFile);
51 mTotalBytes += size;
/frameworks/av/media/libmedia/
H A DIEffect.cpp72 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);
95 size = reply.readInt32();
96 if (size !
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
36 ssize_t readAtNonBlocking(off64_t offset, void *data, size_t size);
57 ssize_t readAt_l(off64_t offset, void *data, size_t size);
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java29 * {@link BackupDataInput}. The entity's key string and total data size are available
30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively.
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
53 * an integer value. If more than {@link #size()} bytes of data
68 * Read up to {@code size} bytes of data into a byte array, beginning at position
74 * @param size The number of bytes to read in this operation. If insufficient
80 public int read(byte[] b, int offset, int size) throws IOException { argument
81 return mData.readEntityData(b, offset, size);
113 public int size() { method in class:BackupDataInputStream
H A DFullBackup.java79 * @param size Number of bytes of data to copy from the socket to the file. At least
95 long size, int type, long mode, long mtime, File outFile) throws IOException {
120 final long origSize = size;
122 while (size > 0) {
123 int toRead = (size > buffer.length) ? buffer.length : (int)size;
126 Log.w(TAG, "Incomplete read: expected " + size + " but got "
127 + (origSize - size));
142 size -= got;
94 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument
/frameworks/native/libs/gui/
H A DLayerState.cpp33 size_t size = sizeof(layer_state_t);
34 size -= sizeof(transparentRegion);
35 err = output.write(this, size);
47 size_t size = sizeof(layer_state_t);
48 size -= sizeof(transparentRegion);
49 input.read(this, size);
/frameworks/opt/mms/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/av/libvideoeditor/vss/common/inc/
H A DM4_BitStreamParser.h37 * @param size : The size of the bitstream in bytes
40 void M4_BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size);
101 * M4_BitStreamParser_GetSize gets the size of the bitstream in bytes
105 * @returns the size of the bitstream in bytes
109 void M4_MPEG4BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size);
112 * getMpegLengthFromInteger returns a decoded size value from an encoded one (SDL)
117 * @returns size in a human readable form
125 * @brief Decode an MPEG4 Systems descriptor size from an encoded SDL size dat
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.h25 static sp<Parameters> Parse(const char *data, size_t size);
36 status_t parse(const char *data, size_t size);
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Dstylesheet.css9 h1 { font-size: 145% }
17 .FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
18 .FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
19 .FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Dstylesheet.css9 h1 { font-size: 145% }
17 .FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
18 .FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }
19 .FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 }

Completed in 5010 milliseconds

1234567891011>>