Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/src/com/android/exchange/
DMailboxAlarmReceiver.java32 long mid = intent.getLongExtra("mailbox", -1); in onReceive() local
34 SyncManager.INSTANCE.log("Alarm received for: " + SyncManager.alarmOwner(mid)); in onReceive()
36 SyncManager.ping(context, mid); in onReceive()
DSyncManager.java920 for (Long mid : INSTANCE.mServiceMap.keySet()) { in stopAccountSyncs()
921 Mailbox box = Mailbox.restoreMailboxWithId(INSTANCE, mid); in stopAccountSyncs()
926 AbstractSyncService svc = INSTANCE.mServiceMap.get(mid); in stopAccountSyncs()
932 AbstractSyncService svc = INSTANCE.mServiceMap.get(mid); in stopAccountSyncs()
940 deletedBoxes.add(mid); in stopAccountSyncs()
944 for (Long mid : deletedBoxes) { in stopAccountSyncs()
945 releaseMailbox(mid); in stopAccountSyncs()
1519 long mid = c.getLong(Mailbox.CONTENT_ID_COLUMN); in checkMailboxes() local
1520 AbstractSyncService service = mServiceMap.get(mid); in checkMailboxes()
1523 SyncError syncError = mSyncErrorMap.get(mid); in checkMailboxes()
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndldic.c1199 NJ_UINT16 right, mid = 0, left, max; in search_range_by_yomi() local
1237 mid = left + ((right - left) / 2); in search_range_by_yomi()
1238 p = ptr + (mid * NJ_INDEX_SIZE); in search_range_by_yomi()
1268 printf(" [%d][%d][%d]COMPARE:[%s] = %d\n", left, mid, right, str, ret); in search_range_by_yomi()
1276 right = mid - 1; in search_range_by_yomi()
1277 if (mid == 0) { in search_range_by_yomi()
1282 left = mid + 1; in search_range_by_yomi()
1290 if (mid == 0) { in search_range_by_yomi()
1291 *from = mid; in search_range_by_yomi()
1294 p = ((mid - 1) * NJ_INDEX_SIZE) + ptr; in search_range_by_yomi()
[all …]
Dndbdic.c559 NJ_INT16 left, right, mid; in search_node() local
643 mid = (left + right) >> 1; in search_node()
644 wkc = ytbl_top + (mid << 1); in search_node()
648 idx = (NJ_UINT16)(mid + 1); in search_node()
652 right = mid - 1; in search_node()
654 left = mid + 1; in search_node()
657 right = mid - 1; in search_node()
659 left = mid + 1; in search_node()
664 mid = (left + right) >> 1; in search_node()
665 wkc = ytbl_top + (mid * y); in search_node()
[all …]
/packages/inputmethods/PinyinIME/jni/share/
Dngram.cpp53 int mid = (start + end) / 2; in qsearch_nearest() local
55 if (code_book[mid] > freq) in qsearch_nearest()
56 return qsearch_nearest(code_book, freq, start, mid); in qsearch_nearest()
58 return qsearch_nearest(code_book, freq, mid, end); in qsearch_nearest()