Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 14 of 14) sorted by relevance

/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarDatabaseHelperTest.java520 private static boolean compareCursors(Cursor c1, Cursor c2) { in compareCursors() argument
521 if(c1 == null || c2 == null) { in compareCursors()
522 Log.d("CDBT","c1 is " + c1 + " and c2 is " + c2); in compareCursors()
527 if (numColumns != c2.getColumnCount()) { in compareCursors()
528 Log.d("CDBT","c1 has " + numColumns + " columns and c2 has " + c2.getColumnCount()); in compareCursors()
532 if (c1.getCount() != c2.getCount()) { in compareCursors()
533 Log.d("CDBT","c1 has " + c1.getCount() + " rows and c2 has " + c2.getCount()); in compareCursors()
538 c2.moveToPosition(-1); in compareCursors()
539 while(c1.moveToNext() && c2.moveToNext()) { in compareCursors()
541 if(!TextUtils.equals(c1.getString(i),c2.getString(i))) { in compareCursors()
[all …]
/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp97 double c0,c1,c2,c3; in db_SolveQuartic() local
122 c2=c/a; in db_SolveQuartic()
128 c3c3through4_min_c2=c3*c3through4-c2; in db_SolveQuartic()
137 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); in db_SolveQuartic()
169 double c0,c1,c2,c3; in db_SolveQuarticForced() local
194 c2=c/a; in db_SolveQuarticForced()
200 c3c3through4_min_c2=c3*c3through4-c2; in db_SolveQuarticForced()
209 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); in db_SolveQuarticForced()
Ddb_image_homography.cpp44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) in db_SProjImagePointPointConstraints()
58 db_SProjImagePointPointConstraint(c2,2,0,1,xp,x); in db_SProjImagePointPointConstraints()
62 db_SProjImagePointPointConstraint(c2,2,1,0,xp,x); in db_SProjImagePointPointConstraints()
66 db_SProjImagePointPointConstraint(c2,1,2,0,xp,x); in db_SProjImagePointPointConstraints()
70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) in db_SAffineImagePointPointConstraints()
76 db_Copy6(c2,ct2); c2[6]=ct2[8]; in db_SAffineImagePointPointConstraints()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_poly.cpp97 double c0,c1,c2,c3; in db_SolveQuartic() local
122 c2=c/a; in db_SolveQuartic()
128 c3c3through4_min_c2=c3*c3through4-c2; in db_SolveQuartic()
137 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); in db_SolveQuartic()
169 double c0,c1,c2,c3; in db_SolveQuarticForced() local
194 c2=c/a; in db_SolveQuarticForced()
200 c3c3through4_min_c2=c3*c3through4-c2; in db_SolveQuarticForced()
209 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); in db_SolveQuarticForced()
Ddb_image_homography.cpp44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) in db_SProjImagePointPointConstraints()
58 db_SProjImagePointPointConstraint(c2,2,0,1,xp,x); in db_SProjImagePointPointConstraints()
62 db_SProjImagePointPointConstraint(c2,2,1,0,xp,x); in db_SProjImagePointPointConstraints()
66 db_SProjImagePointPointConstraint(c2,1,2,0,xp,x); in db_SProjImagePointPointConstraints()
70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) in db_SAffineImagePointPointConstraints()
76 db_Copy6(c2,ct2); c2[6]=ct2[8]; in db_SAffineImagePointPointConstraints()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DHex.java100 int c2 = hexString.charAt(j++); in decodeHex() local
101 if (c2 > 'f') { in decodeHex()
106 final byte d2 = DIGITS[c2]; in decodeHex()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java337 public static boolean compareCursors(Cursor c1, Cursor c2) { in compareCursors() argument
338 if (c1 == null || c2 == null) { in compareCursors()
343 if (numColumns != c2.getColumnCount()) { in compareCursors()
347 if (c1.getCount() != c2.getCount()) { in compareCursors()
352 c2.moveToPosition(-1); in compareCursors()
353 while (c1.moveToNext() && c2.moveToNext()) { in compareCursors()
355 if (!TextUtils.equals(c1.getString(i), c2.getString(i))) { in compareCursors()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityUnitTests.java444 final Cursor c2 = new CursorWrapper(c1); in testDumpCursor() local
447 final Cursor c3 = new CursorWrapper(c2) { in testDumpCursor()
451 assertFalse(TextUtils.isEmpty(Utility.dumpCursor(c2))); in testDumpCursor()
458 assertFalse(TextUtils.isEmpty(Utility.dumpCursor(c2))); in testDumpCursor()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c562 NJ_UINT8 c1 = 0, c2 = 0; in search_node() local
628 c2 = *(byomi + 1); in search_node()
629 c = (NJ_UINT16)((c1 << 8) | c2); in search_node()
633 c2 = 0x00; in search_node()
647 if (c2 == *(wkc + 1)) { in search_node()
651 if (c2 < *(wkc + 1)) { in search_node()
1993 NJ_UINT8 c1 = 0, c2 = 0; in search_yomi_node() local
2026 c2 = *(byomi + 1); in search_yomi_node()
2027 c = (NJ_UINT16)((c1 << 8) | c2); in search_yomi_node()
2031 c2 = 0x00; in search_yomi_node()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java473 public int compare(CharGroup c1, CharGroup c2) { in compare() argument
474 if (c1.mChars[0] == c2.mChars[0]) return 0; in compare()
475 return c1.mChars[0] < c2.mChars[0] ? -1 : 1; in compare()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java306 Cursor c2 = resolver.query(Account.CONTENT_URI, Account.ID_PROJECTION, in findExistingAccount() local
309 while (c2.moveToNext()) { in findExistingAccount()
310 long accountId = c2.getLong(Account.ID_PROJECTION_COLUMN); in findExistingAccount()
319 c2.close(); in findExistingAccount()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3515 Cursor c2 = null; in deleteMatchingColors() local
3523 c2 = mDb.query(Tables.CALENDARS, ID_ONLY_PROJECTION, in deleteMatchingColors()
3527 if (c2.getCount() != 0) { in deleteMatchingColors()
3529 + ". Referenced by " + c2.getCount() + " calendars."); in deleteMatchingColors()
3533 c2 = query(Events.CONTENT_URI, ID_ONLY_PROJECTION, SQL_WHERE_EVENT_COLOR, in deleteMatchingColors()
3535 if (c2.getCount() != 0) { in deleteMatchingColors()
3537 + ". Referenced by " + c2.getCount() + " events."); in deleteMatchingColors()
3542 if (c2 != null) { in deleteMatchingColors()
3543 c2.close(); in deleteMatchingColors()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1750 Cursor c2 = db.query("audio_meta", new String[] {"count(distinct _data)"}, in sanityCheck() local
1753 c2.moveToFirst(); in sanityCheck()
1755 int num2 = c2.getInt(0); in sanityCheck()
1757 c2.close(); in sanityCheck()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java4657 long c2 = id = createRawContact(mAccount, RawContacts.SOURCE_ID, "c2"); in testContentEntityIterator() local
4692 assertEquals(c2, (long) entity.getEntityValues().getAsLong(RawContacts._ID)); in testContentEntityIterator()