Searched refs:count (Results 76 - 100 of 948) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
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/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java52 count = pack(jpeg, offset - 2, 2, littleEndian);
143 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
144 if (count < 10 || count > length) {
148 offset += count;
149 length -= count;
154 // Get the count and go through all the elements.
155 count = pack(jpeg, offset - 2, 2, littleEndian);
157 while (count-- > 0 && length >= 12) {
161 // We do not really care about type and count, d
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java47 count = pack(jpeg, offset - 2, 2, littleEndian);
138 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
139 if (count < 10 || count > length) {
143 offset += count;
144 length -= count;
149 // Get the count and go through all the elements.
150 count = pack(jpeg, offset - 2, 2, littleEndian);
152 while (count-- > 0 && length >= 12) {
156 // We do not really care about type and count, d
[all...]
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp79 size_t count = total - accumulator; local
80 if (count > block) {
81 count = block;
83 ssize_t ret = via(user, buffer, count);
85 ALOG_ASSERT((size_t) ret <= count);
116 size_t count = total - accumulator; local
117 if (count > block) {
118 count = block;
120 ssize_t ret = read(buffer, count, readPTS);
122 ALOG_ASSERT((size_t) ret <= count);
[all...]
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c95 int count = desc_length - offset; local
96 if (count > max_packet) count = max_packet;
98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n",
99 offset, count, desc_length);
101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000);
103 offset += count;
167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); local
168 if (count < (int)sizeof(*event)) {
174 while (count >
[all...]
/frameworks/base/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);
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_t count);
120 virtual status_t write(const double* buf, size_t offset, size_t count);
132 writeHelper(const T* buf, size_t offset, size_t count) argument
[all...]
H A DTiffEntryImpl.h38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data);
64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument
66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) {
67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count;
68 ssize_t index = mData.appendArray(data, count);
134 uint32_t count = mCount; local
139 * size of the array here, multiply the count by 2.
141 count <<
160 uint32_t count = mCount; local
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java101 int count = mSpanCount;
105 for (int i = 0; i < count; i++) {
142 int count = mSpanCount;
146 for (int i = count - 1; i >= 0; i--) {
151 int c = count - (i + 1);
166 int count = mSpanCount;
170 for (int i = count - 1; i >= 0; i--) {
180 int count = mSpanCount;
184 for (int i = count - 1; i >= 0; i--) {
194 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++) {
257 final int count = mAnimations.size();
260 for (int i = 0; i < count; i++) {
270 final int count = mAnimations.size();
273 for (int i = 0; i < count; i++) {
286 int count = animations.size();
288 for (int i = 0; i < count;
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp134 int count = 0; local
143 count = BAD_ARGUMENT;
149 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
156 count = BAD_ARGUMENT;
160 if (count) {
161 sprintf(ifr4.ifr_name, "%s:%d", name, count);
164 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
171 count = (errno == EINVAL) ? BAD_ARGUMENT : SYSTEM_ERROR;
176 ++count;
179 if (count
286 int count = -1; 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/native/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec34 glDrawElements check_AIOOBE indices count
48 glGetAttachedShaders nullAllowed check count 1 check shaders maxcount
88 glUniform1 check v count
89 glUniform2 check v count*2
90 glUniform3 check v count*3
91 glUniform4 check v count*4
92 glUniformMatrix2 check value count*4
93 glUniformMatrix3 check value count*9
94 glUniformMatrix4 check value count*16
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestHolder.java115 int count = 0;
119 ++count;
125 return count;
132 int count = 0;
136 ++count;
142 return count;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSimpleFrame.java49 final int count = format.getLength();
53 mObject = new byte[count];
56 mObject = new short[count];
59 mObject = new int[count];
62 mObject = new float[count];
65 mObject = new double[count];
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DSectionedListAdapter.java57 int count = 0;
60 count += mSections.get(i).getCount() + 1;
62 return count;
159 int count = 1;
162 count += mSections.get(i).getViewTypeCount();
164 return count;
/frameworks/rs/cpu_ref/linkloader/lib/
H A DStubLayout.cpp26 StubLayout::StubLayout() : table(NULL), count(0) {
31 count = count_;
43 if (count == 0) {
55 count--;
60 size_t StubLayout::calcStubTableSize(size_t count) const {
61 return count * getUnitStubSize();
/frameworks/native/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);
533 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument
535 if (ggl_unlikely(count < 1))
544 GLsizei num = count > vcs ? vcs : count;
312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument
564 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument
603 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument
618 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument
650 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument
704 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument
709 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument
714 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument
764 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
781 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
806 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
838 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
860 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument
896 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
901 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
906 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument
965 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument
1345 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
1389 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A Dtrace.cpp102 static void TraceGLShaderSource(GLuint shader, GLsizei count, argument
105 for (GLsizei i = 0; i < count; i++) {
106 const char* comma = i < count-1 ? "," : "";
118 for (GLsizei i = 0; i < count; i++) {
119 const char* comma = i < count-1 ? "," : "";
125 shader, count);
128 shader, count);
135 GLsizei count = chunkCount * chunkSize;
139 for (GLsizei i = 0; i < count; i++) {
145 if (i == count
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.h80 void putAInt8(const int8_t* values, int count);
81 void putAUInt8(const uint8_t* values, int count);
82 void putAInt16(const int16_t* values, int count);
83 void putAUInt16(const uint16_t* values, int count);
85 void putAInt32(const int32_t* values, int count);
86 void putAUInt32(const uint32_t* values, int count);
88 void putAInt64(const int64_t* values, int count);
89 void putAUInt64(const uint64_t* values, int count);
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
/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/rs/java/android/renderscript/
H A DAllocationAdapter.java49 public void subData1D(int off, int count, int[] d) { argument
50 super.copy1DRangeFrom(off, count, d);
55 public void subData1D(int off, int count, short[] d) { argument
56 super.copy1DRangeFrom(off, count, d);
61 public void subData1D(int off, int count, byte[] d) { argument
62 super.copy1DRangeFrom(off, count, d);
67 public void subData1D(int off, int count, float[] d) { argument
68 super.copy1DRangeFrom(off, count, d);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPresenter.java123 final int count = ((ViewGroup) view).getChildCount();
124 for (int i = 0; view.hasTransientState() && i < count; i++) {

Completed in 6860 milliseconds

1234567891011>>