| /prebuilts/clang/host/linux-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/linux-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/linux-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...] |
| /device/linaro/bootloader/edk2/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/ |
| DxeNt32PeCoffExtraActionLib.c | 56 // An Array to hold the ModHandle
136 Store the ModHandle in an array indexed by the Pdb File name.
156 PDB_NAME_TO_MOD_HANDLE *Array;
164 Array = mPdbNameModHandleArray;
165 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
166 if (Array->PdbPointer != NULL && Array->ModHandle == ModHandle) {
171 Array = mPdbNameModHandleArray;
172 for (Index = 0; Index < mPdbNameModHandleArraySize; Index++, Array++) {
173 if (Array->PdbPointer == NULL) { [all...] |
| /external/junit/src/main/java/org/junit/internal/ |
| ComparisonCriteria.java | 3 import java.lang.reflect.Array; 21 * @param expecteds Object array or array of arrays (multi-dimensional array) with 23 * @param actuals Object array or array of arrays (multi-dimensional array) with 41 Object expected = Array.get(expecteds, i); 42 Object actual = Array.get(actuals, i); 68 Assert.fail(header + "expected array was null") [all...] |
| /external/tensorflow/tensorflow/compiler/xla/ |
| array_test.cc | 16 #include "tensorflow/compiler/xla/array.h" 26 Array<int> uninit({2, 3}); 34 Array<int> fullof7({1, 2, 3}, 7); 50 Array<int> arr({{1, 2, 3}, {4, 5, 6}}); 64 Array<Eigen::half> d2({{1.0f, 2.0f, 3.0f}, {4.0f, 5.0f, 6.0f}}); 68 Array<Eigen::half> d3({{{1.0f}, {4.0f}}, {{1.0f}, {4.0f}}, {{1.0f}, {4.0f}}}); 73 Array<Eigen::half> d4( 83 Array<int> arr({2, 3}); 94 Array<int> arr({2, 3}); 107 Array<bool> arr{{false, true, false}, {false, true, false}} [all...] |
| /external/testng/src/main/java/org/testng/internal/junit/ |
| ComparisonCriteria.java | 5 import java.lang.reflect.Array; 22 * Object array or array of arrays (multi-dimensional array) with 25 * Object array or array of arrays (multi-dimensional array) with 38 Object expected= Array.get(expecteds, i); 39 Object actual= Array.get(actuals, i); 64 AssertJUnit.fail(header + "expected array was null") [all...] |
| /external/easymock/src/org/easymock/internal/ |
| ArgumentToString.java | 18 import java.lang.reflect.Array;
40 for (int i = 0; i < Array.getLength(value); i++) {
44 appendArgument(Array.get(value, i), buffer);
|
| /external/eigen/test/ |
| constructor.cpp | 61 Array<Index,1,1> a(123); 65 Array<Index,1,1> a(123.0); 69 Array<float,1,1> a(123); 73 Array<Index,3,3> a(123); 77 Array<Index,3,3> a(123.0); 81 Array<float,3,3> a(123);
|
| /external/clang/test/SemaTemplate/ |
| instantiate-array.cpp | 16 static_assert(sizeof(IntArray<10>) == sizeof(int) * 10, "Array size mismatch"); 17 static_assert(sizeof(IntArray<1>) == sizeof(int) * 1, "Array size mismatch"); 23 static_assert(sizeof(TenElementArray<int>) == sizeof(int) * 10, "Array size mismatch"); 25 template<typename T, int N> class Array { 29 static_assert(sizeof(Array<int, 10>) == sizeof(int) * 10, "Array size mismatch");
|
| /external/libcxx/test/libcxx/containers/sequences/array/array.zero/ |
| db_indexing.pass.cpp | 17 // test array<T, 0>::operator[] throws a debug exception. 21 #include <array> 23 template <class Array> 24 inline bool CheckDebugThrows(Array& Arr, size_t Index) { 36 typedef std::array<int, 0> C; 45 typedef std::array<const int, 0> C;
|
| /external/libcxxabi/test/ |
| test_vector3.pass.cpp | 55 typedef test1::A Array[10]; 56 Array a[10]; // calls _cxa_vec_dtor
|
| /external/libmojo/mojo/public/cpp/bindings/tests/ |
| stl_converters_unittest.cc | 11 #include "mojo/public/cpp/bindings/array.h" 24 Array<CopyableType> mojo_array(1); 28 Array<CopyableType> mojo_array2 = WrapSTLType(std::move(stl_vector)); 45 Array<Map<String, Array<int32_t>>> mojo_obj(2); 60 Array<Map<String, Array<int32_t>>> mojo_obj2 = 74 Array<NamedRegionPtr> mojo_obj(1); 85 Array<NamedRegionPtr> mojo_obj2 = WrapSTLType(std::move(stl_obj));
|
| array_unittest.cc | 5 #include "mojo/public/cpp/bindings/array.h" 18 ARRAY_COMMON_TEST(Array, NullAndEmpty) 19 ARRAY_COMMON_TEST(Array, Basic) 20 ARRAY_COMMON_TEST(Array, Bool) 21 ARRAY_COMMON_TEST(Array, Handle) 22 ARRAY_COMMON_TEST(Array, HandlesAreClosed) 23 ARRAY_COMMON_TEST(Array, Clone) 24 ARRAY_COMMON_TEST(Array, Serialization_ArrayOfPOD) 25 ARRAY_COMMON_TEST(Array, Serialization_EmptyArrayOfPOD) 26 ARRAY_COMMON_TEST(Array, Serialization_ArrayOfArrayOfPOD [all...] |
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| ShadowVMRuntime.java | 4 import java.lang.reflect.Array; 13 return Array.newInstance(klass, size);
|
| /external/tensorflow/tensorflow/contrib/lite/toco/tflite/ |
| types.h | 33 // Build the flatbuffer representation of a toco's Array and return the 34 // corresponding offset into the flatbuffer. Note that data from the array 36 static FlatBufferOffset Serialize(const Array& array, 38 // Copy data from the given tensor into toco's Array. 40 const ::tflite::Buffer& buffer, Array* array);
|
| /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/test/ |
| test_vector3.pass.cpp | 55 typedef test1::A Array[10]; 56 Array a[10]; // calls _cxa_vec_dtor
|
| /external/deqp/modules/glshared/ |
| glsVertexArrayTests.hpp | 23 * \brief Vertex array and buffer tests 53 class Array 151 virtual ~Array (void) {} 169 class ContextArray : public Array 177 virtual void bindIndexArray (Array::Target storage); 182 virtual Array::Target getTarget (void) const { return m_target; } 183 virtual Array::InputType getInputType (void) const { return m_inputType; } 184 virtual Array::OutputType getOutputType (void) const { return m_outputType; } 185 virtual Array::Storage getStorageType (void) const { return m_storage; } 192 static deUint32 targetToGL (Array::Target target) [all...] |
| /external/clang/test/Sema/ |
| offsetof.c | 56 int test2[__builtin_offsetof(struct incomplete[10], [4].foo)]; // expected-error {{array has incomplete element type 'struct incomplete'}} 66 typedef struct Array { int array[1]; } Array; member in struct:Array 67 int test4 = __builtin_offsetof(Array, array); 70 return __builtin_offsetof(Array, array[*(int*)0]); // expected-warning{{indirection of non-volatile null pointer}} expected-note{{__builtin_trap}}
|
| /external/libcxx/test/std/containers/sequences/array/ |
| compare.fail.cpp | 10 // <array> 12 // bool operator==(array<T, N> const&, array<T, N> const&); 13 // bool operator!=(array<T, N> const&, array<T, N> const&); 14 // bool operator<(array<T, N> const&, array<T, N> const&); 15 // bool operator<=(array<T, N> const&, array<T, N> const&); 16 // bool operator>(array<T, N> const&, array<T, N> const&) [all...] |
| compare.pass.cpp | 10 // <array> 12 // bool operator==(array<T, N> const&, array<T, N> const&); 13 // bool operator!=(array<T, N> const&, array<T, N> const&); 14 // bool operator<(array<T, N> const&, array<T, N> const&); 15 // bool operator<=(array<T, N> const&, array<T, N> const&); 16 // bool operator>(array<T, N> const&, array<T, N> const&) [all...] |
| /external/tensorflow/tensorflow/compiler/xla/client/ |
| sharding_builder.h | 21 #include "tensorflow/compiler/xla/array.h" 30 // A shaped array used to describe the assignment of tiles to devices. 31 using TileAssignment = Array<int64>;
|
| /frameworks/support/compat/src/main/java/androidx/core/graphics/ |
| TypefaceCompatApi28Impl.java | 26 import java.lang.reflect.Array; 51 Object familyArray = Array.newInstance(mFontFamily, 1); 52 Array.set(familyArray, 0, family); 63 Object familyArray = Array.newInstance(fontFamily, 1);
|
| /frameworks/support/slices/core/src/main/java/androidx/slice/ |
| ArrayUtils.java | 23 import java.lang.reflect.Array; 31 public static <T> boolean contains(T[] array, T item) { 32 for (T t : array) { 40 public static <T> T[] appendElement(Class<T> kind, T[] array, T element) { 43 if (array != null) { 44 end = array.length; 45 result = (T[]) Array.newInstance(kind, end + 1); 46 System.arraycopy(array, 0, result, 0, end); 49 result = (T[]) Array.newInstance(kind, 1); 55 public static <T> T[] removeElement(Class<T> kind, T[] array, T element) [all...] |
| /prebuilts/jdk/jdk8/darwin-x86/sample/scripting/scriptpad/src/scripts/ |
| memory.js | 49 // allocate an integer array of "big enough" size! 50 var a = java.lang.reflect.Array.newInstance(
|