Home
last modified time | relevance | path

Searched refs:value_size (Results 1 – 25 of 127) sorted by relevance

123456

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c125 __u32 value_size; member
189 .value_size = 180,
244 .value_size = 68,
270 .value_size = 16,
302 .value_size = 1,
336 .value_size = 1,
370 .value_size = 1,
412 .value_size = 1,
448 .value_size = sizeof(void *),
477 .value_size = sizeof(void *),
[all …]
Dsockmap_verdict_prog.c18 .value_size = sizeof(int),
25 .value_size = sizeof(int),
32 .value_size = sizeof(int),
39 .value_size = sizeof(int),
Dtest_stacktrace_map.c14 .value_size = sizeof(__u32),
21 .value_size = sizeof(__u32),
28 .value_size = sizeof(__u64) * PERF_MAX_STACK_DEPTH,
35 .value_size = sizeof(__u64) * PERF_MAX_STACK_DEPTH,
Dtest_stacktrace_build_id.c14 .value_size = sizeof(__u32),
21 .value_size = sizeof(__u32),
28 .value_size = sizeof(struct bpf_stack_build_id)
37 .value_size = sizeof(struct bpf_stack_build_id)
Dtest_select_reuseport_kern.c27 .value_size = sizeof(__u32),
34 .value_size = sizeof(__u32),
41 .value_size = sizeof(int),
48 .value_size = sizeof(__u32),
55 .value_size = sizeof(struct data_check),
Dtest_sockmap_kern.h41 .value_size = sizeof(int),
48 .value_size = sizeof(int),
55 .value_size = sizeof(int),
62 .value_size = sizeof(int),
69 .value_size = sizeof(int),
76 .value_size = sizeof(int),
83 .value_size = sizeof(int),
90 .value_size = sizeof(int),
Dtest_get_stack_rawtp.c21 .value_size = sizeof(__u32),
28 .value_size = sizeof(struct stack_trace_t),
53 .value_size = MAX_STACK_RAWTP * sizeof(__u64) * 2,
Dsample_map_ret0.c8 .value_size = sizeof(long),
15 .value_size = sizeof(long),
Dget_cgroup_id_kern.c10 .value_size = sizeof(__u64),
17 .value_size = sizeof(__u32),
Dtest_queue_stack_map.h16 .value_size = sizeof(__u32),
24 .value_size = sizeof(__u32),
Dnetcnt_prog.c16 .value_size = sizeof(struct percpu_net_cnt),
22 .value_size = sizeof(struct net_cnt),
/external/google-breakpad/src/common/linux/
Delf_symbols_to_module.cc73 size_t value_size) in ELFSymbolIterator() argument
74 : value_size_(value_size), cursor_(buffer, big_endian) { in ELFSymbolIterator()
77 assert(value_size == 4 || value_size == 8); in ELFSymbolIterator()
142 size_t value_size, in ELFSymbolsToModule() argument
154 ELFSymbolIterator iterator(&symbols, big_endian, value_size); in ELFSymbolsToModule()
Delf_symbols_to_module_unittest.cc61 size_t value_size) : module("a", "b", "c", "d"), in ELFSymbolsToModuleTestFixture() argument
64 value_size(value_size) {} in ELFSymbolsToModuleTestFixture()
76 value_size, in ProcessSection()
87 size_t value_size; member in ELFSymbolsToModuleTestFixture
/external/google-breakpad/src/common/
Dsimple_string_dictionary.h62 static const size_t value_size = ValueSize; variable
113 assert(other.value_size == value_size);
115 if (other.key_size == key_size && other.value_size == value_size &&
206 strncpy(entry->value, value, value_size); in SetKeyValue()
207 entry->value[value_size - 1] = '\0'; in SetKeyValue()
Dstabs_reader.cc49 bool big_endian, size_t value_size) in EntryIterator() argument
50 : value_size_(value_size), cursor_(buffer, big_endian) { in EntryIterator()
53 assert(value_size == 4 || value_size == 8); in EntryIterator()
70 bool big_endian, size_t value_size, bool unitized, in StabsReader() argument
74 iterator_(&entries_, big_endian, value_size), in StabsReader()
Dstabs_reader.h98 bool big_endian, size_t value_size, bool unitized,
153 EntryIterator(const ByteBuffer *buffer, bool big_endian, size_t value_size);
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc105 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
120 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
139 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
157 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
175 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
196 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
215 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dragged_gather_op.cc36 int64 value_size, Tensor* values_out) { in WriteValueSlices() argument
43 for (int j = 0; j < value_size; ++j) { in WriteValueSlices()
240 const int64 value_size = in WriteValues() local
243 CallWriteValueSlices(params_dense_values_in, value_slices, value_size, in WriteValues()
257 int64 value_size, Tensor* values_out) const = 0;
269 int64 value_size, Tensor* values_out) const override { in CallWriteValueSlices() argument
271 value_size, values_out); in CallWriteValueSlices()
/external/protobuf/python/google/protobuf/internal/
Dencoder.py184 def _FixedSizer(value_size): argument
193 result = len(value) * value_size
197 element_size = value_size + tag_size
202 field_size = value_size + tag_size
508 value_size = struct.calcsize(format)
517 local_EncodeVarint(write, len(value) * value_size)
550 value_size = struct.calcsize(format)
551 if value_size == 4:
562 elif value_size == 8:
574 '%d bytes long (only 4 or 8)' % value_size)
[all …]
/external/tensorflow/tensorflow/core/example/
Dfeature_util_test.cc56 example.features().feature().at("tag").int64_list().value_size()); in TEST()
65 ASSERT_EQ(1, feature.int64_list().value_size()); in TEST()
134 ASSERT_EQ(1, feature.float_list().value_size()); in TEST()
144 example.features().feature().at("tag").float_list().value_size()); in TEST()
205 ASSERT_EQ(1, feature.bytes_list().value_size()); in TEST()
215 example.features().feature().at("tag").bytes_list().value_size()); in TEST()
317 ASSERT_EQ(1, se.context().feature().at("tag").int64_list().value_size()); in TEST()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.cc71 if (static_cast<size_t>(values.value_size()) != num_elements) { in FeatureDenseCopy()
76 values.value_size(), " but output shape: ", shape.DebugString()); in FeatureDenseCopy()
84 if (static_cast<size_t>(values.value_size()) != num_elements) { in FeatureDenseCopy()
89 values.value_size(), " but output shape: ", shape.DebugString()); in FeatureDenseCopy()
97 if (static_cast<size_t>(values.value_size()) != num_elements) { in FeatureDenseCopy()
102 values.value_size(), " but output shape: ", shape.DebugString()); in FeatureDenseCopy()
121 const int64 num_elements = values.value_size(); in FeatureSparseCopy()
129 const int64 num_elements = values.value_size(); in FeatureSparseCopy()
137 const int64 num_elements = values.value_size(); in FeatureSparseCopy()
/external/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c166 int value_size = DEFAULT_VALUE_SIZE; in setup() local
168 if (sscanf(narg, "%i", &value_size) != 1) in setup()
170 if (value_size <= 0) in setup()
175 val.size = value_size; in setup()
176 val.buf = SAFE_MALLOC(NULL, value_size); in setup()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dtraining_ops.cc235 for (size_t idx = 0; idx < bias->vector().value_size(); ++idx) { in Compute()
667 if (src_vec.value_size() == 0) { in MergeLeafWeights()
674 CHECK(src_vec.value_size() == dst_vec->value_size()); in MergeLeafWeights()
675 for (size_t idx = 0; idx < source.vector().value_size(); ++idx) { in MergeLeafWeights()
683 CHECK(src_vec.value_size() == src_vec.index_size()); in MergeLeafWeights()
684 if (src_vec.value_size() == 0) { in MergeLeafWeights()
692 CHECK(dst_vec->value_size() == dst_vec->index_size()); in MergeLeafWeights()
693 dst_map.reserve(dst_vec->value_size()); in MergeLeafWeights()
694 for (size_t idx = 0; idx < dst_vec->value_size(); ++idx) { in MergeLeafWeights()
698 for (size_t idx = 0; idx < src_vec.value_size(); ++idx) { in MergeLeafWeights()
/external/dtc/
Dfdtput.c76 int value_size = 0; /* size of holding area */ in encode_value() local
99 if (upto + len > value_size) { in encode_value()
100 value_size = (upto + len) + 500; in encode_value()
101 value = xrealloc(value, value_size); in encode_value()
/external/strace/
Dbpf_attr_check.c25 static_assert(SoM(struct BPF_MAP_CREATE_struct, value_size) == SoM(union bpf_attr, value_size),
27 …atic_assert(offsetof(struct BPF_MAP_CREATE_struct, value_size) == offsetof(union bpf_attr, value_s…
577 static_assert(SoM(struct bpf_map_info_struct, value_size) == SoM(struct bpf_map_info, value_size),
579 …atic_assert(offsetof(struct bpf_map_info_struct, value_size) == offsetof(struct bpf_map_info, valu…

123456