Searched refs:DecodeInt (Results 1 - 4 of 4) sorted by path

/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_backing_store.cc217 if (DecodeInt(&slice, found_int) && slice.empty())
1182 if (!DecodeInt(&valueSlice, &database_id) || !valueSlice.empty()) {
1615 if (!DecodeInt(&slice, &max_index_id) || !slice.empty())
1656 if (!DecodeInt(&slice, &key_generator_current_number) || !slice.empty())
2082 if (!DecodeInt(&slice, key_generator_current_number) || !slice.empty()) {
2897 if (!DecodeInt(&slice, &decoded) || !slice.empty())
H A Dindexed_db_leveldb_coding.cc408 bool DecodeInt(StringPiece* slice, int64* value) { function in namespace:content
1208 if (!DecodeInt(&tmp, &result->database_id_))
1214 if (!DecodeInt(&tmp, &result->object_store_id_))
1220 if (!DecodeInt(&tmp, &result->index_id_))
H A Dindexed_db_leveldb_coding.h52 CONTENT_EXPORT WARN_UNUSED_RESULT bool DecodeInt(base::StringPiece* slice,
H A Dindexed_db_leveldb_coding_unittest.cc215 TEST(IndexedDBLevelDBCodingTest, DecodeInt) {
235 EXPECT_TRUE(DecodeInt(&slice, &value));
242 EXPECT_TRUE(DecodeInt(&slice, &value));
249 EXPECT_FALSE(DecodeInt(&slice, &value));

Completed in 998 milliseconds