Home
last modified time | relevance | path

Searched refs:value_type (Results 1 - 25 of 544) sorted by relevance

12345678910>>...22

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DEndian.h50 template <typename value_type>
51 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap()
58 template<typename value_type, endianness endian>
59 inline value_type byte_swap(value_type value) { in byte_swap()
64 template <typename value_type, std::size_t alignment>
65 inline value_type read(const void *memory, endianness endian) { in read()
66 value_type ret; in read()
70 memory, (detail::PickAlignment<value_type, alignmen in read()
[all...]
H A DEndianStream.h26 template <typename value_type>
27 inline void write(raw_ostream &os, value_type value, endianness endian) { in write()
28 value = byte_swap<value_type>(value, endian); in write()
29 os.write((const char *)&value, sizeof(value_type)); in write()
43 template <typename value_type>
44 inline void write(raw_ostream &os, ArrayRef<value_type> vals, in write()
46 for (value_type v : vals) in write()
55 template <typename value_type> void write(ArrayRef<value_type> Val) { in write()
58 template <typename value_type> voi in write()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DEndian.h37 template<typename value_type, endianness endian>
38 inline value_type byte_swap(value_type value) { in byte_swap()
45 template<typename value_type,
48 inline value_type read(const void *memory) { in read()
49 value_type ret; in read()
53 (detail::PickAlignment<value_type, alignment>::value)), in read()
54 sizeof(value_type)); in read()
55 return byte_swap<value_type, endian>(ret); in read()
60 template<typename value_type, endiannes
[all...]
/third_party/protobuf/src/google/protobuf/stubs/
H A Dmap_util.h73 const typename Collection::value_type::second_type&
75 const typename Collection::value_type::first_type& key) { in FindOrDie()
83 typename Collection::value_type::second_type&
85 const typename Collection::value_type::first_type& key) { in FindOrDie()
93 const typename Collection::value_type::second_type&
95 const typename Collection::value_type::first_type& key) { in FindOrDieNoPrint()
103 typename Collection::value_type::second_type&
105 const typename Collection::value_type::first_type& key) { in FindOrDieNoPrint()
122 const typename Collection::value_type::second_type&
124 const typename Collection::value_type in FindWithDefault()
380 typedef typename Collection::value_type value_type; InsertKeyOrDie() typedef
[all...]
/third_party/json/include/nlohmann/detail/
H A Djson_ref.hpp25 using value_type = BasicJsonType;
27 json_ref(value_type&& value) in json_ref()
31 json_ref(const value_type& value) in json_ref()
41 enable_if_t<std::is_constructible<value_type, Args...>::value, int> = 0 >
53 value_type moved_or_copied() const in moved_or_copied()
62 value_type const& operator*() const in operator *()
67 value_type const* operator->() const in operator ->()
73 mutable value_type owned_value = nullptr;
74 value_type const* value_ref = nullptr;
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector_exception_safety_test.cc169 using value_type = typename VecT::value_type; in TYPED_TEST()
173 testing::TestThrowingCtor<VecT>(size, value_type{}); in TYPED_TEST()
175 testing::TestThrowingCtor<VecT>(size, value_type{}, allocator_type{}); in TYPED_TEST()
180 using value_type = typename VecT::value_type; in TYPED_TEST()
185 ABSL_INTERNAL_MAKE_INIT_LIST(value_type, size)); in TYPED_TEST()
188 ABSL_INTERNAL_MAKE_INIT_LIST(value_type, size), allocator_type{}); in TYPED_TEST()
193 using value_type = typename VecT::value_type; in TYPED_TEST()
[all...]
H A Dnode_hash_map.h540 using value_type = std::pair<const Key, Value>;
548 static value_type* new_element(Allocator* alloc, Args&&... args) { in new_element()
550 Allocator>::template rebind_alloc<value_type>; in new_element()
552 value_type* res = in new_element()
560 static void delete_element(Allocator* alloc, value_type* pair) { in delete_element()
562 Allocator>::template rebind_alloc<value_type>; in delete_element()
576 static size_t element_space_used(const value_type*) { in element_space_used() argument
577 return sizeof(value_type); in element_space_used()
580 static Value& value(value_type* elem) { return elem->second; } in value()
581 static const Value& value(const value_type* ele in value()
[all...]
H A Dfixed_array.h105 using value_type = typename AllocatorTraits::value_type;
108 using reference = value_type&;
109 using const_reference = const value_type&;
118 (N == kFixedArrayUseDefault ? kInlineBytesDefault / sizeof(value_type)
143 FixedArray(size_type n, const value_type& val, in FixedArray()
151 FixedArray(std::initializer_list<value_type> init_list, in FixedArray()
187 return (std::numeric_limits<difference_type>::max)() / sizeof(value_type); in max_size()
198 size_t memsize() const { return size() * sizeof(value_type); } in memsize()
341 void fill(const value_type
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Dbenchmarks.cc128 using value_type = typename Engine::result_type; in BM_Direct()
134 state.SetBytesProcessed(sizeof(value_type) * state.iterations()); in BM_Direct()
141 using value_type = typename Engine::result_type; in BM_Generate()
142 std::vector<value_type> v(64); in BM_Generate()
171 using value_type = typename Dist::result_type; in BM_Dist()
178 state.SetBytesProcessed(sizeof(value_type) * state.iterations()); in BM_Dist()
183 using value_type = typename Dist::result_type; in BM_Large()
184 volatile value_type kMin = 0; in BM_Large()
185 volatile value_type kMax = std::numeric_limits<value_type> in BM_Large()
[all...]
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dmap.c154 if (self->value_type == UPB_TYPE_STRING || in Map_mark()
155 self->value_type == UPB_TYPE_BYTES || in Map_mark()
156 self->value_type == UPB_TYPE_MESSAGE) { in Map_mark()
163 native_slot_mark(self->value_type, mem); in Map_mark()
199 * Map.new(key_type, value_type, value_typeclass = nil, init_hashmap = {})
213 * The third argument, value_typeclass, must be present if value_type is :enum
222 * value_type). The contents of this initial hashmap or Map instance are
231 // We take either two args (:key_type, :value_type), three args (:key_type, in Map_init()
232 // :value_type, "ValueMessageType"), or four args (the above plus an initial in Map_init()
239 self->value_type in Map_init()
498 VALUE value_type = fieldtype_to_ruby(self->value_type); Map_new_this_type() local
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dissue-493_1_0.hpp8 typedef char value_type; typedef in basic_string
9 typedef value_type * pointer;
18 enum {__min_cap = (sizeof(__long) - 1)/sizeof(value_type) > 2 ?
19 (sizeof(__long) - 1)/sizeof(value_type) : 2};
26 value_type __lx;
28 value_type __data_[__min_cap];
H A Dissue-493.hpp7 typedef char value_type; typedef in basic_string
8 typedef value_type * pointer;
17 enum {__min_cap = (sizeof(__long) - 1)/sizeof(value_type) > 2 ?
18 (sizeof(__long) - 1)/sizeof(value_type) : 2};
25 value_type __lx;
27 value_type __data_[__min_cap];
H A Danon_enum_trait.hpp6 typedef _Tp value_type; typedef in DataType
7 typedef value_type work_type;
8 typedef value_type channel_type;
9 typedef value_type vec_type;
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
H A Dmemory_test.cc345 struct value_type {}; in TEST() struct
351 (std::is_same<A::value_type, in TEST()
352 typename absl::allocator_traits<A>::value_type>::value)); in TEST()
356 using value_type = X; in TEST()
362 (std::is_same<A::value_type*, in TEST()
370 (std::is_same<const A::value_type*, in TEST()
374 using value_type = X; in TEST()
386 using value_type = X; in TEST()
399 using value_type = X; in TEST()
409 using value_type in TEST()
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A DFixedVector.h25 using value_type = typename Storage::value_type;
37 FixedVector(size_type count, const value_type &value);
42 FixedVector(std::initializer_list<value_type> init);
46 FixedVector<T, N, Storage> &operator=(std::initializer_list<value_type> init);
71 void push_back(const value_type &value);
72 void push_back(value_type &&value);
84 void resize(size_type count, const value_type &value);
89 void assign_from_initializer_list(std::initializer_list<value_type> init);
111 FixedVector<T, N, Storage>::FixedVector(size_type count, const value_type
[all...]
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DMapField.php57 private $value_type; variable
71 * @param long $value_type Type of the stored value element.
76 public function __construct($key_type, $value_type, $klass = null)
80 $this->value_type = $value_type; variable
83 if ($this->value_type == GPBType::MESSAGE) {
108 return $this->value_type;
158 switch ($this->value_type) {
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiBufferMemoryRequirementsTestsUtils.hpp57 typedef std::tuple<Bit, Ignored...> value_type; typedef
58 typedef std::set<value_type, tc<value_type>> base;
60 BitsSet(std::initializer_list<value_type> list) : base(list) {} in BitsSet()
96 bool contains(const value_type& bit) const { in contains()
106 const_iterator find(const value_type& bit) const { in find()
109 const value_type& get(const Bit& bit) const { in get()
114 static Bit extract(const value_type& bit) { in extract()
119 static_assert(std::is_same<TypeAt, typename std::tuple_element<Index, value_type>::type>::value, ""); in select()
130 static de::SharedPtr<BitsSet> makeShared(const value_type in makeShared()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferMemoryRequirementsTestsUtils.hpp57 typedef std::tuple<Bit, Ignored...> value_type; typedef
58 typedef std::set<value_type, tc<value_type>> base;
60 BitsSet(std::initializer_list<value_type> list) : base(list) {} in BitsSet()
96 bool contains(const value_type& bit) const { in contains()
106 const_iterator find(const value_type& bit) const { in find()
109 const value_type& get(const Bit& bit) const { in get()
114 static Bit extract(const value_type& bit) { in extract()
119 static_assert(std::is_same<TypeAt, typename std::tuple_element<Index, value_type>::type>::value, ""); in select()
130 static de::SharedPtr<BitsSet> makeShared(const value_type in makeShared()
[all...]
/third_party/gn/src/base/strings/
H A Dstring_number_conversions.cc34 using CHR = typename STR::value_type; in IntToString()
127 // - a typedef for value_type, the target numeric type.
136 typedef typename traits::value_type value_type; typedef in base::__anon2852::IteratorRangeToNumber
142 value_type* output) { in Invoke()
151 if (!std::numeric_limits<value_type>::is_signed) { in Invoke()
180 typename traits::value_type* output) { in Invoke()
216 static bool CheckBounds(value_type* output, uint8_t new_digit) { in CheckBounds()
217 if (*output > static_cast<value_type>(traits::max() / traits::kBase) || in CheckBounds()
218 (*output == static_cast<value_type>(trait in CheckBounds()
251 typedef VALUE value_type; global() typedef in base::__anon2852::BaseIteratorRangeToNumberTraits
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/util/
H A Dtuple.hpp62 ) value_type; typedef
64 static value_type
76 typename detail::_apply<F, T>::value_type
95 > value_type; typedef
97 static value_type
99 return value_type(f(std::get<Is>(std::forward<T>(t)))...); in eval()
109 typename detail::_map<F, T>::value_type
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
H A Dintersect.hpp40 typename genType::value_type & intersectionDistance);
64 genType const & sphereCenter, typename genType::value_type const sphereRadiusSquered,
65 typename genType::value_type & intersectionDistance);
72 genType const & sphereCenter, const typename genType::value_type sphereRadius,
80 genType const & sphereCenter, typename genType::value_type sphereRadius,
H A Dcomponent_wise.hpp45 GLM_FUNC_DECL typename genType::value_type compAdd(genType const & v);
50 GLM_FUNC_DECL typename genType::value_type compMul(genType const & v);
55 GLM_FUNC_DECL typename genType::value_type compMin(genType const & v);
60 GLM_FUNC_DECL typename genType::value_type compMax(genType const & v);
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dcompare.h45 using value_type = int8_t;
72 enum class eq : value_type {
79 enum class ord : value_type { less = -1, greater = 1 };
81 enum class ncmp : value_type { unordered = -127 };
157 : value_(static_cast<compare_internal::value_type>(v)) {} in static_cast()
191 compare_internal::value_type value_;
201 : value_(static_cast<compare_internal::value_type>(v)) {} in static_cast()
242 compare_internal::value_type value_;
255 : value_(static_cast<compare_internal::value_type>(v)) {} in static_cast()
257 : value_(static_cast<compare_internal::value_type>(
[all...]
/third_party/json/include/nlohmann/
H A Dordered_map.hpp37 using value_type = typename Container::value_type;
51 ordered_map(std::initializer_list<value_type> init, const Allocator& alloc = Allocator() ) in ordered_map()
171 it->~value_type(); // Destroy but keep allocation in erase()
172 new (&*it) value_type{std::move(*next)}; in erase()
192 it->~value_type(); // Destroy but keep allocation in erase()
193 new (&*it) value_type{std::move(*next)}; in erase()
239 it->~value_type(); // destroy but keep allocation in erase()
240 new (&*it) value_type{std::move(*std::next(it, elements_affected))}; // "move" next element to it in erase()
324 std::pair<iterator, bool> insert( value_type
[all...]
/third_party/json/docs/examples/
H A Dpush_back__object_t__value.cpp17 object.push_back(json::object_t::value_type("three", 3)); in main()
18 object += json::object_t::value_type("four", 4); in main()
19 null += json::object_t::value_type("A", "a"); in main()
20 null += json::object_t::value_type("B", "b"); in main()

Completed in 14 milliseconds

12345678910>>...22