diff options
author | Dave Burke <daveburke@google.com> | 2012-10-25 11:45:41 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-10-25 11:45:41 -0700 |
commit | 296cd1cb9ac7b7ea201662860347755d0349a7de (patch) | |
tree | 20d38562cd708de7153b39d95c44364a3859fd64 /include | |
parent | ef36f2a84cb8478b0baa299d980922ce7824c0b3 (diff) | |
parent | 04075569b565c949a6db8b4e8a9f10d281de4d9c (diff) | |
download | frameworks_native-296cd1cb9ac7b7ea201662860347755d0349a7de.zip frameworks_native-296cd1cb9ac7b7ea201662860347755d0349a7de.tar.gz frameworks_native-296cd1cb9ac7b7ea201662860347755d0349a7de.tar.bz2 |
am 04075569: Revert "Revert "put back the unused virtuals in Vector<>""
* commit '04075569b565c949a6db8b4e8a9f10d281de4d9c':
Revert "Revert "put back the unused virtuals in Vector<>""
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/VectorImpl.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/utils/VectorImpl.h b/include/utils/VectorImpl.h index b1224c6..c4ec2ff 100644 --- a/include/utils/VectorImpl.h +++ b/include/utils/VectorImpl.h @@ -104,6 +104,16 @@ protected: virtual void do_splat(void* dest, const void* item, size_t num) const = 0; virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0; virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0; + + // take care of FBC... + virtual void reservedVectorImpl1(); + virtual void reservedVectorImpl2(); + virtual void reservedVectorImpl3(); + virtual void reservedVectorImpl4(); + virtual void reservedVectorImpl5(); + virtual void reservedVectorImpl6(); + virtual void reservedVectorImpl7(); + virtual void reservedVectorImpl8(); private: void* _grow(size_t where, size_t amount); @@ -155,6 +165,16 @@ public: protected: virtual int do_compare(const void* lhs, const void* rhs) const = 0; + // take care of FBC... + virtual void reservedSortedVectorImpl1(); + virtual void reservedSortedVectorImpl2(); + virtual void reservedSortedVectorImpl3(); + virtual void reservedSortedVectorImpl4(); + virtual void reservedSortedVectorImpl5(); + virtual void reservedSortedVectorImpl6(); + virtual void reservedSortedVectorImpl7(); + virtual void reservedSortedVectorImpl8(); + private: ssize_t _indexOrderOf(const void* item, size_t* order = 0) const; |