Home
last modified time | relevance | path

Searched defs:String (Results 1 – 25 of 114) sorted by relevance

12345

/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dfile_ex.rs24 pub fn RustLoadStringFromFile(filePath: &String, content: &mut String) -> bool; in RustLoadStringFromFile()
27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile()
36 pub fn RustLoadBufferFromFile(filePath: &String, content: &mut Vec<c_char>) -> bool; in RustLoadBufferFromFile()
40 filePath: &String, in RustSaveBufferToFile()
50 fileName: &String, in RustStringExistsInFile()
51 subStr: &String, in RustStringExistsInFile()
56 pub fn RustCountStrInFile(fileName: &String, subStr: &String, caseSensitive: bool) -> i32; in RustCountStrInFile()
H A Ddirectory_ex.rs54 pub fn RustExtractFilePath(fileFullName: &String) -> String; in RustExtractFilePath()
57 pub fn RustExtractFileName(fileFullName: &String) -> String; in RustExtractFileName()
61 pub fn RustExtractFileExt(fileName: &String) -> String; in RustExtractFileExt()
65 pub fn RustExcludeTrailingPathDelimiter(path: &String) -> String; in RustExcludeTrailingPathDelimiter()
69 pub fn RustIncludeTrailingPathDelimiter(path: &String) -> String; in RustIncludeTrailingPathDelimiter()
72 pub fn RustGetDirFiles(path: &String, files: &mut Vec<String>); in RustGetDirFiles()
98 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool; in RustPathToRealPath()
/ohos5.0/base/request/request/services/src/manage/config/
H A Dsystem_proxy.rs27 pub(crate) fn host(&self) -> String { in host()
31 pub(crate) fn port(&self) -> String { in port()
35 pub(crate) fn exlist(&self) -> String { in exlist()
/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dprofile_utils.rs116 ) -> Result<(String, String, u32), Box<dyn Error>> { in parse_pkcs7_data()
178 fn get_cert_details(profile_json: &JsonValue) -> Result<(String, String, u32), Box<dyn Error>> { in get_cert_details()
227 profile_signer: &[(&String, &String)], in verify_signers()
241 fn format_x509name_to_string(name: &X509NameRef) -> String { in format_x509name_to_string()
258 fn format_x509_fabricate_name(name: &X509NameRef) -> String { in format_x509_fabricate_name()
278 fn get_profile_paths(is_debug: bool) -> Vec<String> { in get_profile_paths()
290 fn get_paths_from_prefix(prefix: &str) -> Vec<String> { in get_paths_from_prefix()
322 profile_info: &[(&String, &String)], in process_profile()
398 ) -> Result<(String, Vec<u8>), ()> { in validate_and_convert_inputs()
408 fn process_data(profile_data: &[u8]) -> Result<(String, String, u32), ()> { in process_data()
[all …]
H A Dcert_path_utils.rs144 pub fn get_profile_info(&self) -> Vec<(&String, &String)> { in get_profile_info()
152 pub fn get_debug_profile_info(&self) -> Vec<(&String, &String)> { in get_debug_profile_info()
350 fn fabricate_name(subject: &str) -> String { in fabricate_name()
376 pub fn common_format_fabricate_name(common_name: &str, organization: &str, email: &str) -> String { in common_format_fabricate_name()
419 subject: String, in cert_path_operation()
420 issuer: String, in cert_path_operation()
460 subject: String, in add_cert_path_info()
461 issuer: String, in add_cert_path_info()
477 subject: String, in remove_cert_path_info()
478 issuer: String, in remove_cert_path_info()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/
H A Dpseudo.rs62 pub fn set_authority(&mut self, authority: Option<String>) { in set_authority()
67 pub(crate) fn take_authority(&mut self) -> Option<String> { in take_authority()
82 pub fn set_method(&mut self, method: Option<String>) { in set_method()
87 pub(crate) fn take_method(&mut self) -> Option<String> { in take_method()
102 pub fn set_path(&mut self, path: Option<String>) { in set_path()
107 pub(crate) fn take_path(&mut self) -> Option<String> { in take_path()
122 pub fn set_scheme(&mut self, scheme: Option<String>) { in set_scheme()
127 pub(crate) fn take_scheme(&mut self) -> Option<String> { in take_scheme()
142 pub fn set_status(&mut self, status: Option<String>) { in set_status()
147 pub(crate) fn take_status(&mut self) -> Option<String> { in take_status()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dpseudo.rs61 pub fn set_authority(&mut self, authority: Option<String>) { in set_authority()
66 pub(crate) fn take_authority(&mut self) -> Option<String> { in take_authority()
81 pub fn set_method(&mut self, method: Option<String>) { in set_method()
86 pub(crate) fn take_method(&mut self) -> Option<String> { in take_method()
101 pub fn set_path(&mut self, path: Option<String>) { in set_path()
106 pub(crate) fn take_path(&mut self) -> Option<String> { in take_path()
121 pub fn set_scheme(&mut self, scheme: Option<String>) { in set_scheme()
126 pub(crate) fn take_scheme(&mut self) -> Option<String> { in take_scheme()
141 pub fn set_status(&mut self, status: Option<String>) { in set_status()
146 pub(crate) fn take_status(&mut self) -> Option<String> { in take_status()
/ohos5.0/base/security/asset/frameworks/os_dependency/file/src/
H A Dce_operator.rs23 fn construct_ce_db_dir(user_id: i32) -> String { in construct_ce_db_dir()
27 fn construct_db_key_cipher_path(user_id: i32) -> String { in construct_db_key_cipher_path()
90 pub fn get_ce_user_dbs(user_id: i32) -> Result<Vec<String>> { in get_ce_user_dbs()
H A Dde_operator.rs24 fn construct_user_de_path(user_id: i32) -> String { in construct_user_de_path()
77 pub fn get_de_user_dbs(user_id: i32) -> Result<Vec<String>> { in get_de_user_dbs()
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/
H A Devp.rs20 pub fn get_b64_decode_len(in_data: &[u8]) -> Result<(usize, usize), String> in get_b64_decode_len() argument
37 pub fn evp_decode_block(in_data: &[u8]) -> Result<Vec<u8>, String> in evp_decode_block() argument
/ohos5.0/commonlibrary/rust/ylong_json/src/value/object/
H A Dlinked_list.rs117 pub fn insert(&mut self, key: String, value: JsonValue) { in insert()
147 pub fn iter(&self) -> Iter<'_, (String, JsonValue)> { in iter()
160 pub fn iter_mut(&mut self) -> IterMut<'_, (String, JsonValue)> { in iter_mut()
214 pub fn get_node(&self, key: &str) -> Option<&Node<(String, JsonValue)>> { in get_node()
233 pub fn get_node_mut(&mut self, key: &str) -> Option<&mut Node<(String, JsonValue)>> { in get_node_mut()
239 pub(crate) fn last_node_mut(&mut self) -> Option<&mut Node<(String, JsonValue)>> { in last_node_mut()
271 fn get_cursor(&self, key: &str) -> Option<Cursor<'_, (String, JsonValue)>> { in get_cursor()
284 fn get_cursor_mut(&mut self, key: &str) -> Option<CursorMut<'_, (String, JsonValue)>> { in get_cursor_mut()
/ohos5.0/base/msdp/device_status/rust/subsystem/distributed_hardware/sys/src/interaction/
H A Ddm_device_info.rs48 pub fn device_id(&self) -> String { in device_id()
56 pub fn device_name(&self) -> String { in device_name()
73 pub fn network_id(&self) -> String { in network_id()
/ohos5.0/base/request/request/services/src/manage/scheduler/
H A Dsql.rs18 pub(super) fn start_task(task_id: u32) -> String { in start_task()
32 pub(super) fn pause_task(task_id: u32) -> String { in pause_task()
44 pub(super) fn stop_task(task_id: u32) -> String { in stop_task()
56 pub(super) fn remove_task(task_id: u32) -> String { in remove_task()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/
H A Dcloud_service.rs72 dbs: &HashMap<String, Vec<Database>>, in subscribe()
74 ) -> SyncResult<HashMap<String, RelationSet>> { in subscribe()
102 pub fn unsubscribe(&mut self, relations: &HashMap<String, Vec<String>>) -> SyncResult<()> { in unsubscribe()
210 pub fn get_app_info(&self) -> &HashMap<String, AppInfo> { in get_app_info()
269 bundle_name: String, in new()
271 relations: HashMap<String, String>, in new() argument
292 pub fn relations(&self) -> &HashMap<String, String> { in relations() argument
H A Dtypes.rs37 String(String), enumerator
156 pub fn new(name: String, alias: String, tables: HashMap<String, Table>) -> Database { in new()
175 pub fn tables(&self) -> &HashMap<String, Table> { in tables()
190 pub fn new(name: String, alias: String, fields: Vec<Field>) -> Table { in new()
285 pub fn new(col_name: String, alias: String, typ: u8, primary: bool, nullable: bool) -> Field { in new()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/
H A Dasset.rs84 pub fn set_id(&mut self, id: String) { in set_id()
89 pub fn set_name(&mut self, name: String) { in set_name()
94 pub fn set_uri(&mut self, uri: String) { in set_uri()
99 pub fn set_local_path(&mut self, local_path: String) { in set_local_path()
104 pub fn set_create_time(&mut self, create_time: String) { in set_create_time()
109 pub fn set_modify_time(&mut self, modify_time: String) { in set_modify_time()
114 pub fn set_size(&mut self, size: String) { in set_size()
119 pub fn set_hash(&mut self, hash: String) { in set_hash()
/ohos5.0/base/request/request/services/src/utils/
H A Dmod.rs67 pub(crate) fn hashmap_to_string(map: &HashMap<String, String>) -> String { in hashmap_to_string() argument
78 pub(crate) fn string_to_hashmap(str: &mut str) -> HashMap<String, String> { in string_to_hashmap() argument
156 fn GetCallingBundle(token_id: u64) -> String; in GetCallingBundle()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/
H A Dlib.rs44 fn read_process_name(pid: u32) -> String { in read_process_name()
57 fn read_thread_name(pid: u32) -> String { in read_thread_name()
/ohos5.0/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
H A Ddsoftbus.rs258 fn get_session_name(&mut self) -> FusionResult<String> { in get_session_name()
288 fn local_network_id(&mut self) -> FusionResult<String> { in local_network_id()
335 fn convert_i8_array_to_string(&self, arr: &[i8]) -> String { in convert_i8_array_to_string()
374 fn get_peer_session_name(&mut self, remote_network_id: &String) -> FusionResult<String>{ in get_peer_session_name()
448 fn close_input_softbus(&mut self, remote_network_id: &String) { in close_input_softbus()
587 fn find_device(&self, session_id: i32) -> FusionResult<String> { in find_device()
728 fn send_msg(&self, device_id: &String, data: *const c_void, data_len: u32) -> FusionResult<()> { in send_msg()
760 fn get_session_dev_map(&self) -> HashMap<String, i32> { in get_session_dev_map()
947 pub fn close_input_softbus(&self, remote_network_id: &String) { in close_input_softbus()
1097 pub fn send_msg(&self, device_id: &String, data: *const c_void, in send_msg()
[all …]
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Dstring_wrapper.h25 inline String(const std::string &str) : string_(str) in String() function
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dtable.rs75 pub(crate) fn find_field_static(&self, index: usize) -> Option<(Field, String)> { in find_field_static() argument
86 pub(crate) fn find_field_dynamic(&self, index: usize) -> Option<(Field, String)> { in find_field_dynamic() argument
140 value: &String, in have_enough_space()
202 pub(crate) fn field(&self, index: usize) -> Option<(Field, String)> { in field() argument
307 fn field(index: usize) -> Option<(Field, String)> { in field() argument
711 pub(crate) fn into_string(self) -> String { in into_string()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Dtable.rs38 pub(crate) fn search_header(&self, index: usize) -> Option<(Header, String)> { in search_header() argument
120 pub(crate) fn header(&self, index: usize) -> Option<(Header, String)> { in header() argument
125 pub(crate) fn update(&mut self, header: Header, value: String) { in update()
300 fn header(index: usize) -> Option<(Header, String)> { in header() argument
432 pub(crate) fn into_string(self) -> String { in into_string()
/ohos5.0/base/security/asset/services/core_service/src/common_event/
H A Dstart_event.rs33 fn handle_package_removed(want: &HashMap<String, String>, is_sandbox: bool) { in handle_package_removed() argument
/ohos5.0/base/request/request/services/src/manage/scheduler/state/
H A Dsql.rs97 pub(crate) fn app_state_unavailable(uid: u64) -> String { in app_state_unavailable()
123 pub(crate) fn app_state_available(uid: u64) -> String { in app_state_available()
138 pub(super) fn account_unavailable(active_accounts: &HashSet<u64>) -> String { in account_unavailable()
173 pub(super) fn account_available(active_accounts: &HashSet<u64>) -> String { in account_available()
220 pub(super) fn network_unavailable(info: &NetworkInfo) -> Option<String> { in network_unavailable()
255 pub(super) fn network_available(info: &NetworkInfo) -> String { in network_available()
288 pub(crate) fn special_process_terminate(uid: u64) -> String { in special_process_terminate()
/ohos5.0/base/security/asset/services/db_operator/src/
H A Dtable.rs72 fn build_sql_columns_not_empty(columns: &Vec<&str>, sql: &mut String) { in build_sql_columns_not_empty()
83 fn build_sql_columns(columns: &Vec<&str>, sql: &mut String) { in build_sql_columns()
92 fn build_sql_where(conditions: &DbMap, filter: bool, sql: &mut String) { in build_sql_where()
118 fn build_sql_values(len: usize, sql: &mut String) { in build_sql_values()
135 fn from_data_value_to_str_value(value: &Value) -> String { in from_data_value_to_str_value()
143 fn build_sql_query_options(query_options: Option<&QueryOptions>, sql: &mut String) { in build_sql_query_options()
172 fn build_sql_reverse_condition(reverse_condition: Option<&DbMap>, sql: &mut String) { in build_sql_reverse_condition()

12345