Searched refs:element_type (Results 1 - 25 of 191) sorted by relevance

12345678

/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/
H A Delement_type.pass.cpp15 // typedef <details> element_type;
26 typedef char element_type; typedef in struct:A
32 typedef char element_type; typedef in struct:B
48 static int element_type; member in struct:E
54 typedef int element_type; typedef in struct:F
59 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), "");
60 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), "");
61 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), "");
62 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), "");
63 static_assert((std::is_same<std::pointer_traits<E<double, int> >::element_type, doubl
[all...]
H A Ddifference_type.pass.cpp26 typedef short element_type; typedef in struct:A
32 typedef short element_type; typedef in struct:B
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/
H A Dpointer_to.pass.cpp28 typedef T element_type; typedef in struct:A
29 element_type* t_;
31 A(element_type* t) : t_(t) {}
33 static A pointer_to(typename std::conditional<std::is_void<element_type>::value,
34 nat, element_type>::type& et)
46 (std::pointer_traits<A<void> >::element_type)0;
/external/libcxx/test/std/utilities/memory/pointer.traits/
H A Delement_type.pass.cpp15 // typedef T element_type;
24 static_assert((std::is_same<std::pointer_traits<const short*>::element_type, const short>::value), "");
H A Dpointer_to.pass.cpp30 (std::pointer_traits<void*>::element_type)0;
H A Dpointer.pass.cpp24 typedef short element_type; typedef in struct:A
/external/clang/test/CodeGenCXX/
H A Dlinetable-eh.cpp22 typedef _Tp element_type; typedef in class:shared_ptr
23 element_type* __ptr_;
25 element_type* operator->() const noexcept {return __ptr_;}
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/
H A Dtypes.pass.cpp15 // typedef T element_type;
25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
H A Dwebrtc_PausePlayPeerConnections.py14 def run_once(self, mode = 'functional', element_type='video'):
19 @param element_type: the element type to use for feeds, video or audio.
30 "elementType = '{}'".format(element_type))
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/
H A Delement_type.pass.cpp16 // typedef X element_type;
29 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), "");
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dtypes.pass.cpp15 // typedef T element_type;
28 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
/external/webrtc/webrtc/base/
H A Dscoped_ptr.h318 typedef T element_type; typedef in class:rtc::scoped_ptr
325 explicit scoped_ptr(element_type* p) : impl_(p) {}
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {}
385 void reset(element_type* p = nullptr) { impl_.reset(p); }
389 element_type& operator*() const {
393 element_type* operator->() const {
397 element_type* get() const { return impl_.get(); }
403 // Allow scoped_ptr<element_type> to be used in boolean expressions, but not
411 typedef rtc::internal::scoped_ptr_impl<element_type, deleter_type>
422 bool operator==(const element_type*
469 typedef T element_type; typedef in class:rtc::scoped_ptr
[all...]
/external/libchrome/base/
H A Dscoped_generic.h70 typedef T element_type; typedef in class:base::ScopedGeneric
77 explicit ScopedGeneric(const element_type& value) : data_(value) {}
80 ScopedGeneric(const element_type& value, const traits_type& traits)
102 void reset(const element_type& value = traits_type::InvalidValue()) {
121 element_type release() WARN_UNUSED_RESULT {
122 element_type old_generic = data_.generic;
127 const element_type& get() const { return data_.generic; }
133 bool operator==(const element_type& value) const {
136 bool operator!=(const element_type& value) const {
/external/tensorflow/tensorflow/compiler/xla/service/
H A Dbfloat16_normalization_test.cc101 EXPECT_EQ(add0->shape().element_type(), BF16);
102 EXPECT_EQ(add1->shape().element_type(), F32);
130 EXPECT_EQ(mul0->shape().element_type(), F32);
131 EXPECT_EQ(mul1->shape().element_type(), F32);
160 EXPECT_EQ(sub0->shape().element_type(), F32);
161 EXPECT_EQ(sub1->shape().element_type(), F32);
202 .element_type(),
207 .element_type(),
212 .element_type(),
214 EXPECT_EQ(reduce->shape().element_type(), F3
[all...]
H A Dbfloat16_normalization.cc98 auto original_type = hlo->shape().element_type();
132 if (comp->root_instruction()->shape().element_type() == BF16) {
137 if (param->shape().element_type() == BF16) {
159 operand_types[i] = crs->operand(i)->shape().element_type();
160 output_types[i] = ShapeUtil::GetSubshape(crs->shape(), {i}).element_type();
230 if (hlo->operand(i)->shape().element_type() == F32) {
233 } else if (hlo->operand(i)->shape().element_type() == BF16) {
239 if (hlo->shape().element_type() == F32) {
241 } else if (hlo->shape().element_type() == BF16) {
248 if (comp->root_instruction()->shape().element_type()
[all...]
H A Dhlo_element_type_converter.cc39 if (hlo->shape().element_type() != type) {
44 CHECK_EQ(hlo->shape().element_type(), type);
50 if (operand->shape().element_type() == type) {
72 if (subshape.element_type() == from_type) {
96 if (ele_shape.element_type() != to_ele_shape.element_type()) {
156 TF_RET_CHECK(hlo->shape().element_type() != eliminate_type_);
167 if (operand->shape().element_type() == eliminate_type_) {
178 if (hlo->shape().element_type() == eliminate_type_) {
H A Dbfloat16_conversion_folding.cc93 if (operand->shape().element_type() == F32) {
95 operand->operand(0)->shape().element_type() == BF16 &&
108 hlo->shape().element_type() == F32 &&
114 user->shape().element_type() == BF16) {
126 (!fold_output_conversion && hlo->shape().element_type() == F32)) {
H A Dshape_inference.cc249 PrimitiveType element_type,
298 return ShapeUtil::MakeShape(element_type, output_dimensions);
325 PrimitiveType_Name(arg.element_type()).c_str());
338 PrimitiveType_Name(arg.element_type()).c_str());
347 PrimitiveType_Name(arg.element_type()).c_str());
353 arg, primitive_util::ComplexComponentType(arg.element_type()));
363 if (arg.element_type() != PRED &&
364 !primitive_util::IsIntegralType(arg.element_type())) {
368 PrimitiveType_Name(arg.element_type()).c_str());
377 PrimitiveType_Name(arg.element_type())
247 InferWindowOutputShape(const Shape& base_shape, const Window& window, PrimitiveType element_type, bool allow_negative_padding) argument
399 PrimitiveType element_type = PRIMITIVE_TYPE_INVALID; local
[all...]
/external/llvm/utils/
H A Dshuffle_fuzz.py49 (width, element_type) = random.choice(
53 (width, element_type) = random.choice(
59 element_type = random.choice(element_types)
63 'f32': 1 << 32, 'f64': 1 << 64}[element_type]
113 (args.seed, width, element_type))
143 integral_element_type = element_type
144 if element_type == 'f32':
146 element_type = 'float'
147 elif element_type == 'f64':
149 element_type
[all...]
/external/libxaac/decoder/
H A Dixheaacd_common_lpfuncs.c100 WORD *ptr_element_type = p_obj_enhaacplus_dec->aac_config.element_type;
263 WORD element_type; local
291 element_type = (element_tag >> 4) & 0x7;
296 while (element_type == 4 || element_type == 5 || element_type == 6) {
334 element_type = (element_tag >> 4) & 0x7;
344 if (element_type == 1) {
349 if (p_obj_enhaacplus_dec->aac_config.element_type[j] == element_type
[all...]
/external/tensorflow/tensorflow/compiler/xla/
H A Dshape_util.cc120 PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions,
126 if (element_type == OPAQUE || element_type == TUPLE) {
128 PrimitiveType_Name(element_type).c_str());
130 Shape shape = ShapeUtil::MakeShape(element_type, dimensions);
183 PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions) {
184 DCHECK_NE(TUPLE, element_type);
185 DCHECK_NE(OPAQUE, element_type);
187 PopulateShape(element_type, dimensions, &result);
192 PrimitiveType element_type, tensorflo
119 MakeShapeWithLayoutInternal( PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions, tensorflow::gtl::ArraySlice<int64> minor_to_major) argument
182 MakeShape( PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions) argument
191 MakeShapeWithLayout( PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions, tensorflow::gtl::ArraySlice<int64> minor_to_major) argument
198 MakeShapeWithDescendingLayout( PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions) argument
205 MakeShapeWithSparseLayout( PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions, int64 max_sparse_elements) argument
226 PopulateShape( PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions, Shape* shape) argument
366 ShapeIs(const Shape& shape, PrimitiveType element_type, std::initializer_list<int64> dimensions) argument
[all...]
H A Dshape_util.h215 return lhs.element_type() == rhs.element_type();
234 return a.element_type();
237 return primitive_util::BitWidth(a.element_type()) <
238 primitive_util::BitWidth(b.element_type())
239 ? b.element_type()
240 : a.element_type();
320 static Shape MakeShape(PrimitiveType element_type,
326 PrimitiveType element_type, tensorflow::gtl::ArraySlice<int64> dimensions,
330 PrimitiveType element_type, tensorflo
[all...]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
H A Delemental_ir_emitter.cc35 PrimitiveType element_type = op->shape().element_type(); local
38 switch (element_type) {
121 return ir_emitter_->EmitScalarCall(hlo->shape().element_type(),
/external/libcxx/test/std/utilities/memory/pointer.conversion/
H A Dto_address.pass.cpp24 using element_type = int;
39 using element_type = int;
/external/tensorflow/tensorflow/compiler/tf2xla/
H A Dliteral_util.cc51 if (literal.shape().element_type() != primitive_type) {
54 xla::PrimitiveType_Name(literal.shape().element_type()),

Completed in 601 milliseconds

12345678