Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/icu/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.cpp242 s = fmt->format(value.getLong(), s); in test()
257 s2 = fmt->format(n.getLong(), s2); in test()
292 … escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) in test()
306 aa = a.getLong(); in proportionalError()
311 bb = b.getLong(); in proportionalError()
Dtsnmfmt.cpp310 number[i].setDouble(number[i].getLong()); in tryIt()
318 + ", longValue=" + number[i].getLong()); in tryIt()
387 + ", longValue=" + number.getLong() in tryIt()
391 if (number.getLong() != aNumber) { in tryIt()
392 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed. Got:" + number.getLong() in tryIt()
/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.cpp242 s = fmt->format(value.getLong(), s); in test()
257 s2 = fmt->format(n.getLong(), s2); in test()
292 … escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) in test()
306 aa = a.getLong(); in proportionalError()
311 bb = b.getLong(); in proportionalError()
Dtsnmfmt.cpp310 number[i].setDouble(number[i].getLong()); in tryIt()
318 + ", longValue=" + number[i].getLong()); in tryIt()
387 + ", longValue=" + number.getLong() in tryIt()
391 if (number.getLong() != aNumber) { in tryIt()
392 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed. Got:" + number.getLong() in tryIt()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
DProviderBookmarksUriTest.java82 assertEquals(createdTime, cursor.getLong(index)); in testAddBookmark()
85 assertEquals(lastUpdateTime, cursor.getLong(index)); in testAddBookmark()
134 assertEquals(createdTime[0], cursor.getLong(index)); in testQueryBookmark()
137 assertEquals(lastUpdateTime[0], cursor.getLong(index)); in testQueryBookmark()
162 assertEquals(createdTime[1], cursor.getLong(index)); in testQueryBookmark()
165 assertEquals(lastUpdateTime[1], cursor.getLong(index)); in testQueryBookmark()
217 assertEquals(createdTime[0], cursor.getLong(index)); in testUpdateBookmark()
220 assertEquals(lastUpdateTime[1], cursor.getLong(index)); in testUpdateBookmark()
325 assertEquals(createDate, cursor.getLong(dataIndex)); in testBookmarksTable()
326 assertEquals(createDate, cursor.getLong(createdIndex)); in testBookmarksTable()
[all …]
DProviderSearchesUriTest.java67 assertEquals(searchTime, cursor.getLong(index)); in testAddSearchTerm()
100 assertEquals(searchTime[1], cursor.getLong(index)); in testUpdateSearchTerm()
133 assertEquals(searchTime[1], cursor.getLong(index)); in testDeleteSearchTerm()
166 cursor.getLong(Browser.SEARCHES_PROJECTION_DATE_INDEX)); in testSearchesTable()
185 cursor.getLong(Browser.SEARCHES_PROJECTION_DATE_INDEX)); in testSearchesTable()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dfmtable.h317 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } in getLong() function
335 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/icu/icu4c/source/i18n/unicode/
Dfmtable.h317 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } in getLong() function
335 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/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()
/external/robolectric/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/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DChromeBrowserProviderSuggestionsCursor.java80 long lastAccess = mCursor.getLong( in getString()
94 public long getLong(int c) { in getLong() method in ChromeBrowserProviderSuggestionsCursor
98 long lastAccess = mCursor.getLong( in getLong()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DUUIDConverter.java46 return new UUID(b.getLong(), b.getLong()); in convert()
/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.java116 if (f.getLong(this) != g.getLong(that)) in equals()
206 if (f.getLong(this) != g.getLong(that)) in match()
317 long longField = f.getLong(this); in debugDump()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorState.cpp85 long InspectorState::getLong(const String& propertyName) in getLong() function in blink::InspectorState
87 return getLong(propertyName, 0); in getLong()
91 long InspectorState::getLong(const String& propertyName, long defaultValue) in getLong() function in blink::InspectorState
DInspectorState.h62 long getLong(const String& propertyName);
63 long getLong(const String& propertyName, long defaultValue);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteStatement.java40 return resultSet.getLong(1); in executeInsert()
55 return rs.getLong(1); in simpleQueryForLong()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtension.java517 output.writeFixed64NoTag(Array.getLong(array, i)); in writeRepeatedData()
522 output.writeSFixed64NoTag(Array.getLong(array, i)); in writeRepeatedData()
547 output.writeInt64NoTag(Array.getLong(array, i)); in writeRepeatedData()
552 output.writeSInt64NoTag(Array.getLong(array, i)); in writeRepeatedData()
557 output.writeUInt64NoTag(Array.getLong(array, i)); in writeRepeatedData()
618 Array.getLong(array, i)); in computePackedDataSize()
624 Array.getLong(array, i)); in computePackedDataSize()
630 Array.getLong(array, i)); in computePackedDataSize()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DAbstractTrackEncryptionBox.java43 return new UUID(b.getLong(), b.getLong()).toString(); in getDefault_KID()
/external/smack/src/org/xbill/DNS/
DTokenizer.java406 getLong() throws IOException { in getLong() method in Tokenizer
427 long l = getLong(); in getUInt32()
443 long l = getLong(); in getUInt16()
459 long l = getLong(); in getUInt8()
/external/robolectric/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/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()

12345