Home
last modified time | relevance | path

Searched refs:ffi (Results 1 – 3 of 3) sorted by relevance

/build/make/tools/aconfig/aconfig_storage_read_api/src/
Dlib.rs172 mod ffi { module
238 impl ffi::PackageReadContextQueryCXX { impl
271 impl ffi::FlagReadContextQueryCXX { impl
302 impl ffi::BooleanFlagValueQueryCXX { impl
318 impl ffi::FlagAttributeQueryCXX { impl
335 impl ffi::VersionNumberQueryCXX { impl
353 pub fn get_package_read_context_cxx(file: &[u8], package: &str) -> ffi::PackageReadContextQueryCXX { in get_package_read_context_cxx()
354 ffi::PackageReadContextQueryCXX::new(find_package_read_context(file, package)) in get_package_read_context_cxx()
362 ) -> ffi::FlagReadContextQueryCXX { in get_flag_read_context_cxx()
363 ffi::FlagReadContextQueryCXX::new(find_flag_read_context(file, package_id, flag)) in get_flag_read_context_cxx()
[all …]
/build/make/tools/aconfig/aconfig_storage_write_api/src/
Dlib.rs193 mod ffi { module
252 ) -> ffi::BooleanFlagValueUpdateCXX { in update_boolean_flag_value_cxx()
255 ffi::BooleanFlagValueUpdateCXX { update_success: true, error_message: String::from("") } in update_boolean_flag_value_cxx()
257 Err(errmsg) => ffi::BooleanFlagValueUpdateCXX { in update_boolean_flag_value_cxx()
269 ) -> ffi::FlagHasServerOverrideUpdateCXX { in update_flag_has_server_override_cxx()
275 Ok(()) => ffi::FlagHasServerOverrideUpdateCXX { in update_flag_has_server_override_cxx()
279 Err(errmsg) => ffi::FlagHasServerOverrideUpdateCXX { in update_flag_has_server_override_cxx()
285 Err(errmsg) => ffi::FlagHasServerOverrideUpdateCXX { in update_flag_has_server_override_cxx()
297 ) -> ffi::FlagHasLocalOverrideUpdateCXX { in update_flag_has_local_override_cxx()
303 Ok(()) => ffi::FlagHasLocalOverrideUpdateCXX { in update_flag_has_local_override_cxx()
[all …]
/build/make/tools/aconfig/aconfig_storage_file/src/
Dlib.rs384 mod ffi { module
436 impl ffi::FlagValueSummaryCXX { impl
448 impl ffi::FlagValueAndInfoSummaryCXX { impl
467 ) -> ffi::ListFlagValueResultCXX { in list_flags_cxx()
469 Ok(summary) => ffi::ListFlagValueResultCXX { in list_flags_cxx()
472 flags: summary.into_iter().map(ffi::FlagValueSummaryCXX::new).collect(), in list_flags_cxx()
474 Err(errmsg) => ffi::ListFlagValueResultCXX { in list_flags_cxx()
488 ) -> ffi::ListFlagValueAndInfoResultCXX { in list_flags_with_info_cxx()
490 Ok(summary) => ffi::ListFlagValueAndInfoResultCXX { in list_flags_with_info_cxx()
493 flags: summary.into_iter().map(ffi::FlagValueAndInfoSummaryCXX::new).collect(), in list_flags_with_info_cxx()
[all …]