Searched refs:cnt (Results 1 - 15 of 15) sorted by relevance

/system/core/toolbox/
H A Ddd.c258 u_int cnt;
262 for (cnt = 0; cnt < 0377; ++cnt)
263 casetab[cnt] = tolower(ctab[cnt]);
265 for (cnt = 0; cnt < 0377; ++cnt)
266 casetab[cnt]
492 int64_t cnt, n, nw; local
627 int bcnt, cnt, nr, warned; local
694 int cnt, n; local
770 uint64_t cnt; local
827 uint64_t cnt, maxlen; local
938 uint64_t cnt; local
972 uint64_t cnt; local
[all...]
/system/core/libdiskconfig/
H A Dconfig_mbr.c219 int cnt = 0; local
225 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) {
226 pinfo = &dinfo->part_lst[cnt];
229 if (cnt == (PC_NUM_BOOT_RECORD_PARTS - 1)) {
230 if (cnt + 1 < dinfo->num_parts) {
233 if ((temp_wr = mk_pri_pentry(dinfo, NULL, cnt, &cur_lba)))
252 temp_wr = mk_pri_pentry(dinfo, pinfo, cnt, &cur_lba);
255 pnext = cnt
[all...]
H A Ddiskconfig.c277 int cnt; local
348 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) {
349 struct part_info *part = &dinfo->part_lst[cnt];
357 if (cnt + 1 != dinfo->num_parts) {
462 int cnt; local
485 for (cnt = 0; cnt < dinfo->num_parts; ++cnt) {
507 int cnt; local
[all...]
/system/core/libcutils/
H A Dandroid_reboot.c81 int fd, cnt = 0; local
95 while (!remount_ro_done() && (cnt < 50)) {
97 cnt++;
H A Dqtaguid.c147 int fd, cnt = 0, res = 0; local
157 ALOGI("Deleteing tag data with tag %llx/%d for uid %d failed with cnt=%d errno=%d",
158 kTag, tag, uid, cnt, errno);
/system/core/fs_mgr/
H A Dfs_mgr.c172 int cnt = 0; local
181 while (cnt < (size - 1)) {
188 *(buf + cnt) = c;
189 cnt++;
198 *(buf + cnt) = '\0';
201 if (cnt) {
227 int cnt, entries; local
270 cnt = 0;
291 if (cnt >= entries) {
300 fstab[cnt]
[all...]
/system/extras/tests/bionic/libc/bionic/
H A Dtest_cond.c53 int cnt = 2; local
54 while(cnt--) {
/system/core/charger/
H A Dcharger.c219 int cnt = min(len, MAX_KLOG_WRITE_BUF_SZ); local
223 nl = memrchr(ptr, '\n', cnt - 1);
225 cnt = nl - ptr + 1;
227 yoink = ptr[cnt];
228 ptr[cnt] = '\0';
230 ptr[cnt] = yoink;
232 len -= cnt;
233 ptr += cnt;
247 size_t cnt; local
253 cnt
[all...]
/system/core/libmincrypt/
H A Dsha.c172 uint64_t cnt = ctx->count * 8; local
180 uint8_t tmp = cnt >> ((7 - i) * 8);
261 uint64_t cnt = ctx->count * 8; local
269 uint8_t tmp = cnt >> ((7 - i) * 8);
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp260 for (int cnt = 0; cnt < max_tags; cnt++ ) {
261 uint64_t tag = valid_tag2 + ((uint64_t)cnt << 32);
/system/vold/
H A Dcryptfs.c147 unsigned int nr_sec, cnt; local
189 if ((cnt = write(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) {
201 if ( (cnt = write(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) {
218 if ( (cnt = write(fd, salt, SALT_LEN)) != SALT_LEN) {
246 unsigned int nr_sec, cnt; local
295 if ( (cnt = read(fd, crypt_ftr, sizeof(struct crypt_mnt_ftr))) != sizeof(struct crypt_mnt_ftr)) {
332 if ( (cnt = read(fd, key, crypt_ftr->keysize)) != crypt_ftr->keysize) {
342 if ( (cnt = read(fd, salt, SALT_LEN)) != SALT_LEN) {
/system/core/adb/
H A Dusb_libusb.c586 ssize_t cnt = libusb_get_device_list(ctx, &devs); local
588 if (cnt < 0) {
590 cnt);
/system/core/init/
H A Dinit_parser.c173 static int push_chars(char **dst, int *len, const char *chars, int cnt) argument
175 if (cnt > *len)
178 memcpy(*dst, chars, cnt);
179 *dst += cnt;
180 *len -= cnt;
187 int cnt = 0; local
H A Dinit.c630 int cnt; local
632 cnt = snprintf(prop, sizeof(prop), "ro.boot.%s", boot_prop_name);
633 if (cnt < PROP_NAME_MAX)
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h2435 uint32_t cnt; member in struct:hci_conn_info

Completed in 244 milliseconds