Home
last modified time | relevance | path

Searched refs:lifetime (Results 1 – 25 of 549) sorted by relevance

12345678910>>...22

/third_party/rust/crates/pin-project-lite/tests/ui/pin_project/
Doverlapping_lifetime_names.stderr1 error[E0263]: lifetime name `'__pin` declared twice in the same scope
13 error[E0263]: lifetime name `'__pin` declared twice in the same scope
25 error[E0263]: lifetime name `'__pin` declared twice in the same scope
37 error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope
47 | |_^ lifetime `'__pin` already in scope
51 error[E0496]: lifetime name `'__pin` shadows a lifetime name that is already in scope
61 | |_^ lifetime `'__pin` already in scope
65 error[E0263]: lifetime name `'__pin` declared twice in the same scope
/third_party/mbedtls/library/
Dpsa_crypto_slot_management.c195 ( ! PSA_KEY_LIFETIME_IS_VOLATILE( slot->attr.lifetime ) ) && in psa_get_empty_key_slot()
253 if( psa_get_se_driver( slot->attr.lifetime, &drv, &drv_context ) ) in psa_load_persistent_key_into_slot()
283 psa_key_lifetime_t lifetime = PSA_KEY_LIFETIME_VOLATILE; in psa_load_builtin_key_into_slot() local
296 slot->attr.id, &lifetime, &slot_number ); in psa_load_builtin_key_into_slot()
303 psa_set_key_lifetime( &attributes, lifetime ); in psa_load_builtin_key_into_slot()
375 (*p_slot)->attr.lifetime = PSA_KEY_LIFETIME_PERSISTENT; in psa_get_and_lock_key_slot()
427 psa_status_t psa_validate_key_location( psa_key_lifetime_t lifetime, in psa_validate_key_location() argument
430 if ( psa_key_lifetime_is_external( lifetime ) ) in psa_validate_key_location()
434 psa_se_drv_table_entry_t *driver = psa_get_se_driver_entry( lifetime ); in psa_validate_key_location()
459 psa_status_t psa_validate_key_persistence( psa_key_lifetime_t lifetime ) in psa_validate_key_persistence() argument
[all …]
Dpsa_crypto_slot_management.h180 static inline int psa_key_lifetime_is_external( psa_key_lifetime_t lifetime ) in psa_key_lifetime_is_external() argument
182 return( PSA_KEY_LIFETIME_GET_LOCATION( lifetime ) in psa_key_lifetime_is_external()
200 psa_status_t psa_validate_key_location( psa_key_lifetime_t lifetime,
211 psa_status_t psa_validate_key_persistence( psa_key_lifetime_t lifetime );
Dpsa_crypto_driver_wrappers.c122 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_sign_message()
196 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_verify_message()
266 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_sign_hash()
283 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_sign_hash()
350 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_verify_hash()
367 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_verify_hash()
440 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_get_key_buffer_size_from_key_data()
481 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_get_key_buffer_size()
519 PSA_KEY_LIFETIME_GET_LOCATION(attributes->core.lifetime); in psa_driver_wrapper_generate_key()
526 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_generate_key()
[all …]
/third_party/rust/crates/cxx/syntax/
Dimpls.rs112 for lifetime in lifetimes { in hash()
113 lifetime.hash(state); in hash()
158 lifetime, in eq()
167 lifetime: lifetime2, in eq()
173 pinned == pinned2 && lifetime == lifetime2 && mutable == mutable2 && inner == inner2 in eq()
182 lifetime, in hash()
189 lifetime.hash(state); in hash()
237 lifetime, in eq()
245 lifetime: lifetime2, in eq()
251 lifetime == lifetime2 && mutable == mutable2 && inner == inner2 in eq()
[all …]
/third_party/rust/crates/cxx/tests/ui/
Dunsupported_elided.stderr1 error[E0726]: implicit elided lifetime not allowed here
5 | ^ expected lifetime parameter
7 help: indicate the anonymous lifetime
12 error[E0106]: missing lifetime specifier
16 | -- ^ expected named lifetime parameter
19 help: consider introducing a named lifetime parameter
Ddeny_elided_lifetimes.stderr1 error: hidden lifetime parameters in types are deprecated
5 | ^^^ expected lifetime parameter
12 help: indicate the anonymous lifetime
Dexpected_named.stderr1 error[E0106]: missing lifetime specifier
5 | ^^^^^^^^ expected named lifetime parameter
8 help: consider using the `'static` lifetime
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal_mocks.function7 /** The location and lifetime used for tests that use a single driver. */
332 psa_key_lifetime_t lifetime = TEST_SE_PERSISTENT_LIFETIME;
333 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( lifetime );
354 psa_set_key_lifetime( &attributes, lifetime );
378 TEST_ASSERT( mock_import_data.attributes.core.lifetime ==
379 ( mock_alloc_return_value == PSA_SUCCESS? lifetime : 0 ) );
401 psa_key_lifetime_t lifetime = TEST_SE_PERSISTENT_LIFETIME;
402 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( lifetime );
425 psa_set_key_lifetime( &attributes, lifetime );
455 psa_key_lifetime_t lifetime = TEST_SE_PERSISTENT_LIFETIME;
[all …]
Dtest_suite_psa_crypto_attributes.data8 PSA key attributes: lifetime=3 only
17 PSA key attributes: id then lifetime
20 PSA key attributes: lifetime then id
23 PSA key attributes: non local volatile lifetime then id
Dtest_suite_psa_crypto_metadata.data385 lifetime:PSA_KEY_LIFETIME_VOLATILE:KEY_LIFETIME_IS_VOLATILE:PSA_KEY_PERSISTENCE_VOLATILE:PSA_KEY_LO…
388 lifetime:PSA_KEY_LIFETIME_PERSISTENT:0:PSA_KEY_PERSISTENCE_DEFAULT:PSA_KEY_LOCATION_LOCAL_STORAGE
391 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_PERSISTENCE_VOLATILE, PSA_KEY_LOCAT…
394 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_PERSISTENCE_DEFAULT, PSA_KEY_LOCATI…
397 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(2, PSA_KEY_LOCATION_LOCAL_STORAGE):0:2:PSA_…
400 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(254, PSA_KEY_LOCATION_LOCAL_STORAGE):0:254:…
403 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_PERSISTENCE_READ_ONLY, PSA_KEY_LOCA…
406 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_PERSISTENCE_VOLATILE, 0x123456):KEY…
409 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_PERSISTENCE_DEFAULT, 0x123456):0:PS…
412 lifetime:PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(2, 0x123456):0:2:0x123456
[all …]
Dtest_suite_psa_crypto_attributes.function17 psa_key_lifetime_t lifetime = lifetime_arg;
34 psa_set_key_lifetime( &attributes, lifetime );
42 TEST_EQUAL( psa_get_key_lifetime( &attributes ), lifetime );
71 psa_key_lifetime_t lifetime = lifetime_arg;
81 psa_set_key_lifetime( &attributes, lifetime );
Dtest_suite_psa_crypto_se_driver_hal.function24 /** The location and lifetime used for tests that use a single driver. */
232 psa_key_lifetime_t lifetime;
270 ram_slots[slot_number].lifetime = psa_get_key_lifetime( attributes );
555 psa_key_lifetime_t lifetime =
559 if( PSA_KEY_LIFETIME_GET_LOCATION( lifetime ) < MIN_DRIVER_LOCATION )
860 psa_key_lifetime_t lifetime = (psa_key_lifetime_t) lifetime_arg;
861 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( lifetime );
888 psa_set_key_lifetime( &attributes, lifetime );
895 if( PSA_KEY_LIFETIME_IS_VOLATILE( lifetime ) )
920 if( PSA_KEY_LIFETIME_IS_VOLATILE( lifetime ) )
[all …]
/third_party/mbedtls/include/psa/
Dcrypto_struct.h326 psa_key_lifetime_t MBEDTLS_PRIVATE(lifetime);
362 psa_key_lifetime_t lifetime = attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime); in psa_set_key_id() local
366 if( PSA_KEY_LIFETIME_IS_VOLATILE( lifetime ) ) in psa_set_key_id()
368 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) = in psa_set_key_id()
371 PSA_KEY_LIFETIME_GET_LOCATION( lifetime ) ); in psa_set_key_id()
390 psa_key_lifetime_t lifetime ) in psa_set_key_lifetime() argument
392 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) = lifetime; in psa_set_key_lifetime()
393 if( PSA_KEY_LIFETIME_IS_VOLATILE( lifetime ) ) in psa_set_key_lifetime()
406 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) ); in psa_get_key_lifetime()
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dcertificate.js179 assert.optionalNumber(options.lifetime, 'options.lifetime');
180 var lifetime = options.lifetime;
181 if (lifetime === undefined)
182 lifetime = 10*365*24*3600;
184 validUntil.setTime(validUntil.getTime() + lifetime*1000);
277 assert.optionalNumber(options.lifetime, 'options.lifetime');
278 var lifetime = options.lifetime;
279 if (lifetime === undefined)
280 lifetime = 10*365*24*3600;
282 validUntil.setTime(validUntil.getTime() + lifetime*1000);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/
Dtdls.c107 u32 lifetime; member
1200 peer->lifetime = TPK_LIFETIME; in wpa_tdls_send_tpk_m1()
1205 peer->lifetime = 301; in wpa_tdls_send_tpk_m1()
1210 peer->lifetime = 0xffffffff; in wpa_tdls_send_tpk_m1()
1214 sizeof(timeoutie), peer->lifetime); in wpa_tdls_send_tpk_m1()
1215 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds", peer->lifetime); in wpa_tdls_send_tpk_m1()
1250 u32 lifetime; in wpa_tdls_send_tpk_m2() local
1301 lifetime = peer->lifetime; in wpa_tdls_send_tpk_m2()
1306 lifetime++; in wpa_tdls_send_tpk_m2()
1310 sizeof(timeoutie), lifetime); in wpa_tdls_send_tpk_m2()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/
Dtdls.c107 u32 lifetime; member
1208 peer->lifetime = TPK_LIFETIME; in wpa_tdls_send_tpk_m1()
1213 peer->lifetime = 301; in wpa_tdls_send_tpk_m1()
1218 peer->lifetime = 0xffffffff; in wpa_tdls_send_tpk_m1()
1222 sizeof(timeoutie), peer->lifetime); in wpa_tdls_send_tpk_m1()
1223 wpa_printf(MSG_DEBUG, "TDLS: TPK lifetime %u seconds", peer->lifetime); in wpa_tdls_send_tpk_m1()
1258 u32 lifetime; in wpa_tdls_send_tpk_m2() local
1309 lifetime = peer->lifetime; in wpa_tdls_send_tpk_m2()
1314 lifetime++; in wpa_tdls_send_tpk_m2()
1318 sizeof(timeoutie), lifetime); in wpa_tdls_send_tpk_m2()
[all …]
/third_party/mbedtls/scripts/mbedtls_dev/
Dpsa_storage.py107 lifetime: Exprable = 'PSA_KEY_LIFETIME_PERSISTENT',
115 self.lifetime = as_expr(lifetime) #type: Expr
153 self.lifetime, self.type, self.bits,
169 return self.lifetime.value() >> 8
178 id=1, lifetime=0x00000001,
189 id=1, lifetime='PSA_KEY_LIFETIME_PERSISTENT',
/third_party/mbedtls/tests/src/drivers/
Dplatform_builtin_keys.c35 psa_key_lifetime_t lifetime; member
74 psa_key_lifetime_t *lifetime, in mbedtls_psa_platform_get_builtin_key() argument
86 *lifetime = builtin_key->lifetime; in mbedtls_psa_platform_get_builtin_key()
/third_party/mbedtls/tests/scripts/
Dgenerate_psa_tests.py386 key.lifetime.string, key.type.string,
403 if 'READ_ONLY' in key.lifetime.string:
406 tc.set_arguments([key.lifetime.string,
416 lifetime: str,
419 short = lifetime
425 id=1, lifetime=lifetime,
436 for lifetime in expressions:
438 if 'VOLATILE' in lifetime:
442 if 'READ_ONLY' in lifetime and self.forward:
444 yield self.key_for_lifetime(lifetime)
[all …]
/third_party/rust/crates/pin-project-lite/src/
Dlib.rs1139 $( $lifetime:lifetime $(: $lifetime_bound:lifetime)? ),* $(,)?
1143 $(: $generics_lifetime_bound:lifetime)?
1150 $(: $where_clause_lifetime_bound:lifetime)?
1160 $( $lifetime $(: $lifetime_bound)? ,)*
1187 $( $lifetime $(: $lifetime_bound)? ,)*
1444 $( $lifetime:lifetime $(: $lifetime_bound:lifetime)? ),* $(,)?
1448 $(: $generics_lifetime_bound:lifetime)?
1456 $(: $where_clause_lifetime_bound:lifetime)?
1471 $( $lifetime $(: $lifetime_bound)? ,)*
1480 $( $lifetime $(: $lifetime_bound)? ,)*
[all …]
/third_party/rust/crates/cxx/macro/src/
Dtokens.rs26 lifetime, in to_tokens()
40 lifetime.to_tokens(tokens); in to_tokens()
54 lifetime, in to_tokens()
68 lifetime.to_tokens(tokens); in to_tokens()
Dgenerics.rs84 let (lifetime, punct) = pair.into_tuple(); in to_tokens()
85 let lifetime = Lifetime::new("'_", lifetime.span()); in to_tokens() localVariable
86 lifetime.to_tokens(tokens); in to_tokens()
/third_party/cef/patch/patches/
Dchrome_browser_background_mode_1100085.patch54 diff --git chrome/browser/lifetime/browser_close_manager.cc chrome/browser/lifetime/browser_close_m…
56 --- chrome/browser/lifetime/browser_close_manager.cc
57 +++ chrome/browser/lifetime/browser_close_manager.cc
/third_party/skia/site/docs/user/modules/
Dparticles.md141 " effect.lifetime = 2;",
156 " p.lifetime = (1 - effect.age) * effect.lifetime;",
180 " effect.lifetime = 2;",
185 " p.lifetime = 10;",
278 " p.lifetime = 3 + rand(p.seed);",
303 " effect.lifetime = 4;",
329 " p.lifetime = explode ? (2 + rand(p.seed) * 0.5) : 0.5;",
359 " p.lifetime = mix(1, 3, rand(p.seed));",
433 " p.lifetime = 2 + rand(p.seed);",

12345678910>>...22