Searched defs:count (Results 76 - 100 of 352) sorted by relevance

1234567891011>>

/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java77 public void beforeTextChanged(CharSequence s, int start, int count, argument
83 if (count > 0 && hasSeparator(s, start, count)) {
89 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
94 if (count > 0 && hasSeparator(s, start, count)) {
166 private boolean hasSeparator(final CharSequence s, final int start, final int count) { argument
167 for (int i = start; i < start + count; i++) {
/frameworks/base/tools/aidl/
H A Doptions_test.cpp23 int count = 0; local
24 while (expected[count] != NULL) {
25 count++;
27 if (got.size() != count) {
30 for (int i=0; i<count; i++) {
50 size_t count = got.size(); local
51 for (size_t i=0; i<count; i++) {
240 const int count = sizeof(g_tests)/sizeof(g_tests[0]); local
241 int matches[count];
244 for (int i=0; i<count;
[all...]
/frameworks/base/voip/jni/rtp/
H A DG711Codec.cpp42 int decode(int16_t *samples, int count, void *payload, int length);
67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument
70 if (length > count) {
71 length = count;
93 int decode(int16_t *samples, int count, void *payload, int length);
117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument
120 if (length > count) {
121 length = count;
/frameworks/compile/mclinker/unittests/
H A DHashTableTest.cpp156 int count; local
159 count = hashTable->erase(key);
160 EXPECT_EQ(1, count);
182 int count; local
205 int count; local
208 count = hashTable->erase(key);
209 EXPECT_EQ(1, count);
320 unsigned int count = 0; local
323 count++;
325 ASSERT_EQ(16, count);
[all...]
/frameworks/native/include/utils/
H A DBitSet.h43 inline uint32_t count() const { return __builtin_popcount(value); } function in struct:android::BitSet32
/frameworks/native/libs/gui/
H A DSensorManager.cpp92 size_t count = mSensors.size(); local
93 mSensorList = (Sensor const**)malloc(count * sizeof(Sensor*));
94 for (size_t i=0 ; i<count ; i++) {
/frameworks/native/libs/utils/
H A DCallStack.cpp95 ssize_t count = unwind_backtrace(mStack, ignoreDepth + 1, maxDepth); local
96 mCount = count > 0 ? count : 0;
H A DWorkQueue.cpp82 size_t count = mWorkUnits.size(); local
83 for (size_t i = 0; i < count; i++) {
107 size_t count = mWorkThreads.size(); local
108 for (size_t i = 0; i < count; i++) {
/frameworks/native/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/native/services/sensorservice/
H A DSensorDevice.cpp57 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local
58 mActivationCount.setCapacity(count);
60 for (size_t i=0 ; i<size_t(count) ; i++) {
72 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); local
74 snprintf(buffer, SIZE, "%d h/w sensors:\n", int(count));
78 for (size_t i=0 ; i<size_t(count) ; i++) {
80 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ",
97 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list);
98 return count;
105 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { argument
[all...]
H A DSensorFusion.cpp31 ssize_t count = mSensorDevice.getSensorList(&list); local
32 if (count > 0) {
33 for (size_t i=0 ; i<size_t(count) ; i++) {
/frameworks/rs/cpp/
H A DType.cpp49 uint32_t count = x * y * z * faces; local
61 count += x * y * z * faces;
63 mElementCount = count;
/frameworks/wilhelm/src/
H A Dentry.c89 // if an engine already exists, then increment its ref count
188 SLuint32 count = 0; local
197 ++count;
206 *pNumSupportedInterfaces = count;
/frameworks/base/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
/frameworks/base/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) {
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp58 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted.");
75 ALOGE("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);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_CharStar.c317 M4OSA_UInt32 count; local
334 /* count the number of %[flags][width][.precision]ll[conversion] */
383 count = count_ll + count_tm + count_aa;
385 if(!count)
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp91 size_t count = overallSize / infoSize; local
93 snprintf(buffer, SIZE, " Allocation count %i\n", count);
98 AllocEntry * entries = new AllocEntry[count];
100 for (size_t i = 0; i < count; i++) {
119 for (size_t i = 0; i < (count - 1); i++) {
142 for (size_t i = 0; i < count; i++) {
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp110 size_t count = total - accumulator; local
111 if (count > block) {
112 count = block;
114 ssize_t ret = via(user, buffer, count);
116 ALOG_ASSERT((size_t) ret <= count);
147 size_t count = total - accumulator; local
148 if (count > block) {
149 count = block;
151 ssize_t ret = read(buffer, count, readPTS);
153 ALOG_ASSERT((size_t) ret <= count);
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dstat_bits.c46 * description: count ms stereo bits demand
75 * description: count tns bit demand core function
84 Word32 count; local
88 count = 0;
105 /*count += 1; */
109 count += 1;
111 count += 2;
114 count += 1;
117 count += 4;
118 count
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Ddtx_enc.cpp64 1. Modified FOR loops to count down.
226 CLOCK CYCLES: (cycle count equation for this function) + (variable
227 used to represent cycle count for each subroutine
229 where: (cycle count variable) = cycle count for [subroutine
347 CLOCK CYCLES: (cycle count equation for this function) + (variable
348 used to represent cycle count for each subroutine
350 where: (cycle count variable) = cycle count for [subroutine
454 CLOCK CYCLES: (cycle count equatio
1126 Word16 count; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c331 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument
333 memcpy(dest, src, count);
346 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument
348 memset(ptr, value, count);
/frameworks/av/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...]

Completed in 342 milliseconds

1234567891011>>