/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.modifiers/ |
D | reset.pass.cpp | 22 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()
|
D | release.pass.cpp | 22 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()
|
D | swap.pass.cpp | 51 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/ |
D | IsArray.java | 13 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/ |
D | null.pass.cpp | 22 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()
|
D | nullptr.pass.cpp | 23 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()
|
D | move.pass.cpp | 32 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()
|
D | move_convert.pass.cpp | 196 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/ |
D | pointer_deleter.pass.cpp | 55 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()
|
D | move_convert.pass.cpp | 100 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()
|
D | pointer.pass.cpp | 40 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()
|
D | move.pass.cpp | 84 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/ |
D | cpdf_array.cpp | 38 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()
|
D | cpdf_object_walker_unittest.cpp | 31 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/ |
D | shape_util.cc | 285 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 …]
|
D | layout_util.cc | 122 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()
|
D | literal.cc | 122 } 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 …]
|
D | shape.cc | 98 CHECK(IsArray()); in DeleteDimension() 125 } else if (!lhs.IsArray()) { in operator ()() 131 if (!rhs.IsArray()) { in operator ()()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | layout_assignment.cc | 114 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 …]
|
D | hlo_constant_folding.cc | 122 if (instruction->shape().IsArray()) { in Run() 125 if (operand->user_count() == 1 && operand->shape().IsArray()) { in Run()
|
D | while_loop_invariant_code_motion.cc | 171 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/ |
D | pointer_type.pass.cpp | 34 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/ |
D | explicit_bool.pass.cpp | 35 template <bool IsArray> 37 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|
D | get.pass.cpp | 22 template <bool IsArray> 24 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|
D | get_deleter.pass.cpp | 29 template <bool IsArray> 31 typedef typename std::conditional<IsArray, int[], int>::type VT; in test_basic()
|