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

1234567891011>>

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dmemalign.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID);
/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/compile/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::__anon1257
38 enum { size = SIZE }; \
/frameworks/compile/mclinker/lib/LD/
H A DResolveInfoFactory.cpp21 malloc(sizeof(entry_type)+pKey.size()+1));
26 std::memcpy(result->m_Name, pKey.data(), pKey.size());
27 result->m_Name[pKey.size()] = '\0';
29 result->m_BitField |= (pKey.size() << ResolveInfo::NAME_LENGTH_OFFSET);
H A DLDContext.cpp28 if (pIdx >= m_SectionTable.size())
35 if (pIdx >= m_SectionTable.size())
63 size_t size = m_SectionTable.size(); local
64 for (; result != size; ++result)
72 if (pIdx >= m_SymTab.size())
79 if (pIdx >= m_SymTab.size())
88 size_t size = m_SymTab.size(); local
89 for (; sym < size;
98 size_t size = m_SymTab.size(); local
[all...]
/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
/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/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/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/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/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/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/opt/telephony/src/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/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')) {
/frameworks/av/media/libstagefright/
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/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/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/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/av/include/media/stagefright/foundation/
H A Dbase64.h29 void encodeBase64(const void *data, size_t size, AString *out);

Completed in 7144 milliseconds

1234567891011>>