/system/extras/tests/directiotest/ |
H A D | directiotest.c | 70 static ssize_t do_read(int fd, void *buf, off64_t start, size_t count) argument 78 ret = read(fd, (char *)buf + bytes_read, count - bytes_read); 87 } while (bytes_read < count); 92 static ssize_t do_write(int fd, const void *buf, off64_t start, size_t count) argument 100 ret = write(fd, (char *)buf + bytes_out, count - bytes_out); 109 } while (bytes_out < count);
|
/system/extras/tests/framebuffer/ |
H A D | mdp_test.c | 191 req_list->count = 1;
|
/system/extras/tests/icachetest/ |
H A D | icache_main.c | 4 extern void icache_test(long count, long step); 5 extern void icache_test2(long count);
|
/system/extras/tests/memtest/ |
H A D | memtest.cpp | 52 nsecs_t loop_overhead(size_t count) __attribute__((noinline)); 53 nsecs_t loop_overhead(size_t count) argument 58 } while (--count); 194 register int count = REPEAT; local 197 } while (--count); 309 size_t count = REPEAT; local 312 } while (--count); 451 register int count = REPEAT; local 458 } while (--count); 561 size_t count local 702 register size_t count = REPEAT; local [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
H A D | MutableFrameFormat.java | 81 public void setDimensionCount(int count) { argument 82 mDimensions = new int[count];
|
H A D | NativeBuffer.java | 39 public NativeBuffer(int count) { argument 40 allocate(count * getElementSize()); 63 public int count() { method in class:NativeBuffer
|
H A D | ShaderProgram.java | 222 public void setVertexCount(int count) { argument 223 if (!setShaderVertexCount(count)) { 224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
|
H A D | SimpleFrame.java | 51 final int count = format.getLength(); 55 mObject = new byte[count]; 58 mObject = new short[count]; 61 mObject = new int[count]; 64 mObject = new float[count]; 67 mObject = new double[count];
|
/system/media/mca/filterfw/java/android/filterfw/format/ |
H A D | ObjectFormat.java | 29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument 33 if (count != FrameFormat.SIZE_UNSPECIFIED) { 34 result.setDimensions(count); 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument 53 : fromClass(object.getClass(), count, target);
|
H A D | PrimitiveFormat.java | 28 public static MutableFrameFormat createByteFormat(int count, int target) { argument 29 return createFormat(FrameFormat.TYPE_BYTE, count, target); 32 public static MutableFrameFormat createInt16Format(int count, int target) { argument 33 return createFormat(FrameFormat.TYPE_INT16, count, target); 36 public static MutableFrameFormat createInt32Format(int count, int target) { argument 37 return createFormat(FrameFormat.TYPE_INT32, count, target); 40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument 41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); 44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument 45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe 68 createFormat(int baseType, int count, int target) argument [all...] |
/system/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 88 public Point rotated90(int count) { argument 91 for (int i = 0; i < count; ++i) {
|
/system/media/mca/filterfw/jni/ |
H A D | jni_native_frame.cpp | 124 const int count = size / sizeof(jint); local 125 jintArray result = env->NewIntArray(count); 126 env->SetIntArrayRegion(result, 0, count, reinterpret_cast<const jint*>(data)); 158 const int count = size / sizeof(jfloat); local 159 jfloatArray result = env->NewFloatArray(count); 160 env->SetFloatArrayRegion(result, 0, count, reinterpret_cast<const jfloat*>(data));
|
H A D | jni_util.cpp | 58 LOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 75 LOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); local 150 result = MakeIntArrayValue(elems, count); 154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); local 155 result = MakeFloatArrayValue(elems, count);
|
/system/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 348 GLuint ShaderProgram::LinkProgram(GLuint* shaders, GLuint count) { argument 352 for (GLuint i = 0; i < count; ++i) { 662 // Here we return the minimum of the max uniform count for fragment and vertex 704 int count) { 709 if (count == 0) 722 if (!CheckValueCount("Uniform (int)", name, capacity, components, count) 723 || !CheckValueMult ("Uniform (int)", name, components, count)) 727 const int n = count / components; 755 int count) { 760 if (count 702 SetUniformValue(ProgramVar var, const int* values, int count) argument 753 SetUniformValue(ProgramVar var, const float* values, int count) argument 1117 SetVertexCount(int count) argument [all...] |
H A D | shader_program.h | 187 bool SetUniformValue(ProgramVar var, const int* values, int count); 191 bool SetUniformValue(ProgramVar var, const float* values, int count); 301 // a count unequal to 4. Adjust this value before calling Process(). 302 void SetVertexCount(int count); 395 static GLuint LinkProgram(GLuint* shaders, GLuint count);
|
H A D | value.cpp | 47 result.count = 1; 53 Value MakePtrValue(const BASE* values, int count) { argument 56 result.value = malloc(sizeof(BASE) * count); 57 memcpy(result.value, values, sizeof(BASE) * count); 58 result.count = count; 67 value->count = 1; 77 int SetPtrValue(Value* value, const BASE* new_values, int count) { argument 80 value->value = malloc(sizeof(BASE) * count); 81 value->count 193 MakeIntArrayValue(const int* values, int count) argument 197 MakeFloatArrayValue(const float* values, int count) argument 217 SetIntArrayValue(Value* value, const int* new_values, int count) argument 221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument [all...] |
H A D | value.h | 31 int count; member in struct:__anon497 61 Value MakeIntArrayValue(const int* values, int count); 62 Value MakeFloatArrayValue(const float* values, int count); 69 int SetIntArrayValue(Value* value, const int* new_values, int count); 70 int SetFloatArrayValue(Value* value, const float* new_values, int count);
|
/system/media/mca/filterpacks/imageproc/java/ |
H A D | AutoFixFilter.java | 281 float count = 0f;
|
/system/media/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
|
/system/media/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1381 SLuint32 count; member in struct:SLBufferQueueState_
|
H A D | OpenSLES_Android.h | 184 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_ 253 SLuint32 count; member in struct:SLAndroidBufferQueueState_
|
/system/media/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 113 if (ap->mBufferQueue.mState.count != 0) { 137 ap->mBufferQueue.mState.count--; 196 // the source's channel count, where zero means unknown 244 // channel mute and solo are ignored for mono and unknown channel count sources 323 // panning law depends on content channel count: mono to stereo panning vs stereo balance 329 // channel count is 0 (unknown), 2 (stereo), or > 2 (multi-channel) 1134 if (ap->mBufferQueue.mState.count != 0) { 1135 //SL_LOGV("nbBuffers in queue = %u",ap->mBufferQueue.mState.count); 1163 ap->mBufferQueue.mState.count--; 1383 0 // FIXME find appropriate frame count // notificationFram [all...] |
H A D | AudioRecorder_to_android.cpp | 225 if (ar->mBufferQueue.mState.count != 0) { 252 ar->mBufferQueue.mState.count--;
|
H A D | BufferQueueSource.cpp | 78 if (mAndroidBufferQueueSource->mState.count == 0) { 122 mAndroidBufferQueueSource->mState.count--;
|
H A D | android_StreamPlayer.cpp | 110 // Force binder to push the decremented reference count for sp<IStreamListener>. 112 // reference count, binder doesn't push that to the other process immediately. 141 if (mAndroidBufferQueue->mState.count != 0) { 142 // SL_LOGD("nbBuffers in ABQ = %u, buffSize=%u",abq->mState.count, buffSize); 226 mAndroidBufferQueue->mState.count--;
|