/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayTest.cpp | 41 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage); 50 Array::Usage m_usage; 53 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) in SingleVertexArrayUsageGroup() 54 …: TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage)… in SingleVertexArrayUsageGroup() 75 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init() 83 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 … in init() 84 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init() 85 …const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTyp… in init() 88 Array::OUTPUTTYPE_VEC2, in init() 89 Array::STORAGE_BUFFER, in init() [all …]
|
/external/libcxx/test/std/utilities/meta/meta.rel/ |
D | is_convertible.pass.cpp | 49 typedef char Array[1]; typedef 71 test_is_not_convertible<void,Array> (); in main() 72 test_is_not_convertible<void,Array&> (); in main() 89 test_is_not_convertible<Function, Array> (); in main() 90 test_is_not_convertible<Function, Array&> (); in main() 101 test_is_not_convertible<Function&, Array> (); in main() 102 test_is_not_convertible<Function&, Array&> (); in main() 113 test_is_not_convertible<Function*, Array> (); in main() 114 test_is_not_convertible<Function*, Array&> (); in main() 130 test_is_not_convertible<Array, void> (); in main() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sVertexArrayTests.cpp | 44 SingleVertexArrayUsageGroup (Context& context, Array::Usage usage); 53 Array::Usage m_usage; 56 SingleVertexArrayUsageGroup::SingleVertexArrayUsageGroup (Context& context, Array::Usage usage) in SingleVertexArrayUsageGroup() 57 …: TestCaseGroup (context, Array::usageTypeToString(usage).c_str(), Array::usageTypeToString(usage)… in SingleVertexArrayUsageGroup() 78 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init() 86 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 … in init() 87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init() 88 …const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTyp… in init() 91 Array::OUTPUTTYPE_VEC2, in init() 92 Array::STORAGE_BUFFER, in init() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fVertexArrayTest.cpp | 72 …Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMI… in init() 75 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init() 86 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init() 87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init() 89 Array::OUTPUTTYPE_VEC2, in init() 90 Array::STORAGE_BUFFER, in init() 100 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 140 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_… in init() 141 Array::Storage storages[] = {Array::STORAGE_USER, Array::STORAGE_BUFFER}; in init() 155 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sVertexArrayTests.cpp | 73 …Array::Usage usages[] = {Array::USAGE_STATIC_DRAW, Array::USAGE_STREAM_DRAW, Array::USAGE_DYNAMI… in init() 76 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_FIXED, Array::INPUTTYPE_… in init() 87 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init() 88 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init() 90 Array::OUTPUTTYPE_VEC2, in init() 91 Array::STORAGE_BUFFER, in init() 101 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init() 141 …Array::InputType inputTypes[] = {Array::INPUTTYPE_FLOAT, Array::INPUTTYPE_SHORT, Array::INPUTTYPE_… in init() 142 Array::Storage storages[] = {Array::STORAGE_BUFFER}; in init() 156 …const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * co… in init() [all …]
|
/external/libmojo/mojo/public/cpp/bindings/ |
D | array.h | 28 class Array { 39 Array() : is_null_(false) {} in Array() function 41 Array(std::nullptr_t null_pointer) : is_null_(true) {} in Array() function 46 explicit Array(size_t size) : vec_(size), is_null_(false) {} in Array() function 47 ~Array() {} in ~Array() 50 Array(const std::vector<T>& other) : vec_(other), is_null_(false) {} in Array() function 53 Array(std::vector<T>&& other) : vec_(std::move(other)), is_null_(false) {} in Array() function 54 Array(Array&& other) : is_null_(true) { Take(&other); } in Array() function 56 Array& operator=(std::vector<T>&& other) { 61 Array& operator=(Array&& other) { [all …]
|
D | array_traits_standard.h | 14 struct ArrayTraits<Array<T>> { 17 static bool IsNull(const Array<T>& input) { return input.is_null(); } 18 static void SetToNull(Array<T>* output) { *output = nullptr; } 20 static size_t GetSize(const Array<T>& input) { return input.size(); } 22 static T* GetData(Array<T>& input) { return &input.front(); } 24 static const T* GetData(const Array<T>& input) { return &input.front(); } 26 static typename Array<T>::RefType GetAt(Array<T>& input, size_t index) { 30 static typename Array<T>::ConstRefType GetAt(const Array<T>& input, 35 static bool Resize(Array<T>& input, size_t size) {
|
/external/eigen/Eigen/src/Core/ |
D | Array.h | 17 struct traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : traits<Matrix<_Scalar,… 20 typedef ArrayBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > XprBase; 45 class Array 46 : public PlainObjectBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > 50 typedef PlainObjectBase<Array> Base; 51 EIGEN_DENSE_PUBLIC_INTERFACE(Array) 76 EIGEN_STRONG_INLINE Array& operator=(const EigenBase<OtherDerived> &other) 90 EIGEN_STRONG_INLINE Array& operator=(const Scalar &value) 107 EIGEN_STRONG_INLINE Array& operator=(const DenseBase<OtherDerived>& other) 116 EIGEN_STRONG_INLINE Array& operator=(const Array& other) [all …]
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 67 std::string Array::targetToString(Target target) in targetToString() 75 return de::getSizedArrayElement<Array::TARGET_LAST>(targets, (int)target); in targetToString() 78 std::string Array::inputTypeToString(InputType type) in inputTypeToString() 99 return de::getSizedArrayElement<Array::INPUTTYPE_LAST>(types, (int)type); in inputTypeToString() 102 std::string Array::outputTypeToString(OutputType type) in outputTypeToString() 123 return de::getSizedArrayElement<Array::OUTPUTTYPE_LAST>(types, (int)type); in outputTypeToString() 126 std::string Array::usageTypeToString(Usage usage) in usageTypeToString() 144 return de::getSizedArrayElement<Array::USAGE_LAST>(usages, (int)usage); in usageTypeToString() 147 std::string Array::storageToString (Storage storage) in storageToString() 155 return de::getSizedArrayElement<Array::STORAGE_LAST>(storages, (int)storage); in storageToString() [all …]
|
D | glsVertexArrayTests.hpp | 53 class Array class 151 virtual ~Array (void) {} in ~Array() 169 class ContextArray : public Array 177 virtual void bindIndexArray (Array::Target storage); 182 virtual Array::Target getTarget (void) const { return m_target; } in getTarget() 183 virtual Array::InputType getInputType (void) const { return m_inputType; } in getInputType() 184 virtual Array::OutputType getOutputType (void) const { return m_outputType; } in getOutputType() 185 virtual Array::Storage getStorageType (void) const { return m_storage; } in getStorageType() 192 static deUint32 targetToGL (Array::Target target); 193 static deUint32 usageToGL (Array::Usage usage); [all …]
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | StreamArray.h | 112 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E, 114 : IterRef(Array.Stream), Array(&Array), HadError(HadError), Extract(E) { 126 if (Array && R.Array) { 128 assert(Array == R.Array); 133 if (!Array && !R.Array) 143 assert(Array && !HasError); 177 Array = nullptr; in moveToEnd() 189 const ArrayType *Array{nullptr}; 237 FixedStreamArrayIterator(const FixedStreamArray<T> &Array, uint32_t Index) in FixedStreamArrayIterator() argument 238 : Array(Array), Index(Index) {} in FixedStreamArrayIterator() [all …]
|
D | StreamWriter.h | 53 template <typename T> Error writeArray(ArrayRef<T> Array) { in writeArray() argument 54 if (Array.size() == 0) in writeArray() 57 if (Array.size() > UINT32_MAX / sizeof(T)) in writeArray() 61 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), in writeArray() 62 Array.size() * sizeof(T))); in writeArray() 66 Error writeArray(VarStreamArray<T, U> Array) { in writeArray() argument 67 return writeStreamRef(Array.getUnderlyingStream()); in writeArray() 70 template <typename T> Error writeArray(FixedStreamArray<T> Array) { in writeArray() argument 71 return writeStreamRef(Array.getUnderlyingStream()); in writeArray()
|
D | StreamReader.h | 57 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { in readArray() argument 60 Array = ArrayRef<T>(); in readArray() 69 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); in readArray() 74 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size) { in readArray() argument 78 Array = VarStreamArray<T, U>(S, Array.getExtractor()); in readArray() 83 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument 85 Array = FixedStreamArray<T>(); in readArray() 94 Array = FixedStreamArray<T>(View); in readArray()
|
/external/eigen/test/ |
D | sizeof.cpp | 24 CALL_SUBTEST(verifySizeOf(Array<float, 2, 1>()) ); in test_sizeof() 25 CALL_SUBTEST(verifySizeOf(Array<float, 3, 1>()) ); in test_sizeof() 26 CALL_SUBTEST(verifySizeOf(Array<float, 4, 1>()) ); in test_sizeof() 27 CALL_SUBTEST(verifySizeOf(Array<float, 5, 1>()) ); in test_sizeof() 28 CALL_SUBTEST(verifySizeOf(Array<float, 6, 1>()) ); in test_sizeof() 29 CALL_SUBTEST(verifySizeOf(Array<float, 7, 1>()) ); in test_sizeof() 30 CALL_SUBTEST(verifySizeOf(Array<float, 8, 1>()) ); in test_sizeof() 31 CALL_SUBTEST(verifySizeOf(Array<float, 9, 1>()) ); in test_sizeof() 32 CALL_SUBTEST(verifySizeOf(Array<float, 10, 1>()) ); in test_sizeof() 33 CALL_SUBTEST(verifySizeOf(Array<float, 11, 1>()) ); in test_sizeof() [all …]
|
D | rvalue_types.cpp | 52 CALL_SUBTEST_1(rvalue_copyassign( Array<float,1,Dynamic>::Random(50).eval() )); in test_rvalue_types() 55 CALL_SUBTEST_1(rvalue_copyassign( Array<float,Dynamic,1>::Random(50).eval() )); in test_rvalue_types() 57 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,1>::Random().eval() )); in test_rvalue_types() 58 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,1>::Random().eval() )); in test_rvalue_types() 59 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,1>::Random().eval() )); in test_rvalue_types() 61 CALL_SUBTEST_2(rvalue_copyassign( Array<float,2,2>::Random().eval() )); in test_rvalue_types() 62 CALL_SUBTEST_2(rvalue_copyassign( Array<float,3,3>::Random().eval() )); in test_rvalue_types() 63 CALL_SUBTEST_2(rvalue_copyassign( Array<float,4,4>::Random().eval() )); in test_rvalue_types()
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | array_unittest.cc | 18 ARRAY_COMMON_TEST(Array, NullAndEmpty) in ARRAY_COMMON_TEST() argument 19 ARRAY_COMMON_TEST(Array, Basic) in ARRAY_COMMON_TEST() 20 ARRAY_COMMON_TEST(Array, Bool) in ARRAY_COMMON_TEST() 21 ARRAY_COMMON_TEST(Array, Handle) in ARRAY_COMMON_TEST() 22 ARRAY_COMMON_TEST(Array, HandlesAreClosed) in ARRAY_COMMON_TEST() 23 ARRAY_COMMON_TEST(Array, Clone) in ARRAY_COMMON_TEST() 24 ARRAY_COMMON_TEST(Array, Serialization_ArrayOfPOD) in ARRAY_COMMON_TEST() 25 ARRAY_COMMON_TEST(Array, Serialization_EmptyArrayOfPOD) in ARRAY_COMMON_TEST() 26 ARRAY_COMMON_TEST(Array, Serialization_ArrayOfArrayOfPOD) in ARRAY_COMMON_TEST() 27 ARRAY_COMMON_TEST(Array, Serialization_ArrayOfBool) in ARRAY_COMMON_TEST() [all …]
|
/external/libmojo/mojo/common/ |
D | common_type_converters.cc | 42 std::string TypeConverter<std::string, Array<uint8_t>>::Convert( in Convert() 43 const Array<uint8_t>& input) { in Convert() 51 Array<uint8_t> TypeConverter<Array<uint8_t>, std::string>::Convert( in Convert() 53 Array<uint8_t> result(input.size()); in Convert() 59 Array<uint8_t> TypeConverter<Array<uint8_t>, base::StringPiece>::Convert( in Convert() 61 Array<uint8_t> result(input.size()); in Convert() 67 base::string16 TypeConverter<base::string16, Array<uint8_t>>::Convert( in Convert() 68 const Array<uint8_t>& input) { in Convert() 76 Array<uint8_t> TypeConverter<Array<uint8_t>, base::string16>::Convert( in Convert() 78 Array<uint8_t> result(input.size() * sizeof(base::char16)); in Convert()
|
D | common_type_converters.h | 40 struct MOJO_COMMON_EXPORT TypeConverter<std::string, Array<uint8_t>> { 41 static std::string Convert(const Array<uint8_t>& input); 45 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, std::string> { 46 static Array<uint8_t> Convert(const std::string& input); 50 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::StringPiece> { 51 static Array<uint8_t> Convert(const base::StringPiece& input); 55 struct MOJO_COMMON_EXPORT TypeConverter<base::string16, Array<uint8_t>> { 56 static base::string16 Convert(const Array<uint8_t>& input); 60 struct MOJO_COMMON_EXPORT TypeConverter<Array<uint8_t>, base::string16> { 61 static Array<uint8_t> Convert(const base::string16& input);
|
D | common_type_converters_unittest.cc | 74 Array<uint8_t> data(4); in TEST() 85 Array<uint8_t> data = Array<uint8_t>::From(input); in TEST() 95 Array<uint8_t> data(8); in TEST() 106 Array<uint8_t> data = Array<uint8_t>::From(input); in TEST() 117 Array<uint8_t> data = Array<uint8_t>::From(input); in TEST() 122 Array<uint8_t> data = Array<uint8_t>::From(std::string()); in TEST()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIInsertWaits.cpp | 42 unsigned Array[3]; member 296 LastIssued.Array[i] += Increment.Array[i]; in pushInstruction() 297 if (Increment.Array[i]) in pushInstruction() 298 Limit.Array[i] = LastIssued.Array[i]; in pushInstruction() 299 Sum += Increment.Array[i]; in pushInstruction() 386 if (Required.Array[i] <= WaitedOn.Array[i]) in insertWait() 392 unsigned Value = LastIssued.Array[i] - Required.Array[i]; in insertWait() 395 Counts.Array[i] = std::min(Value, WaitCounts.Array[i]); in insertWait() 398 Counts.Array[i] = 0; in insertWait() 401 WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i]; in insertWait() [all …]
|
/external/eigen/unsupported/Eigen/src/Splines/ |
D | SplineFwd.h | 38 typedef Array<Scalar,1,OrderAtCompileTime> BasisVectorType; 41 …typedef Array<Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> Ba… 44 …typedef Array<Scalar,Dimension,Dynamic,DerivativeMemoryLayout,Dimension,NumOfDerivativesAtCompileT… 47 typedef Array<Scalar,Dimension,1> PointType; 50 typedef Array<Scalar,1,Dynamic> KnotVectorType; 53 typedef Array<Scalar,1,Dynamic> ParameterVectorType; 56 typedef Array<Scalar,Dimension,Dynamic> ControlPointVectorType; 74 …typedef Array<_Scalar,Dynamic,Dynamic,RowMajor,NumOfDerivativesAtCompileTime,OrderAtCompileTime> B… 77 …typedef Array<_Scalar,_Dim,Dynamic,DerivativeMemoryLayout,_Dim,NumOfDerivativesAtCompileTime> Deri…
|
/external/libcxx/test/libcxx/utilities/function.objects/func.require/ |
D | invoke.pass.cpp | 18 struct Array struct 25 Array<char, 1>::type& f1(); argument 26 Array<char, 2>::type& f2() const; 28 Array<char, 1>::type& g1() &; 29 Array<char, 2>::type& g2() const &; 30 Array<char, 3>::type& g3() &&; 31 Array<char, 4>::type& g4() const &&;
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
D | Extension.java | 34 import java.lang.reflect.Array; 203 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize)); in getRepeatedValueFrom() 205 Array.set(result, i, resultList.get(i)); in getRepeatedValueFrom() 287 int arrayLength = Array.getLength(array); in writeRepeatedData() 289 Object element = Array.get(array, i); in writeRepeatedData() 307 int arrayLength = Array.getLength(array); in computeRepeatedSerializedSize() 309 Object element = Array.get(array, i); in computeRepeatedSerializedSize() 311 size += computeSingularSerializedSize(Array.get(array, i)); in computeRepeatedSerializedSize() 472 int arrayLength = Array.getLength(array); in writeRepeatedData() 481 output.writeBoolNoTag(Array.getBoolean(array, i)); in writeRepeatedData() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
D | Equality.java | 7 import java.lang.reflect.Array; 30 return Array.getLength(o1) == Array.getLength(o2); in areArrayLengthsEqual() 34 for (int i = 0; i < Array.getLength(o1); i++) { in areArrayElementsEqual() 35 if (!areEqual(Array.get(o1, i), Array.get(o2, i))) return false; in areArrayElementsEqual()
|
/external/mesa3d/src/mesa/main/ |
D | arrayobj.c | 74 _mesa_HashLookup(ctx->Array.Objects, id); in _mesa_lookup_vao() 102 return ctx->Array.DefaultVAO; in _mesa_lookup_vao_err() 106 if (ctx->Array.LastLookedUpVAO && in _mesa_lookup_vao_err() 107 ctx->Array.LastLookedUpVAO->Name == id) { in _mesa_lookup_vao_err() 108 vao = ctx->Array.LastLookedUpVAO; in _mesa_lookup_vao_err() 111 _mesa_HashLookup(ctx->Array.Objects, id); in _mesa_lookup_vao_err() 125 _mesa_reference_vao(ctx, &ctx->Array.LastLookedUpVAO, vao); in _mesa_lookup_vao_err() 323 _mesa_HashInsert(ctx->Array.Objects, vao->Name, vao); in save_array_object() 337 _mesa_HashRemove(ctx->Array.Objects, vao->Name); in remove_array_object() 442 struct gl_vertex_array_object * const oldObj = ctx->Array.VAO; in bind_vertex_array() [all …]
|