Home
last modified time | relevance | path

Searched refs:update (Results 1 - 25 of 2668) sorted by relevance

12345678910>>...107

/base/security/asset/test/unittest/inner_kits_rust/src/
H A Dupdate_abnormal.rs22 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 Dupdate.rs28 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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_debug.c186 const struct dc_surface_update *update = &updates[i]; in update_surface_trace() local
189 if (update->flip_addr) { in update_surface_trace()
194 update->flip_addr->address.type, in update_surface_trace()
195 update->flip_addr->address.grph.addr.quad_part, in update_surface_trace()
196 update->flip_addr->address.grph.meta_addr.quad_part, in update_surface_trace()
197 update->flip_addr->flip_immediate); in update_surface_trace()
200 if (update->plane_info) { in update_surface_trace()
211 update->plane_info->color_space, in update_surface_trace()
212 update->plane_info->format, in update_surface_trace()
213 update in update_surface_trace()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_debug.c186 const struct dc_surface_update *update = &updates[i]; in update_surface_trace() local
189 if (update->flip_addr) { in update_surface_trace()
194 update->flip_addr->address.type, in update_surface_trace()
195 update->flip_addr->address.grph.addr.quad_part, in update_surface_trace()
196 update->flip_addr->address.grph.meta_addr.quad_part, in update_surface_trace()
197 update->flip_addr->flip_immediate); in update_surface_trace()
200 if (update->plane_info) { in update_surface_trace()
211 update->plane_info->color_space, in update_surface_trace()
212 update->plane_info->format, in update_surface_trace()
213 update in update_surface_trace()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dhtab_mem_bench.c58 struct update_ctx update; in overwrite() local
60 update.from = bpf_get_smp_processor_id(); in overwrite()
61 update.step = nr_thread; in overwrite()
62 bpf_loop(OP_BATCH, overwrite_htab, &update, 0); in overwrite()
70 struct update_ctx update; in batch_add_batch_del() local
72 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del()
73 update.step = nr_thread; in batch_add_batch_del()
74 bpf_loop(OP_BATCH, overwrite_htab, &update, 0); in batch_add_batch_del()
76 update.from = bpf_get_smp_processor_id(); in batch_add_batch_del()
77 bpf_loop(OP_BATCH, del_htab, &update, in batch_add_batch_del()
86 struct update_ctx update; add_only() local
98 struct update_ctx update; del_only() local
[all...]
H A Dtest_bpf_cookie.c23 static void update(void *ctx, __u64 *res) in update() function
34 update(ctx, &kprobe_res); in handle_kprobe()
41 update(ctx, &kretprobe_res); in handle_kretprobe()
48 update(ctx, &uprobe_res); in handle_uprobe()
55 update(ctx, &uretprobe_res); in handle_uretprobe()
67 update(ctx, &tp_res); in handle_tp1()
73 update(ctx, &tp_res); in handle_tp2()
79 update(ctx, &tp_res); in handle_tp3()
86 update(ctx, &pe_res); in handle_pe()
93 update(ct in BPF_PROG()
[all...]
/third_party/node/test/parallel/
H A Dtest-crypto-binary-default.js67 .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 Dtest-crypto-cipher-decipher.js29 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 Dtest-crypto-rsa-dsa-revert.js328 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 Dtest-crypto-rsa-dsa.js345 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 Dtest-crypto-authenticated.js122 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...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dgen_dxgi_support_tables.py206 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/utils/
H A Dwrite_updater.cpp42 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...]
/base/update/updater/interfaces/kits/updaterkits/
H A Dupdaterkits.cpp42 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 Dupdater_main_unittest.cpp82 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 Dxf86drmSL.c138 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 Doperation_update.rs16 //! 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...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nic/
H A Ddcb.c148 static int update_dscp_maxrate(struct net_device *dev, u32 *update) in update_dscp_maxrate() argument
160 *update |= NFP_DCB_MSG_MSK_RATE; in update_dscp_maxrate()
169 *update |= NFP_DCB_MSG_MSK_DSCP; in update_dscp_maxrate()
175 static void nfp_nic_set_trust(struct nfp_net *nn, u32 *update) in nfp_nic_set_trust() argument
190 *update |= NFP_DCB_MSG_MSK_TRUST; in nfp_nic_set_trust()
193 static void nfp_nic_set_enable(struct nfp_net *nn, u32 enable, u32 *update) in nfp_nic_set_enable() argument
205 *update |= NFP_DCB_MSG_MSK_ENABLE; in nfp_nic_set_enable()
251 static void nfp_nic_ets_init(struct nfp_net *nn, u32 *update) in nfp_nic_ets_init() argument
260 *update |= NFP_DCB_MSG_MSK_TSA | NFP_DCB_MSG_MSK_PCT | NFP_DCB_MSG_MSK_PCP; in nfp_nic_ets_init()
270 u32 update in nfp_nic_dcbnl_ieee_setets() local
334 u32 update = 0; nfp_nic_dcbnl_ieee_setmaxrate() local
366 u32 update = 0; nfp_nic_set_trust_status() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
H A Disph3a_aewb.c23 * h3a_aewb_update_regs - Helper function to update h3a registers.
40 if (!aewb->update) in h3a_aewb_setup_regs()
72 aewb->update = 0; in h3a_aewb_setup_regs()
183 int update = 0; in h3a_aewb_set_params() local
187 update = 1; in h3a_aewb_set_params()
191 update = 1; in h3a_aewb_set_params()
195 update = 1; in h3a_aewb_set_params()
199 update = 1; in h3a_aewb_set_params()
203 update = 1; in h3a_aewb_set_params()
207 update in h3a_aewb_set_params()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/
H A Disph3a_aewb.c23 * h3a_aewb_update_regs - Helper function to update h3a registers.
40 if (!aewb->update) in h3a_aewb_setup_regs()
72 aewb->update = 0; in h3a_aewb_setup_regs()
183 int update = 0; in h3a_aewb_set_params() local
187 update = 1; in h3a_aewb_set_params()
191 update = 1; in h3a_aewb_set_params()
195 update = 1; in h3a_aewb_set_params()
199 update = 1; in h3a_aewb_set_params()
203 update = 1; in h3a_aewb_set_params()
207 update in h3a_aewb_set_params()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dsha.rs14 //! 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 Dvn_descriptor_set.c651 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 Dhmac.c43 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 Dtest_tooltip.py104 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 Dvariables.h65 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...]

Completed in 11 milliseconds

12345678910>>...107