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

1234567891011>>

/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/cpu_ref/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::__anon1606
38 enum { size = SIZE }; \
/frameworks/native/libs/gui/
H A DSensor.cpp132 status_t Sensor::flatten(void* buffer, size_t size) const {
133 if (size < getFlattenedSize()) {
137 FlattenableUtils::write(buffer, size, mName.length());
139 FlattenableUtils::advance(buffer, size, FlattenableUtils::align<4>(mName.length()));
141 FlattenableUtils::write(buffer, size, mVendor.length());
143 FlattenableUtils::advance(buffer, size, FlattenableUtils::align<4>(mVendor.length()));
145 FlattenableUtils::write(buffer, size, mVersion);
146 FlattenableUtils::write(buffer, size, mHandle);
147 FlattenableUtils::write(buffer, size, mType);
148 FlattenableUtils::write(buffer, size, mMinValu
158 unflatten(void const* buffer, size_t size) argument
[all...]
H A DBitTube.cpp33 // Socket buffer size. The default is typically about 128KB, which is much larger than
73 size_t size = DEFAULT_SOCKET_BUFFER_SIZE; local
77 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size));
78 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
102 ssize_t BitTube::write(void const* vaddr, size_t size) argument
106 len = ::send(mSendFd, vaddr, size, MSG_DONTWAIT | MSG_NOSIGNAL);
107 // cannot return less than size, since we're using SOCK_SEQPACKET
113 ssize_t BitTube::read(void* vaddr, size_t size)
159 ssize_t size = tube->read(vaddr, count*objSize); local
[all...]
/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/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/Fragment/
H A DRegionFragment.cpp25 size_t RegionFragment::size() const function in class:RegionFragment
27 return m_Region.size();
/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/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/rs/cpu_ref/linkloader/lib/
H A DMemChunk.cpp64 bool MemChunk::allocate(size_t size) { argument
65 if (size == 0) {
69 buf = (unsigned char*)(*VendorAlloc)(size, 0);
74 buf = (unsigned char *)mmap((void *)StartAddr, size,
79 buf = (unsigned char *)mmap(0, size,
91 StartAddr += (size + 4095) / 4096 * 4096;
94 buf_size = 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/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...]
/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/compile/mclinker/include/mcld/LD/
H A DELFFileFormat.h47 { return (NULL != f_pNULLSection) && (0 != f_pNULLSection->size()); }
50 { return (NULL != f_pGOT) && (0 != f_pGOT->size()); }
53 { return (NULL != f_pPLT) && (0 != f_pPLT->size()); }
56 { return (NULL != f_pRelDyn) && (0 != f_pRelDyn->size()); }
59 { return (NULL != f_pRelPlt) && (0 != f_pRelPlt->size()); }
62 { return (NULL != f_pRelaDyn) && (0 != f_pRelaDyn->size()); }
65 { return (NULL != f_pRelaPlt) && (0 != f_pRelaPlt->size()); }
69 { return (NULL != f_pComment) && (0 != f_pComment->size()); }
72 { return (NULL != f_pData1) && (0 != f_pData1->size()); }
75 { return (NULL != f_pDebug) && (0 != f_pDebug->size()); }
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A Dbase64.h29 void encodeBase64(const void *data, size_t size, AString *out);

Completed in 508 milliseconds

1234567891011>>