Searched refs:offset (Results 1 - 25 of 63) sorted by last modified time

123

/system/security/keystore/
H A Dkeystore.cpp283 uint8_t encrypted[0]; // Marks offset to encrypted data.
285 uint8_t digested[0]; // Marks offset to digested data.
863 int offset = bytes[0] << 8 | bytes[1]; local
864 if (length < offset) {
867 length = offset;
868 offset = 0;
869 while (offset < length) {
870 int n = recv(sock, &message[offset], length - offset, 0);
874 offset
[all...]
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_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;
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;
/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/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/cutils/
H A Dashmem.h21 int ashmem_pin_region(int fd, size_t offset, size_t len);
22 int ashmem_unpin_region(int fd, size_t offset, size_t len);
/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/include/ion/
H A Dion.h37 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/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...]
H A Dtztime.c120 long tt_gmtoff; /* UTC offset in seconds */
183 static struct tm * gmtsub P((const time_t * timep, long offset,
185 static struct tm * localsub P((const time_t * timep, long offset,
198 long offset, const struct state * sp));
202 long offset, int * okayp, const struct state * sp));
205 long offset, int * okayp, int do_norm_secs,
207 static struct tm * timesub P((const time_t * timep, long offset,
212 const struct rule * rulep, long offset));
745 ** Given a pointer into a time zone string, extract an offset, in
828 ** year, a rule, and the offset fro
[all...]
/system/core/libdiskconfig/
H A Dconfig_mbr.c90 /* grab the offset in mbr where to write this partition entry. */
91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum])));
155 item->offset = ((loff_t)(*lba)) * dinfo->sect_size;
191 /* The start lba for next partition is an offset from the beginning
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);
H A Dwrite_lst.c73 if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) {
74 ALOGE("Cannot seek to the specified position (%lld).", lst->offset);
81 lst->offset);
85 ALOGI("Would write %d bytes @ offset %lld.", lst->len, lst->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 DARMAssembler.h117 int Rn, uint32_t offset = __immed12_pre(0));
119 int Rn, uint32_t offset = __immed12_pre(0));
121 int Rn, uint32_t offset = __immed12_pre(0));
123 int Rn, uint32_t offset = __immed12_pre(0));
125 int Rn, uint32_t offset = __immed8_pre(0));
127 int Rn, uint32_t offset = __immed8_pre(0));
129 int Rn, uint32_t offset = __immed8_pre(0));
131 int Rn, uint32_t offset = __immed8_pre(0));
143 virtual void PLD(int Rn, uint32_t offset);
H A DARMAssemblerInterface.cpp54 uint32_t offset = abs(immed8); local
61 ((W&1)<<21) | (((offset&0xF0)<<4)|(offset&0xF));
H A DARMAssemblerInterface.h154 int Rn, uint32_t offset = __immed12_pre(0)) = 0;
156 int Rn, uint32_t offset = __immed12_pre(0)) = 0;
158 int Rn, uint32_t offset = __immed12_pre(0)) = 0;
160 int Rn, uint32_t offset = __immed12_pre(0)) = 0;
163 int Rn, uint32_t offset = __immed8_pre(0)) = 0;
165 int Rn, uint32_t offset = __immed8_pre(0)) = 0;
167 int Rn, uint32_t offset = __immed8_pre(0)) = 0;
169 int Rn, uint32_t offset = __immed8_pre(0)) = 0;
194 virtual void PLD(int Rn, uint32_t offset) = 0;
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 DARMAssemblerProxy.h105 int Rn, uint32_t offset = __immed12_pre(0));
107 int Rn, uint32_t offset = __immed12_pre(0));
109 int Rn, uint32_t offset = __immed12_pre(0));
111 int Rn, uint32_t offset = __immed12_pre(0));
113 int Rn, uint32_t offset = __immed8_pre(0));
115 int Rn, uint32_t offset = __immed8_pre(0));
117 int Rn, uint32_t offset = __immed8_pre(0));
119 int Rn, uint32_t offset = __immed8_pre(0));
129 virtual void PLD(int Rn, uint32_t offset);
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...]

Completed in 8761 milliseconds

123