Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 2541) sorted by relevance

12345678910>>...102

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_attributes.function15 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
24 MBEDTLS_SVC_KEY_ID_GET_KEY_ID( psa_get_key_id( &attributes ) ), 0 );
26 MBEDTLS_SVC_KEY_ID_GET_OWNER_ID( psa_get_key_id( &attributes ) ), 0 );
27 TEST_EQUAL( psa_get_key_lifetime( &attributes ), 0 );
28 TEST_EQUAL( psa_get_key_usage_flags( &attributes ), 0 );
29 TEST_EQUAL( psa_get_key_algorithm( &attributes ), 0 );
30 TEST_EQUAL( psa_get_key_type( &attributes ), 0 );
31 TEST_EQUAL( psa_get_key_bits( &attributes ), 0 );
33 psa_set_key_id( &attributes, id );
34 psa_set_key_lifetime( &attributes, lifetime );
[all …]
Dtest_suite_psa_crypto_persistent_key.function50 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
52 psa_set_key_lifetime( &attributes, key_lifetime );
53 psa_set_key_type( &attributes, key_type );
54 psa_set_key_bits( &attributes, key_bits );
55 psa_set_key_usage_flags( &attributes, key_usage );
56 psa_set_key_algorithm( &attributes, key_alg );
57 psa_set_key_enrollment_algorithm( &attributes, key_alg2 );
61 &attributes.core,
85 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
90 &attributes.core );
[all …]
Dtest_suite_psa_crypto_slot_management.function124 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
133 mbedtls_set_key_owner_id( &attributes, owner_id );
138 psa_set_key_usage_flags( &attributes, usage_flags );
139 psa_set_key_algorithm( &attributes, alg );
140 psa_set_key_type( &attributes, type );
141 PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len,
144 PSA_ASSERT( psa_get_key_attributes( key, &attributes ) );
145 TEST_EQUAL( psa_get_key_type( &attributes ), type );
146 psa_reset_key_attributes( &attributes );
168 PSA_ASSERT( psa_get_key_attributes( key, &attributes ) );
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function24 psa_key_attributes_t attributes;
33 psa_key_attributes_t attributes;
135 const psa_key_attributes_t *attributes,
146 mock_generate_data.attributes = *attributes;
154 const psa_key_attributes_t *attributes,
166 mock_import_data.attributes = *attributes;
252 const psa_key_attributes_t *attributes,
258 (void) attributes;
336 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
353 psa_set_key_id( &attributes, id );
[all …]
Dtest_suite_psa_crypto_generate_key.function18 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
27 psa_set_key_type( &attributes, key_type );
28 psa_set_key_bits( &attributes, bits );
29 TEST_EQUAL( psa_generate_key( &attributes, &key_id ),
32 // Verify attributes of the created key on success
35 psa_reset_key_attributes(&attributes);
36 PSA_ASSERT( psa_get_key_attributes( key_id, &attributes ) );
37 TEST_EQUAL( psa_get_key_lifetime( &attributes ), PSA_KEY_LIFETIME_VOLATILE );
38 TEST_EQUAL( psa_get_key_usage_flags( &attributes ), 0 );
39 TEST_EQUAL( psa_get_key_algorithm( &attributes ), 0 );
[all …]
/third_party/boost/libs/log/doc/tmp/
Dattributes_reference.qbk12 [template boost_log_attributes_attribute_hpp[][headerref boost/log/attributes/attribute.hpp]]
18 [template boost_log_attributes_attribute_cast_hpp[][headerref boost/log/attributes/attribute_cast.h…
20 [template class_attributes_cast_source[][classref boost::log::attributes::cast_source cast_source]]
22 [template boost_log_attributes_attribute_name_hpp[][headerref boost/log/attributes/attribute_name.h…
26 [template boost_log_attributes_attribute_set_hpp[][headerref boost/log/attributes/attribute_set.hpp…
30 [template boost_log_attributes_attribute_value_hpp[][headerref boost/log/attributes/attribute_value…
36 [template boost_log_attributes_attribute_value_impl_hpp[][headerref boost/log/attributes/attribute_…
38 [template class_attributes_attribute_value_impl[][classref boost::log::attributes::attribute_value_…
40 [template boost_log_attributes_attribute_value_set_hpp[][headerref boost/log/attributes/attribute_v…
44 [template boost_log_attributes_clock_hpp[][headerref boost/log/attributes/clock.hpp]]
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp75 vector<Attribute> attributes; member
201 for (int attribNdx = 0; attribNdx < (int)state.attributes.size(); attribNdx++) in logVertexArrayState()
205 …<< "\tGL_VERTEX_ATTRIB_ARRAY_ENABLED : " << (state.attributes[attribNdx].enabled ? "GL_TRUE" : "GL… in logVertexArrayState()
206 << "\tGL_VERTEX_ATTRIB_ARRAY_SIZE : " << state.attributes[attribNdx].size << "\n" in logVertexArrayState()
207 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n" in logVertexArrayState()
208 << "\tGL_VERTEX_ATTRIB_ARRAY_TYPE : " << state.attributes[attribNdx].type << "\n" in logVertexArrayState()
209 …<< "\tGL_VERTEX_ATTRIB_ARRAY_NORMALIZED : " << (state.attributes[attribNdx].normalized ? "GL_TRUE"… in logVertexArrayState()
210 …<< "\tGL_VERTEX_ATTRIB_ARRAY_INTEGER : " << (state.attributes[attribNdx].integer ? "GL_TRUE" : "GL… in logVertexArrayState()
211 << "\tGL_VERTEX_ATTRIB_ARRAY_DIVISOR : " << state.attributes[attribNdx].divisor << "\n" in logVertexArrayState()
212 << "\tGL_VERTEX_ATTRIB_ARRAY_POINTER : " << state.attributes[attribNdx].offset << "\n" in logVertexArrayState()
[all …]
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c193 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_generate_key() argument
212 if( PSA_KEY_TYPE_IS_ECC( psa_get_key_type( attributes ) ) in mbedtls_test_transparent_generate_key()
213 && PSA_KEY_TYPE_IS_KEY_PAIR( psa_get_key_type( attributes ) ) ) in mbedtls_test_transparent_generate_key()
218 (const libtestdriver1_psa_key_attributes_t *)attributes, in mbedtls_test_transparent_generate_key()
222 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key()
225 else if( psa_get_key_type( attributes ) == PSA_KEY_TYPE_RSA_KEY_PAIR ) in mbedtls_test_transparent_generate_key()
230 (const libtestdriver1_psa_key_attributes_t *)attributes, in mbedtls_test_transparent_generate_key()
234 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key()
238 (void)attributes; in mbedtls_test_transparent_generate_key()
243 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_generate_key() argument
[all …]
Dtest_driver_signature.c55 const psa_key_attributes_t *attributes, in sign_hash() argument
65 if( attributes->core.type == PSA_KEY_TYPE_RSA_KEY_PAIR ) in sign_hash()
74 (const libtestdriver1_psa_key_attributes_t *) attributes, in sign_hash()
81 attributes, in sign_hash()
92 else if( PSA_KEY_TYPE_IS_ECC( attributes->core.type ) ) in sign_hash()
100 (const libtestdriver1_psa_key_attributes_t *) attributes, in sign_hash()
107 attributes, in sign_hash()
119 (void)attributes; in sign_hash()
132 const psa_key_attributes_t *attributes, in verify_hash() argument
141 if( PSA_KEY_TYPE_IS_RSA( attributes->core.type ) ) in verify_hash()
[all …]
/third_party/mbedtls/library/
Dpsa_crypto_client.c33 void psa_reset_key_attributes( psa_key_attributes_t *attributes ) in psa_reset_key_attributes() argument
35 mbedtls_free( attributes->domain_parameters ); in psa_reset_key_attributes()
36 memset( attributes, 0, sizeof( *attributes ) ); in psa_reset_key_attributes()
39 psa_status_t psa_set_key_domain_parameters( psa_key_attributes_t *attributes, in psa_set_key_domain_parameters() argument
56 if( attributes->domain_parameters != NULL ) in psa_set_key_domain_parameters()
58 mbedtls_free( attributes->domain_parameters ); in psa_set_key_domain_parameters()
59 attributes->domain_parameters = NULL; in psa_set_key_domain_parameters()
60 attributes->domain_parameters_size = 0; in psa_set_key_domain_parameters()
63 attributes->domain_parameters = copy; in psa_set_key_domain_parameters()
64 attributes->domain_parameters_size = data_length; in psa_set_key_domain_parameters()
[all …]
Dpsa_crypto_driver_wrappers.c110 const psa_key_attributes_t *attributes, in psa_driver_wrapper_sign_message() argument
122 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_sign_message()
132 attributes, in psa_driver_wrapper_sign_message()
153 attributes, in psa_driver_wrapper_sign_message()
173 return( psa_sign_message_builtin( attributes, in psa_driver_wrapper_sign_message()
185 const psa_key_attributes_t *attributes, in psa_driver_wrapper_verify_message() argument
196 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_verify_message()
206 attributes, in psa_driver_wrapper_verify_message()
226 attributes, in psa_driver_wrapper_verify_message()
245 return( psa_verify_message_builtin( attributes, in psa_driver_wrapper_verify_message()
[all …]
/third_party/mbedtls/include/psa/
Dcrypto_struct.h359 static inline void psa_set_key_id( psa_key_attributes_t *attributes, in psa_set_key_id() argument
362 psa_key_lifetime_t lifetime = attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime); in psa_set_key_id()
364 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id) = key; in psa_set_key_id()
368 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) = in psa_set_key_id()
376 const psa_key_attributes_t *attributes ) in psa_get_key_id() argument
378 return( attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id) ); in psa_get_key_id()
382 static inline void mbedtls_set_key_owner_id( psa_key_attributes_t *attributes, in mbedtls_set_key_owner_id() argument
385 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(id).MBEDTLS_PRIVATE(owner) = owner; in mbedtls_set_key_owner_id()
389 static inline void psa_set_key_lifetime( psa_key_attributes_t *attributes, in psa_set_key_lifetime() argument
392 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(lifetime) = lifetime; in psa_set_key_lifetime()
[all …]
/third_party/weston/libweston/
Dlinux-dmabuf.c43 for (i = 0; i < buffer->attributes.n_planes; i++) { in linux_dmabuf_buffer_destroy()
44 close(buffer->attributes.fd[i]); in linux_dmabuf_buffer_destroy()
45 buffer->attributes.fd[i] = -1; in linux_dmabuf_buffer_destroy()
48 buffer->attributes.n_planes = 0; in linux_dmabuf_buffer_destroy()
50 if (buffer->attributes.buffer_handle != NULL) { in linux_dmabuf_buffer_destroy()
51 free(buffer->attributes.buffer_handle); in linux_dmabuf_buffer_destroy()
107 if (buffer->attributes.fd[plane_idx] != -1) { in params_add()
116 buffer->attributes.fd[plane_idx] = name_fd; in params_add()
117 buffer->attributes.offset[plane_idx] = offset; in params_add()
118 buffer->attributes.stride[plane_idx] = stride; in params_add()
[all …]
/third_party/boost/libs/asio/include/boost/asio/
Dspawn.hpp206 const boost::coroutines::attributes& attributes
207 = boost::coroutines::attributes());
227 const boost::coroutines::attributes& attributes
228 = boost::coroutines::attributes(),
252 const boost::coroutines::attributes& attributes
253 = boost::coroutines::attributes());
270 const boost::coroutines::attributes& attributes
271 = boost::coroutines::attributes(),
290 const boost::coroutines::attributes& attributes
291 = boost::coroutines::attributes());
[all …]
/third_party/boost/boost/asio/
Dspawn.hpp206 const boost::coroutines::attributes& attributes
207 = boost::coroutines::attributes());
227 const boost::coroutines::attributes& attributes
228 = boost::coroutines::attributes(),
252 const boost::coroutines::attributes& attributes
253 = boost::coroutines::attributes());
270 const boost::coroutines::attributes& attributes
271 = boost::coroutines::attributes(),
290 const boost::coroutines::attributes& attributes
291 = boost::coroutines::attributes());
[all …]
/third_party/boost/libs/math/dot_net_example/distribution_explorer/
DDistexSplash.cs30 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttr…
32 if (attributes.Length > 0)
35 AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
66 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescripti…
68 if (attributes.Length == 0)
71 return ((AssemblyDescriptionAttribute)attributes[0]).Description;
80 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAt…
82 if (attributes.Length == 0)
85 return ((AssemblyProductAttribute)attributes[0]).Product;
94 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyright…
[all …]
DdistexAboutBox.cs36 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttr…
38 if (attributes.Length > 0)
41 AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
64 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescripti…
66 if (attributes.Length == 0)
69 return ((AssemblyDescriptionAttribute)attributes[0]).Description;
78 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAt…
80 if (attributes.Length == 0)
83 return ((AssemblyProductAttribute)attributes[0]).Product;
92 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyright…
[all …]
DAboutDistributionExplorer.cs35 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttr…
37 if (attributes.Length > 0)
40 AssemblyTitleAttribute titleAttribute = (AssemblyTitleAttribute)attributes[0];
63 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyDescripti…
65 if (attributes.Length == 0)
68 return ((AssemblyDescriptionAttribute)attributes[0]).Description;
77 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyProductAt…
79 if (attributes.Length == 0)
82 return ((AssemblyProductAttribute)attributes[0]).Product;
91 …object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyright…
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsAttributeLocationTests.cpp73 bool hasAttributeAliasing (const vector<Attribute>& attributes, const map<string, deUint32>& bindin… in hasAttributeAliasing() argument
77 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) in hasAttributeAliasing()
79 const deInt32 location = getBoundLocation(bindings, attributes[attribNdx].getName()); in hasAttributeAliasing()
80 const deUint32 size = attributes[attribNdx].getType().getLocationSize(); in hasAttributeAliasing()
111 string generateAttributeDefinitions (const vector<Attribute>& attributes) in generateAttributeDefinitions() argument
115 for (vector<Attribute>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) in generateAttributeDefinitions()
129 string generateConditionUniformDefinitions (const vector<Attribute>& attributes) in generateConditionUniformDefinitions() argument
134 for (vector<Attribute>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) in generateConditionUniformDefinitions()
173 string generateOutputCode (const vector<Attribute>& attributes) in generateOutputCode() argument
177 for (vector<Attribute>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) in generateOutputCode()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexDeclarationCache.cpp50 const std::vector<TranslatedAttribute> &attributes, in applyDeclaration() argument
56 ASSERT(gl::MAX_VERTEX_ATTRIBS >= attributes.size()); in applyDeclaration()
60 const size_t invalidAttribIndex = attributes.size(); in applyDeclaration()
66 for (size_t i = 0; i < attributes.size(); ++i) in applyDeclaration()
68 if (attributes[i].divisor != 0) in applyDeclaration()
81 for (size_t i = 0; i < attributes.size(); i++) in applyDeclaration()
83 if (attributes[i].active) in applyDeclaration()
85 if (indexedAttribute == invalidAttribIndex && attributes[i].divisor == 0) in applyDeclaration()
89 else if (instancedAttribute == invalidAttribIndex && attributes[i].divisor != 0) in applyDeclaration()
113 for (size_t i = 0; i < attributes.size(); i++) in applyDeclaration()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DVertexDeclarationCache.cpp50 const std::vector<TranslatedAttribute> &attributes, in applyDeclaration() argument
56 ASSERT(gl::MAX_VERTEX_ATTRIBS >= attributes.size()); in applyDeclaration()
60 const size_t invalidAttribIndex = attributes.size(); in applyDeclaration()
66 for (size_t i = 0; i < attributes.size(); ++i) in applyDeclaration()
68 if (attributes[i].divisor != 0) in applyDeclaration()
81 for (size_t i = 0; i < attributes.size(); i++) in applyDeclaration()
83 if (attributes[i].active) in applyDeclaration()
85 if (indexedAttribute == invalidAttribIndex && attributes[i].divisor == 0) in applyDeclaration()
89 else if (instancedAttribute == invalidAttribIndex && attributes[i].divisor != 0) in applyDeclaration()
113 for (size_t i = 0; i < attributes.size(); i++) in applyDeclaration()
[all …]
/third_party/flutter/skia/tools/sk_app/mac/
DGLWindowContext_mac.mm66 NSOpenGLPixelFormatAttribute attributes[kMaxAttributes];
68 attributes[numAttributes++] = NSOpenGLPFAAccelerated;
69 attributes[numAttributes++] = NSOpenGLPFAClosestPolicy;
70 attributes[numAttributes++] = NSOpenGLPFADoubleBuffer;
71 attributes[numAttributes++] = NSOpenGLPFAOpenGLProfile;
72 attributes[numAttributes++] = NSOpenGLProfileVersion3_2Core;
73 attributes[numAttributes++] = NSOpenGLPFAColorSize;
74 attributes[numAttributes++] = 24;
75 attributes[numAttributes++] = NSOpenGLPFAAlphaSize;
76 attributes[numAttributes++] = 8;
[all …]
/third_party/skia/tools/sk_app/mac/
DGLWindowContext_mac.mm73 NSOpenGLPixelFormatAttribute attributes[kMaxAttributes];
75 attributes[numAttributes++] = NSOpenGLPFAAccelerated;
76 attributes[numAttributes++] = NSOpenGLPFAClosestPolicy;
77 attributes[numAttributes++] = NSOpenGLPFADoubleBuffer;
78 attributes[numAttributes++] = NSOpenGLPFAOpenGLProfile;
79 attributes[numAttributes++] = NSOpenGLProfileVersion3_2Core;
80 attributes[numAttributes++] = NSOpenGLPFAColorSize;
81 attributes[numAttributes++] = 24;
82 attributes[numAttributes++] = NSOpenGLPFAAlphaSize;
83 attributes[numAttributes++] = 8;
[all …]
/third_party/glib/gio/
Dgio-tool-list.c28 static char *attributes = NULL; variable
36 …{ "attributes", 'a', 0, G_OPTION_ARG_STRING, &attributes, N_("The attributes to get"), N_("ATTRIBU…
51 char **attributes; in show_file_listing() local
84 attributes = g_file_info_list_attributes (info, NULL); in show_file_listing()
85 for (i = 0 ; attributes[i] != NULL; i++) in show_file_listing()
90 (!print_display_names && strcmp (attributes[i], G_FILE_ATTRIBUTE_STANDARD_NAME) == 0) || in show_file_listing()
91 … (print_display_names && strcmp (attributes[i], G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME) == 0) || in show_file_listing()
92 strcmp (attributes[i], G_FILE_ATTRIBUTE_STANDARD_SIZE) == 0 || in show_file_listing()
93 strcmp (attributes[i], G_FILE_ATTRIBUTE_STANDARD_TYPE) == 0 || in show_file_listing()
94 strcmp (attributes[i], G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN) == 0) in show_file_listing()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java38 …public static boolean nextPosition(List<FieldPosition> attributes, ConstrainedFieldPosition cfpos)… in nextPosition() argument
39 int numFields = attributes.size(); in nextPosition()
42 FieldPosition fpos = attributes.get(i); in nextPosition()
60 … AttributedCharacterIterator toCharacterIterator(CharSequence cs, List<FieldPosition> attributes) { in toCharacterIterator() argument
64 for (int i = 0; i < attributes.size(); i++) { in toCharacterIterator()
65 FieldPosition fp = attributes.get(i); in toCharacterIterator()
79 …public static void addOverlapSpans(List<FieldPosition> attributes, Format.Field spanField, int fir… in addOverlapSpans() argument
86 int numFields = attributes.size(); in addOverlapSpans()
88 FieldPosition fp1 = attributes.get(i); in addOverlapSpans()
90 FieldPosition fp2 = attributes.get(j); in addOverlapSpans()
[all …]

12345678910>>...102