/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/libpixelflinger/codeflinger/ |
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...] |
H A D | GGLAssembler.cpp | 339 ADD(AL, 0, parts.cbPtr.reg, parts.cbPtr.reg, imm(parts.cbPtr.size>>3)); 391 const int cb_bits = mCbFormat.size*8; 541 if (need_expander && (fragment.size() < dst_size)) { 549 (mInfo[component].needed || fragment.size()<dst_size)) 573 fragment.size(), fragment.flags); 582 fragment.size(), CORRUPTIBLE); 703 const int shift = GGL_COLOR_BITS-fragment.size(); 887 uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1; local 888 mask &= size; 890 if (mask == size) { [all...] |
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...] |
/system/core/logcat/ |
H A D | logcat.cpp | 152 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/core/toolbox/ |
H A D | top.c | 76 int size; member in struct:proc_list
|
H A D | newfs_msdos.c | 69 #define DEFBLK 4096 /* default block size */ 70 #define DEFBLK16 2048 /* default block size FAT16 */ 152 u_int8_t size[4]; /* size */ member in struct:de 287 opt_create = argtooff(optarg, "create size"); 317 opt_b = argtox(optarg, 1, "block size"); 354 opt_s = argto4(optarg, 1, "file system size"); 460 errx(1, "block size (%u) is not a power of 2", opt_b); 462 errx(1, "block size (%u) is too small; minimum is %u", 465 errx(1, "block size ( [all...] |
/system/media/camera/src/ |
H A D | camera_metadata.c | 28 * 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/netd/ |
H A D | CommandListener.cpp | 206 int CommandListener::writeFile(const char *path, const char *value, int size) { argument 213 if (write(fd, value, size) != size) {
|
/system/core/libcutils/ |
H A D | mq.c | 56 typedef void BytesListener(Credentials credentials, char* bytes, size_t size); 92 /** Packet size. Used for BYTES. */ 93 size_t size; member in union:__anon395::__anon396 282 peerProxy->outgoingHeader.size = sizeof(Header); 451 ssize_t size = bufferWrite(outgoing, peerProxy->fd->fd); local 452 if (size < 0) { 582 ALOGD("Expecting %d bytes.", header->size); 585 if (bufferPrepareForRead(peerProxy->inputBuffer, header->size) == -1) { 587 (unsigned int) header->size); 722 ssize_t size; local 944 ssize_t size = bufferRead(in, peerProxy->fd->fd); local 1133 peerSendBytes(pid_t pid, const char* bytes, size_t size) argument 1200 peerSendSharedBytes(pid_t pid, char* bytes, size_t size, void (*free)(void* context), void* context) argument [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 79 * 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...] |
H A D | fuse.h | 88 __u64 size; member in struct:fuse_attr 334 __u64 size; member in struct:fuse_setattr_in 384 __u32 size; member in struct:fuse_read_in 396 __u32 size; member in struct:fuse_write_in 404 __u32 size; member in struct:fuse_write_out 421 __u32 size; member in struct:fuse_setxattr_in 426 __u32 size; member in struct:fuse_getxattr_in 431 __u32 size; member in struct:fuse_getxattr_out
|
/system/vold/ |
H A D | cryptfs.c | 94 SLOGE("Cannot open device to get filesystem size "); 166 SLOGE("Cannot get size of block device %s\n", fname); 230 SLOGE("Cannot set footer file size\n", fname); 265 SLOGE("Cannot get size of block device %s\n", fname); 289 SLOGE("footer file %s is not the expected size!\n", fname); 319 /* the footer size is bigger than we expected. 895 /* Update the fs_size field to be the size of the volume */ 900 SLOGE("Cannot get size of volume %s\n", real_blkdev); 984 * defaulted to 16 bytes, and the filesystem size to 0. 986 * filesystem size an 1002 cryptfs_enable_wipe(char *crypto_blkdev, off64_t size, int type) argument 1046 cryptfs_enable_inplace(char *crypto_blkdev, char *real_blkdev, off64_t size, off64_t *size_already_done, off64_t tot_size) argument [all...] |
/system/core/include/system/ |
H A D | audio.h | 536 size_t size = 0; local 541 size = sizeof(int32_t); 544 size = sizeof(int16_t); 547 size = sizeof(uint8_t); 552 return size;
|
/system/core/libpixelflinger/ |
H A D | scanline.cpp | 286 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 D | trap.cpp | 160 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/security/keystore/ |
H A D | keystore.cpp | 201 static size_t readFully(int fd, uint8_t* data, size_t size) { argument 202 size_t remaining = size; 204 ssize_t n = TEMP_FAILURE_RETRY(read(fd, data, size)); 206 return size-remaining; 211 return size; 214 static size_t writeFully(int fd, uint8_t* data, size_t size) { argument 215 size_t remaining = size; 217 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data, size)); 219 return size-remaining; 224 return size; 1449 socklen_t size = sizeof(cred); local [all...] |
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | hci.h | 1600 uint8_t size; member in struct:__anon159
|