Home
last modified time | relevance | path

Searched refs:FirstSameMode (Results 1 – 12 of 12) sorted by relevance

/external/open-vcdiff/src/
Daddrcache.h78 unsigned char FirstSameMode() const { in FirstSameMode() function
86 return FirstSameMode() + same_cache_size() - 1; in LastMode()
106 return (mode >= FirstNearMode()) && (mode < FirstSameMode()); in IsNearMode()
110 return (mode >= FirstSameMode()) && (mode <= LastMode()); in IsSameMode()
129 return SameAddress(((mode - FirstSameMode()) * 256) + encoded_address); in DecodeSameAddress()
Dvcdiffengine_test.cc828 if (copy_mode == default_cache_.FirstSameMode()) { in UpdateCopyModeForMoonpie()
829 return default_cache_.FirstSameMode() in UpdateCopyModeForMoonpie()
879 CopyBoilerplateAndAddMoonpie(default_cache_.FirstSameMode()); in TEST_F()
902 CopyBoilerplateAndAddMoonpie(default_cache_.FirstSameMode()); in TEST_F()
907 default_cache_.FirstSameMode()); in TEST_F()
913 default_cache_.FirstSameMode()); in TEST_F()
Daddrcache.cc179 return FirstSameMode() + (same_cache_pos / 256); // SAME mode in EncodeAddress()
Daddrcache_test.cc260 TestEncode(0x10000004, 0x10000040, cache_.FirstSameMode() + 0x01, 1); in TEST_F()
300 cache_.FirstSameMode() + (0xCA % 3), in TEST_F()
/external/chromium/sdch/open-vcdiff/src/
Daddrcache.h78 unsigned char FirstSameMode() const { in FirstSameMode() function
86 return FirstSameMode() + same_cache_size() - 1; in LastMode()
106 return (mode >= FirstNearMode()) && (mode < FirstSameMode()); in IsNearMode()
110 return (mode >= FirstSameMode()) && (mode <= LastMode()); in IsSameMode()
129 return SameAddress(((mode - FirstSameMode()) * 256) + encoded_address); in DecodeSameAddress()
Dvcdiffengine_test.cc852 if (copy_mode == default_cache_.FirstSameMode()) { in UpdateCopyModeForMoonpie()
853 return default_cache_.FirstSameMode() in UpdateCopyModeForMoonpie()
903 CopyBoilerplateAndAddMoonpie(default_cache_.FirstSameMode()); in TEST_F()
926 CopyBoilerplateAndAddMoonpie(default_cache_.FirstSameMode()); in TEST_F()
931 default_cache_.FirstSameMode()); in TEST_F()
937 default_cache_.FirstSameMode()); in TEST_F()
Daddrcache.cc179 return FirstSameMode() + (same_cache_pos / 256); // SAME mode in EncodeAddress()
Daddrcache_test.cc260 TestEncode(0x10000004, 0x10000040, cache_.FirstSameMode() + 0x01, 1); in TEST_F()
300 cache_.FirstSameMode() + (0xCA % 3), in TEST_F()
/external/chromium_org/sdch/open-vcdiff/src/
Daddrcache.h78 unsigned char FirstSameMode() const { in FirstSameMode() function
86 return FirstSameMode() + same_cache_size() - 1; in LastMode()
106 return (mode >= FirstNearMode()) && (mode < FirstSameMode()); in IsNearMode()
110 return (mode >= FirstSameMode()) && (mode <= LastMode()); in IsSameMode()
129 return SameAddress(((mode - FirstSameMode()) * 256) + encoded_address); in DecodeSameAddress()
Dvcdiffengine_test.cc828 if (copy_mode == default_cache_.FirstSameMode()) { in UpdateCopyModeForMoonpie()
829 return default_cache_.FirstSameMode() in UpdateCopyModeForMoonpie()
879 CopyBoilerplateAndAddMoonpie(default_cache_.FirstSameMode()); in TEST_F()
902 CopyBoilerplateAndAddMoonpie(default_cache_.FirstSameMode()); in TEST_F()
907 default_cache_.FirstSameMode()); in TEST_F()
913 default_cache_.FirstSameMode()); in TEST_F()
Daddrcache.cc179 return FirstSameMode() + (same_cache_pos / 256); // SAME mode in EncodeAddress()
Daddrcache_test.cc260 TestEncode(0x10000004, 0x10000040, cache_.FirstSameMode() + 0x01, 1); in TEST_F()
300 cache_.FirstSameMode() + (0xCA % 3), in TEST_F()