Home
last modified time | relevance | path

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

1234

/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);
Dstabs_reader_unittest.cc139 size_t value_size() const { return value_size_; } in value_size() function in __anon68870bb20111::StabsAssembler
140 StabsAssembler &set_value_size(size_t value_size) { in set_value_size() argument
141 value_size_ = value_size; in set_value_size()
250 stabs.endianness() == kBigEndian, stabs.value_size(), unitized, in ApplyHandlerToMockStabsData()
/external/vulkan-validation-layers/libs/glm/gtx/
Dwrap.inl31 for(typename detail::tvec2<T, P>::size_type i = 0; i < detail::tvec2<T, P>::value_size(); ++i)
43 for(typename detail::tvec3<T, P>::size_type i = 0; i < detail::tvec3<T, P>::value_size(); ++i)
55 for(typename detail::tvec4<T, P>::size_type i = 0; i < detail::tvec4<T, P>::value_size(); ++i)
79 for(typename detail::tvec2<T, P>::size_type i = 0; i < detail::tvec2<T, P>::value_size(); ++i)
91 for(typename detail::tvec3<T, P>::size_type i = 0; i < detail::tvec3<T, P>::value_size(); ++i)
103 for(typename detail::tvec4<T, P>::size_type i = 0; i < detail::tvec4<T, P>::value_size(); ++i)
137 for(typename detail::tvec2<T, P>::size_type i = 0; i < detail::tvec2<T, P>::value_size(); ++i)
149 for(typename detail::tvec3<T, P>::size_type i = 0; i < detail::tvec3<T, P>::value_size(); ++i)
161 for(typename detail::tvec4<T, P>::size_type i = 0; i < detail::tvec4<T, P>::value_size(); ++i)
/external/libmicrohttpd/src/microspdy/
Dstructures.c463 int32_t value_size; in SPDYF_name_value_to_stream() local
537 value_size = offset - value_offset - 4; in SPDYF_name_value_to_stream()
538 value_size = htonl(value_size); in SPDYF_name_value_to_stream()
539 memcpy(*stream + value_offset, &value_size, 4); in SPDYF_name_value_to_stream()
559 int32_t value_size; in SPDYF_name_value_from_stream() local
594 memcpy(&value_size, stream + offset, 4); in SPDYF_name_value_from_stream()
596 value_size = ntohl(value_size); in SPDYF_name_value_from_stream()
597 value_end_offset = offset + value_size; in SPDYF_name_value_from_stream()
601 if(NULL == (value = strndup(stream + offset, value_size))) in SPDYF_name_value_from_stream()
/external/tensorflow/tensorflow/contrib/tensorboard/db/
Dsummary_file_writer_test.cc103 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
120 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
138 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
156 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
177 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
196 CHECK_EQ(e.summary().value_size(), 1); in TEST_F()
/external/nanopb-c/generator/google/protobuf/internal/
Dencoder.py181 def _FixedSizer(value_size): argument
190 result = len(value) * value_size
194 element_size = value_size + tag_size
199 field_size = value_size + tag_size
481 value_size = struct.calcsize(format)
490 local_EncodeVarint(write, len(value) * value_size)
523 value_size = struct.calcsize(format)
524 if value_size == 4:
535 elif value_size == 8:
547 '%d bytes long (only 4 or 8)' % value_size)
[all …]
/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/linux-kselftest/tools/testing/selftests/bpf/
Dsockmap_verdict_prog.c18 .value_size = sizeof(int),
25 .value_size = sizeof(int),
32 .value_size = sizeof(int),
Dtest_l4lb.c175 .value_size = sizeof(struct vip_meta),
182 .value_size = sizeof(__u32),
189 .value_size = sizeof(struct real_definition),
196 .value_size = sizeof(struct vip_stats),
203 .value_size = sizeof(struct ctl_value),
/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/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dtraining_ops.cc228 for (size_t idx = 0; idx < bias->vector().value_size(); ++idx) { in Compute()
568 if (src_vec.value_size() == 0) { in MergeLeafWeights()
575 CHECK(src_vec.value_size() == dst_vec->value_size()); in MergeLeafWeights()
576 for (size_t idx = 0; idx < source.vector().value_size(); ++idx) { in MergeLeafWeights()
584 CHECK(src_vec.value_size() == src_vec.index_size()); in MergeLeafWeights()
585 if (src_vec.value_size() == 0) { in MergeLeafWeights()
593 CHECK(dst_vec->value_size() == dst_vec->index_size()); in MergeLeafWeights()
594 dst_map.reserve(dst_vec->value_size()); in MergeLeafWeights()
595 for (size_t idx = 0; idx < dst_vec->value_size(); ++idx) { in MergeLeafWeights()
599 for (size_t idx = 0; idx < src_vec.value_size(); ++idx) { in MergeLeafWeights()
/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/core/kernels/
Dlookup_table_op.cc347 const int64 value_size = value_shape_.num_elements(); in Find() local
356 auto value_matrix = value->shaped<V, 2>({num_elements, value_size}); in Find()
379 for (int64 j = 0; j < value_size; ++j) { in Find()
388 for (int64 j = 0; j < value_size; ++j) { in Find()
506 const int64 value_size = value_shape_.num_elements(); in DoInsert() local
509 auto value_matrix = value.shaped<V, 2>({num_elements, value_size}); in DoInsert()
532 for (int64 j = 0; j < value_size; ++j) { in DoInsert()
544 for (int64 j = 0; j < value_size; ++j) { in DoInsert()
587 const int64 value_size = value_shape_.num_elements(); in AllocateBuckets() local
590 value_dtype(), TensorShape({num_buckets_, value_size}), &value_buckets_, in AllocateBuckets()
[all …]
Dsummary_op_test.cc180 ASSERT_EQ(summary.value_size(), 1); in TEST_F()
208 ASSERT_EQ(summary.value_size(), 1); in TEST_F()
237 ASSERT_EQ(summary.value_size(), 1); in TEST_F()
/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/tensorflow/tensorflow/core/kernels/data/
Dprefetch_dataset_op.cc193 size_t value_size; in RestoreInternal() local
198 value_size = static_cast<size_t>(temp); in RestoreInternal()
200 buffer_element.value.reserve(value_size); in RestoreInternal()
201 for (size_t j = 0; j < value_size; j++) { in RestoreInternal()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/models/
Dmultiple_additive_trees.cc55 QCHECK_EQ(leaf.index_size(), leaf.value_size()); in Predict()
65 for (size_t i = 0; i < leaf.value_size(); ++i) { in Predict()
/external/avb/test/
Dfake_avb_ops.h95 size_t value_size,
240 size_t value_size,
361 size_t value_size, in write_persistent_value() argument
363 return ops_.write_persistent_value(name, value_size, value); in write_persistent_value()
/external/e2fsprogs/misc/
Dcreate_inode.c139 ssize_t size, value_size; in set_inode_xattr() local
179 value_size = lgetxattr(filename, name, NULL, 0); in set_inode_xattr()
180 if (value_size == -1) { in set_inode_xattr()
188 retval = ext2fs_get_mem(value_size, &value); in set_inode_xattr()
194 value_size = lgetxattr(filename, name, value, value_size); in set_inode_xattr()
195 if (value_size == -1) { in set_inode_xattr()
204 retval = ext2fs_xattr_set(handle, name, value, value_size); in set_inode_xattr()
/external/scapy/scapy/layers/
Deap.py292 adjust=lambda p, x: x + 6 + (p.value_size or 0)),
295 XStrLenField("value", '', length_from=lambda p: p.value_size),
296 …e", '', length_from=lambda p: 0 if p.len is None or p.value_size is None else (p.len - p.value_siz…

1234