Searched defs:count (Results 101 - 125 of 430) sorted by relevance

1234567891011>>

/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/compile/mclinker/unittests/
H A DHashTableTest.cpp156 int count; local
159 count = hashTable->erase(key);
160 EXPECT_EQ(1, count);
204 int count; local
207 count = hashTable->erase(key);
208 EXPECT_EQ(1, count);
319 int count = 0; local
322 count++;
324 ASSERT_EQ(16, count);
/frameworks/native/libs/gui/
H A DBitTube.cpp146 void const* events, size_t count, size_t objSize)
149 ssize_t size = tube->write(vaddr, count*objSize);
153 "BitTube::sendObjects(count=%zu, size=%zu), res=%zd (partial events were sent!)",
154 count, objSize, size);
156 //ALOGE_IF(size<0, "error %d sending %d events", size, count);
161 void* events, size_t count, size_t objSize)
164 ssize_t size = tube->read(vaddr, count*objSize);
168 "BitTube::recvObjects(count=%zu, size=%zu), res=%zd (partial events were received!)",
169 count, objSize, size);
171 //ALOGE_IF(size<0, "error %d receiving %d events", size, count);
160 recvObjects(const sp<BitTube>& tube, void* events, size_t count, size_t objSize) argument
[all...]
H A DBufferItem.cpp97 void*& buffer, size_t& size, int*& fds, size_t& count) const {
100 if (count < BufferItem::getFlattenedSize()) {
112 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count);
118 status_t err = mFence->flatten(buffer, size, fds, count);
144 void const*& buffer, size_t& size, int const*& fds, size_t& count) {
154 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count);
161 status_t err = mFence->unflatten(buffer, size, fds, count);
143 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
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/services/sensorservice/
H A DSensorFusion.cpp32 ssize_t count = mSensorDevice.getSensorList(&list); local
33 if (count > 0) {
34 for (size_t i=0 ; i<size_t(count) ; i++) {
/frameworks/native/services/surfaceflinger/
H A DEventThread.h62 // count >= 1 : continuous event. count is the vsync rate
63 // count == 0 : one-shot event that has not fired
64 // count ==-1 : one-shot event that fired this round / disabled
65 int32_t count; member in class:android::EventThread::Connection
71 virtual void setVsyncRate(uint32_t count);
84 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
/frameworks/opt/net/voip/src/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java74 * @param itemCount The count of how many items have changed.
149 * @param count The number of items to remove.
152 public int removeItems(int position, int count) { argument
153 int itemsToRemove = Math.min(count, mItems.size() - position);
H A DCursorObjectAdapter.java179 * Remove {@code count} items starting at {@code index}.
181 protected final void invalidateCache(int index, int count) { argument
182 for (int limit = count + index; index < limit; index++) {
/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/av/media/img_utils/include/img_utils/
H A DTiffWriter.h121 * - BAD_VALUE - The given count doesn't match the required count for
132 * was constructed with. The count and type are validated.
137 * - BAD_VALUE - The given count doesn't match the required count for
144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd);
149 * with. The count and type are validated. If this succeeds, the resulting
155 * - BAD_VALUE - The given count doesn't match the required count for
161 status_t buildEntry(uint16_t tag, uint32_t count, cons
272 buildEntry(uint16_t tag, uint32_t count, const T* data, sp<TiffEntry>* outEntry) const argument
301 addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) argument
314 uncheckedBuildEntry(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data) argument
[all...]
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp96 size_t count = overallSize / infoSize; local
98 snprintf(buffer, SIZE, " Allocation count %i\n", count);
103 AllocEntry * entries = new AllocEntry[count];
105 for (size_t i = 0; i < count; i++) {
124 for (size_t i = 0; i < (count - 1); i++) {
150 for (size_t i = 0; i < count; i++) {
/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/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...]
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_ver_quarter.s39 count RN 2 label
153 ;// pack values to count register
159 MOV count, width
163 ADD count, count, tmp5, LSL #16
169 AND tmp4, count, #0x000F0000 ;// partHeight-1
170 AND tmp6, count, #0x00F00000 ;// partWidth-1
171 ADD count, count, tmp4, LSL #8 ;// partH-1 to lower part of top byte
177 ADD count, coun
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp102 uint32_t count; local
103 if (!getUInt32(count))
106 for (uint32_t i = 0; i < count; i++) {
118 uint32_t count; local
119 if (!getUInt32(count))
122 for (uint32_t i = 0; i < count; i++) {
134 uint32_t count; local
135 if (!getUInt32(count))
138 for (uint32_t i = 0; i < count; i++) {
150 uint32_t count; local
166 uint32_t count; local
182 uint32_t count; local
198 uint32_t count; local
214 uint32_t count; local
[all...]
H A DMtpProperty.cpp288 void MtpProperty::setFormEnum(const int* values, int count) { argument
291 mEnumValues = new MtpPropertyValue[count];
292 mEnumLength = count;
294 for (int i = 0; i < count; i++) {
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h70 int count; member in struct:android::BootAnimation::Animation::Part
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java153 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
154 if (mKeyEventCallback != null && mKeyEventCallback.onKeyMultiple(keyCode, count, event)) {
157 return super.onKeyMultiple(keyCode, count, event);

Completed in 392 milliseconds

1234567891011>>