Searched refs:size (Results 101 - 125 of 134) sorted by relevance

123456

/system/core/logcat/
H A Dlogcat.cpp152 size_t size = sizeof(logger_entry) + buf->len; local
156 ret = write(g_outFD, buf, size);
360 /* returns the total size of the log's ring buffer */
366 /* returns the readable size of the log's ring buffer (that is, amount of the log consumed) */
409 " -g get the size of the log's ring buffer and exit\n"
749 int size, readable; local
751 size = android::getLogSize(dev->fd);
752 if (size < 0) {
765 size / 1024, readable / 1024,
/system/media/camera/src/
H A Dcamera_metadata.c28 * array is no larger than 4 bytes in size, it is stored in the data.value[]
72 * With the total length of the whole packet being camera_metadata.size bytes.
78 size_t size; member in struct:camera_metadata
155 metadata->size = memory_needed;
181 return metadata->size;
187 ptrdiff_t reserved_size = metadata->size -
220 ptrdiff_t reserved_size = src->size -
234 metadata->size = memory_needed;
528 // data size unchanged, reuse same data location
/system/core/fastboot/
H A Dusb_linux.c65 /* The max bulk size for linux is 16384 which is defined
86 static int check(void *_desc, int len, unsigned type, int size) argument
90 if(len < size) return -1;
91 if(desc[0] < size) return -1;
H A Dfastboot.c301 " -n <page size> specify the nand page size. default: 2048\n"
302 " -S <size>[K|M|G] automatically sparse files greater than\n"
303 " size. 0 to disable\n"
529 int status = fb_getvar(usb, response, "max-download-size");
534 fprintf(stderr, "target reported max download size of %lld bytes\n",
542 static int64_t get_sparse_limit(struct usb_handle *usb, int64_t size) argument
561 if (size > limit) {
836 if (!page_size) die("invalid page size");
/system/core/adb/
H A Djdwp_service.c243 int size = 4 - proc->in_len; local
245 while (size > 0) {
246 int len = recv( socket, p, size, 0 );
264 size -= len;
/system/core/libcutils/
H A Dprivate.h249 void * irealloc P((void * pointer, int size));
/system/extras/ext4_utils/
H A Dext4_utils.c252 * block on a system with a block size > 1K. So, we need to
383 u64 size = 0; local
387 ret = ioctl(fd, BLKGETSIZE64, &size);
389 ret = ioctl(fd, DKIOCGETBLOCKCOUNT, &size);
398 return size;
423 warn("Computed filesystem size less than 0");
H A Dindirect.c437 u64 size; local
477 size = (u64)last_block * info.block_size;
483 inode->i_size_lo = size;
484 inode->i_size_high = size >> 32;
H A Dmake_ext4fs.c143 dentries[i].size = stat.st_size;
202 entry_inode = make_file(dentries[i].full_path, dentries[i].size);
339 fprintf(stderr, "Need size of filesystem\n");
346 /* Round down the filesystem length to be a multiple of the block size */
387 printf(" Block size: %d\n", info.block_size);
390 printf(" Inode size: %d\n", info.inode_size);
398 printf(" Reserved block group size: %d\n", info.bg_desc_reserve_blocks);
H A Dext4.h101 #define EXT4_BLOCK_ALIGN(size, blkbits) ALIGN((size), (1 << (blkbits)))
/system/netd/
H A DCommandListener.h52 static int writeFile(const char *path, const char *value, int size);
H A DList.h185 size_t size() const { function in class:android::netd::List
/system/core/libpixelflinger/
H A Dscanline.cpp286 ScanlineAssembly(needs_t needs, size_t size) argument
287 : Assembly(size), mKey(needs) { }
353 switch (c->formats[cb_format].size) {
510 static inline int blendfactor(uint32_t x, uint32_t size, uint32_t def = 0) argument
512 if (!size)
516 if (size > 16) {
517 x >>= (size - 16);
518 } else if (size < 16) {
519 x = ggl_expand(x, size, 16);
595 static GGLfixed wrapping(int32_t coord, uint32_t size, in argument
2241 const size_t size = ct * fp->size; local
2287 const size_t size = ct * fp->size; local
2300 const size_t size = ct * fp->size; local
2335 const size_t size = ct * fp->size; local
[all...]
H A Dtrap.cpp160 if (halfSize & TRI_HALF) { // size odd
163 } else { // size even
203 void aa_nice_pointx(void *con, const GGLcoord* v, GGLcoord size) argument
207 GGLcoord rad = ((size + 1)>>1);
268 void aa_pointx(void *con, const GGLcoord* v, GGLcoord size) argument
272 GGLcoord rad = ((size + 1)>>1);
457 (x + (cb->stride * y)) * fp->size;
458 const size_t size = ct * fp->size; local
459 memset(dst, 0xFF, size);
[all...]
/system/core/run-as/
H A Dpackage.c47 /* Copy 'srclen' string bytes from 'src' into buffer 'dst' of size 'dstlen'
70 * On exit, *filesize will be set to the file's size, or 0 on error
87 /* get its size */
102 /* Ensure that the size is not ridiculously large */
116 /* We're good, return size */
130 unmap_file(void* address, size_t size) argument
133 TEMP_FAILURE_RETRY(munmap(address, size));
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c104 _source_init( SourceMgr src, char* base, long size )
108 src->end = base + size;
/system/extras/tests/lib/testUtil/
H A DtestUtil.c310 * pointed to by buf, for the number of bytes given by size.
319 testXDump(const void *buf, size_t size) argument
325 size_t num = size;
/system/core/sdcard/
H A Dsdcard.c79 * The request size is bounded by the maximum size of a FUSE_WRITE request because it has
277 attr->size = s->st_size;
591 if ((req->valid & FATTR_SIZE) && truncate(path, req->size) < 0) {
840 __u32 size = req->size; local
849 h, h->fd, size, offset);
850 if (size > sizeof(handler->read_buffer)) {
853 res = pread64(h->fd, handler->read_buffer, size, offset);
870 h, h->fd, req->size, re
[all...]
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp69 // For read/write tests, size is the number of Kbytes to use.
74 // adb shell /system/bin/sdcard_perf_test --test=read --size=1000 --chunk-size=100 --procnb=1 --iterations=10 --dump > /tmp/data.txt
75 // adb shell /system/bin/sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 --dump > /tmp/data.txt
111 {"size", required_argument, 0, 's'},
112 {"chunk-size", required_argument, 0, 'S'},
132 " -s --size: Size in kbytes of the data.\n"
133 " -S --chunk-size: Size of a chunk. Default to size i
354 const size_t size = testCase->dataSize(); local
491 const size_t size = testCase->dataSize(); local
[all...]
/system/core/init/
H A Dlogo.c44 unsigned size; member in struct:FB
/system/extras/fatblock/
H A Dread.c131 return buffer_read((char*)d->entries, d->size, buf, off, len);
/system/core/include/sysutils/
H A DList.h185 size_t size() const { function in class:android::sysutils::List
/system/extras/bugmailer/src/com/android/commands/sendbug/
H A DSendBug.java104 if (results != null && results.size() > 0) {
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp363 for (unsigned int n1 = 0; n1 < str.size(); n1++) {
/system/vold/
H A DDirectVolume.cpp393 if (mPaths->size() != 1) {

Completed in 132 milliseconds

123456