Home
last modified time | relevance | path

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

12345678910>>...206

/external/tensorflow/tensorflow/core/ir/tests/
Dtypes.mlir3 // CHECK: module attributes {tfg.type = !tf_type.qint8
4 module attributes {tfg.type = !tf_type.qint8} {}
5 // CHECK: module attributes {tfg.type = !tf_type.qint16
6 module attributes {tfg.type = !tf_type.qint16} {}
7 // CHECK: module attributes {tfg.type = !tf_type.qint32
8 module attributes {tfg.type = !tf_type.qint32} {}
9 // CHECK: module attributes {tfg.type = !tf_type.quint8
10 module attributes {tfg.type = !tf_type.quint8} {}
11 // CHECK: module attributes {tfg.type = !tf_type.quint16
12 module attributes {tfg.type = !tf_type.quint16} {}
[all …]
/external/tensorflow/tensorflow/core/debug/
Ddebug_graph_utils_test.cc29 std::unordered_map<string, string>* attributes) { in ParseDebugOpName() argument
31 debug_op_name, debug_op_name_proper, attributes); in ParseDebugOpName()
37 std::unordered_map<string, string> attributes; in TEST_F() local
39 ParseDebugOpName("DebugIdentity", &debug_op_name_proper, &attributes)); in TEST_F()
41 ASSERT_EQ(0, attributes.size()); in TEST_F()
46 std::unordered_map<string, string> attributes; in TEST_F() local
49 &attributes); in TEST_F()
53 &attributes); in TEST_F()
57 &attributes); in TEST_F()
63 std::unordered_map<string, string> attributes; in TEST_F() local
[all …]
/external/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.function55 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
57 psa_set_key_lifetime( &attributes, key_lifetime );
58 psa_set_key_type( &attributes, key_type );
59 psa_set_key_bits( &attributes, key_bits );
60 psa_set_key_usage_flags( &attributes, key_usage );
61 psa_set_key_algorithm( &attributes, key_alg );
62 psa_set_key_enrollment_algorithm( &attributes, key_alg2 );
66 &attributes.core,
90 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
95 &attributes.core );
[all …]
/external/openthread/third_party/mbedtls/repo/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 …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Ddevice_resolver_distributed_test.cc63 std::vector<DeviceAttributes> attributes; in SetUp() local
64 attributes.push_back( in SetUp()
66 ->attributes()); in SetUp()
67 attributes.push_back( in SetUp()
69 ->attributes()); in SetUp()
70 TF_ASSERT_OK(dev_resolver_->UpdateDeviceAttributes(attributes)); in SetUp()
78 DeviceAttributes attributes; in TEST_F() local
80 "/job:worker/replica:0/task:0/device:CPU:0", &attributes)); in TEST_F()
81 EXPECT_EQ(attributes.name(), "/job:worker/replica:0/task:0/device:CPU:0"); in TEST_F()
85 DeviceAttributes attributes; in TEST_F() local
[all …]
/external/libcups/test/
D4.2-cups-printer-ops.test18 # The attributes to send
20 ATTR charset attributes-charset utf-8
21 ATTR language attributes-natural-language en
29 # What attributes do we expect?
30 EXPECT attributes-charset
31 EXPECT attributes-natural-language
38 OPERATION get-printer-attributes
41 # The attributes to send
43 ATTR charset attributes-charset utf-8
44 ATTR language attributes-natural-language en
[all …]
D4.1-requests.test2 # Verify that the server requires the following attributes:
4 # attributes-charset
5 # attributes-natural-language
24 # What attributes do we expect?
25 EXPECT attributes-charset
26 EXPECT attributes-natural-language
35 # The attributes to send
37 ATTR charset attributes-charset utf-8
42 # What attributes do we expect?
43 EXPECT attributes-charset
[all …]
D4.3-job-ops.test18 # The attributes to send
20 ATTR charset attributes-charset utf-8
21 ATTR language attributes-natural-language en
39 # The attributes to send
41 ATTR charset attributes-charset utf-8
42 ATTR language attributes-natural-language en
51 # What attributes do we expect?
52 EXPECT attributes-charset
53 EXPECT attributes-natural-language
61 OPERATION get-job-attributes
[all …]
/external/deqp/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 …]
/external/libcups/examples/
Dget-printer-attributes-suite.test4 # Verifies IPP conformance for the requested-attributes operation attribute.
8 # ipptool -tI printer-uri get-printer-attributes-suite.test
15 NAME "Get-Printer-Attributes (no requested-attributes)"
19 GROUP operation-attributes-tag
20 ATTR charset attributes-charset utf-8
21 ATTR language attributes-natural-language en
30 # 'printer-description' attributes
31 EXPECT charset-configured OF-TYPE charset COUNT 1 IN-GROUP printer-attributes-tag
32 EXPECT charset-supported OF-TYPE charset IN-GROUP printer-attributes-tag
33 EXPECT ?color-supported OF-TYPE boolean COUNT 1 IN-GROUP printer-attributes-tag
[all …]
Dipp-1.1.test33 GROUP operation-attributes-tag
34 ATTR charset attributes-charset utf-8
35 ATTR naturalLanguage attributes-natural-language en
43 # Test that the first two attributes must be attributes-charset and
44 # attributes-natural-language.
51 GROUP operation-attributes-tag
57 NAME "RFC 8011 section 4.1.4: attributes-charset"
59 GROUP operation-attributes-tag
60 ATTR charset attributes-charset utf-8
67 NAME "RFC 8011 section 4.1.4: attributes-natural-language"
[all …]
/external/proguard/src/proguard/classfile/editor/
DAttributesEditor.java90 targetAttribute.attributes, in findAttribute()
94 targetMember.attributes, in findAttribute()
97 targetClass.attributes, in findAttribute()
113 targetAttribute.attributes, in addAttribute()
117 targetAttribute.attributes = in addAttribute()
119 targetAttribute.attributes, in addAttribute()
130 targetMember.attributes, in addAttribute()
134 targetMember.attributes = in addAttribute()
136 targetMember.attributes, in addAttribute()
147 targetClass.attributes, in addAttribute()
[all …]
/external/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_key_management.c101 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_generate_key() argument
120 if( PSA_KEY_TYPE_IS_ECC( psa_get_key_type( attributes ) ) in mbedtls_test_transparent_generate_key()
121 && PSA_KEY_TYPE_IS_KEY_PAIR( psa_get_key_type( attributes ) ) ) in mbedtls_test_transparent_generate_key()
126 (const libtestdriver1_psa_key_attributes_t *)attributes, in mbedtls_test_transparent_generate_key()
130 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key()
133 else if( psa_get_key_type( attributes ) == PSA_KEY_TYPE_RSA_KEY_PAIR ) in mbedtls_test_transparent_generate_key()
138 (const libtestdriver1_psa_key_attributes_t *)attributes, in mbedtls_test_transparent_generate_key()
142 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key()
146 (void)attributes; in mbedtls_test_transparent_generate_key()
151 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_generate_key() argument
[all …]
/external/turbine/java/com/google/turbine/bytecode/
DLowerAttributes.java36 List<Attribute> attributes = new ArrayList<>(); in classAttributes() local
38 attributes.add(new InnerClasses(classfile.innerClasses())); in classAttributes()
40 addAllAnnotations(attributes, classfile.annotations()); in classAttributes()
41 addAllTypeAnnotations(attributes, classfile.typeAnnotations()); in classAttributes()
43 attributes.add(new Signature(classfile.signature())); in classAttributes()
46 attributes.add(new Attribute.Module(classfile.module())); in classAttributes()
49 attributes.add(new Attribute.NestHost(classfile.nestHost())); in classAttributes()
52 attributes.add(new Attribute.NestMembers(classfile.nestMembers())); in classAttributes()
55 attributes.add(recordAttribute(classfile.record())); in classAttributes()
58 attributes.add(new Attribute.PermittedSubclasses(classfile.permits())); in classAttributes()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/
DNV_DefineSpace.c62 TPMA_NV attributes = in->publicInfo.nvPublic.attributes; in TPM2_NV_DefineSpace() local
74 if(IS_ATTRIBUTE(attributes, TPMA_NV, POLICY_DELETE)) in TPM2_NV_DefineSpace()
98 switch(GET_TPM_NT(attributes)) in TPM2_NV_DefineSpace()
120 switch(GET_TPM_NT(attributes)) in TPM2_NV_DefineSpace()
138 switch(GET_TPM_NT(attributes)) in TPM2_NV_DefineSpace()
142 if(IS_ATTRIBUTE(attributes, TPMA_NV, CLEAR_STCLEAR)) in TPM2_NV_DefineSpace()
157 if(!IS_ATTRIBUTE(attributes, TPMA_NV, NO_DA)) in TPM2_NV_DefineSpace()
163 if(IS_ATTRIBUTE(attributes, TPMA_NV, AUTHWRITE) in TPM2_NV_DefineSpace()
164 || IS_ATTRIBUTE(attributes, TPMA_NV, GLOBALLOCK) in TPM2_NV_DefineSpace()
165 || IS_ATTRIBUTE(attributes, TPMA_NV, WRITEDEFINE)) in TPM2_NV_DefineSpace()
[all …]
/external/openthread/third_party/mbedtls/repo/include/psa/
Dcrypto_struct.h344 static inline void psa_set_key_id( psa_key_attributes_t *attributes, in psa_set_key_id() argument
347 psa_key_lifetime_t lifetime = attributes->core.lifetime; in psa_set_key_id()
349 attributes->core.id = key; in psa_set_key_id()
353 attributes->core.lifetime = in psa_set_key_id()
361 const psa_key_attributes_t *attributes) in psa_get_key_id() argument
363 return( attributes->core.id ); in psa_get_key_id()
367 static inline void mbedtls_set_key_owner_id( psa_key_attributes_t *attributes, in mbedtls_set_key_owner_id() argument
370 attributes->core.id.owner = owner; in mbedtls_set_key_owner_id()
374 static inline void psa_set_key_lifetime(psa_key_attributes_t *attributes, in psa_set_key_lifetime() argument
377 attributes->core.lifetime = lifetime; in psa_set_key_lifetime()
[all …]
/external/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c195 const psa_key_attributes_t *attributes, in mbedtls_test_transparent_generate_key() argument
214 if( PSA_KEY_TYPE_IS_ECC( psa_get_key_type( attributes ) ) in mbedtls_test_transparent_generate_key()
215 && PSA_KEY_TYPE_IS_KEY_PAIR( psa_get_key_type( attributes ) ) ) in mbedtls_test_transparent_generate_key()
220 (const libtestdriver1_psa_key_attributes_t *)attributes, in mbedtls_test_transparent_generate_key()
224 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key()
227 else if( psa_get_key_type( attributes ) == PSA_KEY_TYPE_RSA_KEY_PAIR ) in mbedtls_test_transparent_generate_key()
232 (const libtestdriver1_psa_key_attributes_t *)attributes, in mbedtls_test_transparent_generate_key()
236 attributes, key, key_size, key_length ) ); in mbedtls_test_transparent_generate_key()
240 (void)attributes; in mbedtls_test_transparent_generate_key()
245 const psa_key_attributes_t *attributes, in mbedtls_test_opaque_generate_key() argument
[all …]
/external/mbedtls/library/
Dpsa_crypto_client.c29 void psa_reset_key_attributes( psa_key_attributes_t *attributes ) in psa_reset_key_attributes() argument
31 mbedtls_free( attributes->domain_parameters ); in psa_reset_key_attributes()
32 memset( attributes, 0, sizeof( *attributes ) ); in psa_reset_key_attributes()
35 psa_status_t psa_set_key_domain_parameters( psa_key_attributes_t *attributes, in psa_set_key_domain_parameters() argument
52 if( attributes->domain_parameters != NULL ) in psa_set_key_domain_parameters()
54 mbedtls_free( attributes->domain_parameters ); in psa_set_key_domain_parameters()
55 attributes->domain_parameters = NULL; in psa_set_key_domain_parameters()
56 attributes->domain_parameters_size = 0; in psa_set_key_domain_parameters()
59 attributes->domain_parameters = copy; in psa_set_key_domain_parameters()
60 attributes->domain_parameters_size = data_length; in psa_set_key_domain_parameters()
[all …]
/external/openthread/third_party/mbedtls/repo/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 …]
/external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/operators/
DGpuDepthwiseConv2d.cpp45 … *dst, const ITensorInfo *src, const ITensorInfo *wei, const DepthwiseConv2dAttributes &attributes) in calculate_and_init_dst_if_empty() argument
49 const PadStrideInfo pad_stride_info(attributes.stride().x(), in calculate_and_init_dst_if_empty()
50 attributes.stride().y(), in calculate_and_init_dst_if_empty()
51 attributes.pad().left, in calculate_and_init_dst_if_empty()
52 attributes.pad().right, in calculate_and_init_dst_if_empty()
53 attributes.pad().top, in calculate_and_init_dst_if_empty()
54 attributes.pad().bottom, in calculate_and_init_dst_if_empty()
55 attributes.dimension_rounding_type()); in calculate_and_init_dst_if_empty()
57 …ConvolutionInfo conv_info{ pad_stride_info, attributes.depth_multiplier(), ActivationLayerInfo(), in calculate_and_init_dst_if_empty()
72 const DepthwiseConv2dAttributes &attributes) in is_supported_op_helper() argument
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DNV.h47 # define GET_TPM_NT(attributes) GET_ATTRIBUTE(attributes, TPMA_NV, TPM_NT) argument
51 # define GetNv_TPM_NV(attributes) \ argument
52 ( IS_ATTRIBUTE(attributes, TPMA_NV, COUNTER) \
53 + (IS_ATTRIBUTE(attributes, TPMA_NV, BITS) << 1) \
54 + (IS_ATTRIBUTE(attributes, TPMA_NV, EXTEND) << 2) \
66 # define IsNvOrdinaryIndex(attributes) \ argument
67 (GET_TPM_NT(attributes) == TPM_NT_ORDINARY)
69 # define IsNvCounterIndex(attributes) \ argument
70 (GET_TPM_NT(attributes) == TPM_NT_COUNTER)
72 # define IsNvBitsIndex(attributes) \ argument
[all …]
/external/jdiff/src/jdiff/
DAPIHandler.java73 java.lang.String qName, Attributes attributes) { in startElement() argument
78 String apiName = attributes.getValue("name"); in startElement()
79 String version = attributes.getValue("jdversion"); // Not used yet in startElement()
83 String pkgName = attributes.getValue("name"); in startElement()
87 String className = attributes.getValue("name"); in startElement()
88 String parentName = attributes.getValue("extends"); in startElement()
90 if (attributes.getValue("abstract").compareTo("true") == 0) in startElement()
92 XMLToAPI.addClass(className, parentName, isAbstract, getModifiers(attributes)); in startElement()
95 String className = attributes.getValue("name"); in startElement()
96 String parentName = attributes.getValue("extends"); in startElement()
[all …]
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java72 public void startElement(String uri, String localName, String qName, Attributes attributes) { in startElement() argument
75 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes in startElement()
84 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); in startElement()
85 String visibility = attributes.getValue("visibility"); in startElement()
90 boolean isStatic = Boolean.valueOf(attributes.getValue("static")); in startElement()
92 boolean isAbstract = Boolean.valueOf(attributes.getValue("abstract")); in startElement()
98 boolean isFinal = Boolean.valueOf(attributes.getValue("final")); in startElement()
100 String name = attributes.getValue("name"); in startElement()
111 mCurrentClass.setDeprecated("deprecated".equals(attributes.getValue("deprecated"))); in startElement()
113 String superclass = attributes.getValue("extends"); in startElement()
[all …]

12345678910>>...206