Searched defs:size (Results 76 - 100 of 714) sorted by relevance

1234567891011>>

/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 )
25 java.nio.IntBuffer size,
30 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
35 int[] size,
41 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
46 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
20 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
32 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
43 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 )
25 java.nio.IntBuffer size,
29 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
34 int[] size,
40 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
45 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
20 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
31 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
42 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/include/impl/
H A DELFSectionRelTable.hxx31 for (size_t i = 0; i < table.size(); ++i) {
45 for (size_t i = 0; i < this->size(); ++i) {
66 size_t size = sh->getSize() / sh->getEntrySize(); local
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size);
71 for (size_t i = 0; i < size; ++i) {
76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size);
77 for (size_t i = 0; i < size; ++i) {
98 for (size_t i = 0; i < size(); ++i) {
111 return sym_index_set.size();
118 for (size_t i = 0; i < size();
[all...]
/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/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);
/frameworks/av/camera/
H A DCameraParameters2.cpp40 size_t size = mMap.size(); local
42 for (size_t i = 0; i < size; i++) {
50 if (i != size-1)
354 ALOGD("dump: mMap.size = %d", mMap.size());
355 for (size_t i = 0; i < mMap.size(); i++) {
369 snprintf(buffer, 255, "CameraParameters2::dump: mMap.size = %zu\n", mMap.size());
371 for (size_t i = 0; i < mMap.size();
[all...]
/frameworks/av/include/media/
H A Dmediascanner.h48 static MediaAlbumArt *fromData(int32_t size, const void* data);
50 static void init(MediaAlbumArt* instance, int32_t size, const void* data);
58 int32_t size() { function in struct:android::MediaAlbumArt
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h41 size_t size() const { return mRangeLength; } function in struct:android::ABuffer
44 void setRange(size_t offset, size_t size);
/frameworks/av/media/libmedia/
H A DIMediaLogService.cpp42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { argument
46 data.writeInt64((int64_t) size);
74 size_t size = (size_t) data.readInt64(); local
76 registerWriter(shared, size, name);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument
59 entry.mSize = size;
96 void *data, size_t size, sp<AMessage> *extra) {
97 CHECK_GT(size, 0u);
143 if (copy > size) {
144 copy = size;
95 read( void *data, size_t size, sp<AMessage> *extra) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp33 size = total number of pixel in the current luminance VOP (int)
120 int32 size, /* i */
168 /* (pstprcTypPrv + (size>>6)). */
172 pp_prev1 = pstprcTypPrv + (size >> 6) + nmvx + nmvy * (mvwidth >> 1) ;
211 /* = size/256 = size>>8 */
212 mv_loc = (size >> 8);
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp69 void ABuffer::setRange(size_t offset, size_t size) { argument
71 CHECK_LE(offset + size, mCapacity);
74 mRangeLength = 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')) {
68 while (i + 1 < size && data[i] == '\r' && data[i + 1] == '\n') {
/frameworks/av/services/medialog/
H A DMediaLogService.cpp29 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) argument
32 size < kMinSize || size > kMaxSize || name == NULL ||
33 shared->size() < NBLog::Timeline::sharedSize(size)) {
36 sp<NBLog::Reader> reader(new NBLog::Reader(size, shared));
48 for (size_t i = 0; i < mNamedReaders.size(); ) {
74 for (size_t i = 0; i < namedReaders.size(); i++) {
/frameworks/base/core/java/android/app/backup/
H A DBackupDataOutput.java37 * and the total size of the binary value for the record. After the header has been
84 * @param dataSize The size in bytes of this record's data. Passing a dataSize
101 * @param size The number of bytes to be sent in this chunk
105 public int writeEntityData(byte[] data, int size) throws IOException { argument
106 int result = writeEntityData_native(mBackupWriter, data, size);
133 private native static int writeEntityData_native(long mBackupWriter, byte[] data, int size); argument
/frameworks/base/core/java/android/text/style/
H A DAbsoluteSizeSpan.java30 * Set the text size to <code>size</code> physical pixels.
32 public AbsoluteSizeSpan(int size) { argument
33 mSize = size;
37 * Set the text size to <code>size</code> physical pixels,
38 * or to <code>size</code> device-independent pixels if
41 public AbsoluteSizeSpan(int size, boolean dip) { argument
42 mSize = size;
/frameworks/base/core/java/android/util/
H A DIntArray.java63 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
159 public int size() { method in class:IntArray
H A DLongArray.java62 * @throws IndexOutOfBoundsException when index &lt; 0 || index &gt; size()
163 public int size() { method in class:LongArray
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java59 // shrink to a more manageable (yet hopefully no more or less colorful) size
80 final int size = height*width;
81 ensureBufferSize(size);
83 for (int i = 0; i < size; i++) {
92 * Makes sure that {@code mTempBuffer} has at least length {@code size}.
94 private void ensureBufferSize(int size) { argument
95 if (mTempBuffer == null || mTempBuffer.length < size) {
96 mTempBuffer = new int[size];
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_buffer.cpp20 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size) { argument
29 if (size) {
30 *size = env->GetIntField(buffer, size_field);
39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) { argument
48 env->SetIntField(buffer, size_field, size);
53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { argument
54 char* data = new char[size];
55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size));
72 int size; local
73 char* source_data = GetJBufferData(env, thiz, &size);
[all...]

Completed in 6480 milliseconds

1234567891011>>