/packages/modules/adb/tools/ |
D | check_ms_os_desc.cpp | 35 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
|
D | adb_usbreset.cpp | 36 [[noreturn]] static void Usage(int rc) { in Usage() 102 int rc = libusb_init(&ctx); in main() local
|
/packages/modules/adb/fdevent/ |
D | fdevent_epoll.cpp | 32 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
|
D | fdevent_poll.cpp | 55 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/ |
D | usb.cpp | 208 ssize_t rc = adb_write(worker_event_fd_.get(), ¬ify, sizeof(notify)); in Write() local 224 ssize_t rc = adb_write(worker_event_fd_.get(), ¬ify, 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
|
D | file_sync_service.cpp | 167 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/ |
D | usb_libusb.cpp | 296 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 …]
|
D | transport_usb.cpp | 87 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/ |
D | compression_utils.h | 253 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
|
D | transport_fd.cpp | 38 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/ |
D | uuid.cc | 76 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/ |
D | bt_utils.cc | 115 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/ |
D | uuid.cc | 75 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/ |
D | aes.cc | 541 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/ |
D | aes.cc | 489 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/ |
D | tns_py.c | 53 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/ |
D | adbconnection_client.cpp | 158 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/ |
D | tns.c | 114 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
|
D | tns.h | 41 int rc[2][8]; member
|
/packages/modules/Bluetooth/system/btcore/test/ |
D | device_class_test.cc | 81 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/ |
D | ColorSpaceMatrix.java | 81 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/ |
D | key.cpp | 30 int rc = PEM_write_bio_PKCS8PrivateKey(bio.get(), pkey, nullptr, nullptr, 0, nullptr, nullptr); in ToPEMString() local
|
/packages/modules/Bluetooth/system/tools/bdtool/ |
D | bdtool.c | 123 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/ |
D | pairing_server.cpp | 189 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/ |
D | network.cpp | 86 int rc = _network_loopback_client(false, port, type, error); in network_loopback_client() local 123 int rc = -1; in network_loopback_server() local
|