Home
last modified time | relevance | path

Searched defs:rc (Results 1 – 25 of 61) sorted by relevance

123

/packages/modules/adb/tools/
Dcheck_ms_os_desc.cpp35 int rc = libusb_get_active_config_descriptor(device, &config_desc); in is_adb_device() local
63 int rc = libusb_get_descriptor(handle, type, index, result.data(), result.size()); in get_descriptor() local
76 int rc = libusb_get_string_descriptor_ascii( in get_string_descriptor() local
109 int rc = libusb_control_transfer(device_handle, 0xC0, vendor_code, 0x00, 0x04, data.data(), in check_ms_os_desc_v1() local
161 int rc = libusb_get_bos_descriptor(device_handle, &bos); in check_ms_os_desc_v2() local
224 int rc = libusb_open(device, &device_handle); in main() local
Dadb_usbreset.cpp36 [[noreturn]] static void Usage(int rc) { in Usage()
102 int rc = libusb_init(&ctx); in main() local
/packages/modules/adb/fdevent/
Dfdevent_epoll.cpp32 ssize_t rc = TEMP_FAILURE_RETRY(adb_read(fd, &buf, sizeof(buf))); in fdevent_interrupt() local
119 int rc = -1; in Loop() local
194 ssize_t rc = TEMP_FAILURE_RETRY(adb_write(this->interrupt_fd_, &i, sizeof(i))); in Interrupt() local
Dfdevent_poll.cpp55 ssize_t rc = TEMP_FAILURE_RETRY(adb_read(fd, buf, sizeof(buf))); in fdevent_interrupt() local
205 int rc = adb_write(this->interrupt_fd_, "", 1); in Interrupt() local
/packages/modules/adb/daemon/
Dusb.cpp208 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Write() local
224 ssize_t rc = adb_write(worker_event_fd_.get(), &notify, sizeof(notify)); in Stop() local
273 int rc = TEMP_FAILURE_RETRY(adb_poll(pfd, 2, timeout_ms)); in StartMonitor() local
371 ssize_t rc = adb_write(control_fd_.get(), "", 0); in StartMonitor() local
380 ssize_t rc = adb_read(control_fd_.get(), buf.data(), buf.size()); in StartMonitor() local
416 ssize_t rc = adb_read(worker_event_fd_.get(), &dummy, sizeof(dummy)); in StartWorker() local
438 int rc = pthread_kill(worker_thread_handle, kInterruptionSignal); in StopWorker() local
488 int rc = io_getevents(aio_context_.get(), 0, kMaxEvents, events, &timeout); in ReadEvents() local
669 int rc = io_submit(aio_context_.get(), writes_to_submit, iocbs); in SubmitWrites() local
Dfile_sync_service.cpp167 int rc = stat_fn(path, &st); in do_stat_v2() local
396 int rc = posix_fadvise(fd.get(), 0, 0, in handle_send_file() local
577 int rc = ReadFdExactly(s, &msg.send_v2_setup, sizeof(msg.send_v2_setup)); in do_send_v2() local
641 int rc = posix_fadvise(fd.get(), 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); in recv_impl() local
729 int rc = ReadFdExactly(s, &msg.recv_v2_setup, sizeof(msg.recv_v2_setup)); in do_recv_v2() local
/packages/modules/adb/client/
Dusb_libusb.cpp296 int rc = libusb_submit_transfer(read->transfer); in SubmitRead() local
317 int rc = libusb_submit_transfer(write->transfer); in SubmitWrite() local
360 int rc = libusb_get_device_descriptor(device_.get(), &device_desc); in GetDeviceDescriptor() local
378 int rc = libusb_get_active_config_descriptor(device_.get(), &config_raw); in FindInterface() local
480 int rc = libusb_get_string_descriptor_ascii( in GetSerial() local
503 int rc = libusb_open(device_.get(), &handle_raw); in OpenDevice() local
566 int rc = libusb_cancel_transfer(read_block->transfer); in CancelReadTransfer() local
599 int rc = libusb_cancel_transfer(write_block->transfer); in CloseDevice() local
637 int rc = libusb_release_interface(device_handle_.get(), interface_num_); in CloseDevice() local
692 int rc = libusb_reset_device(device_handle_.get()); in Reset() local
[all …]
Dtransport_usb.cpp87 int rc = usb_read(h, &p->payload[0], p->payload.size()); in UsbReadPayload() local
158 int rc = remote_read(packet, handle_); in Read() local
/packages/modules/adb/
Dcompression_utils.h253 size_t rc = LZ4F_decompress(decoder_.get(), next_out, &available_out, next_in, in Decode() local
295 size_t rc = LZ4F_compressBegin(encoder_.get(), header.data(), header.size(), nullptr); in LZ4Encoder() local
334 size_t rc = LZ4F_compressUpdate(encoder_.get(), next_out, available_out, next_in, in Encode() local
354 size_t rc = LZ4F_compressEnd(encoder_.get(), final_block.data(), final_block.size(), in Encode() local
407 size_t rc = ZSTD_decompressStream(decoder_.get(), &out, &in); in Decode() local
459 size_t rc = ZSTD_compressStream2(encoder_.get(), &out, &in, end_directive); in Encode() local
Dtransport_fd.cpp38 int rc = adb_socketpair(wake_fds); in CreateWakeFds() local
77 int rc = adb_poll(pfds, 2, -1); in Run() local
179 ssize_t rc = adb_writev(fd_.get(), iovs.data(), iovs.size()); in DispatchWrites() local
/packages/modules/Bluetooth/system/types/bluetooth/
Duuid.cc76 int rc = in FromString() local
88 int rc = sscanf(uuid.c_str(), "%02hhx%02hhx%02hhx%02hhx%n", &p[0], &p[1], in FromString() local
96 int rc = sscanf(uuid.c_str(), "%02hhx%02hhx%n", &p[2], &p[3], &c); in FromString() local
/packages/modules/Bluetooth/system/utils/src/
Dbt_utils.cc115 int rc = 0; in raise_priority_a2dp() local
148 const int rc = sched_setscheduler(tid, SCHED_FIFO, &rt_params); in raise_priority_a2dp() local
/packages/modules/Bluetooth/system/gd/hci/
Duuid.cc75 int rc = sscanf( in FromString() local
105 int rc = sscanf(uuid.c_str(), "%02hhx%02hhx%02hhx%02hhx%n", &p[0], &p[1], &p[2], &p[3], &c); in FromString() local
115 int rc = sscanf(uuid.c_str(), "%02hhx%02hhx%n", &p[2], &p[3], &c); in FromString() local
/packages/modules/Bluetooth/system/stack/crypto_toolbox/
Daes.cc541 uint_8t cc, rc, hi; local
695 static void update_encrypt_key_128(uint_8t k[N_BLOCK], uint_8t* rc) {
718 uint_8t s1[N_BLOCK], r, rc = 1; local
750 static void update_decrypt_key_128(uint_8t k[N_BLOCK], uint_8t* rc) {
772 uint_8t s1[N_BLOCK], r, rc = 0x6c; local
803 static void update_encrypt_key_256(uint_8t k[2 * N_BLOCK], uint_8t* rc) {
838 uint_8t s1[N_BLOCK], r, rc = 1; local
880 static void update_decrypt_key_256(uint_8t k[2 * N_BLOCK], uint_8t* rc) {
916 uint_8t s1[N_BLOCK], r, rc = 0x80; local
/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Daes.cc489 uint_8t cc, rc, hi; local
639 static void update_encrypt_key_128(uint_8t k[N_BLOCK], uint_8t* rc) {
663 uint_8t s1[N_BLOCK], r, rc = 1; local
695 static void update_decrypt_key_128(uint_8t k[N_BLOCK], uint_8t* rc) {
718 uint_8t s1[N_BLOCK], r, rc = 0x6c; local
749 static void update_encrypt_key_256(uint_8t k[2 * N_BLOCK], uint_8t* rc) {
785 uint_8t s1[N_BLOCK], r, rc = 1; local
827 static void update_decrypt_key_256(uint_8t k[2 * N_BLOCK], uint_8t* rc) {
864 uint_8t s1[N_BLOCK], r, rc = 0x80; local
/packages/modules/Bluetooth/system/embdrv/lc3/test/
Dtns_py.c53 float *a, *rc; in lpc_reflection_py() local
69 float *rc; in quantize_rc_py() local
88 float *rc; in unquantize_rc_py() local
/packages/modules/adb/libs/adbconnection/
Dadbconnection_client.cpp158 int rc = connect(ctx->control_socket_.get(), reinterpret_cast<sockaddr*>(&addr), addr_len); in adbconnection_client_new() local
196 ssize_t rc = android::base::ReceiveFileDescriptors(ctx->control_socket_, &dummy, 1, &jdwp_fd); in adbconnection_client_receive_jdwp_fd() local
/packages/modules/Bluetooth/system/embdrv/lc3/src/
Dtns.c114 float err = r[f][0], rc; in compute_lpc_coeffs() local
166 LC3_HOT static void lpc_reflection(const float *a, float *rc) in lpc_reflection()
196 static void quantize_rc(const float *rc, int *rc_order, int *rc_q) in quantize_rc()
350 float rc[2][8]; in lc3_tns_analyze() local
381 float rc[2][8] = { }; in lc3_tns_synthesize() local
Dtns.h41 int rc[2][8]; member
/packages/modules/Bluetooth/system/btcore/test/
Ddevice_class_test.cc81 int rc = device_class_to_stream(&dc, dc_stream1, sizeof(dc_stream1)); in TEST_F() local
100 int rc = device_class_to_stream(&dc, dc_stream1, sizeof(dc_stream1)); in TEST_F() local
118 int rc = device_class_to_stream(&dc, dc_stream1, sizeof(dc_stream1)); in TEST_F() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DColorSpaceMatrix.java81 private void xRotateMatrix(float rs, float rc) in xRotateMatrix()
94 private void yRotateMatrix(float rs, float rc) in yRotateMatrix()
107 private void zRotateMatrix(float rs, float rc) in zRotateMatrix()
/packages/modules/adb/crypto/
Dkey.cpp30 int rc = PEM_write_bio_PKCS8PrivateKey(bio.get(), pkey, nullptr, nullptr, 0, nullptr, nullptr); in ToPEMString() local
/packages/modules/Bluetooth/system/tools/bdtool/
Dbdtool.c123 int rc = bt_interface->set_adapter_property(property); in main() local
143 int rc = bt_interface->create_bond( in main() local
/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp189 ssize_t rc = write(event_fd_.get(), &value, sizeof(value)); in stopServer() local
253 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 2, -1)); in serverWorker() local
270 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in serverWorker() local
/packages/modules/adb/sysdeps/posix/
Dnetwork.cpp86 int rc = _network_loopback_client(false, port, type, error); in network_loopback_client() local
123 int rc = -1; in network_loopback_server() local

123