Home
last modified time | relevance | path

Searched refs:add (Results 1 - 25 of 46) sorted by relevance

12

/base/security/asset/test/unittest/inner_kits_rust/src/
H A Dadd_abnormal.rs23 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_empty_attr()
32 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_without_alias()
43 assert!(asset_sdk::Manager::build().unwrap().add(&attrs).is_ok()); in add_alias_with_min_len()
57 assert!(asset_sdk::Manager::build().unwrap().add(&attrs).is_ok()); in add_alias_with_max_len()
70 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_invalid_alias()
73 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_invalid_alias()
83 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_alias_with_unmatched_type()
86 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_alias_with_unmatched_type()
95 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_without_secret()
105 assert!(asset_sdk::Manager::build().unwrap().add( in add_secret_with_min_len()
[all...]
H A Dadd.rs56 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_required_tags()
78 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_english_secret()
95 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_chinese_secret()
115 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_same_alias_throw_error()
118 expect_error_eq(ErrCode::Duplicated, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_same_alias_throw_error()
122 expect_error_eq(ErrCode::Duplicated, asset_sdk::Manager::build().unwrap().add(&attrs).unwrap_err()); in add_same_alias_throw_error()
136 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_same_alias_overwrite()
148 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_same_alias_overwrite()
167 asset_sdk::Manager::build().unwrap().add(&attrs).unwrap(); in add_multiple_sync_types()
183 expect_error_eq(ErrCode::PermissionDenied, asset_sdk::Manager::build().unwrap().add( in add_is_persistent_auth_wrong()
[all...]
H A Dmain.rs19 mod add; modules
H A Dquery.rs49 let mut add = AssetMap::new(); in query_without_alias_with_wrong_condition() variables
50 add.insert_attr(Tag::RequirePasswordSet, false); in query_without_alias_with_wrong_condition()
51 add.insert_attr(Tag::Alias, function_name.to_owned()); in query_without_alias_with_wrong_condition()
52 add.insert_attr(Tag::Secret, function_name.to_owned()); in query_without_alias_with_wrong_condition()
53 add.insert_attr(Tag::Accessibility, Accessibility::DevicePowerOn); in query_without_alias_with_wrong_condition()
54 asset_sdk::Manager::build().unwrap().add(&add).unwrap(); in query_without_alias_with_wrong_condition()
185 let mut add = AssetMap::new(); in query_with_order() variables
186 add.insert_attr(Tag::Secret, function_name.as_bytes().to_vec()); in query_with_order()
335 asset_sdk::Manager::build().unwrap().add( in query_with_return_order_by()
[all...]
H A Dremove.rs41 asset_sdk::Manager::build().unwrap().add(&condition).unwrap(); in remove_condition_exist_and_query()
/base/security/security_guard/frameworks/common/utils/src/
H A Dsecurity_guard_utils.cpp63 auto add = str.c_str(); in StrToLL() local
66 value = strtoll(add, &end, base); in StrToLL()
71 if (end == add) { in StrToLL()
85 auto add = str.c_str(); in StrToULL() local
88 value = strtoull(add, &end, DEC_RADIX); in StrToULL()
93 if (end == add) { in StrToULL()
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
H A DFetcher.java274 reserved.add(val); in reservedAdd()
291 datas.add(sb.toString()); in getMonthNames()
308 this.datas.add(sb.toString()); in getWeekDayNames()
324 skeletons.add(ele.skeleton); in getPatterns()
335 datas.add(sb.toString()); in getPatterns()
416 this.datas.add(sb.toString()); in getAmPmMarkers()
425 this.datas.add(str); in getPluralRules()
433 this.datas.add(str); in getDecimalPluralRules()
455 datas.add(sb.toString()); in getNumberFormat()
469 datas.add(s in getNumberDigits()
[all...]
H A DDataFetcher.java111 FETCHERS.add(new Fetcher(tag, LOCK, ID_MAP)); in addFetchers()
132 FETCHERS.add(new Fetcher(finalLanguageTag, LOCK, ID_MAP)); in processWildcard()
146 FETCHERS.add(new Fetcher(finalLanguageTag, LOCK, ID_MAP)); in processWildcard()
171 temp.add(new LocaleConfig(targetMetaData, i, ID_MAP.get(myData))); in countData()
265 array.add(locale); in writeLocales()
291 array.add(val); in writeData()
318 pluralUnitJson.add(values[start]); in getMeasureDataUnit()
H A DResourceConfiguration.java60 ret.add(item); in parse()
/base/global/i18n/tools/
H A Ddata_process.py59 group_wn.add(tz)
62 group_en.add(tz)
65 group_ws.add(tz)
68 group_es.add(tz)
/base/security/selinux_adapter/scripts/selinux_check/
H A Dcheck_ioctl_xperm.py51 allow_set.add(keycontent)
54 allowx_set.add(keycontent)
68 typetransition_set.add(keycontent)
126 print('please add "allowxperm" rule based on the above list.')
H A Dcheck_permissive.py48 allow_set.add(scontext)
H A Dcheck_data_regex.py75 whitelist_set.add(it)
H A Dcheck_partition_label_use.py31 label_list_set.add(it)
/base/security/asset/services/core_service/src/
H A Doperations.rs26 pub(crate) use operation_add::add;
H A Dlib.rs172 fn add(&self, calling_info: &CallingInfo, attributes: &AssetMap) -> Result<()> { in add() functions
173 execute!(operations::add, calling_info, attributes) in add()
/base/security/code_signature/services/key_enable/src/
H A Dcert_chain_utils.rs45 /// add pem string into self.pem_data
46 pub fn add(&mut self, data: String) { in add() functions
93 self.add(cert_str.to_string()); in load_pem_certs_from_json_file()
/base/startup/init/services/modules/seccomp/scripts/tools/
H A Dcollect_elf_syscall.py91 elf_name.add(name)
103 func_name.add(name)
116 elf_path_list_tmp.add(get_lib_path(elf_path, lib_name, ''))
200 func_call_tmp.func_callee.add(func_name_callee[:func_name_callee.find('@plt')])
204 func_call_tmp.func_callee.add(func_name_callee)
229 caller.add(item.func_name)
269 libc_func.add(key)
H A Dlibc_static_analysis.py44 self.use_function.add(new_function)
79 nr_set.add(nr)
164 nr_tmp.add(nr)
/base/global/i18n_lite/frameworks/i18n/src/
H A Dnumber_format_impl.cpp224 int add = minDecimalLength + 1; in DelMoreZero() local
225 char *tempResult = FillMinDecimal(result, lastLen - num, add, false); in DelMoreZero()
234 num = num - add; in DelMoreZero()
236 int add = minDecimalLength - decLen + num + 1; in DelMoreZero() local
237 char *tempResult = FillMinDecimal(result, lastLen - num, add, true); in DelMoreZero()
246 num = num - add; in DelMoreZero()
/base/security/asset/interfaces/inner_kits/c/src/
H A Dlib.rs43 let attr = attributes.add(i as usize); in into_map()
83 if let Err(e) = manager.add(&map) { in add_asset()
309 let attr = result.attrs.add(i); in try_from()
340 let result = result_set.results.add(i); in try_from()
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dmake_capi_header.py81 translated_includes.add(include)
89 all_declares.add(declare_cls.get_capi_name())
203 # add the guard string
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_filter.cpp263 int add = 0; in DealMatchE() local
270 add = end - nextMatch.GetEnd() + 1; in DealMatchE()
274 match.SetEnd(nextMatch.GetEnd() + add); in DealMatchE()
430 int add = 0; in DealBrackets() local
446 add = matcher->group(status).length(); in DealBrackets()
451 lastMatch.SetEnd(lastMatch.GetEnd() + add); in DealBrackets()
/base/security/asset/services/crypto_manager/src/
H A Dcrypto_manager.rs47 pub fn add(&mut self, crypto: Crypto) -> Result<()> { in add() functions
/base/startup/init/services/modules/seccomp/scripts/
H A Dgenerate_code_from_policy.py223 to_update_list.add(function_name)
240 self.priority_with_args.add(function_name_with_args)
248 self.allow_list_with_args.add(function_name_with_args)
255 self.head_files.add(head_files)
263 self.self_define_syscall.add(nr)
834 self.reduced_block_list.add(function_name)
857 self.arches.add(target_cpu)
859 self.arches.add("arm")
860 self.arches.add(target_cpu)
862 self.arches.add(target_cp
[all...]

Completed in 11 milliseconds

12