Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 9 of 9) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp1277 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/
Dinputsource.cpp56 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/
DReadWriteDraftMessageActionTest.java365 int cnt = 0; in testBugleDatabaseDraftOperations() local
372 cnt++; in testBugleDatabaseDraftOperations()
374 assertEquals("Wrong number of parts", 2, cnt); in testBugleDatabaseDraftOperations()
411 cnt = 0; in testBugleDatabaseDraftOperations()
418 cnt++; in testBugleDatabaseDraftOperations()
420 assertEquals("Wrong number of parts", 2, cnt); in testBugleDatabaseDraftOperations()
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelPicker.java62 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/
DBrowseAdapter.java232 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/
DBluetoothMapContent.java2355 int cnt = 0; in msgListing() local
2491 int cnt = 0; in msgListingSize() local
2504 cnt = c.getCount(); in msgListingSize()
2520 cnt += c.getCount(); in msgListingSize()
2538 cnt += c.getCount(); in msgListingSize()
2558 cnt += c.getCount(); in msgListingSize()
2569 Log.d(TAG, "msgListingSize: size = " + cnt); in msgListingSize()
2571 return cnt; in msgListingSize()
2585 int cnt = 0; in msgListingHasUnread() local
2600 cnt = c.getCount(); in msgListingHasUnread()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java401 int cnt = canvas.save(); in onDraw() local
406 canvas.restoreToCount(cnt); in onDraw()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java917 final int cnt = resolver.update(uri, values, null, null); in updateSmsMessageSendingStatus() local
918 if (cnt == 1) { in updateSmsMessageSendingStatus()
1002 final int cnt = resolver.update(uri, values, null, null); in updateMmsMessageSendingStatus() local
1003 if (cnt == 1) { in updateMmsMessageSendingStatus()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleDatabaseOperations.java1230 final int cnt = dbWrapper.delete(DatabaseHelper.PARTS_TABLE, in deletePartsForMessage() local
1233 Assert.inRange(cnt, 0, Integer.MAX_VALUE); in deletePartsForMessage()