/system/core/libstats/include/ |
D | stats_event_list.h | 59 int retval = android_log_destroy(&ctx); in close() local 60 if (retval < 0) { in close() 61 ret = retval; in close() 63 return retval; in close() 73 int retval = android_log_write_list_begin(ctx); in begin() local 74 if (retval < 0) { in begin() 75 ret = retval; in begin() 80 int retval = android_log_write_list_end(ctx); in end() local 81 if (retval < 0) { in end() 82 ret = retval; in end() [all …]
|
/system/core/liblog/include/log/ |
D | log_event_list.h | 142 int retval = android_log_destroy(&ctx); in close() local 143 if (retval < 0) ret = retval; in close() 144 return retval; in close() 158 int retval = android_log_write_list_begin(ctx); in begin() local 159 if (retval < 0) ret = retval; in begin() 163 int retval = android_log_write_list_end(ctx); in end() local 164 if (retval < 0) ret = retval; in end() 169 int retval = android_log_write_int32(ctx, value); variable 170 if (retval < 0) ret = retval; 175 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); variable [all …]
|
/system/tpm/trunks/ftdi/ |
D | mpsse.c | 259 int retval = MPSSE_OK, i = 0, setup_commands_size = 0; in SetMode() local 367 retval = MPSSE_FAIL; in SetMode() 371 if (retval == MPSSE_OK && setup_commands_size > 0) { in SetMode() 372 retval = raw_write(mpsse, setup_commands, setup_commands_size); in SetMode() 375 if (retval == MPSSE_OK) { in SetMode() 387 retval = raw_write(mpsse, buf, i); in SetMode() 390 retval = MPSSE_FAIL; in SetMode() 393 return retval; in SetMode() 406 int retval = MPSSE_FAIL; in SetClock() local 435 retval = MPSSE_OK; in SetClock() [all …]
|
D | support.c | 32 int retval = MPSSE_FAIL; variable 36 retval = MPSSE_OK; 40 return retval; 228 int retval = MPSSE_FAIL; in gpio_write() local 238 retval = raw_write(mpsse, (uint8_t*)&mpsse->bitbang, 1); in gpio_write() 257 retval = set_bits_low(mpsse, mpsse->pstop); in gpio_write() 268 retval = set_bits_high(mpsse, mpsse->gpioh); in gpio_write() 272 return retval; in gpio_write()
|
/system/core/libcutils/tests/ |
D | fs_config.cpp | 67 bool retval = false; in check_unique() local 78 retval = true; in check_unique() 92 retval = true; in check_unique() 109 retval = true; in check_unique() 113 return retval; in check_unique() 122 bool retval = false; in check_unique() local 127 retval = true; in check_unique() 133 return check_unique(paths_tmp, config, prefix) || retval; in check_unique() 137 bool match, retval = false; in check_fs_config_cmp() local 145 retval = true; in check_fs_config_cmp() [all …]
|
/system/core/logd/ |
D | LogBufferElement.cpp | 94 char* retval = NULL; in tidToName() local 108 retval = strdup(buffer); in tidToName() 115 if (!retval) { in tidToName() 116 retval = name; in tidToName() 123 size_t retval_len = strlen(retval); in tidToName() 127 !fastcmp<strcmp>(retval, name + name_len - retval_len)) { in tidToName() 128 free(retval); in tidToName() 129 retval = name; in tidToName() 134 return retval; in tidToName() 208 size_t retval = hdrLen + len; in populateDroppedMessage() local [all …]
|
/system/core/toolbox/upstream-netbsd/lib/libutil/ |
D | raise_default_signal.c | 68 int retval, oerrno; in raise_default_signal() local 70 retval = -1; in raise_default_signal() 99 retval = 0; in raise_default_signal() 114 return retval; in raise_default_signal()
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_utils.cpp | 30 uint8_t* retval = new (std::nothrow) uint8_t[size]; in dup_buffer() local 31 if (retval) in dup_buffer() 32 memcpy(retval, buf, size); in dup_buffer() 33 return retval; in dup_buffer()
|
D | android_keymaster_messages.cpp | 184 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle); in NonErrorDeserialize() local 185 if (retval && message_version > 0) in NonErrorDeserialize() 186 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize() 187 return retval; in NonErrorDeserialize() 206 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle) && input.Deserialize(buf_ptr, end); in Deserialize() local 207 if (retval && message_version > 0) in Deserialize() 208 retval = additional_params.Deserialize(buf_ptr, end); in Deserialize() 209 return retval; in Deserialize() 243 bool retval = output.Deserialize(buf_ptr, end); in NonErrorDeserialize() local 244 if (retval && message_version > 0) in NonErrorDeserialize() [all …]
|
/system/nfc/src/nfc/tags/ |
D | rw_t3t.cc | 606 tNFC_STATUS retval; in rw_t3t_send_cmd() local 618 retval = rw_t3t_send_to_lower(p_cmd_buf); in rw_t3t_send_cmd() 619 if (retval == NFC_STATUS_OK) { in rw_t3t_send_cmd() 630 timeout_ticks, retval); in rw_t3t_send_cmd() 631 return (retval); in rw_t3t_send_cmd() 645 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_ndef_attribute_cmd() local 712 retval = rw_t3t_send_cmd(p_cb, RW_T3T_CMD_UPDATE_NDEF, p_cmd_buf, in rw_t3t_send_update_ndef_attribute_cmd() 715 retval = NFC_STATUS_NO_BUFFERS; in rw_t3t_send_update_ndef_attribute_cmd() 718 return (retval); in rw_t3t_send_update_ndef_attribute_cmd() 731 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_next_ndef_update_cmd() local [all …]
|
/system/core/logcat/ |
D | logcatd_main.cpp | 65 int retval = android_logcat_run_command(ctx, -1, -1, argv_hold.size() - 1, in main() local 67 if (!ret) ret = retval; in main() 68 retval = android_logcat_destroy(&ctx); in main() 69 if (!ret) ret = retval; in main()
|
D | logcat_main.cpp | 26 int retval = android_logcat_run_command(ctx, -1, -1, argc, argv, envp); in main() local 28 if (!ret) ret = retval; in main()
|
D | logcat_system.cpp | 103 FILE* retval = fdopen(duped, "reb"); in android_logcat_popen() local 104 if (!retval) { in android_logcat_popen() 108 return retval; in android_logcat_popen() 145 int retval = android_logcat_run_command(ctx, -1, -1, argv.size() - 1, in android_logcat_system() local 151 if (!ret) ret = retval; in android_logcat_system()
|
D | logcat.cpp | 81 volatile std::atomic_int retval; // valid if thread_stopped set member 605 context->retval = EXIT_FAILURE; in logcat_panic() 641 log_time retval(log_time::EPOCH); in lastLogTime() local 642 if (!outputFileName) return retval; in lastLogTime() 656 if (!dir.get()) return retval; in lastLogTime() 693 if ((t < now) && (t > retval)) { in lastLogTime() 694 retval = t; in lastLogTime() 701 if (retval == log_time::EPOCH) return retval; in lastLogTime() 704 retval += modulo; in lastLogTime() 705 return retval; in lastLogTime() [all …]
|
/system/update_engine/ |
D | boot_control_chromeos.cc | 166 int retval = CgptGetPartitionDetails(¶ms); in IsSlotBootable() local 167 if (retval != CGPT_OK) in IsSlotBootable() 197 int retval = CgptSetAttributes(¶ms); in MarkSlotUnbootable() local 198 if (retval != CGPT_OK) { in MarkSlotUnbootable() 221 int retval = CgptPrioritize(&prio_params); in SetActiveBootSlot() local 222 if (retval != CGPT_OK) { in SetActiveBootSlot() 237 retval = CgptSetAttributes(&add_params); in SetActiveBootSlot() 238 if (retval != CGPT_OK) { in SetActiveBootSlot()
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 37 local retval=$? 38 if [[ $retval -ne 0 ]] 45 return $retval
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 185 struct disk_perf retval; in disk_perf_multiply() local 186 retval.read_perf = (double)perf.read_perf * mul; in disk_perf_multiply() 187 retval.read_ios = (double)perf.read_ios * mul; in disk_perf_multiply() 188 retval.write_perf = (double)perf.write_perf * mul; in disk_perf_multiply() 189 retval.write_ios = (double)perf.write_ios * mul; in disk_perf_multiply() 190 retval.queue = (double)perf.queue * mul; in disk_perf_multiply() 192 return retval; in disk_perf_multiply() 196 struct disk_stats retval; in disk_stats_add() local 197 retval.read_ios = stats1.read_ios + stats2.read_ios; in disk_stats_add() 198 retval.read_merges = stats1.read_merges + stats2.read_merges; in disk_stats_add() [all …]
|
/system/core/liblog/ |
D | logger_read.c | 137 ssize_t retval = \ 140 ret = retval; \ 189 ssize_t retval = \ 192 ret = retval; \ 398 int retval = transp->ret; in android_logger_list_read() local 399 if ((retval > 0) && !transp->logMsg.entry.len) { in android_logger_list_read() 401 retval = transp->ret = 0; in android_logger_list_read() 404 retval = android_transport_read(logger_list_internal, transp, in android_logger_list_read() 418 retval = transp->ret = pollval; in android_logger_list_read() 420 retval = android_transport_read(logger_list_internal, transp, in android_logger_list_read() [all …]
|
/system/libhwbinder/vts/performance/ |
D | Benchmark_binder.cpp | 105 int stat, retval; in main() local 106 retval = wait(&stat); in main() 107 if (retval == -1 && errno == ECHILD) { in main()
|
D | Benchmark.cpp | 141 int stat, retval; in main() local 142 retval = wait(&stat); in main() 143 if (retval == -1 && errno == ECHILD) { in main()
|
/system/bt/btif/src/ |
D | btif_avrcp_audio_track.cc | 136 int retval = -1; in BtifAvrcpAudioTrackWriteData() local 142 retval = trackHolder->track->write(audioBuffer, (size_t)bufferlen); in BtifAvrcpAudioTrackWriteData() 144 bufferlen, retval); in BtifAvrcpAudioTrackWriteData() 145 return retval; in BtifAvrcpAudioTrackWriteData()
|
/system/iot/attestation/atap/test/ |
D | atap_unittest_util.h | 70 uint8_t* retval = (uint8_t*)&buf[*index]; in next() local 72 return retval; in next()
|
/system/keymaster/tests/ |
D | ckdf_test.cpp | 75 Blob retval(reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()); in hex2span() 76 return std::move(retval); in hex2span()
|
/system/bt/vendor_libs/linux/interface/ |
D | async_fd_watcher.cc | 146 int retval = select(nfds + 1, &read_fds, NULL, NULL, timeout_ptr); in ThreadRoutine() local 149 if (retval < 0) continue; in ThreadRoutine() 152 if (retval == 0) { in ThreadRoutine()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.cpp | 120 int retval = -1; in verify_table() local 139 retval = 0; in verify_table() 143 return retval; in verify_table() 756 int retval = FS_MGR_SETUP_VERITY_FAIL; in fs_mgr_setup_verity() local 771 return retval; in fs_mgr_setup_verity() 779 retval = FS_MGR_SETUP_VERITY_SKIPPED; in fs_mgr_setup_verity() 787 retval = FS_MGR_SETUP_VERITY_DISABLED; in fs_mgr_setup_verity() 839 retval = FS_MGR_SETUP_VERITY_SKIPPED; in fs_mgr_setup_verity() 845 retval = FS_MGR_SETUP_VERITY_SKIPPED; in fs_mgr_setup_verity() 935 retval = FS_MGR_SETUP_VERITY_SUCCESS; in fs_mgr_setup_verity() [all …]
|