Searched refs:size (Results 26 - 50 of 2075) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dmem_align.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
/frameworks/base/media/java/android/media/
H A DDataSource.java32 * @param size how many bytes to read
35 public int readAt(long offset, byte[] buffer, int size); argument
38 * Gets the size of the data source.
40 * @return size of data source, or -1 if the length is unknown
/frameworks/compile/mclinker/lib/Fragment/
H A DAlignFragment.cpp29 size_t AlignFragment::size() const function in class:AlignFragment
31 assert(hasOffset() && "AlignFragment::size() should not be called before layout.");
32 uint64_t size = llvm::OffsetToAlignment(getOffset(), m_Alignment); local
33 if (size > m_MaxBytesToEmit)
36 return size;
H A DRegionFragment.cpp25 size_t RegionFragment::size() const function in class:RegionFragment
27 return m_Region.size();
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveAttrib.java1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
9 int[] size,
17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
24 java.nio.IntBuffer size,
29 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
34 int[] size,
40 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
45 java.nio.IntBuffer size,
3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
19 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
31 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
42 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
H A DglGetActiveUniform.java1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
9 int[] size,
17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
24 java.nio.IntBuffer size,
28 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
33 int[] size,
39 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
44 java.nio.IntBuffer size,
3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
19 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
30 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
41 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
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 )
24 java.nio.IntBuffer size,
29 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
34 int[] size,
40 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
45 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
19 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
31 glGetTransformFeedbackVarying( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
42 glGetTransformFeedbackVarying( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DTextAttribute.java29 public FontSize size; field in class:TextAttribute
37 FontSize size, boolean bold, boolean italic, boolean underlined,
42 this.size = size;
36 TextAttribute(int start, int length, TextAlignment align, FontSize size, boolean bold, boolean italic, boolean underlined, boolean strikeThrough, TextColor color) argument
/frameworks/rs/driver/linkloader/utils/
H A Dhelper.h23 size_t size, size_t begin, size_t end);
H A Dtraits.h31 enum { size = sizeof(Type) }; enumerator in enum:TypeTraits::__anon1574
38 enum { size = SIZE }; \
/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...]
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;
141 chunk_t(size_t start, size_t size) argument
142 : start(start), size(size), free(1), prev(0), next(0) {
145 size_t size : 28; member in struct:android::SimpleBestFitAllocator::chunk_t
151 ssize_t alloc(size_t size, uint32_t flags);
166 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size)
164 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
203 size_t size = end-start; local
228 MemoryDealer(size_t size, const char* name) argument
239 allocate(size_t size) argument
272 SimpleBestFitAllocator(size_t size) argument
288 size_t SimpleBestFitAllocator::size() const function in class:android::SimpleBestFitAllocator
293 allocate(size_t size, uint32_t flags) argument
310 alloc(size_t size, uint32_t flags) argument
431 size_t size = 0; local
[all...]
/frameworks/native/libs/utils/
H A DLinearAllocator.cpp34 // The ideal size of a page allocation (these need to be multiples of 8)
55 #define ADD_ALLOCATION(size)
56 #define RM_ALLOCATION(size)
72 static void _addAllocation(size_t size) { argument
74 s_totalAllocations += size;
78 #define ADD_ALLOCATION(size) _addAllocation(size);
79 #define RM_ALLOCATION(size) _addAllocation(-size);
95 void* operator new(size_t size, voi argument
140 fitsInCurrentPage(size_t size) argument
144 ensureNext(size_t size) argument
163 alloc(size_t size) argument
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DDelayWrite_32.c30 LVM_UINT16 size, /* Delay size */
44 if (Offset >= size)
28 DelayWrite_32(const LVM_INT32 *src, LVM_INT32 *delay, LVM_UINT16 size, LVM_UINT16 *pOffset, LVM_INT16 n) argument
/frameworks/av/media/libstagefright/wifi-display/
H A DParameters.cpp24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { argument
26 status_t err = params->parse(data, size);
39 status_t Parameters::parse(const char *data, size_t size) { argument
41 while (i < size) {
43 while (i < size && data[i] != ':') {
47 if (i == size || i == nameStart) {
59 while (i + 1 < size && (data[i] != '\r' || data[i + 1] != '\n')) {
68 while (i + 1 < size && data[i] == '\r' && data[i + 1] == '\n') {
/frameworks/base/core/java/android/database/
H A DDataSetObservable.java36 for (int i = mObservers.size() - 1; i >= 0; i--) {
49 for (int i = mObservers.size() - 1; i >= 0; i--) {
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp23 pSection.setIndex(m_SectionTable.size());
30 if (pIdx >= m_SectionTable.size())
37 if (pIdx >= m_SectionTable.size())
65 size_t size = m_SectionTable.size(); local
66 for (; result != size; ++result)
74 if (pIdx >= m_SymTab.size())
81 if (pIdx >= m_SymTab.size())
90 size_t size = m_SymTab.size(); local
100 size_t size = m_SymTab.size(); local
[all...]
/frameworks/av/media/libstagefright/include/
H A DESDS.h29 ESDS(const void *data, size_t size);
35 status_t getCodecSpecificInfo(const void **data, size_t *size) const;
54 size_t offset, size_t size,
58 status_t parseESDescriptor(size_t offset, size_t size);
59 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
/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/av/media/libstagefright/
H A DUtils.cpp130 msg->setInt32("max-input-size", maxInputSize);
135 size_t size; local
136 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
141 CHECK(size >= 7);
159 size -= 6;
165 CHECK(size >= 2);
169 size -= 2;
171 CHECK(size >= length);
173 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
174 memcpy(buffer->data() + buffer->size()
277 int size = i - lastparamoffset; local
308 int size = i - lastparamoffset; local
[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/base/tools/aapt/
H A Dprintapk.cpp30 off_t size; local
50 size = lseek(fd, 0, SEEK_END);
53 if (size < 0 || amt < 0) {
54 fprintf(stderr, "apk: error determining file size: %s\n", filename);
58 buf = malloc(size);
64 amt = read(fd, buf, size);
65 if (amt != size) {
72 zip = init_zipfile(buf, size);
89 size = get_zipentry_size(entry);
90 bufsize = size
[all...]
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.cpp55 size_t size = 0; local
58 size = entry.path()->native().size();
/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...]

Completed in 1913 milliseconds

1234567891011>>