Searched defs:size (Results 51 - 75 of 557) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/include/mcld/MC/
H A DAttributeFactory.h71 size_t size() const function in class:mcld::AttributeFactory
72 { return m_AttrSet.size(); }
/frameworks/compile/mclinker/include/mcld/Support/
H A DMemoryRegion.h69 size_t size() const function in class:mcld::MemoryRegion
/frameworks/compile/mclinker/lib/LD/
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/compile/mclinker/lib/Support/
H A DCommandLine.cpp40 size_t VSize = V.native().size();
74 size_t VSize = V.name().size();
135 else if (Arg.startswith("common-page-size=")) {
137 long long unsigned size = 0; local
138 Arg.drop_front(17).getAsInteger(0, size);
139 Val.setPageSize(static_cast<uint64_t>(size));
140 } else if (Arg.startswith("max-page-size=")) {
142 long long unsigned size = 0; local
143 Arg.drop_front(14).getAsInteger(0, size);
144 Val.setPageSize(static_cast<uint64_t>(size));
[all...]
H A DLEB128.cpp18 size_t size = 0; local
25 size++;
28 return size;
68 size_t size = 0; local
82 size++;
85 return size;
185 * version like decode() to save the code size.
/frameworks/compile/mclinker/unittests/
H A DLEB128Test.cpp48 size_t size; local
51 size = leb128::encode<uint32_t>(result, 2);
54 ASSERT_EQ(size, 1);
57 size = leb128::encode<uint32_t>(result, 127);
60 ASSERT_EQ(size, 1);
63 size = leb128::encode<uint32_t>(result, 128);
67 ASSERT_EQ(size, 2);
70 size = leb128::encode<uint32_t>(result, 129);
74 ASSERT_EQ(size, 2);
77 size
94 size_t size; local
140 size_t size; local
199 size_t size; local
235 size_t size; local
302 size_t size; local
419 size_t size; local
500 size_t size; local
516 size_t size; local
[all...]
H A DStringTableTest.cpp46 int size = 127-32; local
53 ASSERT_EQ(m_pTestee->size(), size);
76 ASSERT_EQ(m_pTestee->size(), 1);
/frameworks/native/include/utils/
H A DFlattenable.h35 // size in bytes of the flattened object
42 // size should be at least of getFlattenedSize()
46 virtual status_t flatten(void* buffer, size_t size,
50 // size should be equal to the value of getFlattenedSize() when the
56 virtual status_t unflatten(void const* buffer, size_t size,
75 // returns whether this object always flatten into the same size.
79 // returns size in bytes of the flattened object. must be a constant.
85 // unflattens the object from buffer of given size.
86 inline status_t unflatten(void const* buffer, size_t size);
102 inline status_t LightFlattenable<T>::unflatten(void const* buffer, size_t size) { argument
[all...]
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/native/libs/gui/
H A DBitTube.cpp33 // Socket buffer size. The default is typically about 128KB, which is much larger than
43 int size = SOCKET_BUFFER_SIZE; local
44 setsockopt(sockets[0], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size));
45 setsockopt(sockets[0], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
46 setsockopt(sockets[1], SOL_SOCKET, SO_SNDBUF, &size, sizeof(size));
47 setsockopt(sockets[1], SOL_SOCKET, SO_RCVBUF, &size, sizeof(size));
63 int size = SOCKET_BUFFER_SIZE; local
96 write(void const* vaddr, size_t size) argument
[all...]
/frameworks/native/libs/utils/
H A DSharedBuffer.cpp27 SharedBuffer* SharedBuffer::alloc(size_t size) argument
29 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size));
32 sb->mSize = size;
52 memcpy(sb->data(), data(), size());
H A DTextOutput.cpp133 HexDump::HexDump(const void *buf, size_t size, size_t bytesPerLine) argument
135 , mSize(size)
148 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(),
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.h43 GLsizeiptr size; member in struct:android::gl::buffer_t
63 int allocateStore(gl::buffer_t* bo, GLsizeiptr size, GLenum usage);
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp30 void* lamecpy(void* d, void const* s, size_t size) { argument
33 while (size) {
35 size--;
42 size_t size = 128*256*4; local
43 void* temp = malloc(size);
44 void* temp2 = malloc(size);
45 memset(temp, 0, size);
46 memset(temp2, 0, size);
67 memset(vaddr, 0, size);
73 memcpy(temp, temp2, size);
[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/support/v4/honeycomb_mr2/android/support/v4/os/
H A DParcelableCompatHoneycombMR2.java43 public T[] newArray(int size) { argument
44 return mCallbacks.newArray(size);
/frameworks/support/v4/java/android/support/v4/os/
H A DParcelableCompat.java55 public T[] newArray(int size) { argument
56 return mCallbacks.newArray(size);
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DSpace.java66 * If mode is AT_MOST, return the child size instead of the parent size
69 private static int getDefaultSize2(int size, int measureSpec) { argument
70 int result = size;
76 result = size;
79 result = Math.min(size, specSize);
H A DViewGroup.java43 * Utility to reconcile a desired size and state, with constraints imposed
44 * by a MeasureSpec. Will take the desired size, unless a different size
46 * with the resolved size in the {@link #MEASURED_SIZE_MASK} bits and
48 * size is smaller than the size the view wants to be.
50 * @param size How big the view wants to be
55 public static int resolveSizeAndState(int size, int measureSpec, int childMeasuredState) { argument
57 return View.resolveSizeAndState(size, measureSpec, childMeasuredState);
59 int result = size;
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp22 NativeFrame::NativeFrame(int size) : data_(NULL), size_(size), capacity_(size) { argument
30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { argument
31 if (size_ >= (offset + size)) {
32 memcpy(data_ + offset, data, size);
38 bool NativeFrame::SetData(uint8_t* data, int size) { argument
40 size_ = capacity_ = size;
H A Dvertex_frame.cpp32 VertexFrame::VertexFrame(int size) argument
34 size_(size) {
46 bool VertexFrame::WriteData(const uint8_t* data, int size) { argument
59 if (first_upload && size == size_)
60 glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW);
61 else if (!first_upload && size <= size_)
62 glBufferSubData(GL_ARRAY_BUFFER, 0, size, data);
65 "inside the vertex frame (%d bytes)!", size, size_);
73 // Subsequent uploads are now bound to the size given here
74 size_ = size;
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { argument
43 ssize_t result = mStream->read(data, size);
48 status_t StreamSource::getSize(off64_t *size) { argument
49 *size = mSize;
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h40 size_t size() const { return mRangeLength; } function in struct:android::ABuffer
43 void setRange(size_t offset, size_t size);

Completed in 259 milliseconds

1234567891011>>