Home
last modified time | relevance | path

Searched refs:IsArray (Results 1 – 25 of 122) sorted by relevance

12345

/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/
Dreset.pass.cpp22 template <bool IsArray>
24 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_pointer()
25 const int expect_alive = IsArray ? 3 : 1; in test_reset_pointer()
59 template <bool IsArray>
61 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_nullptr()
62 const int expect_alive = IsArray ? 3 : 1; in test_reset_nullptr()
83 template <bool IsArray>
85 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_reset_no_arg()
86 const int expect_alive = IsArray ? 3 : 1; in test_reset_no_arg()
Drelease.pass.cpp22 template <bool IsArray>
24 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic()
25 const int expect_alive = IsArray ? 3 : 1; in test_basic()
43 if (IsArray) in test_basic()
Dswap.pass.cpp51 template <bool IsArray>
53 typedef typename std::conditional<IsArray, TT[], TT>::type VT; in test_basic()
54 const int expect_alive = IsArray ? 5 : 1; in test_basic()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsArray.java13 public class IsArray<T> extends TypeSafeMatcher<T[]> { class
16 public IsArray(Matcher<? super T>[] elementMatchers) { in IsArray() method in IsArray
93 public static <T> IsArray<T> array(Matcher<? super T>... elementMatchers) { in array()
94 return new IsArray<T>(elementMatchers); in array()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
Dnull.pass.cpp22 template <bool IsArray>
24 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic()
25 const int expect_alive = IsArray ? 5 : 1; in test_basic()
Dnullptr.pass.cpp23 template <bool IsArray>
25 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic()
26 const int expect_alive = IsArray ? 5 : 1; in test_basic()
Dmove.pass.cpp32 template <bool IsArray>
34 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_basic()
35 const int expect_alive = IsArray ? 5 : 1; in test_basic()
77 template <bool IsArray>
79 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_sfinae()
Dmove_convert.pass.cpp196 template <bool IsArray>
198 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_sfinae()
286 template <bool IsArray>
288 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_noexcept()
311 template <bool IsArray>
313 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_deleter_value_category()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/
Dpointer_deleter.pass.cpp55 template <bool IsArray>
58 typedef typename std::conditional<!IsArray, int, int[]>::type VT; in test_sfinae()
105 template <bool IsArray>
108 typedef typename std::conditional<!IsArray, int, int[]>::type VT; in test_noexcept()
207 template <bool IsArray>
209 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_basic()
210 const int expect_alive = IsArray ? 5 : 1; in test_basic()
253 typedef typename std::conditional<IsArray, int[], int>::type VT2; in test_basic()
292 template <bool IsArray>
295 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_nullptr()
Dmove_convert.pass.cpp100 template <bool IsArray>
102 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_sfinae()
149 template <bool IsArray>
151 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_noexcept()
175 template <bool IsArray>
177 typedef typename std::conditional<IsArray, A[], A>::type VT; in test_deleter_value_category()
Dpointer.pass.cpp40 template <bool IsArray>
42 typedef typename std::conditional<!IsArray, A, A[]>::type ValueT; in test_pointer()
43 const int expect_alive = IsArray ? 5 : 1; in test_pointer()
Dmove.pass.cpp84 template <bool IsArray>
86 typedef typename std::conditional<!IsArray, A, A[]>::type VT; in test_basic()
87 const int expect_alive = IsArray ? 5 : 1; in test_basic()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array.cpp38 bool CPDF_Array::IsArray() const { in IsArray() function in CPDF_Array
71 if (!IsArray() || m_Objects.size() != 4) in GetRect()
83 if (!IsArray() || m_Objects.size() != 6) in GetMatrix()
167 ASSERT(IsArray()); in SetAt()
180 ASSERT(IsArray()); in InsertAt()
195 ASSERT(IsArray()); in Add()
Dcpdf_object_walker_unittest.cpp31 else if (obj->IsArray()) in Walk()
115 if (obj != root_array.get() && obj->IsArray()) { in TEST()
119 if (!obj->IsArray()) in TEST()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc285 if (!shape.IsArray()) { in ElementHasBitWidth()
379 DCHECK(shape.IsArray()) << ShapeUtil::HumanString(shape); in ElementsIn()
390 CHECK(shape.IsArray() || shape.IsTuple()); in ElementsInRecursive()
391 if (shape.IsArray()) { in ElementsInRecursive()
415 return shape.IsArray() && ElementsIn(shape) == 0; in IsZeroElementArray()
471 } else if (shape.IsArray() && LayoutUtil::HasLayout(shape)) { in HumanStringWithLayout()
492 CHECK(lhs.IsArray()); in SameDimensions()
493 CHECK(rhs.IsArray()); in SameDimensions()
575 } else if (shape.IsArray()) { in ByteSizeOf()
601 CHECK(shape.IsArray()); in ByteSizeOfElements()
[all …]
Dlayout_util.cc122 CHECK(shape.IsArray()); in GetDefaultLayoutForShape()
149 } else if (shape->IsArray()) { in SetToDefaultLayout()
185 } else if (shape.IsArray()) { in ValidateLayoutInShape()
211 if (!shape.IsArray()) { in ValidateLayoutForShape()
274 return shape.IsArray() && shape.has_layout() && IsDense(shape.layout()); in IsDenseArray()
294 return shape.IsArray() && shape.has_layout() && IsSparse(shape.layout()); in IsSparseArray()
311 } else if (!shape.IsArray()) { in HasLayout()
426 } else if (lhs.IsArray()) { in LayoutsInShapesEqual()
Dliteral.cc122 } else if (shape.IsArray()) { in SetPiece()
191 if (piece->subshape().IsArray()) { in CreateFromShape()
329 CHECK(piece->subshape().IsArray()); in CreateFromProto()
442 if (!piece->subshape().IsArray()) { in CopyFrom()
481 if (!src_piece.subshape().IsArray()) { in MoveFrom()
508 TF_RET_CHECK(shape().IsArray()) << ShapeUtil::HumanString(shape()); in CopySliceFrom()
509 TF_RET_CHECK(src_literal.shape().IsArray()) in CopySliceFrom()
569 CHECK(shape().IsArray()); in PopulateR1()
599 if (subshape.IsArray()) { in Relayout()
610 if (!shape().IsArray()) { in Broadcast()
[all …]
Dshape.cc98 CHECK(IsArray()); in DeleteDimension()
125 } else if (!lhs.IsArray()) { in operator ()()
131 if (!rhs.IsArray()) { in operator ()()
/external/tensorflow/tensorflow/compiler/xla/service/
Dlayout_assignment.cc114 if (buffer->IsArray() && in LayoutConstraints()
161 if (!buffer.IsArray()) { in SetBufferLayout()
255 TF_RET_CHECK(operand->shape().IsArray()); in SetArrayOperandLayout()
313 if (subshape.IsArray()) { in SetInstructionLayout()
405 TF_RET_CHECK(data_shape.IsArray()); in BuildHostChannelConstraints()
488 TF_RET_CHECK(send_buffer_shape.IsArray()); in AddMandatoryConstraints()
498 TF_RET_CHECK(recv_buffer_shape.IsArray()); in AddMandatoryConstraints()
519 TF_RET_CHECK(buffer_shape.IsArray()); in AddMandatoryConstraints()
811 } else if (instruction->shape().IsArray()) { in CreateCopyWithNewLayout()
991 CHECK(instruction->shape().IsArray()); in ChooseOperandLayoutFromOutputLayout()
[all …]
Dhlo_constant_folding.cc122 if (instruction->shape().IsArray()) { in Run()
125 if (operand->user_count() == 1 && operand->shape().IsArray()) { in Run()
Dwhile_loop_invariant_code_motion.cc171 if (instr->shape().IsArray()) { in TryHoistingInvariantInstructionsFromWhileBody()
224 if (subshape.IsArray()) { in TryHoistingInvariantInstructionsFromWhileBody()
232 if (subshape.IsArray()) { in TryHoistingInvariantInstructionsFromWhileBody()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/
Dpointer_type.pass.cpp34 template <bool IsArray>
36 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/
Dexplicit_bool.pass.cpp35 template <bool IsArray>
37 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
Dget.pass.cpp22 template <bool IsArray>
24 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
Dget_deleter.pass.cpp29 template <bool IsArray>
31 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()

12345