/system/security/keystore/ |
D | keystore_utils.cpp | 31 size_t remaining = size; in readFully() local 32 while (remaining > 0) { in readFully() 33 ssize_t n = TEMP_FAILURE_RETRY(read(fd, data, remaining)); in readFully() 35 return size - remaining; in readFully() 38 remaining -= n; in readFully() 44 size_t remaining = size; in writeFully() local 45 while (remaining > 0) { in writeFully() 46 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data, remaining)); in writeFully() 49 return size - remaining; in writeFully() 52 remaining -= n; in writeFully()
|
/system/core/liblog/ |
D | logd_reader.c | 425 size_t remaining = len; in logdGetStats() local 428 n = snprintf(cp, remaining, "getStatistics"); in logdGetStats() 429 n = min(n, remaining); in logdGetStats() 430 remaining -= n; in logdGetStats() 434 n = snprintf(cp, remaining, " %d", logger->logId); in logdGetStats() 435 n = min(n, remaining); in logdGetStats() 436 remaining -= n; in logdGetStats() 441 snprintf(cp, remaining, " pid=%u", logger_list->pid); in logdGetStats() 486 int e, ret, remaining; in logdOpen() local 522 remaining = sizeof(buffer) - (cp - buffer); in logdOpen() [all …]
|
/system/media/audio_utils/ |
D | tinysndfile.c | 35 size_t remaining; // frames unread for SFM_READ, frames written for SFM_WRITE member 110 size_t remaining = riffSize - 4; in sf_open_read() local 114 while (remaining >= 8) { in sf_open_read() 123 remaining -= 8; in sf_open_read() 125 if (chunkSize > remaining) { in sf_open_read() 127 fprintf(stderr, "chunkSize %u > remaining %zu\n", chunkSize, remaining); in sf_open_read() 243 handle->remaining = chunkSize / handle->bytesPerFrame; in sf_open_read() 244 handle->info.frames = handle->remaining; in sf_open_read() 265 remaining -= chunkSize; in sf_open_read() 267 if (remaining > 0) { in sf_open_read() [all …]
|
/system/core/base/ |
D | file.cpp | 126 size_t remaining = byte_count; in ReadFully() local 127 while (remaining > 0) { in ReadFully() 128 ssize_t n = TEMP_FAILURE_RETRY(read(fd, p, remaining)); in ReadFully() 131 remaining -= n; in ReadFully() 138 size_t remaining = byte_count; in WriteFully() local 139 while (remaining > 0) { in WriteFully() 140 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, remaining)); in WriteFully() 143 remaining -= n; in WriteFully()
|
/system/extras/boot_control_copy/ |
D | boot_control_copy.c | 100 size_t remaining; in copy_data() local 102 remaining = num_bytes; in copy_data() 103 while (remaining > 0) { in copy_data() 104 size_t num_to_read = remaining > COPY_BUF_SIZE ? COPY_BUF_SIZE : remaining; in copy_data() 128 remaining -= num_read; in copy_data()
|
/system/keymaster/ |
D | ocb.c | 796 unsigned i, k, tz, remaining; in process_ad() local 850 remaining = ((unsigned)ad_len) % (BPI * 16); in process_ad() 851 if (remaining) { in process_ad() 854 if (remaining >= 64) { in process_ad() 863 remaining -= 64; in process_ad() 867 if (remaining >= 32) { in process_ad() 872 remaining -= 32; in process_ad() 875 if (remaining >= 16) { in process_ad() 878 remaining = remaining - 16; in process_ad() 881 if (remaining) { in process_ad() [all …]
|
/system/connectivity/shill/test-scripts/ |
D | connect-disconnect | 97 (options, remaining) = parser.parse_args() 99 if len(remaining) < 1: 102 (service_name, ) = remaining
|
D | stability | 92 def Run(self, remaining): argument 100 print '%s remaining. Running %s' % (hms(remaining), ' '.join(iperf))
|
/system/extras/libfec/ |
D | fec_read.cpp | 476 size_t remaining = count; in raw_pread() local 478 while (remaining > 0) { in raw_pread() 479 ssize_t n = TEMP_FAILURE_RETRY(pread64(f->fd, p, remaining, offset)); in raw_pread() 486 remaining -= n; in raw_pread() 500 size_t remaining = count; in raw_pwrite() local 502 while (remaining > 0) { in raw_pwrite() 503 ssize_t n = TEMP_FAILURE_RETRY(pwrite64(f->fd, p, remaining, offset)); in raw_pwrite() 510 remaining -= n; in raw_pwrite()
|
/system/core/bootstat/ |
D | event_log_list_builder.cpp | 100 size_t remaining = MAX_EVENT_PAYLOAD_SIZE - payload_size_; in IsSpaceAvailable() local 102 remaining << "; needed=" << space_needed; in IsSpaceAvailable()
|
/system/extras/iotop/ |
D | taskstats.cpp | 92 int remaining = genlmsg_attrlen(gnlh, 0); in ParseTaskStats() local 94 nla_for_each_attr(attr, attr, remaining, remaining) { in ParseTaskStats()
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 267 struct timespec remaining; in testDelay() local 281 remaining = double2ts(amt - ts2double(&delta)); in testDelay() 282 (void) nanosleep(&remaining, NULL); in testDelay()
|
/system/extras/taskstats/ |
D | taskstats.c | 74 int remaining = genlmsg_attrlen(gnlh, 0); in parse_task_stats() local 76 nla_for_each_attr(attr, attr, remaining, remaining) { in parse_task_stats()
|
/system/extras/tests/workloads/ |
D | pwrtest.sh | 172 ((remaining=totalSamples-garbage)) 173 if [ $remaining -gt 0 ]; then 174 tail -$remaining $collectOutput > $powerOutput
|
/system/update_engine/update_manager/ |
D | evaluation_context.cc | 101 TimeDelta remaining = monotonic_deadline - clock_->GetMonotonicTime(); in RemainingTime() local 102 return std::max(remaining, TimeDelta()); in RemainingTime()
|
/system/tpm/tpm_manager/common/ |
D | tpm_ownership_interface.proto | 45 // The number of seconds remaining in the lockout.
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 37 a. INFO -> the remaining 60 bytes are an informative message 41 b. FAIL -> the requested command failed. The remaining 60 bytes 62 a. INFO -> display the remaining 60 bytes and return to #4 64 b. FAIL -> display the remaining 60 bytes (if present) as a failure
|
/system/core/libziparchive/ |
D | zip_archive.cc | 989 uint32_t remaining = length - count; in CopyEntryToWriter() local 993 const size_t block_size = (remaining > kBufSize) ? kBufSize : remaining; in CopyEntryToWriter()
|
/system/connectivity/shill/doc/ |
D | device-api.txt | 401 remaining to supply a correct PIN before the 408 gives the number of attempts remaining to supply
|
D | service-api.txt | 340 has any remaining bandwidth credits with the carrier.
|
/system/core/rootdir/ |
D | init.rc | 424 # Create all remaining /data root dirs so that they are made through init
|
/system/core/metricsd/uploader/proto/ |
D | system_profile.proto | 494 // All the remaining fields in the Stability are recorded at most once per
|
/system/tpm/trunks/generator/ |
D | raw_commands.txt | 8666 the data remaining after padding is removed and this may include leading zeros if the original encr… 12767 TPM2_NV_Certify() is an attestation command that is documented in 1. The remaining attestation 24985 encrypt, and restricted are implied to be SET in the parent (a Permanent Handle). The remaining
|
D | raw_commands_fixed.txt | 8677 the data remaining after padding is removed and this may include leading zeros if the original encr… 12778 TPM2_NV_Certify() is an attestation command that is documented in 1. The remaining attestation 24996 encrypt, and restricted are implied to be SET in the parent (a Permanent Handle). The remaining
|
D | raw_structures.txt | 8096 The following remaining paragraphs in this clause describe the use and settings for each of the
|