Home
last modified time | relevance | path

Searched refs:encode_string (Results 1 – 18 of 18) sorted by relevance

/external/grpc-grpc/third_party/nanopb/tests/callbacks/
Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string() function
71 testmessage.stringvalue.funcs.encode = &encode_string; in main()
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main()
/external/nanopb-c/tests/callbacks/
Dencode_callbacks.c9 bool encode_string(pb_ostream_t *stream, const pb_field_t *field, void * const *arg) in encode_string() function
71 testmessage.stringvalue.funcs.encode = &encode_string; in main()
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main()
/external/rust/crates/base64/src/read/
Ddecoder_tests.rs107 engine.encode_string(&bytes[..], &mut b64); in handles_short_read_from_delegate()
145 engine.encode_string(&bytes[..], &mut b64); in read_in_short_increments()
176 engine.encode_string(&bytes[..], &mut b64); in read_in_short_increments_with_short_delegate_reads()
218 engine.encode_string(&bytes[..], &mut b64); in reports_invalid_last_symbol_correctly()
264 engine.encode_string(&bytes[..], &mut b64); in reports_invalid_byte_correctly()
/external/rust/crates/base64/src/write/
Dencoder_tests.rs285 engine.encode_string(&orig_data, &mut normal_encoded); in every_possible_split_of_input()
328 engine.encode_string(&orig_data, &mut normal_encoded); in retrying_writes_that_error_with_interrupted_works()
392 engine.encode_string(&orig_data, &mut normal_encoded); in writes_that_only_write_part_of_input_and_sometimes_interrupt_produce_correct_encoded_data()
471 engine.encode_string(&orig_data, &mut normal_encoded); in do_encode_random_config_matches_normal_encode()
Dencoder_string_writer.rs166 engine.encode_string(&orig_data, &mut normal_encoded); in every_possible_split_of_input()
/external/rust/crates/base64/src/
Dencode.rs43 engine.encode_string(input, output_buf) in encode_engine_string()
265 engine.encode_string(&orig_data, &mut encoded_data_no_prefix); in encode_engine_string_into_nonempty_buffer_doesnt_clobber_prefix()
266 engine.encode_string(&orig_data, &mut encoded_data_with_prefix); in encode_engine_string_into_nonempty_buffer_doesnt_clobber_prefix()
Ddecode.rs202 engine.encode_string(&orig_data, &mut encoded_data); in decode_into_nonempty_vec_doesnt_clobber_existing_prefix()
320 engine.encode_string(&orig_data, &mut encoded_data); in do_decode_slice_doesnt_clobber_existing_prefix_or_suffix()
Dtests.rs70 engine.encode_string(&input_buf, &mut encoded_buf); in roundtrip_random_config()
Dchunked_encoder.rs197 engine.encode_string(&input_buf, &mut output_buf); in chunked_encode_matches_normal_encode_random()
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dload_balancer_api.cc83 static bool encode_string(pb_ostream_t* stream, const pb_field_t* field, in encode_string() function
98 drop_message.load_balance_token.funcs.encode = encode_string; in encode_drops()
/external/rust/crates/spki/src/
Dspki.rs55 Ok(Base64::encode_string(&self.fingerprint_bytes()?)) in fingerprint_base64()
/external/rust/crates/base64/tests/
Dtests.rs30 engine.encode_string(&byte_buf, str_buf); in roundtrip_random()
/external/rust/crates/base64/src/engine/
Dmod.rs154 fn encode_string<T: AsRef<[u8]>>(&self, input: T, output_buf: &mut String) { in encode_string() method
Dtests.rs1165 engine.encode_string(&orig_data, &mut encoded_data); in decode_into_slice_fits_in_precisely_sized_slice()
/external/rust/crates/base64/benches/
Dbenchmarks.rs91 STANDARD.encode_string(&v, &mut buf); in do_encode_bench_reuse_buf()
/external/rust/crates/der/src/
Ddocument.rs95 Ok(pem::encode_string(label, line_ending, self.as_bytes())?) in to_pem()
/external/rust/crates/base64/
DRELEASE-NOTES.md14 | `encode_config_buf()` | `engine.encode_string()` …
/external/sg3_utils/src/
Dsg_inq.c992 encode_string(char *out, const uint8_t *in, int inlen) in encode_string() function
2374 encode_string(xtra_buff, &rp[8], 8); in std_inq_decode()
2389 encode_string(xtra_buff, &rp[16], 16); in std_inq_decode()