| /build/make/tools/aconfig/aconfig_storage_write_api/src/ |
| D | flag_info_update.rs | 26 buf: &mut [u8], in get_flag_info_offset() 54 buf: &mut [u8], in get_flag_attribute_and_offset() 57 ) -> Result<(u8, usize), AconfigStorageError> { in get_flag_attribute_and_offset() 66 buf: &mut [u8], in update_flag_has_server_override() 81 buf: &mut [u8], in update_flag_has_local_override()
|
| D | lib.rs | 133 file: &mut [u8], in update_boolean_flag_value_cxx() 139 file: &mut [u8], in update_flag_has_server_override_cxx() 146 file: &mut [u8], in update_flag_has_local_override_cxx() 155 file: &mut [u8], in update_boolean_flag_value_cxx() 174 file: &mut [u8], in update_flag_has_server_override_cxx() 205 file: &mut [u8], in update_flag_has_local_override_cxx() 274 fn get_flag_attribute_at_offset(file: &str, value_type: FlagValueType, offset: u32) -> u8 { in get_flag_attribute_at_offset()
|
| D | flag_value_update.rs | 24 buf: &mut [u8], in update_boolean_flag_value()
|
| /build/make/tools/aconfig/aconfig_storage_read_api/src/ |
| D | lib.rs | 124 pub fn get_boolean_flag_value(file: &[u8], index: u32) -> Result<bool, AconfigStorageError> { in get_boolean_flag_value() 160 file: &[u8], in get_flag_attribute() 163 ) -> Result<u8, AconfigStorageError> { in get_flag_attribute() 218 file: &[u8], in get_package_read_context_cxx() 223 file: &[u8], in get_flag_read_context_cxx() 228 pub fn get_boolean_flag_value_cxx(file: &[u8], offset: u32) -> BooleanFlagValueQueryCXX; in get_boolean_flag_value_cxx() 231 file: &[u8], in get_flag_attribute_cxx() 320 pub(crate) fn new(info_result: Result<u8, AconfigStorageError>) -> Self { in new() 354 pub fn get_package_read_context_cxx(file: &[u8], package: &str) -> ffi::PackageReadContextQueryCXX { in get_package_read_context_cxx() 360 file: &[u8], in get_flag_read_context_cxx() [all …]
|
| D | flag_info_query.rs | 27 buf: &[u8], in find_flag_attribute() 30 ) -> Result<u8, AconfigStorageError> { in find_flag_attribute()
|
| D | flag_value_query.rs | 26 pub fn find_boolean_flag_value(buf: &[u8], flag_index: u32) -> Result<bool, AconfigStorageError> { in find_boolean_flag_value()
|
| D | flag_table_query.rs | 35 buf: &[u8], in find_flag_read_context()
|
| D | package_table_query.rs | 36 buf: &[u8], in find_package_read_context()
|
| /build/make/tools/aconfig/aconfig_storage_file/src/ |
| D | sip_hasher13.rs | 95 unsafe fn u8to64_le(buf: &[u8], start: usize, len: usize) -> u64 { in u8to64_le() 165 fn short_write(&mut self, msg: &[u8]) { in short_write() 201 slice::from_raw_parts(&i as *const usize as *const u8, mem::size_of::<usize>()) in write_usize() constant 208 fn write_u8(&mut self, i: u8) { in write_u8() 213 fn write(&mut self, msg: &[u8]) { in write()
|
| D | package_table.rs | 63 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes() 128 pub fn into_bytes(&self, version: u32) -> Vec<u8> { in into_bytes() 137 fn into_bytes_v1(&self) -> Vec<u8> { in into_bytes_v1() 148 fn into_bytes_v2(&self) -> Vec<u8> { in into_bytes_v2() 161 pub fn from_bytes(bytes: &[u8], version: u32) -> Result<Self, AconfigStorageError> { in from_bytes() 238 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes()
|
| D | lib.rs | 221 pub(crate) fn get_bucket_index(val: &[u8], num_buckets: u32) -> u32 { in get_bucket_index() 230 pub fn read_u8_from_bytes(buf: &[u8], head: &mut usize) -> Result<u8, AconfigStorageError> { in read_u8_from_bytes() 241 buf: &[u8], in read_u16_from_bytes() 258 pub fn read_u32_from_bytes(buf: &[u8], head: &mut usize) -> Result<u32, AconfigStorageError> { in read_u32_from_bytes() 268 pub fn read_u64_from_bytes(buf: &[u8], head: &mut usize) -> Result<u64, AconfigStorageError> { in read_u64_from_bytes() 279 buf: &[u8], in read_str_from_bytes() 290 pub fn read_file_to_bytes(file_path: &str) -> Result<Vec<u8>, AconfigStorageError> { in read_file_to_bytes()
|
| D | flag_info.rs | 59 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes() 122 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes() 163 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes()
|
| D | flag_table.rs | 63 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes() 123 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes() 183 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes()
|
| D | flag_value.rs | 59 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes() 112 pub fn into_bytes(&self) -> Vec<u8> { in into_bytes()
|
| D | protos.rs | 87 pub fn get_binary_proto_from_text_proto(text_proto: &str) -> Result<Vec<u8>> { in get_binary_proto_from_text_proto()
|
| /build/make/tools/aconfig/aconfig_storage_write_api/tests/ |
| D | storage_write_api_test.rs | 31 fn get_flag_attribute_at_offset(file: &str, value_type: FlagValueType, offset: u32) -> u8 { in get_flag_attribute_at_offset()
|
| /build/make/tools/aconfig/aconfig/src/ |
| D | commands.rs | 74 ) -> Result<Vec<u8>> { in parse_flags() 275 ) -> Result<Vec<u8>> { in create_storage() 281 pub fn create_device_config_defaults(mut input: Input) -> Result<Vec<u8>> { in create_device_config_defaults() 303 pub fn create_device_config_sysprops(mut input: Input) -> Result<Vec<u8>> { in create_device_config_sysprops() 329 ) -> Result<Vec<u8>> { in dump_parsed_flags()
|
| D | dump.rs | 71 fn dump_custom_format(flag: &ProtoParsedFlag, format: &str, output: &mut Vec<u8>) { in dump_custom_format()
|