Searched refs:to_c (Results 1 – 11 of 11) sorted by relevance
/external/rust/android-crates-io/crates/quiche/src/h3/ |
D | ffi.rs | 133 Err(e) => e.to_c() as i64, in quiche_h3_conn_poll() 232 Err(e) => e.to_c() as i64, in quiche_h3_send_request() 246 Err(e) => e.to_c() as c_int, in quiche_h3_send_response() 266 Err(e) => e.to_c() as c_int, in quiche_h3_send_response_with_priority() 284 Err(e) => e.to_c(), in quiche_h3_send_body() 302 Err(e) => e.to_c(), in quiche_h3_recv_body() 320 Err(e) => e.to_c() as c_int, in quiche_h3_parse_extensible_priority() 332 Err(e) => e.to_c() as c_int, in quiche_h3_send_priority_update_for_request() 357 Err(e) => e.to_c() as c_int, in quiche_h3_take_last_priority_update() 382 Err(e) => e.to_c() as c_int, in quiche_h3_send_dgram() [all …]
|
D | mod.rs | 456 fn to_c(self) -> libc::ssize_t { in to_c() method 479 Error::TransportError(quic_error) => quic_error.to_c() - 1000, in to_c()
|
/external/python/cpython3/Tools/cases_generator/ |
D | stack.py | 89 def to_c(self) -> str: member in StackOffset 172 c_offset = self.top_offset.to_c() 195 if self.base_offset.to_c() != self.top_offset.to_c(): 196 print("base", self.base_offset.to_c(), "top", self.top_offset.to_c()) 198 number = self.base_offset.to_c() 212 return peek.to_c()
|
D | uop_metadata_generator.py | 55 popped = (-stack.base_offset).to_c()
|
D | opcode_metadata_generator.py | 99 popped = (-stack.base_offset).to_c() 100 pushed = (stack.top_offset - stack.base_offset).to_c()
|
/external/rust/android-crates-io/crates/quiche/src/ |
D | ffi.rs | 161 Err(e) => e.to_c() as c_int, in quiche_config_load_cert_chain_from_pem_file() 174 Err(e) => e.to_c() as c_int, in quiche_config_load_priv_key_from_pem_file() 187 Err(e) => e.to_c() as c_int, in quiche_config_load_verify_locations_from_file() 200 Err(e) => e.to_c() as c_int, in quiche_config_load_verify_locations_from_directory() 235 Err(e) => e.to_c() as c_int, in quiche_config_set_application_protos() 316 Err(e) => e.to_c() as c_int, in quiche_config_set_cc_algorithm_name() 399 Err(e) => return e.to_c() as c_int, in quiche_header_info() 522 Err(e) => e.to_c(), in quiche_negotiate_version() 552 Err(e) => e.to_c(), in quiche_retry() 683 Err(e) => e.to_c() as c_int, in quiche_conn_set_session() [all …]
|
D | path.rs | 62 pub fn to_c(self) -> libc::ssize_t { in to_c() method
|
D | lib.rs | 584 fn to_c(self) -> libc::ssize_t { in to_c() method
|
/external/harfbuzz_ng/src/wasm/rust/harfbuzz-wasm/src/ |
D | lib.rs | 245 fn to_c(self) -> (CGlyphInfo, CGlyphPosition); in to_c() method 300 (infos, positions) = glyphs.into_iter().map(|g| g.to_c()).unzip(); in drop() 410 fn to_c(self) -> (CGlyphInfo, CGlyphPosition) { in to_c() method
|
/external/python/cpython3/Objects/stringlib/ |
D | transmogrify.h | 446 char from_c, char to_c, in stringlib_replace_single_character_in_place() argument 475 *start = to_c; in stringlib_replace_single_character_in_place() 483 *next = to_c; in stringlib_replace_single_character_in_place()
|
/external/python/cpython3/Lib/test/ |
D | test_generated_cases.py | 64 self.assertEqual(stack.base_offset.to_c(), "-1 - oparg*2 - oparg") 65 self.assertEqual(stack.top_offset.to_c(), "1 - oparg*2 - oparg + oparg*4")
|