| /external/llvm/include/llvm/DebugInfo/CodeView/ |
| StreamWriter.h | 53 template <typename T> Error writeArray(ArrayRef<T> Array) { 54 if (Array.size() == 0) 57 if (Array.size() > UINT32_MAX / sizeof(T)) 61 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 62 Array.size() * sizeof(T))); 66 Error writeArray(VarStreamArray<T, U> Array) { 67 return writeStreamRef(Array.getUnderlyingStream()); 70 template <typename T> Error writeArray(FixedStreamArray<T> Array) { 71 return writeStreamRef(Array.getUnderlyingStream());
|
| /external/clang/test/SemaTemplate/ |
| instantiate-member-initializers.cpp | 39 template<typename T> struct Array { 41 Array() : a() {} 43 Array<int> s;
|
| /frameworks/support/work/workmanager/src/main/java/androidx/work/ |
| ArrayCreatingInputMerger.java | 21 import java.lang.reflect.Array; 32 * <li>If it's an array, put it in the output</li> 33 * <li>If it's a primitive, turn it into a size 1 array and put it in the output</li> 40 * <li>If they are primitives, turn them into a size 2 array</li> 42 * <li>Else if one is an array and the other is a primitive</li> 44 * <li>Make a longer array and concatenate them</li> 88 // We have an existing array of the same type. 92 // We have an existing array of the same type. 108 int length1 = Array.getLength(array1); 109 int length2 = Array.getLength(array2) [all...] |
| /external/eigen/doc/snippets/ |
| Cwise_array_power_array.cpp | 0 Array<double,1,3> x(8,25,3),
|
| /external/guava/guava-gwt/src/com/google/common/collect/ |
| GwtPlatform.java | 21 import java.lang.reflect.Array; 48 T[] result = (T[]) Array.newInstance(type, length);
|
| /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
| GwtPlatform.java | 21 import com.google.gwt.lang.Array; 38 return Array.createFrom(reference, length);
|
| /external/libcxx/test/libcxx/containers/sequences/array/array.zero/ |
| db_back.pass.cpp | 17 // test array<T, 0>::front() throws a debug exception. 21 #include <array> 23 template <class Array> 24 inline bool CheckDebugThrows(Array& Arr) { 36 typedef std::array<int, 0> C; 43 typedef std::array<const int, 0> C;
|
| db_front.pass.cpp | 17 // test array<T, 0>::front() throws a debug exception. 21 #include <array> 23 template <class Array> 24 inline bool CheckDebugThrows(Array& Arr) { 36 typedef std::array<int, 0> C; 43 typedef std::array<const int, 0> C;
|
| /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
| IsEqual.java | 7 import java.lang.reflect.Array; 48 return Array.getLength(actualArray) == Array.getLength(expectedArray); 52 for (int i = 0; i < Array.getLength(actualArray); i++) { 53 if (!areEqual(Array.get(actualArray, i), Array.get(expectedArray, i))) { 75 * <p>The created matcher provides a special behaviour when examining <code>Array</code>s, whereby
|
| /external/tensorflow/tensorflow/compiler/xla/ |
| array3d.h | 27 #include "tensorflow/compiler/xla/array.h" 35 // Simple 3D array structure. 37 class Array3D : public Array<T> { 39 Array3D() : Array<T>(std::vector<int64>{0, 0, 0}) {} 41 // Creates an array of dimensions n1 x n2 x n3, uninitialized values. 43 : Array<T>(std::vector<int64>{n1, n2, n3}) {} 45 // Creates an array of dimensions n1 x n2 x n3, initialized to value. 47 : Array<T>(std::vector<int64>{n1, n2, n3}, value) {} 49 // Creates an array from the given nested initializer list. The outer 55 // results in an array with n1=3, n2=4, n3=2 [all...] |
| array2d.h | 27 #include "tensorflow/compiler/xla/array.h" 39 class Array2D : public Array<T> { 41 Array2D() : Array<T>(std::vector<int64>{0, 0}) {} 44 : Array<T>(std::vector<int64>{n1, n2}) {} 47 : Array<T>({n1, n2}, value) {} 49 // Creates an array from the given nested initializer list. The outer 51 // For example, {{1, 2, 3}, {4, 5, 6}} results in an array with n1=2 and n2=3. 53 : Array<T>(values) {} 55 // Creates an array of Eigen::half from the given nested initializer list of 61 : Array<T>(values) { [all...] |
| /external/brotli/js/ |
| polyfill.js | 17 if (!Array.prototype.copyWithin) { 18 Array.prototype.copyWithin = function(target, start, end) { 40 if (!Array.prototype.fill) { 41 Object.defineProperty(Array.prototype, 'fill', { 56 Int8Array.prototype.copyWithin = Array.prototype.copyWithin; 60 Int8Array.prototype.fill = Array.prototype.fill; 64 Int32Array.prototype.fill = Array.prototype.fill;
|
| /external/deqp/modules/glshared/ |
| glsVertexArrayTests.cpp | 21 * \brief Vertex array and buffer tests 67 std::string Array::targetToString(Target target) 72 "array" // TARGET_ARRAY, 75 return de::getSizedArrayElement<Array::TARGET_LAST>(targets, (int)target); 78 std::string Array::inputTypeToString(InputType type) 99 return de::getSizedArrayElement<Array::INPUTTYPE_LAST>(types, (int)type); 102 std::string Array::outputTypeToString(OutputType type) 123 return de::getSizedArrayElement<Array::OUTPUTTYPE_LAST>(types, (int)type); 126 std::string Array::usageTypeToString(Usage usage) 144 return de::getSizedArrayElement<Array::USAGE_LAST>(usages, (int)usage) 1938 const ArraySpec& array = arrays[ndx]; local 1985 const ArraySpec& array = arrays[ndx]; local [all...] |
| /art/runtime/mirror/ |
| array.cc | 17 #include "array-inl.h" 36 // Create a multi-dimensional array of Objects or primitive types. 42 // Recursively create an array with multiple dimensions. Elements may be 44 static Array* RecursiveCreateMultiArray(Thread* self, 50 Handle<Array> new_array( 52 Array::Alloc<true>(self, array_class.Get(), array_length, 60 // Create a new sub-array in every element of the array. 64 ObjPtr<Array> sub_array = RecursiveCreateMultiArray(self, h_component_type, 71 new_array->AsObjectArray<Array>()->Set<false, false>(i, sub_array) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
| BinaryStreamWriter.h | 117 /// Writes an array of objects of type T to the underlying stream, as if by 124 template <typename T> Error writeArray(ArrayRef<T> Array) { 125 if (Array.empty()) 127 if (Array.size() > UINT32_MAX / sizeof(T)) 132 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 133 Array.size() * sizeof(T))); 136 /// Writes all data from the array \p Array to the underlying stream. 141 Error writeArray(VarStreamArray<T, U> Array) { 142 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
| BinaryStreamWriter.h | 117 /// Writes an array of objects of type T to the underlying stream, as if by 124 template <typename T> Error writeArray(ArrayRef<T> Array) { 125 if (Array.empty()) 127 if (Array.size() > UINT32_MAX / sizeof(T)) 132 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 133 Array.size() * sizeof(T))); 136 /// Writes all data from the array \p Array to the underlying stream. 141 Error writeArray(VarStreamArray<T, U> Array) { 142 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |
| /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
| BinaryStreamWriter.h | 131 /// Writes an array of objects of type T to the underlying stream, as if by 138 template <typename T> Error writeArray(ArrayRef<T> Array) { 139 if (Array.empty()) 141 if (Array.size() > UINT32_MAX / sizeof(T)) 146 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()), 147 Array.size() * sizeof(T))); 150 /// Writes all data from the array \p Array to the underlying stream. 155 Error writeArray(VarStreamArray<T, U> Array) { 156 return writeStreamRef(Array.getUnderlyingStream()) [all...] |