/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | update_abnormal.rs | 22 let mut update = AssetMap::new(); in update_query_without_alias() variables 23 update.insert_attr(Tag::Secret, function_name.to_owned()); in update_query_without_alias() 28 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_without_alias() 35 let mut update = AssetMap::new(); in update_query_invalid_alias() variables 36 update.insert_attr(Tag::Secret, function_name.to_owned()); in update_query_invalid_alias() 42 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap_err(), in update_query_invalid_alias() 48 asset_sdk::Manager::build().unwrap().update(&query, &update) in update_query_invalid_alias() 55 let mut update = AssetMap::new(); update_query_alias_with_unmatched_type() variables 75 let mut update = AssetMap::new(); update_query_invalid_accessibility() variables 90 let mut update = AssetMap::new(); update_query_invalid_auth_type() variables 110 let mut update = AssetMap::new(); update_query_invalid_sync_type() variables 125 let mut update = AssetMap::new(); update_query_invalid_label() variables 149 let mut update = AssetMap::new(); update_query_bool_tag_with_unmatched_type() variables 172 let mut update = AssetMap::new(); update_query_bytes_tag_with_unmatched_type() variables 196 let mut update = AssetMap::new(); update_query_number_tag_with_unmatched_type() variables 219 let mut update = AssetMap::new(); update_query_unsupported_tags() variables 270 let mut update = AssetMap::new(); update_invalid_secret() variables 292 let mut update = AssetMap::new(); update_invalid_label() variables 317 let mut update = AssetMap::new(); update_bytes_tag_with_unmatched_type() variables 342 let mut update = AssetMap::new(); update_unsupported_tags() variables 365 let mut update = AssetMap::new(); update_unsupported_tags() variables [all...] |
H A D | update.rs | 28 let mut update = AssetMap::new(); in update_same_secret() variables 29 update.insert_attr(Tag::Secret, secret.to_owned()); in update_same_secret() 31 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap(); in update_same_secret() 47 let mut update = AssetMap::new(); in update_different_secret() variables 48 update.insert_attr(Tag::Secret, secret_new.to_owned()); in update_different_secret() 50 asset_sdk::Manager::build().unwrap().update(&query, &update).unwrap(); in update_different_secret() 69 let mut update = AssetMap::new(); in update_attr_normal() variables 70 update in update_attr_normal() 88 let mut update = AssetMap::new(); update_non_exist() variables [all...] |
/third_party/node/test/parallel/ |
H A D | test-crypto-binary-default.js | 67 .update('some data') 68 .update('to hmac') 223 .update(testCase.data) 351 .update(testCase.data) 360 .update(testCase.data) 368 const a1 = crypto.createHash('sha1').update('Test123').digest('hex'); 369 const a2 = crypto.createHash('sha256').update('Test123').digest('base64'); 370 const a3 = crypto.createHash('sha512').update('Test123').digest(); // binary 371 const a4 = crypto.createHash('sha1').update('Test123').digest('buffer'); 374 const a0 = crypto.createHash('md5').update('Test12 [all...] |
H A D | test-crypto-cipher-decipher.js | 29 let ciph = cipher.update(plaintext, 'utf8', 'hex'); 34 let txt = decipher.update(ciph, 'hex', 'utf8'); 66 let ciph = cipher.update(plaintext, 'utf8', 'base64'); 70 let txt = decipher.update(ciph, 'base64', 'utf8'); 105 () => crypto.createCipher('aes-256-cbc', 'secret').update(null), 153 const s = c.update('test', 'utf8', 'base64') + c.final('base64'); 171 // string to Cipher#update() should not assert. 174 c.update('update'); 182 c.update('updat [all...] |
H A D | test-crypto-rsa-dsa-revert.js | 328 rsaSign.update(rsaPubPem); 332 rsaVerify.update(rsaPubPem); 337 rsaSign.update(rsaPubPem); 342 rsaVerify.update(rsaPubPem); 347 rsaSign.update(rsaPubPem); 353 rsaVerify.update(rsaPubPem); 357 rsaSign.update(rsaPubPem); 378 sign.update(input); 384 verify.update(input); 390 sign2.update(inpu [all...] |
H A D | test-crypto-rsa-dsa.js | 345 rsaSign.update(rsaPubPem); 349 rsaVerify.update(rsaPubPem); 354 rsaSign.update(rsaPubPem); 359 rsaVerify.update(rsaPubPem); 364 rsaSign.update(rsaPubPem); 370 rsaVerify.update(rsaPubPem); 374 rsaSign.update(rsaPubPem); 395 sign.update(input); 401 verify.update(input); 407 sign2.update(inpu [all...] |
H A D | test-crypto-authenticated.js | 122 let hex = encrypt.update(test.plain, inputEncoding, 'hex'); 152 let msg = decrypt.update(test.ct, 'hex', outputEncoding); 171 let hex = encrypt.update(test.plain, 'ascii', 'hex'); 191 let msg = decrypt.update(test.ct, 'hex', 'ascii'); 208 encrypt.update('blah', 'ascii'); 230 encrypt.update('blah', 'ascii'); 287 cipher.update('01234567', 'hex'); 313 decipher.update('3a2a3647', 'hex'), 463 // Test that setAAD and update throw if the plaintext is too long. 482 cipher().update(ms [all...] |
H A D | test-crypto-sign-verify.js | 61 .update('Test123') 98 .update('Test123') 106 .update('Test') 107 .update('123') 114 .update('Test123') 122 .update('Test') 123 .update('123') 137 .update('Test123') 140 .update('Test') 141 .update('12 [all...] |
/base/update/updater/utils/ |
H A D | write_updater.cpp | 42 if (snprintf_s(boot.update, sizeof(boot.update), sizeof(boot.update) - 1, "--update_package=%s", in ExceptionUpdater() 84 if (strncpy_s(boot.update, sizeof(boot.update), "--user_wipe_data", sizeof(boot.update) - 1) != 0) { in main() 89 if (strncpy_s(boot.update, sizeof(boot.update), "boot_flash", sizeof(boot.update) - 1) != 0) { in main() 96 if (strncpy_s(boot.update, sizeo in main() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | gen_dxgi_support_tables.py | 206 optionally_supported.update(d3d_flag) 208 always_supported.update(d3d_flag) 210 never_supported.update(d3d_flag) 212 fl_10_0_supported.update(d3d_flag) 214 fl_10_1_supported.update(d3d_flag) 216 fl_11_0_supported.update(d3d_flag) 218 fl_11_1_supported.update(d3d_flag) 221 always_supported.update(d3d_flag) 223 fl_10_0_check_10_1_supported.update(d3d_flag) 225 fl_10_0_check_11_0_supported.update(d3d_fla [all...] |
/base/update/updater/interfaces/kits/updaterkits/ |
H A D | updaterkits.cpp | 42 DoReboot("updater:reboot to updater to trigger update");
in WriteToMiscAndRebootToUpdater() 84 std::string pathInfo(updateMsg.update, sizeof(updateMsg.update));
in ParsePkgPath() 117 DoReboot("updater:reboot to updater to trigger update");
in WriteToMiscAndResultFileRebootToUpdater() 138 if (updateOffset > sizeof(msg.update)) {
in AddPkgPath() 139 LOG(ERROR) << "updaterkits: updateOffset > msg.update, return false";
in AddPkgPath() 144 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset,
in AddPkgPath() 145 sizeof(msg.update) - 1 - updateOffset, "--update_package=%s\n", path.c_str());
in AddPkgPath() 147 ret = snprintf_s(msg.update in AddPkgPath() [all...] |
/base/update/updater/test/unittest/updater_main_test/ |
H A D | updater_main_unittest.cpp | 82 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update), "", sizeof(boot.update)), 0);
in HWTEST_F() 103 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, command2.c_str(), command2.size()), 0);
in HWTEST_F() 131 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, command2.c_str(), command2.size()), 0);
in HWTEST_F() 142 EXPECT_EQ(memset_s(boot.update, sizeof(boot.update), 0, sizeof(boot.update)), in HWTEST_F() [all...] |
/third_party/libdrm/ |
H A D | xf86drmSL.c | 138 static SLEntryPtr SLLocate(void *l, unsigned long key, SLEntryPtr *update) in SLLocate() argument 149 update[i] = entry; in SLLocate() 159 SLEntryPtr update[SL_MAX_LEVEL + 1]; in drmSLInsert() local 165 entry = SLLocate(list, key, update); in drmSLInsert() 173 update[level] = list->head; in drmSLInsert() 180 entry->forward[i] = update[i]->forward[i]; in drmSLInsert() 181 update[i]->forward[i] = entry; in drmSLInsert() 191 SLEntryPtr update[SL_MAX_LEVEL + 1]; in drmSLDelete() local 197 entry = SLLocate(list, key, update); in drmSLDelete() 203 if (update[ in drmSLDelete() 218 SLEntryPtr update[SL_MAX_LEVEL + 1]; drmSLLookup() local 236 SLEntryPtr update[SL_MAX_LEVEL + 1] = {0}; drmSLLookupNeighbors() local [all...] |
/base/security/asset/services/core_service/src/operations/ |
H A D | operation_update.rs | 16 //! This module is used to update the specified alias of Asset. 36 fn is_only_change_local_labels(update: &AssetMap) -> bool { in is_only_change_local_labels() 38 for tag in update.keys() { in is_only_change_local_labels() 46 fn add_attrs(update: &AssetMap, db_data: &mut DbMap) -> Result<()> { in add_attrs() 47 if !is_only_change_local_labels(update) { in add_attrs() 80 return log_throw_error!(ErrCode::InvalidArgument, "[FATAL]The attributes to update is empty."); in check_arguments() 82 // Check attributes to update. in check_arguments() 96 pub(crate) fn update(calling_info: &CallingInfo, query: &AssetMap, update: &AssetMap) -> Result<()> { 97 check_arguments(query, update) [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | sha.rs | 14 //! you can create a hasher that you can repeatedly update to add bytes to. 21 //! hasher.update(b"Hello, "); 22 //! hasher.update(b"world"); 138 pub fn update(&mut self, buf: &[u8]) { in update() functions 184 pub fn update(&mut self, buf: &[u8]) { in update() functions 230 pub fn update(&mut self, buf: &[u8]) { in update() functions 276 pub fn update(&mut self, buf: &[u8]) { in update() functions 322 pub fn update(&mut self, buf: &[u8]) { in update() functions 360 hasher.update(b"a"); in struct_1() 361 hasher.update( in struct_1() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_descriptor_set.c | 651 struct vn_update_descriptor_sets *update = storage; in vn_update_descriptor_sets_alloc() local 652 update->write_count = write_count; in vn_update_descriptor_sets_alloc() 653 update->writes = storage + writes_offset; in vn_update_descriptor_sets_alloc() 654 update->images = storage + images_offset; in vn_update_descriptor_sets_alloc() 655 update->buffers = storage + buffers_offset; in vn_update_descriptor_sets_alloc() 656 update->views = storage + views_offset; in vn_update_descriptor_sets_alloc() 657 update->iubs = storage + iubs_offset; in vn_update_descriptor_sets_alloc() 659 return update; in vn_update_descriptor_sets_alloc() 683 struct vn_update_descriptor_sets *update = in vn_update_descriptor_sets_parse_writes() local 686 if (!update) in vn_update_descriptor_sets_parse_writes() 773 struct vn_update_descriptor_sets *update = vn_UpdateDescriptorSets() local 832 struct vn_update_descriptor_sets *update = vn_update_descriptor_sets_alloc( vn_update_descriptor_sets_parse_template() local 982 struct vn_update_descriptor_sets *update = templ->update; vn_UpdateDescriptorSetWithTemplate() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | hmac.c | 43 hmac_update update; member 77 c->update = (hmac_update) av_md5_update; in av_hmac_alloc() 85 c->update = (hmac_update) av_sha_update; in av_hmac_alloc() 93 c->update = (hmac_update) av_sha_update; in av_hmac_alloc() 101 c->update = (hmac_update) av_sha_update; in av_hmac_alloc() 109 c->update = (hmac_update) av_sha512_update; in av_hmac_alloc() 117 c->update = (hmac_update) av_sha512_update; in av_hmac_alloc() 146 c->update(c->hash, key, keylen); in av_hmac_init() 158 c->update(c->hash, block, c->blocklen); in av_hmac_init() 163 c->update( in av_hmac_update() [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_tooltip.py | 104 root.update() 107 root.update() 118 root.update() 121 root.update() 130 root.update() 132 root.update() 134 root.update() 137 root.update() 151 root.update() 153 root.update() [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | variables.h | 65 bit_field_ = VariableModeField::update(bit_field_, mode); in set_mode() 68 bit_field_ = IsStaticFlagField::update(bit_field_, is_static_flag); in set_is_static_flag() 81 bit_field_ = ForceContextAllocationBit::update(bit_field_, true); in ForceContextAllocation() 84 void set_is_used() { bit_field_ = IsUsedField::update(bit_field_, true); } in set_is_used() 89 bit_field_ = MaybeAssignedFlagField::update(bit_field_, kNotAssigned); in clear_maybe_assigned() 173 bit_field_ = ForceHoleInitializationField::update(bit_field_, true); in ForceHoleInitialization() 228 bit_field_ = LocationField::update(bit_field_, location); in AllocateTo() 235 bit_field_ = VariableModeField::update(bit_field_, VariableMode::kLet); in MakeParameterNonSimple() 237 InitializationFlagField::update(bit_field_, kNeedsInitialization); in MakeParameterNonSimple() 266 bit_field_ = MaybeAssignedFlagField::update(bit_field in set_maybe_assigned() [all...] |
/third_party/python/Lib/ |
H A D | hmac.py | 105 self._outer.update(key.translate(trans_5C)) 106 self._inner.update(key.translate(trans_36)) 108 self.update(msg) 117 def update(self, msg): member in HMAC 120 inst.update(msg) 125 An update to this copy won't affect the original object. 148 h.update(self._inner.digest()) 180 You can now feed arbitrary bytes into the object using its update() 215 inner.update(key.translate(trans_36)) 216 outer.update(ke [all...] |
H A D | _compat_pickle.py | 172 IMPORT_MAPPING.update({ 189 REVERSE_IMPORT_MAPPING.update({ 197 NAME_MAPPING.update({ 204 REVERSE_NAME_MAPPING.update({
|
/third_party/python/Lib/test/ |
H A D | test_http_cookies.py | 310 morsel_a.update(attribs) 313 morsel_b.update(attribs) 325 morsel_b.update(attribs) 331 morsel_b.update(attribs) 349 morsel.update(attribs) 356 morsel_a.update({ 385 morsel.update({ 403 # test dict update 405 morsel.update(attribs) 409 # test iterable update [all...] |
H A D | mapping_tests.py | 102 #update 103 p.update(self.reference) 107 p.update(items) 176 d.update(self.other) 181 d.update() 186 d.update(self.other.items()) 191 d.update(self.other.items()) 195 # self.assertRaises((TypeError, AttributeError), d.update, None) 196 self.assertRaises((TypeError, AttributeError), d.update, 42) 207 d.update(SimpleUserDic [all...] |
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfverifycreate_fuzzer/ |
H A D | hcfverifycreate_fuzzer.cpp | 54 (void)sign->update(sign, &mockInput); in TestVerify() 69 (void)verify->update(verify, &mockInput); in TestVerify() 103 (void)sign->update(sign, &mockInput); in TestVerifySm2() 118 (void)verify->update(verify, &mockInput); in TestVerifySm2() 152 (void)sign->update(sign, &mockInput); in TestVerifyBrainpool() 167 (void)verify->update(verify, &mockInput); in TestVerifyBrainpool() 201 (void)sign->update(sign, &mockInput); in TestVerifyEd25519() 216 (void)verify->update(verify, &mockInput); in TestVerifyEd25519()
|
/base/startup/init/services/modules/seccomp/scripts/tools/ |
H A D | merge_policy.py | 42 func_name_to_nr.update({item: name_nr_table.get(arch).get(func_name)})
45 syscall_name_dict.update({arch: func_name_to_nr_list})
120 self.seccomp_policy_param.update(\
134 dict_priority.update({arch: self.seccomp_policy_param.get(arch).priority})
135 dict_allow_list.update({arch: self.seccomp_policy_param.get(arch).allow_list})
136 dict_priority_with_args.update({arch: self.seccomp_policy_param.get(arch).priority_with_args})
137 dict_allow_list_with_args.update({arch: self.seccomp_policy_param.get(arch).allow_list_with_args})
138 dict_blocklist.update({arch: self.seccomp_policy_param.get(arch).blocklist})
|