Home
last modified time | relevance | path

Searched refs:getLong (Results 1 – 25 of 152) sorted by relevance

1234567

/external/icu/icu4c/source/test/intltest/
Dtfsmalls.cpp168 if (!ftp || !(ftp->getType() == Formattable::kLong) || !(ftp->getLong() == 0)) { in test_Formattable()
178 fta.getLong(&status); in test_Formattable()
220 fta.getLong(&status); in test_Formattable()
263 && (ft_arr[2].getType() == Formattable::kLong) && (ft_arr[2].getLong() == (int32_t)3) in test_Formattable()
323 if ((ft_arr[0].getType() == Formattable::kLong) && (ft_arr[0].getLong() == (int32_t)1)) { in test_Formattable()
333 if ((ft_dynarr[0].getType() == Formattable::kLong) && (ft_dynarr[0].getLong() == (int32_t)3) in test_Formattable()
334 && (ft_dynarr[1].getType() == Formattable::kLong) && (ft_dynarr[1].getLong() == (int32_t)4)) { in test_Formattable()
341 if ((ft_arr[0].getType() == Formattable::kLong) && (ft_arr[0].getLong() == (int32_t)3) in test_Formattable()
342 && (ft_arr[1].getType() == Formattable::kLong) && (ft_arr[1].getLong() == (int32_t)4)) { in test_Formattable()
Dnmfmtrt.cpp244 s = fmt->format(value.getLong(), s); in test()
259 s2 = fmt->format(n.getLong(), s2); in test()
294 … escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) in test()
308 aa = a.getLong(); in proportionalError()
313 bb = b.getLong(); in proportionalError()
Dtsnmfmt.cpp312 number[i].setDouble(number[i].getLong()); in tryIt()
320 + ", longValue=" + number[i].getLong()); in tryIt()
389 + ", longValue=" + number.getLong() in tryIt()
393 if (number.getLong() != aNumber) { in tryIt()
394 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed. Got:" + number.getLong() in tryIt()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLongArrayListTest.java124 assertEquals(1, TERTIARY_LIST.getLong(0)); in testGetLong()
125 assertEquals(2, TERTIARY_LIST.getLong(1)); in testGetLong()
126 assertEquals(3, TERTIARY_LIST.getLong(2)); in testGetLong()
166 assertEquals(0, list.getLong(0)); in testSet()
169 assertEquals(0, list.getLong(1)); in testSet()
191 assertEquals(0, list.getLong(0)); in testSetLong()
194 assertEquals(0, list.getLong(1)); in testSetLong()
258 assertEquals(1, list.getLong(0)); in testAddAll()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMatrixCursorTest.java40 assertThat(cursor.getLong(1), equalTo(10L)); in shouldAddRows()
46 assertThat(cursor.getLong(1), equalTo(20L)); in shouldAddRows()
88 assertThat(cursor.getLong(0), equalTo(42L)); in shouldAllowTypeFlexibility()
95 assertThat(cursor.getLong(1), equalTo(3L)); in shouldAllowTypeFlexibility()
140 assertThat(singleColumnSingleNullValueMatrixCursor.getLong(0), is(equalTo(0L))); in returnsZeroWhenGettingLongFromNullColumn()
DSettingsTest.java77 assertThat(Settings.System.getLong(contentResolver, "property", 10L), equalTo(10L)); in testSystemGetLong()
79 assertThat(Settings.System.getLong(contentResolver, "property"), equalTo(42L)); in testSystemGetLong()
80 assertThat(Settings.System.getLong(contentResolver, "property", 10L), equalTo(42L)); in testSystemGetLong()
92 Settings.System.getLong(contentResolver, "property"); in testSystemGetLong_exception()
DBundleTest.java55 assertEquals(5, bundle.getLong("foo")); in testLong()
56 assertEquals(0,bundle.getLong("bar")); in testLong()
57 assertEquals(7, bundle.getLong("bar", 7)); in testLong()
212 assertEquals(0, bundle.getLong("foo")); in testGetOfWrongType()
/external/icu/icu4c/source/i18n/unicode/
Dfmtable.h319 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } in getLong() function
337 int32_t getLong(UErrorCode& status) const;
644 inline int32_t getLong(UErrorCode* status) const;
736 inline int32_t Formattable::getLong(UErrorCode* status) const { in getLong() function
737 return getLong(*status); in getLong()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/content/
DTestSharedPreferencesTest.java48 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(3l)); in commit_shouldStoreValues()
76 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(3l)); in commit_shouldRemoveValuesThenSetValues()
97 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(3l)); in commit_shouldClearThenSetValues()
119 assertThat(anotherSharedPreferences.getLong("long", 666l), equalTo(666l)); in shouldReturnDefaultValues()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DUUIDConverter.java46 return new UUID(b.getLong(), b.getLong()); in convert()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DSharedPrefUtil.java57 contactModifySyncTime = pref.getLong(CONTACT_CHANGED_PREF_KEY, time); in getLastContactChangedTimestamp()
71 profileModifySyncTime = pref.getLong(CONTACT_PROFILE_CHANGED_PREF_KEY, time); in getLastProfileContactChangedTimestamp()
85 contactDeleteSyncTime = pref.getLong(CONTACT_DELETE_PREF_KEY, time); in getLastContactDeletedTimestamp()
DEABService.java469 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges()
471 Long contactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges()
473 Long rawContactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForContactNumberChanges()
498 long timestamp = cursor.getLong(cursor in checkForContactNumberChanges()
657 Long eabDataId = Long.valueOf(eabDbCursor.getLong(eabDbCursor in checkForPhoneNumberDelete()
675 Long contactDataId = Long.valueOf(contactDbCursor.getLong( in checkForPhoneNumberDelete()
733 Long contactId = Long.valueOf(cursor.getLong(cursor in checkForDeletedContact()
741 long timestamp = cursor.getLong(cursor in checkForDeletedContact()
792 contactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForProfileNumberChanges()
794 rawContactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( in checkForProfileNumberChanges()
[all …]
DEABProvider.java451 cursor.getLong(cursor.getColumnIndex( in verifyIfMdnExists()
457 cursor.getLong(cursor.getColumnIndex( in verifyIfMdnExists()
466 cursor.getLong(cursor.getColumnIndex( in verifyIfMdnExists()
472 cursor.getLong(cursor.getColumnIndex( in verifyIfMdnExists()
498 long dataId = cursor.getLong(cursor.getColumnIndex( in printDeletingValues()
500 long contactId = cursor.getLong(cursor.getColumnIndex( in printDeletingValues()
502 long rawContactId = cursor.getLong(cursor.getColumnIndex( in printDeletingValues()
DCapabilityPolling.java499 long id = cursor.getLong(cursor.getColumnIndex(Contacts.Impl._ID)); in doCapabilityDiscovery()
500 long last = cursor.getLong(cursor.getColumnIndex( in doCapabilityDiscovery()
509 item.setVolteTimestamp(cursor.getLong( in doCapabilityDiscovery()
511 item.setVideoTimestamp(cursor.getLong( in doCapabilityDiscovery()
600 long id = cursor.getLong(cursor.getColumnIndex(Contacts.Impl._ID)); in updateObsoleteItems()
603 item.setLastUpdateTime(cursor.getLong( in updateObsoleteItems()
609 item.setVolteTimestamp(cursor.getLong( in updateObsoleteItems()
611 item.setVideoTimestamp(cursor.getLong( in updateObsoleteItems()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPObject.java122 if (f.getLong(this) != g.getLong(that)) in equals()
212 if (f.getLong(this) != g.getLong(that)) in match()
328 long longField = f.getLong(this); in debugDump()
/external/nist-sip/java/gov/nist/javax/sip/address/
DNetObject.java120 if (f.getLong(this) != g.getLong(that)) in equals()
210 if (f.getLong(this) != g.getLong(that)) in match()
321 long longField = f.getLong(this); in debugDump()
/external/guava/guava/src/com/google/common/hash/
DMurmur3_128HashFunction.java94 long k1 = bb.getLong(); in process()
95 long k2 = bb.getLong(); in process()
134 k1 ^= bb.getLong(); in processRemaining()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java501 output.writeFixed64NoTag(Array.getLong(array, i)); in writeRepeatedData()
506 output.writeSFixed64NoTag(Array.getLong(array, i)); in writeRepeatedData()
531 output.writeInt64NoTag(Array.getLong(array, i)); in writeRepeatedData()
536 output.writeSInt64NoTag(Array.getLong(array, i)); in writeRepeatedData()
541 output.writeUInt64NoTag(Array.getLong(array, i)); in writeRepeatedData()
602 Array.getLong(array, i)); in computePackedDataSize()
608 Array.getLong(array, i)); in computePackedDataSize()
614 Array.getLong(array, i)); in computePackedDataSize()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteStatement.java40 return resultSet.getLong(1); in executeInsert()
55 return rs.getLong(1); in simpleQueryForLong()
DShadowCursorWrapper.java129 public long getLong(int i) { in getLong() method in ShadowCursorWrapper
130 return wrappedCursor.getLong(i); in getLong()
DShadowSettings.java70 public static long getLong(ContentResolver cr, String name, long def) { in getLong() method in ShadowSettings.SettingsImpl
79 …public static long getLong(ContentResolver cr, String name) throws Settings.SettingNotFoundExcepti… in getLong() method in ShadowSettings.SettingsImpl
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DAbstractTrackEncryptionBox.java43 return new UUID(b.getLong(), b.getLong()).toString(); in getDefault_KID()
/external/nist-sip/java/gov/nist/core/
DGenericObject.java253 long longField = f.getLong(mergeObject); in merge()
447 if (f.getLong(this) != g.getLong(that)) in equals()
532 if (f.getLong(this) != g.getLong(that)) in match()
631 long longField = f.getLong(this); in debugDump()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/android/database/
DSimpleTestCursorTest.java52 assertThat(cursor.getLong(cursor.getColumnIndex("longColumn")), equalTo(1234L)); in canGetStringsAndLongs()
61 assertThat(cursor.getLong(cursor.getColumnIndex("longColumn")), equalTo(5678L)); in moveToNextAdvancesToNextRow()
/external/icu/icu4c/source/i18n/
Dfmtable.cpp397 Formattable::getLong(UErrorCode& status) const in getLong() function in Formattable
434 getNumber().getLong(status); in getLong()
734 fDecimalNum->set(this->getLong()); in internalGetCharString()
788 fValue.fInt64 = fDecimalNum->getLong(); in adoptDigitList()
872 stream << obj.getLong() << 'L';
961 return obj->getLong(*status); in ufmt_getLong()

1234567