Home
last modified time | relevance | path

Searched refs:off (Results 1 – 23 of 23) sorted by relevance

/system/extras/libpagemap/
Dpm_kernel.c117 off64_t off; in pm_kernel_count() local
122 off = lseek64(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_count()
123 if (off == (off_t)-1) in pm_kernel_count()
133 off64_t off; in pm_kernel_flags() local
138 off = lseek64(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); in pm_kernel_flags()
139 if (off == (off_t)-1) in pm_kernel_flags()
Dpm_process.c109 off64_t off; in pm_process_pagemap_range() local
128 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); in pm_process_pagemap_range()
129 if (off == (off_t)-1) { in pm_process_pagemap_range()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dfile.c146 size_t off; in grep_fgetln() local
171 for (len = bufrem, off = 0; ; len += bufrem) { in grep_fgetln()
175 memcpy(lnbuf + off, bufpos, len - off); in grep_fgetln()
176 off = len; in grep_fgetln()
190 memcpy(lnbuf + off, bufpos, diff); in grep_fgetln()
Dqueue.c68 item->data.off = x->off; in enqueue()
Dutil.c227 ln.off = -1; in procfile()
230 ln.off += ln.len + 1; in procfile()
467 printf("%lld", (long long)line->off); in printline()
Dgrep.h90 off_t off; member
/system/core/init/
Dparser.cpp13 int off; in parse_error() local
17 off = strlen(buf); in parse_error()
20 vsnprintf(buf + off, 128 - off, fmt, ap); in parse_error()
/system/extras/tests/directiotest/
Ddirectiotest.c143 int off = i % 16; in dump_hex() local
145 if (off == 0) in dump_hex()
148 ascii_buf[off] = isprint(val) ? val : '.'; in dump_hex()
149 if (off == 15) in dump_hex()
/system/extras/ext4_utils/
Dext4fixup.c192 off64_t off; in read_block() local
195 off = block_num * info.block_size; in read_block()
197 if (lseek64(fd, off, SEEK_SET) , 0) { in read_block()
211 off64_t off; in write_block() local
218 off = block_num * info.block_size; in write_block()
220 if (lseek64(fd, off, SEEK_SET) < 0) { in write_block()
/system/extras/perfprofd/quipper/base/
Dcompiler_specific.h40 #define MSVC_DISABLE_OPTIMIZE() __pragma(optimize("", off))
/system/extras/tests/mmc_tracepoints/
DREADME11 To turn it back off, do:
Dmmc_trace_sample_data5 # _-----=> irqs-off
/system/core/libsparse/
Doutput_file.c273 static int callback_file_skip(struct output_file *out, int64_t off) in callback_file_skip() argument
279 while (off > 0) { in callback_file_skip()
280 to_write = min(off, (int64_t)INT_MAX); in callback_file_skip()
285 off -= to_write; in callback_file_skip()
/system/core/libcutils/arch-x86/
Dandroid_memset32.S40 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
48 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
Dandroid_memset16.S40 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
48 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off argument
/system/extras/ksmutils/
Dksminfo.c200 off_t off; in read_pages() local
249 off = lseek(fd, vaddr, SEEK_SET); in read_pages()
250 if (off == (off_t)-1) { in read_pages()
/system/core/libziparchive/
Dzip_archive.cc699 off64_t off) { in ReadAtOffset() argument
701 return TEMP_FAILURE_RETRY(pread64(fd, buf, len, off)); in ReadAtOffset()
706 if (lseek64(fd, off, SEEK_SET) != off) { in ReadAtOffset()
707 ALOGW("Zip: failed seek to offset %" PRId64, off); in ReadAtOffset()
/system/vold/
Dcryptfs.c547 static int get_crypt_ftr_info(char **metadata_fname, off64_t *off) in get_crypt_ftr_info() argument
591 if (off) { in get_crypt_ftr_info()
592 *off = cached_off; in get_crypt_ftr_info()
2110 off64_t off; local
2136 if (get_crypt_ftr_info(NULL, &off) == 0) {
2137 ftr->persist_data_offset[0] = off + CRYPT_FOOTER_TO_PERSIST_OFFSET;
2138 ftr->persist_data_offset[1] = off + CRYPT_FOOTER_TO_PERSIST_OFFSET +
/system/core/logcat/
Devent.logtags112 # 0 for screen off, 1 for screen on, 2 for key-guard done
/system/bt/doc/
Dpower_management.md200 sends off an event to the BTA workqueue thread.
201 3. The event eventually fires off a call to `bta_dm_pm_timer`, which just
/system/core/fastboot/
Dfastboot_protocol.txt141 "powerdown" Power off the device.
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp88 #define FADVISE(fd, off, len, advice) (void)0 argument
/system/core/sdcard/
Dsdcard.c1394 fde->off = req->offset + 1; in handle_readdir()