summaryrefslogtreecommitdiffstats
path: root/libpixelflinger/tinyutils
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-20 11:54:09 +0100
committerSteve Block <steveblock@google.com>2011-10-26 09:59:23 +0100
commit69f4cd7f5add7a7c7f5915e5292aab7eb2a42e9f (patch)
tree08dc2a948f5e066639f1fab58080e7c6769de815 /libpixelflinger/tinyutils
parent55bcd2dd8b6f0a705cea1bddaf4cf92fcaeaef0d (diff)
downloadsystem_core-69f4cd7f5add7a7c7f5915e5292aab7eb2a42e9f.zip
system_core-69f4cd7f5add7a7c7f5915e5292aab7eb2a42e9f.tar.gz
system_core-69f4cd7f5add7a7c7f5915e5292aab7eb2a42e9f.tar.bz2
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE
Bug: 5449033 Change-Id: Ib453f869977a6e909095a578bbf0420851f887d2
Diffstat (limited to 'libpixelflinger/tinyutils')
-rw-r--r--libpixelflinger/tinyutils/VectorImpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpixelflinger/tinyutils/VectorImpl.cpp b/libpixelflinger/tinyutils/VectorImpl.cpp
index a049706..be3d270 100644
--- a/libpixelflinger/tinyutils/VectorImpl.cpp
+++ b/libpixelflinger/tinyutils/VectorImpl.cpp
@@ -272,7 +272,7 @@ void VectorImpl::release_storage()
void* VectorImpl::_grow(size_t where, size_t amount)
{
-// LOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
+// ALOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
// this, (int)where, (int)amount, (int)mCount, (int)capacity());
if (where > mCount)
@@ -281,7 +281,7 @@ void* VectorImpl::_grow(size_t where, size_t amount)
const size_t new_size = mCount + amount;
if (capacity() < new_size) {
const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2);
-// LOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity);
+// ALOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity);
if ((mStorage) &&
(mCount==where) &&
(mFlags & HAS_TRIVIAL_COPY) &&
@@ -325,7 +325,7 @@ void VectorImpl::_shrink(size_t where, size_t amount)
if (!mStorage)
return;
-// LOGV("_shrink(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
+// ALOGV("_shrink(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
// this, (int)where, (int)amount, (int)mCount, (int)capacity());
if (where >= mCount)
@@ -334,7 +334,7 @@ void VectorImpl::_shrink(size_t where, size_t amount)
const size_t new_size = mCount - amount;
if (new_size*3 < capacity()) {
const size_t new_capacity = max(kMinVectorCapacity, new_size*2);
-// LOGV("shrink vector %p, new_capacity=%d", this, (int)new_capacity);
+// ALOGV("shrink vector %p, new_capacity=%d", this, (int)new_capacity);
if ((where == mCount-amount) &&
(mFlags & HAS_TRIVIAL_COPY) &&
(mFlags & HAS_TRIVIAL_DTOR))