Searched refs:size (Results 76 - 100 of 134) sorted by relevance

123456

/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.h223 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 Dtexturing.cpp143 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 Dload_store.cpp33 const int bits = addr.size;
70 const int bits = addr.size;
166 s.size());
175 s.size());
186 expand(d, integer_t(s.reg, s.size(), s.flags), dbits);
199 assert(src.size());
201 int sbits = src.size();
H A DGGLAssembler.cpp339 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...]
/system/core/libpixelflinger/
H A Draster.cpp107 + (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/extras/tests/directiotest/
H A Ddirectiotest.c51 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/init/
H A Dproperty_service.c116 size_t size; member in struct:__anon374
120 static int init_workspace(workspace *w, size_t size) argument
132 if (ftruncate(fd, size) < 0)
135 data = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
148 w->size = size;
434 ERROR("sys_prop: mis-match msg size recieved: %d expected: %d errno: %d\n",
487 *sz = pa_workspace.size;
H A Dbuiltins.c140 unsigned size; local
143 module = read_file(filename, &size);
147 ret = init_module(module, size, options);
284 int size = 0; local
288 size += strlen(args[i]) + 1;
291 return do_insmod_inner(nargs, args, size);
/system/core/include/system/
H A Daudio.h536 size_t size = 0; local
541 size = sizeof(int32_t);
544 size = sizeof(int16_t);
547 size = sizeof(uint8_t);
552 return size;
/system/extras/ext4_utils/
H A Dcontents.c47 /* include size of the dentry used to pad until the end of the block */
267 size_t size, min_offs; local
286 size = EXT4_XATTR_SIZE(value_len);
287 val = (char *)entry + min_offs - size;
288 entry->e_value_offs = cpu_to_le16(min_offs - size);
289 memset(val + size - EXT4_XATTR_PAD, 0, EXT4_XATTR_PAD);
/system/core/fs_mgr/
H A Dfs_mgr.c176 static char *getline(char *buf, int size, FILE *file) argument
183 if (size < 1) {
187 while (cnt < (size - 1)) {
293 /* If a non-comment entry is greater than the size we allocated, give an
603 int fs_mgr_get_crypt_info(char *fstab_file, char *key_loc, char *real_blk_dev, int size) argument
627 strlcpy(key_loc, fstab[i].key_loc, size);
630 strlcpy(real_blk_dev, fstab[i].blk_dev, size);
/system/core/libsparse/
H A Dsparse_read.c57 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 Dsparse_crc32.c101 uint32_t sparse_crc32(uint32_t crc_in, const void *buf, int size) argument
107 while (size--)
/system/core/toolbox/grep/
H A Dutil.c392 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/sh/
H A Darith_lex.c281 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/libpixelflinger/tinyutils/
H A DVectorImpl.h25 * reduces code size.
55 inline size_t size() const { return mCount; } function in class:android::VectorImpl
58 ssize_t setCapacity(size_t size);
/system/core/libzipfile/
H A Dzipfile.c10 init_zipfile(const void* data, size_t size) argument
18 file->bufsize = size;
/system/core/include/pixelflinger/
H A Dformat.h105 uint8_t size; // bytes per pixel member in struct:__anon313
/system/core/toolbox/cp/
H A Dutils.c98 size_t size; member in struct:finfo
104 int pcent = (int)((100.0 * written) / fi->size);
108 fi->from, fi->to, written, fi->size, pcent);
206 fi.size = (size_t)fs->st_size;
/system/core/toolbox/
H A Dnandread.c12 static int test_empty(const char *buf, size_t size) argument
14 while(size--) {
79 " -s <size> Number of spare bytes in file (default 64)\n"
132 printf("size: %u\n", mtdinfo.size);
133 printf("erase size: %u\n", mtdinfo.erasesize);
134 printf("write size: %u\n", mtdinfo.writesize);
135 printf("oob size: %u\n", mtdinfo.oobsize);
140 fprintf(stderr, "failed allocate readbuffer size %u\n",
161 printf("oobavail, %d > image spare size,
[all...]
/system/extras/atrace/
H A Datrace.c246 // Set the size of the kernel's trace buffer in kilobytes.
247 static bool setTraceBufferSizeKB(int size) argument
251 if (size < 1) {
252 size = 1;
254 snprintf(str, 32, "%d", size);
319 // Note that we can't reset the trace buffer size here because that would
425 " -b N use a trace buffer size of N KB\n"
603 // Reset the trace buffer size to 1.
/system/extras/tests/bionic/libstdc++/
H A Dtest_cstdio.cpp155 volatile std::size_t size; local
/system/netd/
H A DNetdConstants.cpp55 const char* argv[argsList.size()];
/system/security/keystore/
H A Dkeystore.cpp201 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/vold/
H A Dcryptfs.c94 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...]

Completed in 235 milliseconds

123456