Home
last modified time | relevance | path

Searched refs:attr_size (Results 1 – 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/core/grappler/utils/
Dcolocation_test.cc52 EXPECT_EQ(1, gdef.node(0).attr_size()); in TEST()
58 EXPECT_EQ(0, gdef.node(0).attr_size()); in TEST()
107 EXPECT_EQ(0, gdef.node(4).attr_size()); // E in TEST()
177 EXPECT_EQ(0, gdef.node(4).attr_size()); // E in TEST()
179 EXPECT_EQ(0, gdef.node(6).attr_size()); // V in TEST()
/external/strace/
Dbpf.c65 const size_t attr_size = bpf_cmd ## _struct_size; \
66 const unsigned int len = MIN(size, attr_size); \
72 decode_attr_extra_data(tcp, data, size, attr_size); \
97 const size_t attr_size) in decode_attr_extra_data() argument
99 if (size <= attr_size) in decode_attr_extra_data()
102 data += attr_size; in decode_attr_extra_data()
103 size -= attr_size; in decode_attr_extra_data()
113 attr_size, attr_size + size - 1); in decode_attr_extra_data()
/external/libnl/tests/
Dcheck-attr.c18 START_TEST(attr_size) in START_TEST() argument
85 tcase_add_test(nl_attr, attr_size); in make_nl_attr_suite()
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def.cc101 op1.attr_size() != op2.attr_size()) { in CheckDocsMatch()
115 for (int i = 0; i < op1.attr_size(); ++i) { in CheckDocsMatch()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Ddebug_stripper_test.cc168 EXPECT_EQ(1, node.attr_size()); in TEST_F()
174 EXPECT_EQ(1, node.attr_size()); in TEST_F()
217 EXPECT_EQ(1, node.attr_size()); in TEST_F()
253 EXPECT_EQ(0, node.attr_size()); in TEST_F()
Dcommon_subgraph_elimination.cc130 if (node1.attr_size() != node2.attr_size()) { in SameNode()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfunction_utils_test.cc146 EXPECT_EQ(node1.attr_size(), 0); in TEST()
153 EXPECT_EQ(node2.attr_size(), 0); in TEST()
169 EXPECT_EQ(node3.attr_size(), attrs.size()); in TEST()
Dfusion_utils.cc439 return func.attr_size() > known_attribute_size; in FuseFunctions()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc292 for (int i = 0; i < op_def_.attr_size(); ++i) { in Code()
407 for (int i = 0; i < op_def_.attr_size(); ++i) { in Code()
554 if (op_def_.attr_size() > 0) { in HandleGraphMode()
556 for (int i = 0; i < op_def_.attr_size(); ++i) { in HandleGraphMode()
650 for (int i = 0; i < op_def_.attr_size(); ++i) { in GetEagerFunctionSetup()
999 for (int i = 0; i < op_def_.attr_size(); ++i) { in AddEagerInferredAttrs()
1101 if (op_def_.attr_size() > 0) { in AddEagerAttrs()
1103 for (int i = 0; i < op_def_.attr_size(); ++i) { in AddEagerAttrs()
Dpython_api_info.cc71 param_names.reserve(op_def.input_arg_size() + op_def.attr_size()); in GetOpDefNamesAndDefaults()
141 attributes_.reserve(op_def.attr_size()); in Initialize()
Dpython_op_gen_internal.cc507 for (int i = 0; i < api_def.attr_size(); ++i) { in FindAttr()
547 for (int i = 0; i < api_def_.attr_size(); ++i) { in Code()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c878 uint32_t attr_size = *(uint8_t *)(pkt_u + o + 4) + 1; in validate_gl_shader_rec() local
886 vbo->base.size - offset < attr_size) { in validate_gl_shader_rec()
888 offset, attr_size, vbo->base.size); in validate_gl_shader_rec()
893 max_index = ((vbo->base.size - offset - attr_size) / in validate_gl_shader_rec()
/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc564 EXPECT_EQ(node.attr_size(), 0); in TEST_F()
570 EXPECT_EQ(node.attr_size(), 1); in TEST_F()
583 EXPECT_EQ(node.attr_size(), 0); in TEST_F()
591 EXPECT_EQ(node.attr_size(), 1); in TEST_F()
Dutils.cc517 if (to_remove.size() == node->attr_size()) { in RemoveAttributes()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c179 uint32_t attr_size = util_format_get_blocksize(format); in vc4_nir_lower_vertex_attr() local
191 for (int i = 0; i < align(attr_size, 4) / 4; i++) { in vc4_nir_lower_vertex_attr()
/external/tensorflow/tensorflow/core/framework/
Dgraph_def_util_test.cc248 ASSERT_EQ(1, graph_def.node(0).attr_size()); in TEST()
253 ASSERT_EQ(0, graph_def.node(0).attr_size()); in TEST()
Dop_def_util.cc152 for (int i = 0; i < op_def.attr_size(); ++i) { in FindAttr()
161 for (int i = 0; i < op_def->attr_size(); ++i) { in FindAttrMutable()
407 for (int i = 0; i < op_def.attr_size(); ++i) { in SummarizeOpDef()
764 for (int i = 0; i < op_def->attr_size(); ++i) { in RemoveNonDeprecationDescriptionsFromOpDef()
Dop_gen_lib.cc289 for (int i = 0; i < api_def->attr_size(); ++i) { in RenameInDocs()
436 for (int i = 0; i < base_api_def->attr_size(); ++i) { in MergeApiDefs()
Dfunction.cc138 if (attr_values.size() != sig.attr_size()) { in ValidateSignatureWithAttrs()
515 if (attr_value.func().attr_size() == 0) { in Print()
533 if (n.attr_size() > 0) { in Print()
572 if (sig.attr_size() > 0) { in Print()
574 for (int i = 0; i < sig.attr_size(); ++i) { in Print()
657 CHECK_GE(n->attr_size(), 2); in Print()
664 CHECK_LE(2, n->attr_size()); in Print()
Dop_def_builder_test.cc32 for (int i = 0; i < def->attr_size(); i++) { in CanonicalizeAttrTypeListOrder()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc523 for (int i = 0; i < api_def.attr_size(); ++i) { in HasOptionalAttrs()
612 for (int i = 0; i < graph_op_def.attr_size(); ++i) { in OpInfo()
713 for (int i = 0; i < graph_op_def.attr_size(); ++i) { in GetOpAttrStruct()
854 for (int i = 0; i < graph_op_def.attr_size(); ++i) { in WriteClassDecl()
974 for (int i = 0; i < api_def.attr_size(); ++i) { in GetConstructorBody()
/external/tensorflow/tensorflow/c/
Dops_test.cc51 ASSERT_EQ(1, op.attr_size()); in TEST()
160 ASSERT_EQ(2, op.attr_size()); in TEST()
/external/webrtc/api/transport/
Dstun.cc323 size_t attr_size, in AddMessageIntegrityOfType() argument
328 RTC_DCHECK(attr_size <= kStunMessageIntegritySize); in AddMessageIntegrityOfType()
330 attr_type, std::string(attr_size, '0')); in AddMessageIntegrityOfType()
352 msg_integrity_attr->CopyBytes(hmac, attr_size); in AddMessageIntegrityOfType()
/external/wpa_supplicant_8/src/radius/
Dradius.c43 size_t attr_size; member
86 msg->attr_size = RADIUS_DEFAULT_ATTR_COUNT; in radius_msg_initialize()
610 if (msg->attr_used >= msg->attr_size) { in radius_msg_add_attr_to_array()
612 size_t nlen = msg->attr_size * 2; in radius_msg_add_attr_to_array()
620 msg->attr_size = nlen; in radius_msg_add_attr_to_array()
/external/tensorflow/tensorflow/js/ops/
Dts_op_gen.cc139 for (int i = 0; i < op_def_.attr_size(); i++) { in ProcessAttrs()

12