Searched refs:count (Results 51 - 75 of 576) sorted by relevance

1234567891011>>

/frameworks/compile/libbcc/helper/
H A Dsha1.h9 unsigned long count[2]; member in struct:__anon1265
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c75 OMX_INT outer, inner, count, index; local
95 for (outer = 0, count = 0,index = 0;
99 for (inner = 0; inner < BlockSize; inner++, count++, index++)
101 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
150 for (outer = 0, count = 0, candSAD = 0,index = 0;
154 for (inner = 0; inner < BlockSize; inner++, count++,index++)
164 candSAD += armAbs (tempPel - pSrcCurrBuf[count]);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s41 count RN 2 label
149 ;// pack values to count register
158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
159 ADD count, count, tmp2, LSL #24 ;// loop_y
160 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
161 AND tmp2, count, #0x00F00000 ;// loop_x
175 ADD count, coun
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s42 count RN 2 label
155 ;// pack values to count register
164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
165 ADD count, count, tmp2, LSL #24 ;// loop_y
166 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
167 AND tmp2, count, #0x00F00000 ;// loop_x
190 ADD count, coun
[all...]
H A Dh264bsd_interpolate_chroma_ver.s40 count RN 2 label
147 ;// pack values to count register
156 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
157 ADD count, count, tmp2, LSL #24 ;// loop_y
158 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
159 AND tmp2, count, #0x00F00000 ;// loop_x
173 ADD count, coun
[all...]
H A Dh264bsd_interpolate_hor_half.s38 count RN 2 label
138 ;// pack values to count register
144 MOV count, width
148 ADD count, count, tmp2, LSL #16
154 AND tmp1, count, #0x000F0000 ;// partHeight-1
155 AND tmp3, count, #0x00F00000 ;// partWidth-1
156 ADD count, count, tmp1, LSL #8
159 ADD count, coun
[all...]
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A Dbcc.cpp168 size_t count = unwrap(script)->getExportVarCount(); local
169 LOGD("ExportVarCount = %lu\n", (unsigned long)count);
171 if (count > varListSize) {
172 count = varListSize;
175 for (size_t i = 0; i < count; ++i) {
192 size_t count = unwrap(script)->getExportFuncCount(); local
193 LOGD("ExportFuncCount = %lu\n", (unsigned long)count);
195 if (count > funcListSize) {
196 count = funcListSize;
199 for (size_t i = 0; i < count;
[all...]
H A DFileHandle.cpp116 ssize_t FileHandle::read(char *buf, size_t count) { argument
122 ssize_t nread = ::read(mFD, static_cast<void *>(buf), count);
140 ssize_t FileHandle::write(char const *buf, size_t count) { argument
147 while (count > 0) {
148 ssize_t nwrite = ::write(mFD, static_cast<void const *>(buf), count);
159 count -= (size_t)nwrite;
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DMergedAdapter.java91 int count = 0;
93 count += adapter.getCount();
95 return count;
110 int count = 0;
114 int newCount = count + a.getCount();
116 return new LocalAdapterPosition<T>(a, position - count);
118 count = newCount;
140 int count = 0;
142 count += adapter.getViewTypeCount();
144 return count;
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DMemInfoReader.java73 int count = 0;
74 for (int i=0; i<len && count < 3; i++) {
78 count++;
82 count++;
86 count++;
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java99 int count = mSpanCount;
103 for (int i = 0; i < count; i++) {
140 int count = mSpanCount;
144 for (int i = count - 1; i >= 0; i--) {
149 int c = count - (i + 1);
164 int count = mSpanCount;
168 for (int i = count - 1; i >= 0; i--) {
178 int count = mSpanCount;
182 for (int i = count - 1; i >= 0; i--) {
192 int count
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java131 final int count = mAnimations.size();
134 for (int i = 0; i < count; i++) {
185 final int count = mAnimations.size();
188 for (int i = 0; i < count; i++) {
255 final int count = mAnimations.size();
258 for (int i = 0; i < count; i++) {
268 final int count = mAnimations.size();
271 for (int i = 0; i < count; i++) {
284 int count = animations.size();
286 for (int i = 0; i < count;
[all...]
/frameworks/base/tools/aapt/
H A DPackage.cpp61 int count; local
112 count = processAssets(bundle, zip, assets);
113 if (count < 0) {
116 result = count;
121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s");
124 count = processJarFiles(bundle, zip);
125 if (count < 0) {
128 result = count;
133 printf("Included %d file%s from jar/zip files.\n", count, (coun
227 ssize_t count = 0; local
247 ssize_t count = 0; local
457 size_t count = 0; local
481 ssize_t count = 0; local
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java50 final int count = points.size();
51 final float[] tmpPoints = new float[count * 2];
52 final long[] times = new long[count];
58 for (int i = 0; i < count; i++) {
123 final int count = localPoints.length;
130 for (int i = 0; i < count; i += 2) {
177 final int count = pts.length;
179 for (int i = 0; i < count; i += 2) {
204 final int count = points.length;
207 out.writeInt(count /
[all...]
/frameworks/base/opengl/libs/GLES_CM/
H A Dgl.cpp43 const GLvoid *ptr, GLsizei count);
45 const GLvoid *pointer, GLsizei count);
47 GLsizei stride, const GLvoid *pointer, GLsizei count);
49 GLsizei stride, const GLvoid *pointer, GLsizei count);
51 GLsizei stride, const GLvoid *pointer, GLsizei count);
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
59 const GLvoid *ptr, GLsizei count) {
63 const GLvoid *pointer, GLsizei count) {
67 GLsizei stride, const GLvoid *pointer, GLsizei count) {
58 glColorPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr, GLsizei count) argument
62 glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
66 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
70 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
75 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTextLayout.h69 jint start, jint count, jint contextCount,
73 jint count, jint contextCount, jint dirFlags,
77 jint count, jint contextCount, jint dirFlags,
93 static bool prepareRtlTextRun(const jchar* context, jsize start, jsize& count,
99 static int shapeRtlText(const jchar* context, jsize start, jsize count, jsize contextCount,
107 size_t start, size_t count, size_t contextCount, int dirFlags,
H A DTextLayoutCache.cpp109 const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) {
117 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags);
131 value->computeValues(paint, text, start, count, contextCount, dirFlags);
161 "count=%d, entry size %d bytes, remaining space %d bytes"
163 count, size, mMaxSize - mSize, value->getElapsedTime(),
164 String8(text, count).string());
169 "with start=%d count=%d contextCount=%d, "
172 start, count, contextCount, size, mMaxSize - mSize, endTime,
173 String8(text, count).string());
186 LOGD("CACHE HIT #%d with start=%d count
108 getValue(SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument
225 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, size_t contextCount, int dirFlags) argument
313 computeValues(SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags) argument
380 shapeRun(HB_ShaperItem& shaperItem, size_t start, size_t count, bool isRTL) argument
399 computeValuesWithHarfbuzz(SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs) argument
543 computeRunValuesWithHarfbuzz(HB_ShaperItem& shaperItem, SkPaint* paint, size_t start, size_t count, bool isRTL, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DDeviceMonitor.java98 int count = files.length - MAX_FILES;
99 if (count > 0) {
101 for (int i = 0; i < count; i++) {
153 int count;
154 while ((count = in.read(buffer)) != -1) {
155 out.write(buffer, 0, count);
/frameworks/base/opengl/libagl/
H A Darray.cpp314 const GLvoid *pointer, const buffer_t* bo, GLsizei count)
334 this->bounds = count;
381 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local
385 } while (--count);
392 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local
396 } while (--count);
529 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument
531 if (ggl_unlikely(count < 1))
540 GLsizei num = count > vcs ? vcs : count;
312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument
560 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument
599 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument
614 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument
646 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument
700 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument
705 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument
710 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument
760 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
777 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
802 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
834 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
856 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument
892 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
897 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
902 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
961 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument
1341 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
1385 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument
[all...]
/frameworks/base/opengl/libs/GLES2_dbg/src/
H A Dvertex.cpp24 void Debug_glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
35 msg.set_arg2(count);
40 for (unsigned i = 0; i < count; i++)
56 dbg->hooks->gl.glDrawArrays(mode, first, count);
109 static inline void FetchIndexed(const unsigned count, const T * indices, argument
112 for (unsigned i = 0; i < count; i++) {
120 void Debug_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) argument
130 msg.set_arg1(count);
138 FetchIndexed(count, (unsigned char *)dbg->indexBuffer->data +
141 FetchIndexed(count, (unsigne
[all...]
/frameworks/base/opengl/libs/EGL/
H A Dtrace.cpp98 static void TraceGLShaderSource(GLuint shader, GLsizei count, argument
101 for (GLsizei i = 0; i < count; i++) {
102 const char* comma = i < count-1 ? "," : "";
114 for (GLsizei i = 0; i < count; i++) {
115 const char* comma = i < count-1 ? "," : "";
121 shader, count);
124 shader, count);
131 GLsizei count = chunkCount * chunkSize;
135 for (GLsizei i = 0; i < count; i++) {
141 if (i == count
[all...]
/frameworks/base/services/sensorservice/
H A DSensorService.cpp74 ssize_t count = dev.getSensorList(&list); local
75 if (count > 0) {
83 mLastEventSeen.setCapacity(count);
84 for (ssize_t i=0 ; i<count ; i++) {
113 registerVirtualSensor( new GravitySensor(list, count) );
114 registerVirtualSensor( new LinearAccelerationSensor(list, count) );
118 registerVirtualSensor( new CorrectedGyroSensor(list, count) );
233 ssize_t count; local
235 count = device.poll(buffer, numEventMax);
236 if (count<
294 recordLastValue( sensors_event_t const * buffer, size_t count) argument
312 sortEventBuffer(sensors_event_t* buffer, size_t count) argument
339 size_t count = mUserSensorList.size(); local
571 size_t count = 0; local
[all...]
/frameworks/base/core/java/android/util/
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { argument
65 for(int i = 0; i < count; i++) {
/frameworks/base/graphics/java/android/renderscript/
H A DAllocationAdapter.java53 public void subData1D(int off, int count, int[] d) { argument
54 super.copy1DRangeFrom(off, count, d);
59 public void subData1D(int off, int count, short[] d) { argument
60 super.copy1DRangeFrom(off, count, d);
65 public void subData1D(int off, int count, byte[] d) { argument
66 super.copy1DRangeFrom(off, count, d);
71 public void subData1D(int off, int count, float[] d) { argument
72 super.copy1DRangeFrom(off, count, d);
/frameworks/support/v4/java/android/support/v4/util/
H A DLogWriter.java51 @Override public void write(char[] buf, int offset, int count) { argument
52 for(int i = 0; i < count; i++) {

Completed in 509 milliseconds

1234567891011>>