Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 33) sorted by relevance

12

/webrtc/stun/src/
H A Derror_code.rs14 pub code: ErrorCode, field
25 write!(f, "{}: {}", self.code.0, reason) in fmt()
47 let number = (self.code.0 % ERROR_CODE_MODULO) as u8; // error code modulo 100 in add_to()
48 let class = (self.code.0 / ERROR_CODE_MODULO) as u8; // hundred digit in add_to()
71 let code = class * ERROR_CODE_MODULO + number; in get_from() localVariable
72 self.code = ErrorCode(code); in get_from()
89 code: *self, in add_to()
/webrtc/sctp/src/
H A Derror_cause.rs52 pub(crate) code: ErrorCauseCode, field
85 write!(f, "{}", self.code) in fmt()
97 let code = ErrorCauseCode(reader.get_u16()); in unmarshal() localVariable
111 Ok(ErrorCause { code, raw }) in unmarshal()
122 writer.put_u16(self.code.0); in marshal_to()
133 self.code in error_cause_code()
/webrtc/mdns/src/message/resource/
H A Dopt.rs21 pub code: u16, // option code field
30 self.code, self.data in fmt()
54 msg = pack_uint16(msg, opt.code); in pack()
65 let (code, new_off) = unpack_uint16(msg, off)?; in unpack()
72 code, in unpack()
/webrtc/constraints/
H A D.gitignore32 !.vscode/*.code-snippets
46 .vscode/*.code-snippets
48 # Ignore code-workspaces
49 *.code-workspace
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/.github/workflows/
H A Dgrcov.yml29 - name: Checkout source code
53 …RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpan…
54 …RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Z…
/webrtc/examples/examples/data-channels-flow-control/
H A DREADME.md27 ## How to run the example code
29 The demo code implements two endpoints (requester and responder) in it.
49 Here's how to run the code:
/webrtc/turn/src/client/
H A Drelay_conn.rs426 let mut code = ErrorCodeAttribute::default(); in create_permissions() localVariable
427 let result = code.get_from(&res); in create_permissions()
430 } else if code.code == CODE_STALE_NONCE { in create_permissions()
434 return Err(Error::Other(format!("{} (error {})", res.typ, code))); in create_permissions()
496 let mut code = ErrorCodeAttribute::default(); in refresh_allocation() localVariable
497 let result = code.get_from(&res); in refresh_allocation()
500 } else if code.code == CODE_STALE_NONCE { in refresh_allocation()
H A Dmod.rs540 let mut code = ErrorCodeAttribute::default(); in allocate() localVariable
541 let result = code.get_from(&res); in allocate()
545 return Err(Error::Other(format!("{} (error {})", res.typ, code))); in allocate()
/webrtc/turn/src/server/
H A Drequest.rs159 code: CODE_BAD_REQUEST, in authenticate_request()
252 code: response_code, in respond_with_nonce()
318 code: CODE_ALLOC_MISMATCH, in handle_allocate_request()
343 code: CODE_BAD_REQUEST, in handle_allocate_request()
354 code: CODE_UNSUPPORTED_TRANS_PROTO, in handle_allocate_request()
378 code: CODE_UNKNOWN_ATTRIBUTE, in handle_allocate_request()
409 code: CODE_BAD_REQUEST, in handle_allocate_request()
441 code: CODE_INSUFFICIENT_CAPACITY, in handle_allocate_request()
489 code: CODE_INSUFFICIENT_CAPACITY, in handle_allocate_request()
720 code: CODE_BAD_REQUEST, in handle_channel_bind_request()
/webrtc/sctp/src/chunk/
H A Dchunk_test.rs52 code: PROTOCOL_VIOLATION, in test_abort_chunk_one_error_cause()
75 code: INVALID_MANDATORY_PARAMETER, in test_abort_chunk_many_error_causes()
79 code: UNRECOGNIZED_CHUNK_TYPE, in test_abort_chunk_many_error_causes()
83 code: PROTOCOL_VIOLATION, in test_abort_chunk_many_error_causes()
148 code: UNRECOGNIZED_CHUNK_TYPE, in test_chunk_error_unrecognized_chunk_type_marshal()
167 code: UNRECOGNIZED_CHUNK_TYPE, in test_chunk_error_unrecognized_chunk_type_marshal_with_cause_value_being_nil()
/webrtc/util/src/ifaces/ffi/unix/
H A Dmod.rs163 code => Some(Kind::Unknow(code)), in ifaces()
/webrtc/mdns/src/message/
H A Dmessage_test.rs220 code: 10, // see RFC 7873 in large_test_msg()
1221 code: 12, // see RFC 7828 in test_option_pack_unpack()
1225 code: 11, // see RFC 7830 in test_option_pack_unpack()
1265 code: 11, // see RFC 7830 in test_option_pack_unpack()
1278 code: 12, // see RFC 7828 in test_option_pack_unpack()
/webrtc/sctp/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/interceptor/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/examples/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/turn/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/rtcp/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/rtp/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/mdns/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/stun/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/media/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/data/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,
/webrtc/srtp/
H A DLICENSE-APACHE27 including but not limited to software source code, documentation
32 not limited to compiled object code, generated documentation,
56 communication on electronic mailing lists, source code control systems,

12