Searched refs:offset (Results 26 - 50 of 63) sorted by last modified time

123

/system/core/libpixelflinger/codeflinger/
H A DMIPSAssembler.h116 int Rn, uint32_t offset = 0);
118 int Rn, uint32_t offset = 0);
120 int Rn, uint32_t offset = 0);
122 int Rn, uint32_t offset = 0);
124 int Rn, uint32_t offset = 0);
126 int Rn, uint32_t offset = 0);
128 int Rn, uint32_t offset = 0);
130 int Rn, uint32_t offset = 0);
141 virtual void PLD(int Rn, uint32_t offset);
334 void LW(int Rt, int Rbase, int16_t offset);
[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 Dbacked_block.h37 int64_t offset, unsigned int len, unsigned int block);
39 int64_t offset, unsigned int len, unsigned int block);
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 Doutput_file.h33 const char *file, int64_t offset);
35 int fd, int64_t offset);
H A Dsimg_dump.py94 print("chunk offset number offset number")
95 offset = 0
105 print("%4u %10u %10u %7u %7u" % (i, FH.tell(), data_sz, offset, chunk_sz),
153 offset += chunk_sz
155 print(" %10u %7u End" % (FH.tell(), offset))
157 if total_blks != offset:
159 % (total_blks, offset))
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.c232 if (in.offset)
234 if (out.offset)
242 (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz);
594 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) {
609 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
665 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1) {
677 t_op.mt_count = out.offset;
687 for (cnt = 0; cnt < out.offset; ++cnt) {
711 while (cnt++ < out.offset)
1146 * if (in.offset > INT_MA
[all...]
H A Ddd.h56 uint64_t offset; /* # of blocks to skip */ member in struct:__anon476
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 Dnandread.c81 " -S <start> Start offset (default 0)\n"
235 memcpy(oob_fixed, oobbuf.ptr + ecclayout.oobfree[i].offset, len);
/system/extras/ext4_utils/
H A Dcontents.c55 static struct ext4_dir_entry_2 *add_dentry(u8 *data, u32 *offset, argument
63 u32 start_block = *offset / info.block_size;
64 u32 end_block = (*offset + rec_len - 1) / info.block_size;
70 prev->rec_len += end_block * info.block_size - *offset;
71 *offset = end_block * info.block_size;
74 dentry = (struct ext4_dir_entry_2 *)(data + *offset);
81 *offset += rec_len;
97 u32 offset = 0; local
138 dentry = add_dentry(data, &offset, NULL, inode_num, ".", EXT4_FT_DIR);
144 dentry = add_dentry(data, &offset, dentr
[all...]
H A Dext4_utils.h50 int fd, off64_t offset)
52 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
49 mmap64(void *addr, size_t length, int prot, int flags, int fd, off64_t offset) argument
H A Dext4fixup.c78 unsigned int group, offset; local
81 offset = (old_inum -1) % info.inodes_per_group;
83 return (group * new_inodes_per_group) + offset + 1;
102 /* Function to write a primary or backup superblock at a given offset */
103 static void write_sb(int fd, unsigned long long offset, struct ext4_super_block *sb) argument
111 ret = lseek64(fd, offset, SEEK_SET);
415 /* The first superblock is offset by 1K to leave room for boot sectors */
H A Dextent.c59 off64_t offset = 0; local
68 sparse_file_add_file(info.sparse_file, filename, offset, len,
70 offset += len;
/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);

Completed in 123 milliseconds

123