/system/core/libpixelflinger/codeflinger/tinyutils/ |
H A D | KeyedVector.h | 53 inline size_t size() const { return mVector.size(); } function in class:android::tinyutils::KeyedVector 58 //! setst the capacity. capacity can never be reduced less than size() 59 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); } argument 167 if (index<size()) {
|
H A D | VectorImpl.h | 34 * reduces code size. 64 inline size_t size() const { return mCount; } function in class:android::tinyutils::VectorImpl 67 ssize_t setCapacity(size_t size);
|
/system/core/include/utils/ |
H A D | VectorImpl.h | 34 * reduces code size. 63 inline size_t size() const { return mCount; } function in class:android::VectorImpl 66 ssize_t setCapacity(size_t size); 67 ssize_t resize(size_t size);
|
H A D | CallStack.h | 86 size_t size() const { return mCount; } function in class:android::CallStack
|
H A D | LruCache.h | 45 size_t size() const; 117 size_t LruCache<TKey, TValue>::size() const { function in class:android::LruCache 118 return mTable->size(); 136 if (mMaxCapacity != kUnlimitedCapacity && size() >= mMaxCapacity) {
|
H A D | String8.h | 67 inline size_t size() const; 125 char* lockBuffer(size_t size); 127 status_t unlockBuffer(size_t size); 263 inline size_t String8::size() const function in class:android::String8
|
/system/core/libcorkscrew/arch-arm/ |
H A D | backtrace-arm.c | 91 /* Get the EXIDX section start and size for the module that contains a 281 size_t size; local 284 size = 3; 292 size = (uint32_t)size_byte * sizeof(uint32_t) + 2; 300 while (size--) { 313 if (!(size--) || !try_next_byte(memory, stream, &op2)) { 355 if (!(size--) || !try_next_byte(memory, stream, &op2)) { 373 if (!(size--) || !try_next_byte(memory, stream, &op2)) { 383 if (!(size--) || !try_next_byte(memory, stream, &op2)) { 396 if (!(size [all...] |
/system/core/sh/ |
H A D | output.c | 309 int size; 420 size = len; 421 if (size < prec) 422 size = prec; 423 size += sign; 424 pad = width - size;
|
H A D | arith_lex.c | 281 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); 293 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); 1409 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. 1413 YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) 1421 b->yy_buf_size = size; 1423 /* yy_ch_buf has to be 2 characters longer than the size given because 1595 int grow_size = 8 /* arbitrary grow size */; 1611 * @param size the size i [all...] |
/system/core/toolbox/ |
H A D | schedtop.c | 51 size_t size = table->allocated; local 53 if (size < 128) 54 size = 128; 56 size *= 2; 58 new_table = realloc(table->data, size * sizeof(*table->data)); 64 table->allocated = size;
|
/system/media/camera/docs/ |
H A D | camera_metadata_tag_info.mako | 67 size_t size) { 94 strncpy(dst, msg, size - 1); 95 dst[size - 1] = '\0';
|
/system/core/adb/ |
H A D | transport_usb.c | 84 unsigned size = p->msg.data_length; local 93 if(usb_write(t->usb, &p->data, size)) {
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 68 const int32_t bpr = -dst->stride * pixelFormat.size; 118 uint8_t* const data = s->data + index * f->size; 120 switch (f->size) { 129 pixel->c[i] = extract(v, f->c[i].h, f->c[i].l, f->size*8); 175 uint8_t* const data = s->data + index * f->size; 203 switch (f->size) { 216 switch (f->size) { 268 switch (f->size) {
|
H A D | raster.cpp | 107 + (xs + (cb->stride * ys)) * fp->size; 109 + (xd + (cb->stride * yd)) * fp->size; 110 const size_t bpr = cb->stride * fp->size; 111 const size_t rowsize = width * fp->size;
|
/system/core/libpixelflinger/codeflinger/ |
H A D | GGLAssembler.h | 223 inline int size() const { return s; } function in struct:android::GGLAssembler::integer_t 239 inline int mask(int c) const { return ((1<<size(c))-1) << low(c); } 240 inline int size() const { return format.size*8; } function in struct:android::GGLAssembler::pixel_t 241 inline int size(int c) const { return component_size(c); } function in struct:android::GGLAssembler::pixel_t 268 inline int size() const { return h-l; } function in struct:android::GGLAssembler::component_t 272 pointer_t() : reg_t(), size(0) { 275 : reg_t(r, f), size(s) { 278 reg_t::setTo(r, f); size=s; 280 int8_t size; member in struct:android::GGLAssembler::pointer_t [all...] |
H A D | texturing.cpp | 143 const int bits = parts.iterated.size(); 144 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; local 157 if (mMasking && ((mask & size)==0)) { 161 if (mCbFormat.size == 1) { 164 } else if (mCbFormat.size == 2) { 282 tmu.bits = tmu.format.size*8; 288 && tmu.format.size!=3; // XXX: only 8, 16 and 32 modes for now 422 if (tmu.format.size == 1) { 427 if (tmu.format.size == 4) { 487 if (tmu.format.size 1136 wrapping( int d, int coord, int size, int tx_wrap, int tx_linear) argument [all...] |
/system/core/fs_mgr/include/ |
H A D | fs_mgr.h | 57 char *real_blk_device, int size);
|
/system/core/libutils/ |
H A D | ProcessCallStack.cpp | 190 ALOGV("%s: Got call stack for tid %d (size %zu)", 191 __FUNCTION__, tid, cs.size()); 221 for (size_t i = 0; i < mThreadMap.size(); ++i) { 256 size_t ProcessCallStack::size() const { function in class:android::ProcessCallStack 257 return mThreadMap.size();
|
H A D | Looper.cpp | 162 while (mResponseIndex < mResponses.size()) { 283 while (mMessageEnvelopes.size() != 0) { 319 for (size_t i = 0; i < mResponses.size(); i++) { 511 size_t messageCount = mMessageEnvelopes.size(); 542 for (size_t i = mMessageEnvelopes.size(); i != 0; ) { 559 for (size_t i = mMessageEnvelopes.size(); i != 0; ) {
|
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 51 static void *pagealign_alloc(size_t size) argument 53 void *ret = mmap(NULL, size, PROT_READ | PROT_WRITE, 63 static void pagealign_free(void *addr, size_t size) argument 65 int ret = munmap(addr, size); 120 * test area size.
|
/system/core/libsparse/ |
H A D | sparse_read.c | 57 int size; local 60 size = vsnprintf(NULL, 0, fmt, argp); 63 if (size < 0) { 67 at = malloc(size + 1); 73 vsnprintf(at, size, fmt, argp); 75 at[size] = 0;
|
H A D | sparse_crc32.c | 101 uint32_t sparse_crc32(uint32_t crc_in, const void *buf, int size) argument 107 while (size--)
|
/system/core/toolbox/grep/ |
H A D | util.c | 392 grep_malloc(size_t size) argument 396 if ((ptr = malloc(size)) == NULL) 405 grep_calloc(size_t nmemb, size_t size) argument 409 if ((ptr = calloc(nmemb, size)) == NULL) 418 grep_realloc(void *ptr, size_t size) argument 421 if ((ptr = realloc(ptr, size)) == NULL)
|
/system/core/libcutils/tests/memset_mips/ |
H A D | android_memset_test.S | 29 * void android_memset16_test(uint16_t* dst, uint16_t value, size_t size); 129 .size android_memset16_test,.-android_memset16_test 134 * void android_memset32_test(uint32_t* dst, uint32_t value, size_t size); 152 .size android_memset32_test,.-android_memset32_test
|
/system/core/libzipfile/ |
H A D | zipfile.c | 10 init_zipfile(const void* data, size_t size) argument 18 file->bufsize = size;
|