/system/core/libpixelflinger/codeflinger/ |
H A D | ARMAssemblerInterface.cpp | 54 uint32_t offset = abs(immed8); local 61 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
|
H A D | load_store.cpp | 287 const int offset = sh - dbits; local 288 if (dbits<=8 && offset >= 0) { 289 const uint32_t mask = ((1<<dbits)-1) << offset; 292 sl = offset;
|
H A D | disassem.c | 617 int offset; local 619 offset = insn & 0xfff; 623 loc += offset; 625 loc -= offset; 636 di->di_printf("#0x%03x", offset); 646 int offset; local 648 offset = ((insn & 0xf00) >> 4) | (insn & 0xf); 652 loc += offset; 654 loc -= offset; 663 di->di_printf("#0x%02x", offset); [all...] |
/system/core/include/utils/ |
H A D | Compat.h | 30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument 31 return lseek(fd, offset, whence); 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument 36 return pread(fd, buf, nbytes, offset);
|
H A D | Flattenable.h | 50 static void advance(void*& buffer, size_t& size, size_t offset) { argument 51 buffer = reinterpret_cast<void*>( intptr_t(buffer) + offset ); 52 size -= offset; 55 static void advance(void const*& buffer, size_t& size, size_t offset) { argument 56 buffer = reinterpret_cast<void const*>( intptr_t(buffer) + offset ); 57 size -= offset;
|
/system/core/libcorkscrew/ |
H A D | test.cpp | 37 int offset = frames[i].absolute_pc - symbol->start; local 38 fprintf(stderr, " %s (%s%+d)\n", line, symbol->name, offset);
|
/system/core/libcutils/ |
H A D | ashmem-dev.c | 75 int ashmem_pin_region(int fd, size_t offset, size_t len) argument 77 struct ashmem_pin pin = { offset, len }; 81 int ashmem_unpin_region(int fd, size_t offset, size_t len) argument 83 struct ashmem_pin pin = { offset, len };
|
H A D | ashmem-host.c | 86 int ashmem_pin_region(int fd, size_t offset, size_t len) argument 91 int ashmem_unpin_region(int fd, size_t offset, size_t len) argument
|
H A D | open_memstream.c | 73 size_t offset; /* current write offset */ member in struct:__anon167 81 * current offset. We also have to take into account the extra '\0' 88 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize)); 90 size_t neededSize = stream->offset + writeSize + 1; 131 if (stream->eof < stream->offset) { 133 stream->eof, stream->offset-1)); 135 stream->offset - stream->eof); 139 memcpy(*stream->bufp + stream->offset, buf, size); 140 stream->offset 164 seek_memstream(void* cookie, fpos_t offset, int whence) argument [all...] |
/system/core/libdiskconfig/ |
H A D | diskutils.c | 33 write_raw_image(const char *dst, const char *src, loff_t offset, int test) argument 43 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, offset); 55 if (lseek64(dst_fd, offset, SEEK_SET) != offset) { 56 ALOGE("Could not seek to offset %lld in %s.", offset, dst); 104 ALOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|
/system/extras/tests/bionic/libstdc++/ |
H A D | test_cstddef.cpp | 42 // Dummy struct used to calculate offset of some of its fields. 81 volatile size_t offset = offsetof(struct Foo, field2); local 82 return offset == 1;
|
/system/vold/ |
H A D | vdc.c | 122 int offset = 0; local 130 strncpy(tmp, buffer + offset, 3); 134 printf("%s\n", buffer + offset); 139 offset = i + 1;
|
/system/core/libion/ |
H A D | ion.c | 84 int flags, off_t offset, unsigned char **ptr, int *map_fd) 98 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 83 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument
|
/system/core/libutils/ |
H A D | FileMap.cpp | 91 bool FileMap::create(const char* origFileName, int fd, off64_t offset, size_t length, argument 116 adjust = offset % mPageSize; 117 adjOffset = offset - adjust; 142 assert(offset >= 0); 159 adjust = offset % mPageSize; 161 adjOffset = offset - adjust; 171 // Cygwin does not seem to like file mapping files from an offset. 172 // So if we fail, try again with offset zero 174 adjust = offset; 187 mDataOffset = offset; [all...] |
/system/extras/ext4_utils/ |
H A D | extent.c | 59 off64_t offset = 0; local 68 sparse_file_add_file(info.sparse_file, filename, offset, len, 70 offset += len;
|
/system/netd/ |
H A D | ndc.c | 157 int offset = 0; local 165 strncpy(tmp, buffer + offset, 3); 169 printf("%s\n", buffer + offset); 174 offset = i + 1;
|
/system/core/libsysutils/src/ |
H A D | FrameworkListener.cpp | 60 int offset = 0; local 66 dispatchCommand(c, buffer + offset); 67 offset = i + 1;
|
/system/core/toolbox/ |
H A D | lsof.c | 104 size_t offset; local 116 while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %s\n", &offset, device, &inode, 124 "???", device, offset, inode, file);
|
/system/extras/fatblock/ |
H A D | fatblock.c | 52 static int read_callback(char *buf, uint64_t length, uint64_t offset) argument 57 result = fs_read(&fs, buf, offset, length); 66 static int write_callback(const char *buf, uint64_t length, uint64_t offset) argument 68 DEBUG("writing to (%llu, %llu): we are read-only\n", offset, length);
|
/system/extras/tests/ext4/ |
H A D | rand_emmc_perf.c | 41 off64_t offset; member in struct:stats
|
/system/core/include/diskconfig/ |
H A D | diskconfig.h | 101 loff_t offset; member in struct:write_list 120 int write_raw_image(const char *dst, const char *src, loff_t offset, int test);
|
/system/core/libcutils/tests/memset_mips/ |
H A D | test_memset.c | 84 int offset; local 97 offset = ((rand() % (ARENASIZE-n))); /* Where to start */ 100 offset += 4; /* Allow space for guard word at beginning */ 113 offset &= ~1; 118 offset &= ~3; 123 d = &arena[offset]; 127 for (p = &arena[offset-4]; p < (void *)&arena[offset+n+4]; p = (void *)((uint32_t)p + size)) { 139 for (p = &arena[offset-4]; p < (void *)&arena[offset [all...] |
/system/core/libpixelflinger/ |
H A D | raster.cpp | 77 GGLint offset = GGLint(c->state.scissor.left) - xd; local 79 xs += offset; 80 width -= offset; 83 GGLint offset = GGLint(c->state.scissor.top) - yd; local 85 ys += offset; 86 height -= offset;
|
/system/core/libsparse/ |
H A D | backed_block.c | 36 int64_t offset; member in struct:backed_block::__anon224::__anon226 40 int64_t offset; member in struct:backed_block::__anon224::__anon227 97 return bb->file.offset; 99 return bb->fd.offset; 225 a->file.offset + a->len != b->file.offset) { 231 a->fd.offset + a->len != b->fd.offset) { 325 int64_t offset, unsigned int len, unsigned int block) 336 bb->file.offset 324 backed_block_add_file(struct backed_block_list *bbl, const char *filename, int64_t offset, unsigned int len, unsigned int block) argument 343 backed_block_add_fd(struct backed_block_list *bbl, int fd, int64_t offset, unsigned int len, unsigned int block) argument [all...] |
H A D | sparse_read.c | 99 int fd, int64_t offset, unsigned int blocks, unsigned int block, 114 ret = sparse_file_add_fd(s, fd, offset, len, block); 225 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, argument 236 ret = process_raw_chunk(s, chunk_data_size, fd, offset, 239 verbose_error(s->verbose, ret, "data block at %lld", offset); 247 verbose_error(s->verbose, ret, "fill block at %lld", offset); 256 verbose_error(s->verbose, ret, "skip block at %lld", offset); 265 offset); 271 chunk_header->chunk_type, offset); 286 off64_t offset; local 98 process_raw_chunk(struct sparse_file *s, unsigned int chunk_size, int fd, int64_t offset, unsigned int blocks, unsigned int block, uint32_t *crc32) argument 365 int64_t offset = 0; local [all...] |