OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:control_signals
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/chrome/browser/extensions/api/serial/
serial_connection_win.cc
58
bool SerialConnection::GetControlSignals(ControlSignals &
control_signals
) {
62
control_signals
.dcd = (MS_RLSD_ON & dwModemStatus) != 0;
63
control_signals
.cts = (MS_CTS_ON & dwModemStatus) != 0;
68
const ControlSignals &
control_signals
) {
69
if (
control_signals
.should_set_dtr) {
70
if (!EscapeCommFunction(file_,
control_signals
.dtr ? SETDTR : CLRDTR))
73
if (
control_signals
.should_set_rts) {
74
if (!EscapeCommFunction(file_,
control_signals
.rts ? SETRTS : CLRRTS))
serial_connection_posix.cc
121
bool SerialConnection::GetControlSignals(ControlSignals &
control_signals
) {
124
control_signals
.dcd = (status & TIOCM_CAR) != 0;
125
control_signals
.cts = (status & TIOCM_CTS) != 0;
132
const ControlSignals &
control_signals
) {
138
if (
control_signals
.should_set_dtr) {
139
if (
control_signals
.dtr)
144
if (
control_signals
.should_set_rts) {
145
if (
control_signals
.rts)
serial_connection.h
55
virtual bool GetControlSignals(ControlSignals &
control_signals
);
56
virtual bool SetControlSignals(const ControlSignals &
control_signals
);
serial_api.cc
325
SerialConnection::ControlSignals
control_signals
= { 0 };
local
326
if (serial_connection->GetControlSignals(
control_signals
)) {
328
result->SetBoolean(kDcdKey,
control_signals
.dcd);
329
result->SetBoolean(kCtsKey,
control_signals
.cts);
364
SerialConnection::ControlSignals
control_signals
= { 0 };
local
365
control_signals
.should_set_dtr = params_->options.dtr.get() != NULL;
366
if (
control_signals
.should_set_dtr)
367
control_signals
.dtr = *(params_->options.dtr);
368
control_signals
.should_set_rts = params_->options.rts.get() != NULL;
369
if (
control_signals
.should_set_rts
[
all
...]
Completed in 258 milliseconds