Searched refs:count (Results 76 - 100 of 115) sorted by last modified time

12345

/system/extras/tests/directiotest/
H A Ddirectiotest.c70 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 Dmdp_test.c191 req_list->count = 1;
/system/extras/tests/icachetest/
H A Dicache_main.c4 extern void icache_test(long count, long step);
5 extern void icache_test2(long count);
/system/extras/tests/memtest/
H A Dmemtest.cpp52 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 DMutableFrameFormat.java81 public void setDimensionCount(int count) { argument
82 mDimensions = new int[count];
H A DNativeBuffer.java39 public NativeBuffer(int count) { argument
40 allocate(count * getElementSize());
63 public int count() { method in class:NativeBuffer
H A DShaderProgram.java222 public void setVertexCount(int count) { argument
223 if (!setShaderVertexCount(count)) {
224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
H A DSimpleFrame.java51 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 DObjectFormat.java29 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 DPrimitiveFormat.java28 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 DPoint.java88 public Point rotated90(int count) { argument
91 for (int i = 0; i < count; ++i) {
/system/media/mca/filterfw/jni/
H A Djni_native_frame.cpp124 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 Djni_util.cpp58 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 Dshader_program.cpp348 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 Dshader_program.h187 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 Dvalue.cpp47 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 Dvalue.h31 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 DAutoFixFilter.java281 float count = 0f;
/system/media/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
/system/media/wilhelm/include/SLES/
H A DOpenSLES.h1381 SLuint32 count; member in struct:SLBufferQueueState_
H A DOpenSLES_Android.h184 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_
253 SLuint32 count; member in struct:SLAndroidBufferQueueState_
/system/media/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp113 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 DAudioRecorder_to_android.cpp225 if (ar->mBufferQueue.mState.count != 0) {
252 ar->mBufferQueue.mState.count--;
H A DBufferQueueSource.cpp78 if (mAndroidBufferQueueSource->mState.count == 0) {
122 mAndroidBufferQueueSource->mState.count--;
H A Dandroid_StreamPlayer.cpp110 // 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--;

Completed in 362 milliseconds

12345