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

12

/system/core/debuggerd/
H A Dtombstone.c235 uint32_t offset = stack_content - (mi->start + symbol->start); local
237 if (offset) {
239 label, *sp, stack_content, mi ? mi->name : "", symbol_name, offset);
245 if (offset) {
247 *sp, stack_content, mi ? mi->name : "", symbol_name, offset);
/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/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/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/core/libpixelflinger/codeflinger/
H A DARMAssembler.cpp176 int32_t offset = int32_t(target_pc - (bt.pc+2)); local
177 *bt.pc |= offset & 0xFFFFFF;
278 int32_t offset = int32_t(pc - (mPC+2)); local
279 *mPC++ = (cc<<28) | (0xA<<24) | (offset & 0xFFFFFF);
284 int32_t offset = int32_t(pc - (mPC+2)); local
285 *mPC++ = (cc<<28) | (0xB<<24) | (offset & 0xFFFFFF);
299 void ARMAssembler::LDR(int cc, int Rd, int Rn, uint32_t offset) { argument
300 *mPC++ = (cc<<28) | (1<<26) | (1<<20) | (Rn<<16) | (Rd<<12) | offset;
302 void ARMAssembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) { argument
303 *mPC++ = (cc<<28) | (1<<26) | (1<<22) | (1<<20) | (Rn<<16) | (Rd<<12) | offset;
305 STR(int cc, int Rd, int Rn, uint32_t offset) argument
308 STRB(int cc, int Rd, int Rn, uint32_t offset) argument
312 LDRH(int cc, int Rd, int Rn, uint32_t offset) argument
315 LDRSB(int cc, int Rd, int Rn, uint32_t offset) argument
318 LDRSH(int cc, int Rd, int Rn, uint32_t offset) argument
321 STRH(int cc, int Rd, int Rn, uint32_t offset) argument
371 PLD(int Rn, uint32_t offset) argument
561 uint32_t offset = abs(immed8); local
573 uint32_t offset = abs(immed8); local
[all...]
H A DARMAssemblerInterface.cpp54 uint32_t offset = abs(immed8); local
61 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
H A DARMAssemblerProxy.cpp212 void ARMAssemblerProxy::LDR(int cc, int Rd, int Rn, uint32_t offset) { argument
213 mTarget->LDR(cc, Rd, Rn, offset);
215 void ARMAssemblerProxy::LDRB(int cc, int Rd, int Rn, uint32_t offset) { argument
216 mTarget->LDRB(cc, Rd, Rn, offset);
218 void ARMAssemblerProxy::STR(int cc, int Rd, int Rn, uint32_t offset) { argument
219 mTarget->STR(cc, Rd, Rn, offset);
221 void ARMAssemblerProxy::STRB(int cc, int Rd, int Rn, uint32_t offset) { argument
222 mTarget->STRB(cc, Rd, Rn, offset);
224 void ARMAssemblerProxy::LDRH(int cc, int Rd, int Rn, uint32_t offset) { argument
225 mTarget->LDRH(cc, Rd, Rn, offset);
227 LDRSB(int cc, int Rd, int Rn, uint32_t offset) argument
230 LDRSH(int cc, int Rd, int Rn, uint32_t offset) argument
233 STRH(int cc, int Rd, int Rn, uint32_t offset) argument
254 PLD(int Rn, uint32_t offset) argument
[all...]
H A DMIPSAssembler.cpp298 // uint32_t offset = abs(immed8);
310 // uint32_t offset = abs(immed8);
768 void ArmToMipsAssembler::LDR(int cc, int Rd, int Rn, uint32_t offset) argument
772 if (offset > AMODE_UNSUPPORTED) offset = 0;
773 switch (offset) {
802 void ArmToMipsAssembler::LDRB(int cc, int Rd, int Rn, uint32_t offset) argument
806 if (offset > AMODE_UNSUPPORTED) offset = 0;
807 switch (offset) {
831 STR(int cc, int Rd, int Rn, uint32_t offset) argument
867 STRB(int cc, int Rd, int Rn, uint32_t offset) argument
895 LDRH(int cc, int Rd, int Rn, uint32_t offset) argument
923 LDRSB(int cc, int Rd, int Rn, uint32_t offset) argument
930 LDRSH(int cc, int Rd, int Rn, uint32_t offset) argument
937 STRH(int cc, int Rd, int Rn, uint32_t offset) argument
1033 PLD(int Rn, uint32_t offset) argument
1397 int32_t offset = int32_t(target_pc - (bt.pc+1)); local
1699 LW(int Rt, int Rbase, int16_t offset) argument
1704 SW(int Rt, int Rbase, int16_t offset) argument
1710 LB(int Rt, int Rbase, int16_t offset) argument
1715 LBU(int Rt, int Rbase, int16_t offset) argument
1720 SB(int Rt, int Rbase, int16_t offset) argument
1726 LH(int Rt, int Rbase, int16_t offset) argument
1731 LHU(int Rt, int Rbase, int16_t offset) argument
1736 SH(int Rt, int Rbase, int16_t offset) argument
1741 LUI(int Rt, int16_t offset) argument
[all...]
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...]
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 Dtexturing.cpp356 // merge base & offset
535 // and compute offset to the next texel
622 // merge base & offset...
623 comment("merge base & offset");
728 int offset = pixel; local
729 ADD(AL, 0, offset, lb, rt);
730 LDRB(AL, pixel, txPtr.reg, reg_scale_pre(offset));
812 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift; local
813 texel.format.c[i].h = tmu.format.c[i].h + offset + prec;
827 int offset local
1017 int offset = pixel; local
[all...]
/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 Doutput_file.c52 int fd, off64_t offset)
54 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
704 int fd, int64_t offset)
712 aligned_offset = offset & ~(4096 - 1);
713 aligned_diff = offset - aligned_offset;
729 pos = lseek64(fd, offset, SEEK_SET);
753 const char *file, int64_t offset)
762 ret = write_fd_chunk(out, len, file_fd, offset);
51 mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset) argument
703 write_fd_chunk(struct output_file *out, unsigned int len, int fd, int64_t offset) argument
752 write_file_chunk(struct output_file *out, unsigned int len, const char *file, int64_t offset) argument
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/libsysutils/src/
H A DFrameworkListener.cpp56 int offset = 0; local
62 dispatchCommand(c, buffer + offset);
63 offset = i + 1;
/system/core/sdcard/
H A Dfuse.h383 __u64 offset; member in struct:fuse_read_in
395 __u64 offset; member in struct:fuse_write_in
H A Dsdcard.c841 __u64 offset = req->offset; local
849 h, h->fd, size, offset);
853 res = pread64(h->fd, handler->read_buffer, size, offset);
870 h, h->fd, req->size, req->offset);
871 res = pwrite64(h->fd, buffer, req->size, req->offset);
986 if (req->offset == 0) {
996 /* increment the offset so we can detect when rewinddir() seeks back to the beginning */
997 fde->off = req->offset + 1;
/system/core/sh/
H A Darith_lex.c1296 int offset = (yy_c_buf_p) - (yytext_ptr); local
1332 (yy_c_buf_p) = (yytext_ptr) + offset;
H A Doutput.c149 int offset; local
162 offset = dest->bufsize;
166 dest->nleft = dest->bufsize - offset;
167 dest->nextc = dest->buf + offset;
/system/core/toolbox/
H A Ddd.h56 uint64_t offset; /* # of blocks to skip */ member in struct:__anon476

Completed in 148 milliseconds

12