Home
last modified time | relevance | path

Searched refs:read_string (Results 1 – 25 of 110) sorted by relevance

12345

/aosp_15_r20/external/rust/android-crates-io/crates/uniffi_meta/src/
Dreader.rs41 crate_name: self.read_string()?, in read_metadata()
42 name: self.read_string()?, in read_metadata()
46 module_path: self.read_string()?, in read_metadata()
47 namespace: self.read_string()?, in read_metadata()
48 file_stub: self.read_string()?, in read_metadata()
113 fn read_string(&mut self) -> Result<String> { in read_string() method
149 module_path: self.read_string()?, in read_type()
150 name: self.read_string()?, in read_type()
153 module_path: self.read_string()?, in read_type()
154 name: self.read_string()?, in read_type()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/nix/test/
Dtest_sendfile.rs100 let mut read_string = String::new(); in test_sendfile_freebsd() localVariable
101 let bytes_read = rd.read_to_string(&mut read_string).unwrap(); in test_sendfile_freebsd()
103 assert_eq!(expected_string, read_string); in test_sendfile_freebsd()
149 let mut read_string = String::new(); in test_sendfile_dragonfly() localVariable
150 let bytes_read = rd.read_to_string(&mut read_string).unwrap(); in test_sendfile_dragonfly()
152 assert_eq!(expected_string, read_string); in test_sendfile_dragonfly()
198 let mut read_string = String::new(); in test_sendfile_darwin() localVariable
199 let bytes_read = rd.read_to_string(&mut read_string).unwrap(); in test_sendfile_darwin()
201 assert_eq!(expected_string, read_string); in test_sendfile_darwin()
257 let mut read_string = String::new(); in test_sendfilev() localVariable
[all …]
/aosp_15_r20/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py55 parser.read_string(self.config)
76 parser.read_string(self.config)
215 conf.defaultCfg[ctype].read_string(self.config_string[ctype])
217 conf.userCfg[ctype].read_string(self.config_string[ctype])
415 userextn.read_string('''
440 userextn.read_string('''
450 userextn.read_string('''
462 userextn.read_string('''
604 usermain.read_string('''
620 usermain.read_string('''
[all …]
/aosp_15_r20/out/soong/.intermediates/system/apex/proto/libapex_manifest_rs/android_arm64_armv8-2a_cortex-a55_source/
Dapex_manifest.rs217 self.name = is.read_string()?; in merge_from()
223 self.preInstallHook = is.read_string()?; in merge_from()
226 self.postInstallHook = is.read_string()?; in merge_from()
229 self.versionName = is.read_string()?; in merge_from()
235 self.provideNativeLibs.push(is.read_string()?); in merge_from()
238 self.requireNativeLibs.push(is.read_string()?); in merge_from()
241 self.jniLibs.push(is.read_string()?); in merge_from()
244 self.requireSharedApexLibs.push(is.read_string()?); in merge_from()
256 self.vndkVersion = is.read_string()?; in merge_from()
509 self.originalApexDigest = is.read_string()?; in merge_from()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-json-mapping/src/
Dparse.rs275 let v = self.read_string()?; in read_number()
303 w.value = self.read_string()?; in merge_string_value()
336 fn read_string(&mut self) -> ParseResultWithoutLoc<String> { in read_string() method
353 let s = self.read_string()?; in read_bytes()
367 let name = self.read_string()?; in read_enum()
414 RuntimeType::String => self.read_string().map(ReflectValueBox::from), in read_value()
501 let key_string = self.read_string()?; in read_map()
669 let field_name = self.read_string()?; in merge_inner()
692 let s = self.read_string()?; in merge_wk_duration()
766 let s = self.read_string()?; in merge_wk_timestamp()
[all …]
/aosp_15_r20/tools/netsim/rust/proto/src/
H A Dconfig.rs204 self.vnet = is.read_string()?; in merge_from()
207 self.vhost = is.read_string()?; in merge_from()
210 self.vmask = is.read_string()?; in merge_from()
216 self.vprefix6 = is.read_string()?; in merge_from()
222 self.vhost6 = is.read_string()?; in merge_from()
225 self.vhostname = is.read_string()?; in merge_from()
228 self.tftpath = is.read_string()?; in merge_from()
231 self.bootfile = is.read_string()?; in merge_from()
234 self.dhcpstart = is.read_string()?; in merge_from()
237 self.dns = is.read_string()?; in merge_from()
[all …]
H A Dstartup.rs215 self.name = is.read_string()?; in merge_from()
376 self.name = is.read_string()?; in merge_from()
564 self.name = is.read_string()?; in merge_from()
567 self.kind = is.read_string()?; in merge_from()
570 self.version = is.read_string()?; in merge_from()
573 self.sdk_version = is.read_string()?; in merge_from()
576 self.build_id = is.read_string()?; in merge_from()
579 self.variant = is.read_string()?; in merge_from()
582 self.arch = is.read_string()?; in merge_from()
818 self.id = is.read_string()?; in merge_from()
[all …]
/aosp_15_r20/external/rust/crabbyavif/src/internal_utils/
Dstream.rs199 pub fn read_string(&mut self, size: usize) -> AvifResult<String> { in read_string() method
321 fn read_string() { in read_string() function
323 assert_eq!(IStream::create(bytes).read_string(4), Ok("abcd".into())); in read_string()
324 assert_eq!(IStream::create(bytes).read_string(5), Ok("abcd\0".into())); in read_string()
325 assert_eq!(IStream::create(bytes).read_string(6), Ok("abcd\0e".into())); in read_string()
327 IStream::create(bytes).read_string(8), in read_string()
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_configparser.py66 cf.read_string(string)
337 cf.read_string(textwrap.dedent("""\
343 cf.read_string(textwrap.dedent("""\
350 cf.read_string(textwrap.dedent("""\
356 cf.read_string(textwrap.dedent("""\
630 cf.read_string(textwrap.dedent("""\
885 cf.read_string(invalid)
1018 self.assertIsNone(cf.read_string(""))
1025 cf.read_string(self.ini)
1187 cf.read_string(string)
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/property_tree/include/boost/property_tree/detail/
Dinfo_parser_read.hpp113 std::basic_string<Ch> read_string(const Ch *&text, bool *need_more_lines) in read_string() function
169 return read_string(text, NULL); in read_key()
180 return read_string(text, need_more_lines); in read_data()
238 str_t s = read_string(text, NULL); in read_info_internal()
353 std::basic_string<Ch> data = read_string(text, &need_more_lines); in read_info_internal()
/aosp_15_r20/external/ltp/testcases/kernel/fs/inode/
H A Dinode01.c91 char read_string[PATH_STRING_LENGTH + 1]; variable
520 read(file_id, read_string, len); in check()
528 read_string[len] = '\0'; in check()
529 val = strcmp(read_string, path_string); in check()
534 read_string); in check()
H A Dinode02.c74 char read_string[PATH_STRING_LENGTH + 1]; variable
622 read(file_id, read_string, len); in check()
629 read_string[len] = '\0'; in check()
630 val = strcmp(read_string, path_string); in check()
635 read_string); in check()
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf/src/well_known_types/
Dapi.rs153 self.name = is.read_string()?; in merge_from()
162 self.version = is.read_string()?; in merge_from()
395 self.name = is.read_string()?; in merge_from()
398 self.request_type_url = is.read_string()?; in merge_from()
404 self.response_type_url = is.read_string()?; in merge_from()
594 self.name = is.read_string()?; in merge_from()
597 self.root = is.read_string()?; in merge_from()
Dtype_.rs115 self.name = is.read_string()?; in merge_from()
121 self.oneofs.push(is.read_string()?); in merge_from()
380 self.name = is.read_string()?; in merge_from()
383 self.type_url = is.read_string()?; in merge_from()
395 self.json_name = is.read_string()?; in merge_from()
398 self.default_value = is.read_string()?; in merge_from()
816 self.name = is.read_string()?; in merge_from()
1003 self.name = is.read_string()?; in merge_from()
1165 self.name = is.read_string()?; in merge_from()
/aosp_15_r20/out/soong/.intermediates/tools/asuite/adevice/libadevice_proto_rust/android_arm64_armv8-2a_cortex-a55_source/
Duser_log.rs573 self.user_key = ::std::option::Option::Some(is.read_string()?); in merge_from()
576 self.run_id = ::std::option::Option::Some(is.read_string()?); in merge_from()
588 self.invocation_id = ::std::option::Option::Some(is.read_string()?); in merge_from()
1051 self.command_line = ::std::option::Option::Some(is.read_string()?); in merge_from()
1054 self.test_references.push(is.read_string()?); in merge_from()
1057 self.cwd = ::std::option::Option::Some(is.read_string()?); in merge_from()
1060 self.os = ::std::option::Option::Some(is.read_string()?); in merge_from()
1063 self.target = ::std::option::Option::Some(is.read_string()?); in merge_from()
1066 self.source_root = ::std::option::Option::Some(is.read_string()?); in merge_from()
1069 self.hostname = ::std::option::Option::Some(is.read_string()?); in merge_from()
[all …]
/aosp_15_r20/out/soong/.intermediates/tools/asuite/adevice/libadevice_proto_rust/linux_glibc_x86_64_source/
Duser_log.rs573 self.user_key = ::std::option::Option::Some(is.read_string()?); in merge_from()
576 self.run_id = ::std::option::Option::Some(is.read_string()?); in merge_from()
588 self.invocation_id = ::std::option::Option::Some(is.read_string()?); in merge_from()
1051 self.command_line = ::std::option::Option::Some(is.read_string()?); in merge_from()
1054 self.test_references.push(is.read_string()?); in merge_from()
1057 self.cwd = ::std::option::Option::Some(is.read_string()?); in merge_from()
1060 self.os = ::std::option::Option::Some(is.read_string()?); in merge_from()
1063 self.target = ::std::option::Option::Some(is.read_string()?); in merge_from()
1066 self.source_root = ::std::option::Option::Some(is.read_string()?); in merge_from()
1069 self.hostname = ::std::option::Option::Some(is.read_string()?); in merge_from()
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/modules/ConfigInfrastructure/aconfigd/proto/libaconfigd_rust_proto/android_arm64_armv8-2a_cortex-a55_source/
Daconfigd.rs313 self.container = ::std::option::Option::Some(is.read_string()?); in merge_from()
316 self.package_map = ::std::option::Option::Some(is.read_string()?); in merge_from()
319 self.flag_map = ::std::option::Option::Some(is.read_string()?); in merge_from()
322 self.flag_val = ::std::option::Option::Some(is.read_string()?); in merge_from()
325 self.digest = ::std::option::Option::Some(is.read_string()?); in merge_from()
328 self.flag_info = ::std::option::Option::Some(is.read_string()?); in merge_from()
669 self.package_name = ::std::option::Option::Some(is.read_string()?); in merge_from()
672 self.flag_name = ::std::option::Option::Some(is.read_string()?); in merge_from()
675 self.flag_value = ::std::option::Option::Some(is.read_string()?); in merge_from()
1597 self.container = ::std::option::Option::Some(is.read_string()?); in merge_from()
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/modules/ConfigInfrastructure/aconfigd/proto/libaconfigd_rust_proto/android_arm64_armv8-2a_cortex-a55_source_apex34/
Daconfigd.rs313 self.container = ::std::option::Option::Some(is.read_string()?); in merge_from()
316 self.package_map = ::std::option::Option::Some(is.read_string()?); in merge_from()
319 self.flag_map = ::std::option::Option::Some(is.read_string()?); in merge_from()
322 self.flag_val = ::std::option::Option::Some(is.read_string()?); in merge_from()
325 self.digest = ::std::option::Option::Some(is.read_string()?); in merge_from()
328 self.flag_info = ::std::option::Option::Some(is.read_string()?); in merge_from()
669 self.package_name = ::std::option::Option::Some(is.read_string()?); in merge_from()
672 self.flag_name = ::std::option::Option::Some(is.read_string()?); in merge_from()
675 self.flag_value = ::std::option::Option::Some(is.read_string()?); in merge_from()
1597 self.container = ::std::option::Option::Some(is.read_string()?); in merge_from()
[all …]
/aosp_15_r20/external/tink/python/tink/cc/
H A Dpython_input_stream.cc80 std::string read_string = read_result.value(); in Next() local
81 int count_read = read_string.length(); in Next()
82 buffer_.replace(0, count_read, read_string); in Next()
/aosp_15_r20/external/skia/src/core/
H A DSkFontDescriptor.cpp45 [[nodiscard]] static bool read_string(SkStream* stream, SkString* string) { in read_string() function
124 if (!read_string(stream, &result->fFamilyName)) { return false; } in Deserialize()
127 if (!read_string(stream, &result->fFullName)) { return false; } in Deserialize()
130 if (!read_string(stream, &result->fPostscriptName)) { return false; } in Deserialize()
/aosp_15_r20/external/nanopb-c/tests/alltypes_callback/
H A Ddecode_alltypes_callback.c58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string() function
275 alltypes.req_string.funcs.decode = &read_string; in check_alltypes()
278 alltypes.req_bytes.funcs.decode = &read_string; in check_alltypes()
390 alltypes.opt_string.funcs.decode = &read_string; in check_alltypes()
393 alltypes.opt_bytes.funcs.decode = &read_string; in check_alltypes()
/aosp_15_r20/out/soong/.intermediates/packages/modules/Virtualization/libs/libmicrodroid_payload_metadata/libmicrodroid_metadata_proto_rust/android_arm64_armv8-2a_cortex-a55_source_apex10000/
Dmetadata.rs215 … self.payload = ::std::option::Option::Some(metadata::Payload::ConfigPath(is.read_string()?)); in merge_from()
469 self.name = is.read_string()?; in merge_from()
472 self.partition_name = is.read_string()?; in merge_from()
484 self.manifest_name = is.read_string()?; in merge_from()
684 self.name = is.read_string()?; in merge_from()
687 self.payload_partition_name = is.read_string()?; in merge_from()
690 self.idsig_partition_name = is.read_string()?; in merge_from()
839 self.payload_binary_name = is.read_string()?; in merge_from()
/aosp_15_r20/out/soong/.intermediates/packages/modules/Virtualization/libs/libmicrodroid_payload_metadata/libmicrodroid_metadata_proto_rust/android_arm64_armv8-2a_cortex-a55_source/
Dmetadata.rs215 … self.payload = ::std::option::Option::Some(metadata::Payload::ConfigPath(is.read_string()?)); in merge_from()
469 self.name = is.read_string()?; in merge_from()
472 self.partition_name = is.read_string()?; in merge_from()
484 self.manifest_name = is.read_string()?; in merge_from()
684 self.name = is.read_string()?; in merge_from()
687 self.payload_partition_name = is.read_string()?; in merge_from()
690 self.idsig_partition_name = is.read_string()?; in merge_from()
839 self.payload_binary_name = is.read_string()?; in merge_from()
/aosp_15_r20/out/soong/.intermediates/build/make/tools/aconfig/aconfig_protos/libaconfig_rust_proto/android_arm64_armv8-2a_cortex-a55_source/
Daconfig.rs277 self.name = ::std::option::Option::Some(is.read_string()?); in merge_from()
280 self.namespace = ::std::option::Option::Some(is.read_string()?); in merge_from()
283 self.description = ::std::option::Option::Some(is.read_string()?); in merge_from()
286 self.bug.push(is.read_string()?); in merge_from()
764 self.package = ::std::option::Option::Some(is.read_string()?); in merge_from()
770 self.container = ::std::option::Option::Some(is.read_string()?); in merge_from()
1050 self.package = ::std::option::Option::Some(is.read_string()?); in merge_from()
1053 self.name = ::std::option::Option::Some(is.read_string()?); in merge_from()
1423 self.source = ::std::option::Option::Some(is.read_string()?); in merge_from()
1922 self.package = ::std::option::Option::Some(is.read_string()?); in merge_from()
[all …]
/aosp_15_r20/out/soong/.intermediates/build/make/tools/aconfig/aconfig_protos/libaconfig_rust_proto/linux_glibc_x86_64_source/
Daconfig.rs277 self.name = ::std::option::Option::Some(is.read_string()?); in merge_from()
280 self.namespace = ::std::option::Option::Some(is.read_string()?); in merge_from()
283 self.description = ::std::option::Option::Some(is.read_string()?); in merge_from()
286 self.bug.push(is.read_string()?); in merge_from()
764 self.package = ::std::option::Option::Some(is.read_string()?); in merge_from()
770 self.container = ::std::option::Option::Some(is.read_string()?); in merge_from()
1050 self.package = ::std::option::Option::Some(is.read_string()?); in merge_from()
1053 self.name = ::std::option::Option::Some(is.read_string()?); in merge_from()
1423 self.source = ::std::option::Option::Some(is.read_string()?); in merge_from()
1922 self.package = ::std::option::Option::Some(is.read_string()?); in merge_from()
[all …]

12345