Searched defs:offset (Results 1 - 25 of 42) sorted by relevance

12

/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerInterface.cpp54 uint32_t offset = abs(immed8); local
61 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
H A Dload_store.cpp287 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 Ddisassem.c617 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/security/keystore/
H A Dkeystore_cli.cpp78 int offset; local
84 for (offset = 0; offset < length; offset += i) {
85 i = recv(sock, &bytes[offset], length - offset, 0);
H A Dkeystore_get.h58 int offset = 0; local
60 while (offset < length) {
61 int n = recv(sock, &value[offset], length - offset, 0);
66 offset += n;
H A Dkeystore_client.cpp77 int offset = 0; local
79 while (offset < length) {
80 int n = TEMP_FAILURE_RETRY(recv(sock, &data[offset], length - offset, 0));
86 offset += n;
/system/core/libcorkscrew/
H A Dtest.c34 uintptr_t offset = frames[i].absolute_pc - symbol->start; local
35 fprintf(stderr, " %s (%s%+d)\n", line, symbol->name, offset);
/system/core/libcutils/
H A Dashmem-dev.c75 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 Dashmem-host.c86 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 Dopen_memstream.c73 size_t offset; /* current write offset */ member in struct:__anon402
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 Ddiskutils.c33 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 Dtest_cstddef.cpp42 // 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 Dvdc.c122 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 Dion.c84 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/extras/ext4_utils/
H A Dextent.c59 off64_t offset = 0; local
68 sparse_file_add_file(info.sparse_file, filename, offset, len,
70 offset += len;
/system/netd/
H A Dndc.c144 int offset = 0; local
152 strncpy(tmp, buffer + offset, 3);
156 printf("%s\n", buffer + offset);
161 offset = i + 1;
/system/core/libsysutils/src/
H A DFrameworkListener.cpp56 int offset = 0; local
62 dispatchCommand(c, buffer + offset);
63 offset = i + 1;
/system/core/toolbox/
H A Dlsof.c104 size_t offset; local
116 while (fscanf(maps, "%*x-%*x %*s %zx %5s %ld %s\n", &offset, device, &inode,
124 "???", device, offset, inode, file);
H A Ddd.h56 uint64_t offset; /* # of blocks to skip */ member in struct:__anon476
/system/extras/fatblock/
H A Dfatblock.c52 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/core/include/diskconfig/
H A Ddiskconfig.h101 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/libpixelflinger/
H A Draster.cpp77 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 Dbacked_block.c36 int64_t offset; member in struct:backed_block::__anon460::__anon462
40 int64_t offset; member in struct:backed_block::__anon460::__anon463
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 Dsparse_read.c99 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...]
/system/core/sh/
H A Doutput.c149 int offset; local
162 offset = dest->bufsize;
166 dest->nleft = dest->bufsize - offset;
167 dest->nextc = dest->buf + offset;

Completed in 96 milliseconds

12