Searched refs:cnt (Results 1 – 10 of 10) sorted by relevance
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 1277 sint32 cnt = 0; in RLEEncodeImage() local 1281 cnt = 1; in RLEEncodeImage() 1284 while (*imgPtr == c && cnt < inLength) { in RLEEncodeImage() 1288 cnt++; in RLEEncodeImage() 1292 if (cnt > 1) { in RLEEncodeImage() 1298 while (cnt > 128) { in RLEEncodeImage() 1301 cnt -= 128; in RLEEncodeImage() 1304 if (cnt) { in RLEEncodeImage() 1305 *out++ = (257 - cnt); // i.e. cnt==2: 257-255=2 in RLEEncodeImage() 1319 for (cnt = 1, p = start; *p != *imgPtr; p++, imgPtr++, cnt++) { in RLEEncodeImage() [all …]
|
/packages/services/Car/tools/keventreader/server/ |
D | inputsource.cpp | 56 auto cnt = ::read(mDescriptor, &evt, sizeof(evt)); in read() local 59 if (cnt < static_cast<decltype(cnt)>(sizeof(evt))) { in read()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 366 int cnt = 0; in testBugleDatabaseDraftOperations() local 373 cnt++; in testBugleDatabaseDraftOperations() 375 assertEquals("Wrong number of parts", 2, cnt); in testBugleDatabaseDraftOperations() 412 cnt = 0; in testBugleDatabaseDraftOperations() 419 cnt++; in testBugleDatabaseDraftOperations() 421 assertEquals("Wrong number of parts", 2, cnt); in testBugleDatabaseDraftOperations()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelPicker.java | 62 int cnt = -1; in onCreate() local 70 cnt += 1; in onCreate() 75 defpanelidx = cnt; in onCreate()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | BrowseAdapter.java | 232 int cnt = mPrograms.size(); in getItemCount() local 233 if (cnt == 0 && mCurrentProgram != null) return 1; in getItemCount() 234 return cnt; in getItemCount()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 2360 int cnt = 0; in msgListing() local 2497 int cnt = 0; in msgListingSize() local 2510 cnt = c.getCount(); in msgListingSize() 2526 cnt += c.getCount(); in msgListingSize() 2544 cnt += c.getCount(); in msgListingSize() 2564 cnt += c.getCount(); in msgListingSize() 2575 Log.d(TAG, "msgListingSize: size = " + cnt); in msgListingSize() 2577 return cnt; in msgListingSize() 2591 int cnt = 0; in msgListingHasUnread() local 2606 cnt = c.getCount(); in msgListingHasUnread() [all …]
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | Pop3Service.java | 178 int cnt = unsyncedMessages.size(); in loadUnsyncedMessages() local 180 for (int i = 0; i < cnt; i++) { in loadUnsyncedMessages()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 401 int cnt = canvas.save(); in onDraw() local 406 canvas.restoreToCount(cnt); in onDraw()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 912 final int cnt = resolver.update(uri, values, null, null); in updateSmsMessageSendingStatus() local 913 if (cnt == 1) { in updateSmsMessageSendingStatus() 996 final int cnt = resolver.update(uri, values, null, null); in updateMmsMessageSendingStatus() local 997 if (cnt == 1) { in updateMmsMessageSendingStatus()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 1230 final int cnt = dbWrapper.delete(DatabaseHelper.PARTS_TABLE, in deletePartsForMessage() local 1233 Assert.inRange(cnt, 0, Integer.MAX_VALUE); in deletePartsForMessage()
|