Home
last modified time | relevance | path

Searched refs:attr_size (Results 1 – 25 of 29) 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.c16 START_TEST(attr_size) in START_TEST() argument
83 tcase_add_test(nl_attr, attr_size); in make_nl_attr_suite()
/external/perf_data_converter/src/quipper/
Dtest_perf_data.cc51 .attr_size = sizeof(struct perf_file_attr), in ExamplePerfDataFileHeader()
67 header_.attrs.size = n * header_.attr_size; in WithAttrCount()
80 size_t n_attrs = header_.attrs.size / header_.attr_size; in WithCustomPerfEventAttrSize()
82 header_.attr_size = sz + sizeof(perf_file_section); in WithCustomPerfEventAttrSize()
101 .attr_size = MaybeSwap64(header_.attr_size), in WriteTo()
Dperf_reader.cc346 header->attr_size = sizeof(perf_file_attr); in GenerateHeader()
347 header->attrs.size = header->attr_size * attrs().size(); in GenerateHeader()
547 if (!data->ReadUint64(&header_.attr_size)) { in ReadHeader()
608 size_t num_attrs = header_.attrs.size / header_.attr_size; in ReadAttrsSection()
609 if (header_.attrs.size % header_.attr_size != 0) { in ReadAttrsSection()
611 << " is not a multiple of attr size " << header_.attr_size; in ReadAttrsSection()
1058 u32 attr_size; in ReadEventDescMetadata() local
1059 if (!data->ReadUint32(&attr_size)) { in ReadEventDescMetadata()
1648 event_desc_attr_size attr_size = sizeof(perf_event_attr); in WriteEventDescMetadata() local
1649 if (!data->WriteDataValue(&attr_size, sizeof(attr_size), in WriteEventDescMetadata()
Dperf_reader_test.cc1425 const size_t attr_size = sizeof(perf_event_attr) + sizeof(u64); in TEST() local
1432 file_header.WithCustomPerfEventAttrSize(attr_size) in TEST()
1441 .WithAttrSize(attr_size) in TEST()
1541 const size_t attr_size = sizeof(perf_event_attr) - sizeof(u64); in TEST() local
1548 file_header.WithCustomPerfEventAttrSize(attr_size) in TEST()
1557 .WithAttrSize(attr_size) in TEST()
/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()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc251 for (int i = 0; i < op_def_.attr_size(); ++i) { in Code()
331 for (int i = 0; i < op_def_.attr_size(); ++i) { in Code()
386 if (op_def_.attr_size() > 0) { in HandleGraphMode()
388 for (int i = 0; i < op_def_.attr_size(); ++i) { in HandleGraphMode()
444 for (int i = 0; i < op_def_.attr_size(); ++i) { in GetEagerFunctionSetup()
794 for (int i = 0; i < op_def_.attr_size(); ++i) { in AddEagerInferredAttrs()
886 if (op_def_.attr_size() > 0) { in AddEagerAttrs()
888 for (int i = 0; i < op_def_.attr_size(); ++i) { in AddEagerAttrs()
Dpython_op_gen_internal.cc488 for (int i = 0; i < api_def.attr_size(); ++i) { in FindAttr()
527 for (int i = 0; i < api_def_.attr_size(); ++i) { in Code()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfunction_utils_test.cc134 EXPECT_EQ(node1.attr_size(), 0); in TEST()
141 EXPECT_EQ(node2.attr_size(), 0); in TEST()
157 EXPECT_EQ(node3.attr_size(), attrs.size()); in TEST()
Dfusion_utils.cc431 if (first_function.attr_size() != 0 || second_function.attr_size() != 0) in FuseFunctions()
/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/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c178 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/mesa3d/src/mesa/vbo/
Dvbo_split_copy.c106 attr_size(const struct gl_vertex_array *array) in attr_size() function
441 copy->varying[j].size = attr_size(copy->array[i]); in replay_init()
442 copy->vertex_size += attr_size(copy->array[i]); in replay_init()
/external/tensorflow/tensorflow/cc/framework/
Dcc_op_gen.cc501 for (int i = 0; i < api_def.attr_size(); ++i) { in HasOptionalAttrs()
590 for (int i = 0; i < graph_op_def.attr_size(); ++i) { in OpInfo()
691 for (int i = 0; i < graph_op_def.attr_size(); ++i) { in GetOpAttrStruct()
832 for (int i = 0; i < graph_op_def.attr_size(); ++i) { in WriteClassDecl()
952 for (int i = 0; i < api_def.attr_size(); ++i) { in GetConstructorBody()
/external/tensorflow/tensorflow/core/framework/
Dop_def_util.cc151 for (int i = 0; i < op_def.attr_size(); ++i) { in FindAttr()
160 for (int i = 0; i < op_def->attr_size(); ++i) { in FindAttrMutable()
393 for (int i = 0; i < op_def.attr_size(); ++i) { in SummarizeOpDef()
747 for (int i = 0; i < op_def->attr_size(); ++i) { in RemoveNonDeprecationDescriptionsFromOpDef()
Dfunction.cc123 if (attr_values.size() != sig.attr_size()) { in ValidateSignatureWithAttrs()
488 if (attr_value.func().attr_size() == 0) { in Print()
506 if (n.attr_size() > 0) { in Print()
545 if (sig.attr_size() > 0) { in Print()
547 for (int i = 0; i < sig.attr_size(); ++i) { in Print()
630 CHECK_GE(n->attr_size(), 2); in Print()
637 CHECK_LE(2, n->attr_size()); in Print()
Dop_gen_lib.cc287 for (int i = 0; i < api_def->attr_size(); ++i) { in RenameInDocs()
434 for (int i = 0; i < base_api_def->attr_size(); ++i) { in MergeApiDefs()
Dop_def_builder_test.cc32 for (int i = 0; i < def->attr_size(); i++) { in CanonicalizeAttrTypeListOrder()
Dop_def_builder.cc539 for (int i = 0; !found && i < op_def->attr_size(); ++i) { in FinalizeDoc()
/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 int 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()
/external/perf_data_converter/src/quipper/kernel/
Dperf_internals.h81 u64 attr_size; member
/external/mesa3d/src/mesa/main/
Dattrib.c219 GLbitfield attr_bit, GLuint attr_size, const void *attr_data) in push_attrib() argument
223 attribute = malloc(attr_size); in push_attrib()
230 memcpy(attribute, attr_data, attr_size); in push_attrib()

12