Searched refs:amount (Results 1 - 5 of 5) sorted by relevance

/system/core/sh/
H A Dmemalloc.h74 #define STADJUST(amount, p) (p += (amount), sstrnleft -= (amount))
H A Dshow.c250 indent(int amount, char *pfx, FILE *fp) argument
254 for (i = 0 ; i < amount ; i++) {
255 if (pfx && i == amount - 1)
H A Dexpand.c491 int amount; local
505 amount = startp - expdest;
506 STADJUST(amount, expdest);
584 amount = ((str - 1) - (loc - startp)) - expdest;
585 STADJUST(amount, expdest);
591 amount = loc - expdest;
592 STADJUST(amount, expdest);
723 int amount = (expdest - stackblock() - patloc) + 1; local
724 STADJUST(-amount, expdest);
/system/core/libpixelflinger/tinyutils/
H A DVectorImpl.cpp245 ssize_t amount = new_capacity - size();
246 if (amount <= 0) {
273 void* VectorImpl::_grow(size_t where, size_t amount)
275 // ALOGV("_grow(this=%p, where=%d, amount=%d) count=%d, capacity=%d",
276 // this, (int)where, (int)amount, (int)mCount, (int)capacity());
281 const size_t new_size = mCount + amount;
302 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
313 void* to = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
318 mCount += amount;
323 void VectorImpl::_shrink(size_t where, size_t amount)
[all...]
H A DVectorImpl.h104 void* _grow(size_t where, size_t amount);
105 void _shrink(size_t where, size_t amount);

Completed in 68 milliseconds