Home
last modified time | relevance | path

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

1234

/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/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/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/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/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.asgn/
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()
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_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/tensorflow/tensorflow/compiler/xla/service/
Dlayout_assignment.cc95 } else if (ShapeUtil::IsArray(instruction->shape())) { in CreateCopyWithNewLayout()
189 if (buffer.IsArray() && buffer.instruction()->parent() == computation) { in LayoutConstraints()
219 if (!buffer.IsArray()) { in SetBufferLayout()
324 TF_RET_CHECK(ShapeUtil::IsArray(operand->shape())); in SetArrayOperandLayout()
383 if (ShapeUtil::IsArray(subshape)) { in SetInstructionLayout()
502 TF_RET_CHECK(ShapeUtil::IsArray(send_buffer_shape)); in AddMandatoryConstraints()
510 TF_RET_CHECK(ShapeUtil::IsArray(recv_buffer_shape)); in AddMandatoryConstraints()
895 CHECK(ShapeUtil::IsArray(instruction->shape())); in ChooseOperandLayoutFromOutputLayout()
896 CHECK(ShapeUtil::IsArray(operand->shape())); in ChooseOperandLayoutFromOutputLayout()
973 CHECK(ShapeUtil::IsArray(user->shape()) && in ChooseOutputLayoutFromOperandLayout()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_util.cc98 if (ShapeUtil::IsArray(subshape)) { in Literal()
167 if (ShapeUtil::IsArray(piece.subshape())) { in CreateFromShape()
370 if (!ShapeUtil::IsArray(piece.subshape())) { in CopyFrom()
418 if (!ShapeUtil::IsArray(src_piece.subshape())) { in MoveFrom()
443 TF_RET_CHECK(ShapeUtil::IsArray(shape())) << ShapeUtil::HumanString(shape()); in CopySliceFrom()
444 TF_RET_CHECK(ShapeUtil::IsArray(src_literal.shape())) in CopySliceFrom()
678 CHECK(ShapeUtil::IsArray(shape())); in PopulateR1()
727 if (ShapeUtil::IsArray(subshape)) { in Relayout()
738 if (!ShapeUtil::IsArray(shape())) { in Reshape()
766 CHECK(ShapeUtil::IsArray(shape())) << "Tuple is not supported for transpose"; in Transpose()
[all …]
/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()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dtesting.cc38 if (ShapeUtil::IsArray(shape)) { in DataSizeOfShape()
53 if (ShapeUtil::IsArray(shape)) { in BuildFakeDataOpOnDevice()
/external/pdfium/fxjs/
Dcjs_color.cpp250 if (vp.IsEmpty() || !vp->IsArray()) in SetPropertyHelper()
262 if (params[0].IsEmpty() || !params[0]->IsArray()) in convert()
290 if (params[0].IsEmpty() || !params[0]->IsArray() || params[1].IsEmpty() || in equal()
291 !params[1]->IsArray()) { in equal()
Dcfxjse_formcalc_context.cpp657 if (!argValue->IsArray()) { in Avg()
736 if (argValue->IsArray()) { in Count()
809 if (argValue->IsArray()) { in Max()
883 if (argValue->IsArray()) { in Min()
1044 if (argValue->IsArray()) { in Sum()
2668 if (argIndexValue->IsArray()) { in Choose()
2858 if (!argOne->IsArray() && !argOne->IsObject() && !argOne->IsBoolean() && in Ref()
2878 } else if (argOne->IsArray()) { in Ref()
4790 if (lValue->IsArray()) { in assign_value_operator()
4938 if (!argFirst->IsArray() || !argSecond->IsArray()) in fm_ref_equal()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment.cc164 if (!ShapeUtil::IsArray(instruction->operand(operand_no)->shape())) { in AddBackendConstraints()
179 if (!ShapeUtil::IsArray(instruction->shape())) { in AddBackendConstraints()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DTypeExtensions.cs85 return type.IsArray; in isArray()

1234