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

12345

/system/core/toolbox/
H A Dvmstat.c75 int toggle, count; local
117 count = 0;
126 if (count == 0)
128 count = (count + 1) % header_interval;
H A Dgetevent.c48 int count; local
57 count = 0;
66 count++;
70 if (!count)
87 int count = 0; local
162 if(count == 0)
164 else if((count & (print_flags & PRINT_LABELS ? 0x3 : 0x7)) == 0 || i == EV_ABS)
183 count++;
186 if(count)
392 int count local
[all...]
H A Diftop.c229 int count = 0, header_interval = 22, delay = 1, i; local
269 if (header_interval && count + nr > header_interval) {
271 count = 0;
273 count += print_interfaces(ifs[!toggle], ifs[toggle], nr);
H A Dwatchprops.c81 unsigned count = 0; local
/system/media/camera/tests/
H A Dcamera_metadata_tests_fake_vendor.h159 int count = 0; local
165 count += end - start;
167 return count;
/system/core/fastboot/
H A Dusb_linux.c314 unsigned count = 0; local
353 count += xfer;
358 return count;
364 unsigned count = 0; local
394 count += n;
403 return count;
H A Dengine.c236 ssize_t count = 0; local
247 while(count < size) {
248 ssize_t actually_read = read(fd, (char*)buffer+count, size-count);
262 count += actually_read;
413 static int match(char *str, const char **value, unsigned count) argument
419 for (n = 0; n < count; n++) {
442 unsigned count = a->size; local
461 yes = match(resp, value, count);
475 for (n = 1; n < count;
[all...]
H A Dusb_windows.c157 unsigned count = 0; local
179 count += written;
184 return count;
/system/core/fastbootd/
H A Dusb_linux_client.c217 size_t count = 0; local
221 ret = TEMP_FAILURE_RETRY(write(bulk_in, buf + count, length - count));
227 count += ret;
229 } while (count < length);
232 return count;
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp208 MOV(AL, 0, parts.count.reg,
209 reg_imm(parts.count.reg, ROR, GGL_DITHER_ORDER_SHIFT));
210 ADD(AL, 0, parts.count.reg, parts.count.reg,
212 MOV(AL, 0, parts.count.reg,
213 reg_imm(parts.count.reg, ROR, 32 - GGL_DITHER_ORDER_SHIFT));
265 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask));
324 SUB(AL, S, parts.count.reg, parts.count.reg, imm(1<<16));
341 SUB(AL, S, parts.count
[all...]
H A DCodeCache.cpp187 size_t count = mCacheData.size(); local
188 for (size_t i=0 ; i<count ; i++) {
/system/core/liblog/
H A Dlogd_write.c39 #define log_writev(filedes, vector, count) fakeLogWritev(filedes, vector, count)
43 #define log_writev(filedes, vector, count) writev(filedes, vector, count)
H A Dfake_log_device.c542 static ssize_t logWritev(int fd, const struct iovec* vector, int count) argument
563 if (count != 3) {
564 TRACE("%s: writevLog with count=%d not expected\n",
565 state->debugName, count);
643 static ssize_t (*redirectWritev)(int fd, const struct iovec* vector, int count)
681 ssize_t fakeLogWritev(int fd, const struct iovec* vector, int count) argument
684 return redirectWritev(fd, vector, count);
/system/core/libnetutils/
H A Dpacket.c65 static uint32_t checksum(void *buffer, unsigned int count, uint32_t startsum) argument
71 while (count > 1) {
73 count -= 2;
75 if (count > 0) {
/system/core/mkbootimg/
H A Dmkbootimg.c80 unsigned count; local
86 count = pagesize - (itemsize & pagemask);
88 if(write(fd, padding, count) != count) {
/system/extras/ksmutils/
H A Dksminfo.c46 uint64_t count; member in struct:ksm_page
279 rc = pm_kernel_count(ker, pagemap[j], &kp->pages[kp->len].count);
281 fprintf(stderr, "error reading page count\n");
359 printf(" (%llu reference", kp->pages[i].count);
360 if (kp->pages[i].count > 1) {
401 " -s Sort pages by usage count.\n"
413 return cmp ? cmp : pg_b->count - pg_a->count;
/system/extras/tests/ext4/
H A Dandroid_emmc_perf_tests.sh116 adb shell dd if=/dev/zero of=$CACHE bs=1048576 count=512
214 adb shell dd if="$CACHE" of=/dev/null bs=1048576 count=200
224 adb shell dd if=/dev/zero conv=notrunc of="$CACHE" bs=1048576 count=200
/system/extras/tests/memtest/
H A Dbandwidth.cpp97 if (values.count("size") > 0) {
144 if (values.count("num_warm_loops") > 0) {
147 if (values.count("num_loops") > 0) {
220 if (values->count("size") > 0 && ((*values)["size"].int_value % 64) != 0) {
224 if (values->count("type") == 0) {
338 if (values.count("num_threads") == 0) {
/system/core/libcutils/tests/memset_mips/
H A Dmemset_cmips.S88 beq v1,zero,.Laligned # v1 is the unalignment count
96 # t8 is the byte count past 64-byte chunks
180 .Lchk8w: # t8 here is the byte count past 64-byte chunks
183 # the t7 is the reminder count past 32-bytes
200 subu a3,a2,t8 # a3 is the count of bytes in 1w chunks
/system/core/libutils/
H A DVectorImpl.cpp170 const ssize_t count = size(); local
171 if (count > 1) {
175 while (i < count) {
272 ssize_t VectorImpl::removeItemsAt(size_t index, size_t count) argument
274 ALOG_ASSERT((index+count)<=size(),
275 "[%p] remove: index=%d, count=%d, size=%d",
276 this, (int)index, (int)count, (int)size());
278 if ((index+count) > size())
280 _shrink(index, count);
299 "[%p] editItemLocation: index=%d, capacity=%d, count
[all...]
/system/media/camera/include/system/
H A Dcamera_metadata.h77 * modified in-place if the count does not need to change. The count is the
78 * number of entries in data of the entry's type, not a count of bytes.
84 size_t count; member in struct:camera_metadata_entry
103 size_t count; member in struct:camera_metadata_ro_entry
133 * an integer tag to identify its meaning, 'type' and 'count' field, and the
134 * data, which contains a 'count' number of entries of type 'type'. The packet
237 * Get the current count of bytes used for value storage in the metadata packet.
243 * Get the maximum count of bytes that could be used for value storage in the
316 * entries in the data array of the tag's type, not a count o
[all...]
/system/core/healthd/
H A DBatteryMonitor.cpp106 ssize_t count = TEMP_FAILURE_RETRY(read(fd, buf, size)); local
107 if (count > 0)
108 cp = (char *)memrchr(buf, '\n', count);
116 return count;
/system/core/include/utils/
H A DBitSet.h43 inline uint32_t count() const { return __builtin_popcount(value); } function in struct:android::BitSet32
/system/core/init/
H A Dkeychords.c54 keychord->count = svc->nkeycodes;
/system/core/debuggerd/
H A Dgetevent.c82 int count = nfds - i - 1; local
84 memmove(device_names + i, device_names + i + 1, sizeof(device_names[0]) * count);
85 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);

Completed in 2048 milliseconds

12345