/system/core/init/ |
H A D | parser.cpp | 13 int off; local 17 off = strlen(buf); 20 vsnprintf(buf + off, 128 - off, fmt, ap);
|
H A D | builtins.cpp | 113 // Turn off backlight while we are performing power down cleanup activities. 115 static const char off[] = "0"; local 117 android::base::WriteStringToFile(off, "/sys/class/leds/lcd-backlight/brightness"); 135 android::base::WriteStringToFile(off, fileName);
|
/system/extras/libpagemap/ |
H A D | pm_kernel.c | 117 off64_t off; local 122 off = lseek64(ker->kpagecount_fd, pfn * sizeof(uint64_t), SEEK_SET); 123 if (off == (off_t)-1) 133 off64_t off; local 138 off = lseek64(ker->kpageflags_fd, pfn * sizeof(uint64_t), SEEK_SET); 139 if (off == (off_t)-1)
|
H A D | pm_process.c | 113 off64_t off; local 132 off = lseek64(proc->pagemap_fd, firstpage * sizeof(uint64_t), SEEK_SET); 133 if (off == (off_t)-1) {
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | file.c | 146 size_t off; local 171 for (len = bufrem, off = 0; ; len += bufrem) { 175 memcpy(lnbuf + off, bufpos, len - off); 176 off = len; 190 memcpy(lnbuf + off, bufpos, diff);
|
H A D | queue.c | 68 item->data.off = x->off;
|
H A D | grep.h | 90 off_t off; member in struct:str
|
H A D | util.c | 227 ln.off = -1; 230 ln.off += ln.len + 1; 467 printf("%lld", (long long)line->off);
|
/system/extras/tests/workloads/ |
H A D | pwrtest.sh | 114 if [ "$1" = off ]; then 115 state=off 165 usbpassthru off 167 # take off the first 2min of samples 249 airplane_mode off 267 airplane_mode off 269 # have already been filtered off. For our power baseline, keep the first 295 airplane_mode off 309 airplane_mode off 329 # off afte [all...] |
/system/extras/tests/directiotest/ |
H A D | directiotest.c | 143 int off = i % 16; local 145 if (off == 0) 148 ascii_buf[off] = isprint(val) ? val : '.'; 149 if (off == 15)
|
/system/core/libmemunreachable/ |
H A D | ThreadCapture.cpp | 132 ssize_t off = 0; local 133 while (off < nread) { 134 linux_dirent64* dirent = reinterpret_cast<linux_dirent64*>(dirent_buf + off); 135 off += dirent->d_reclen;
|
/system/extras/perfprofd/quipper/base/ |
H A D | compiler_specific.h | 40 #define MSVC_DISABLE_OPTIMIZE() __pragma(optimize("", off))
|
/system/extras/ext4_utils/ |
H A D | ext4fixup.c | 192 off64_t off; local 195 off = block_num * info.block_size; 197 if (lseek64(fd, off, SEEK_SET) , 0) { 211 off64_t off; local 218 off = block_num * info.block_size; 220 if (lseek64(fd, off, SEEK_SET) < 0) {
|
/system/webservd/webservd/ |
H A D | request.cc | 46 uint64_t off, 50 data, off, size) ? MHD_YES : MHD_NO; 269 uint64_t off, 271 if (off > 0) 39 PostDataIterator(void* cls, MHD_ValueKind , const char* key, const char* filename, const char* content_type, const char* transfer_encoding, const char* data, uint64_t off, size_t size) argument 264 ProcessPostData(const char* key, const char* filename, const char* content_type, const char* transfer_encoding, const char* data, uint64_t off, size_t size) argument
|
H A D | request.h | 152 uint64_t off,
|
/system/extras/ksmutils/ |
H A D | ksminfo.c | 199 off_t off; local 248 off = lseek(fd, vaddr, SEEK_SET); 249 if (off == (off_t)-1) {
|
/system/core/libcutils/arch-x86/ |
H A D | android_memset32.S | 40 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off 48 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
|
H A D | android_memset16.S | 40 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off 48 # define cfi_adjust_cfa_offset(off) .cfi_adjust_cfa_offset off
|
/system/core/libsparse/ |
H A D | output_file.c | 273 static int callback_file_skip(struct output_file *out, int64_t off) argument 279 while (off > 0) { 280 to_write = min(off, (int64_t)INT_MAX); 285 off -= to_write;
|
/system/core/libziparchive/ |
H A D | zip_archive.cc | 370 * low as 50% after we round off to a power of 2. There must be at 392 ALOGW("Zip: ran off the end (at %" PRIu16 ")", i); 497 // Attempts to read |len| bytes into |buf| at offset |off|. 502 static inline bool ReadAtOffset(int fd, uint8_t* buf, size_t len, off64_t off) { argument 504 return TEMP_FAILURE_RETRY(pread64(fd, buf, len, off)); 506 if (lseek64(fd, off, SEEK_SET) != off) { 507 ALOGW("Zip: failed seek to offset %" PRId64, off);
|
/system/core/adb/ |
H A D | sysdeps.h | 840 int off = 1; local 841 adb_setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &off, sizeof(off));
|
/system/vold/ |
H A D | cryptfs.c | 533 static int get_crypt_ftr_info(char **metadata_fname, off64_t *off) argument 577 if (off) { 578 *off = cached_off; 1372 EVP_CIPHER_CTX_set_padding(&e_ctx, 0); /* Turn off padding as our data is block aligned */ 1434 EVP_CIPHER_CTX_set_padding(&d_ctx, 0); /* Turn off padding as our data is block aligned */ 2143 off64_t off; local 2169 if (get_crypt_ftr_info(NULL, &off) == 0) { 2170 ftr->persist_data_offset[0] = off + CRYPT_FOOTER_TO_PERSIST_OFFSET; 2171 ftr->persist_data_offset[1] = off + CRYPT_FOOTER_TO_PERSIST_OFFSET +
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 88 #define FADVISE(fd, off, len, advice) (void)0 142 " -z --no-new-fair-sleepers: Turn them off. You need to mount debugfs.\n" 143 " -Z --no-normalized-sleepers: Turn them off. You need to mount debugfs.\n"
|
/system/core/sdcard/ |
H A D | sdcard.c | 484 /* Assume masked off by default. */ 1413 fde->off = req->offset + 1; 1888 * permissions are completely masked off. */ 1897 * the Android directories are masked off to a single user 1967 * permissions are completely masked off. */ 1979 * the Android directories are masked off to a single user
|