Home
last modified time | relevance | path

Searched refs:get_bytes_attr (Results 1 - 13 of 13) sorted by relevance

/base/security/asset/test/unittest/inner_kits_rust/src/
H A Dadd.rs27 assert_eq!(alias, *res[0].get_bytes_attr(&Tag::Alias).unwrap()); in add_all_tags()
28 assert_eq!(NORMAL_LABEL1, *res[0].get_bytes_attr(&Tag::DataLabelNormal1).unwrap()); in add_all_tags()
29 assert_eq!(NORMAL_LABEL2, *res[0].get_bytes_attr(&Tag::DataLabelNormal2).unwrap()); in add_all_tags()
30 assert_eq!(NORMAL_LABEL3, *res[0].get_bytes_attr(&Tag::DataLabelNormal3).unwrap()); in add_all_tags()
31 assert_eq!(NORMAL_LABEL4, *res[0].get_bytes_attr(&Tag::DataLabelNormal4).unwrap()); in add_all_tags()
32 assert_eq!(NORMAL_LOCAL_LABEL1, *res[0].get_bytes_attr(&Tag::DataLabelNormalLocal1).unwrap()); in add_all_tags()
33 assert_eq!(NORMAL_LOCAL_LABEL2, *res[0].get_bytes_attr(&Tag::DataLabelNormalLocal2).unwrap()); in add_all_tags()
34 assert_eq!(NORMAL_LOCAL_LABEL3, *res[0].get_bytes_attr(&Tag::DataLabelNormalLocal3).unwrap()); in add_all_tags()
35 assert_eq!(NORMAL_LOCAL_LABEL4, *res[0].get_bytes_attr(&Tag::DataLabelNormalLocal4).unwrap()); in add_all_tags()
36 assert_eq!(CRITICAL_LABEL1, *res[0].get_bytes_attr( in add_all_tags()
[all...]
H A Dupdate.rs54 assert_eq!(secret_new, res[0].get_bytes_attr(&Tag::Secret).unwrap()); in update_different_secret()
74 let label_normal_query = query_res.get_bytes_attr(&Tag::DataLabelNormal1).unwrap(); in update_attr_normal()
H A Dquery.rs128 assert!(asset.get_bytes_attr(&Tag::Alias).unwrap().eq(format!("{:?}{}", function_name, i).as_bytes())); in query_with_limit_with_without_offset()
137 .get_bytes_attr(&Tag::Alias) in query_with_limit_with_without_offset()
205 let get_alias = asset.get_bytes_attr(&Tag::Alias).unwrap(); in query_with_order()
345 assert!(assets[0].get_bytes_attr(&Tag::DataLabelNormal1).unwrap().eq(NORMAL_LABEL1)); in query_with_return_order_by()
350 assert!(!assets[0].get_bytes_attr(&Tag::DataLabelNormal1).unwrap().eq(NORMAL_LABEL1)); in query_with_return_order_by()
/base/security/asset/services/core_service/src/operations/
H A Doperation_query.rs44 let secret = db_data.get_bytes_attr(&column::SECRET)?; in upgrade_version()
63 let secret = db_data.get_bytes_attr(&column::SECRET)?; in decrypt_secret()
72 let challenge = query.get_bytes_attr(&Tag::AuthChallenge)?; in exec_crypto()
73 let auth_token = query.get_bytes_attr(&Tag::AuthToken)?; in exec_crypto()
75 let secret = db_data.get_bytes_attr(&column::SECRET)?; in exec_crypto()
H A Doperation_post_query.rs38 let challenge = handle.get_bytes_attr(&Tag::AuthChallenge)?;
H A Doperation_add.rs39 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt_secret()
72 let alias = attrs.get_bytes_attr(&Tag::Alias)?; in get_query_condition()
H A Doperation_update.rs31 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt()
/base/security/asset/services/db_operator/src/
H A Ddatabase.rs376 let owner_info = query_result.get_bytes_attr(&column::OWNER)?; in upgrade_key_alias()
482 query.insert_attr(column::ALIAS, datas.get_bytes_attr(&column::ALIAS)?.clone()); in insert_datas()
483 query.insert_attr(column::OWNER, datas.get_bytes_attr(&column::OWNER)?.clone()); in insert_datas()
H A Ddatabase_file_upgrade.rs101 let owner_info = info_map.get_bytes_attr(&column::OWNER)?; in get_new_db()
127 let owner_info = info_map.get_bytes_attr(&column::OWNER)?; in construct_old_query_condition()
/base/security/asset/frameworks/definition/src/
H A Dextension.rs124 fn get_bytes_attr(&self, key: &K) -> Result<&Vec<u8>> { in get_bytes_attr() functions
H A Dlib.rs411 fn get_bytes_attr(&self, key: &K) -> Result<&Vec<u8>>; in get_bytes_attr() functions
/base/security/asset/services/db_operator/src/test/
H A Dtest_database.rs199 let query_update_time = res[0].get_bytes_attr(&column::UPDATE_TIME).unwrap(); in update_data()
242 assert_eq!(&(b"AAA".to_vec()), res[0].get_bytes_attr(&column::ALIAS).unwrap()); in query_ordered_data()
/base/security/asset/services/plugin/src/
H A Dasset_plugin.rs115 let owner = attributes.get_bytes_attr(&column::OWNER).map_err(|e| e.code as u32)?; in get_db_name()

Completed in 7 milliseconds