/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");
|
temp_arg_type.cpp | 47 struct Array { 52 A1<Array<int, 17>::type> ax;
|
/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/tensorflow/tensorflow/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);
|
/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...] |
/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>;
|
/external/tensorflow/tensorflow/compiler/xla/ |
array2d.h | 29 #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 a floating-point type (half, bfloat16, float, 64 : Array<T>(values) { 103 auto array = absl::make_unique<Array2D<NativeT>>(n1, n2); local [all...] |
/art/runtime/native/ |
java_lang_reflect_Array.cc | 48 ObjPtr<mirror::Array> new_array = 49 mirror::Array::CreateMultiArray(soa.Self(), element_class, dimensions_array); 69 ObjPtr<mirror::Array> new_array = mirror::ObjectArray<mirror::Object>::Alloc( 78 FAST_NATIVE_METHOD(Array, createMultiArray, "(Ljava/lang/Class;[I)Ljava/lang/Object;"), 79 FAST_NATIVE_METHOD(Array, createObjectArray, "(Ljava/lang/Class;I)Ljava/lang/Object;"), 83 REGISTER_NATIVE_METHODS("java/lang/reflect/Array");
|
/external/llvm/lib/Target/AMDGPU/ |
SIInsertWaits.cpp | 42 unsigned Array[3]; 296 LastIssued.Array[i] += Increment.Array[i]; 297 if (Increment.Array[i]) 298 Limit.Array[i] = LastIssued.Array[i]; 299 Sum += Increment.Array[i]; 386 if (Required.Array[i] <= WaitedOn.Array[i]) 392 unsigned Value = LastIssued.Array[i] - Required.Array[i] [all...] |
/art/runtime/mirror/ |
array.cc | 17 #include "array-inl.h" 19 #include "array-alloc-inl.h" 39 // Create a multi-dimensional array of Objects or primitive types. 45 // Recursively create an array with multiple dimensions. Elements may be 47 static ObjPtr<Array> RecursiveCreateMultiArray(Thread* self, 57 Handle<Array> new_array(hs.NewHandle(Array::Alloc<true>( 64 // Create a new sub-array in every element of the array. 66 ObjPtr<Array> sub_array [all...] |
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/ |
TokenRewriteStream.as | 98 programs[DEFAULT_PROGRAM_NAME] = new Array(); 106 var isn:Array = programs[programName] as Array; 132 var rewrites:Array = getProgram(programName); 146 var rewrites:Array = getProgram(programName); 187 protected function getProgram(name:String):Array { 188 var isn:Array = programs[name] as Array; 195 private function initializeProgram(name:String):Array { 196 var isn:Array = new Array() [all...] |
CommonTokenStream.as | 43 protected var tokens:Array = new Array(); 46 protected var channelOverrideMap:Array; 49 protected var discardSet:Array; 153 channelOverrideMap = new Array(); 160 discardSet = new Array(); 169 public function getTokens():Array { 176 public function getTokensRange(start:int, stop:int):Array { 186 public function getTokensBitSet(start:int, stop:int, types:BitSet):Array { 201 var filteredTokens:Array = new Array() [all...] |
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamReader.h | 57 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { 60 Array = ArrayRef<T>(); 69 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); 74 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size) { 78 Array = VarStreamArray<T, U>(S, Array.getExtractor()); 83 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { 85 Array = FixedStreamArray<T>(); 94 Array = FixedStreamArray<T>(View);
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
versioning_apptest.cc | 46 Array<uint8_t> returned_finger_print) { 64 Array<uint8_t> returned_finger_print) { 85 Array<uint8_t> returned_finger_print) {}); 95 Array<uint8_t> returned_finger_print) {}); 103 Array<uint8_t> new_finger_print(128); 116 database_->ListEmployeeIds([](Array<uint64_t> ids) { EXPECT_TRUE(false); });
|
/external/replicaisland/tools/ |
ExtractPoints.js | 50 var tiles = new Array(); 54 // an array by tile. 67 tile.edges = new Array(); 220 var lineArray = new Array(); 227 lineArray[y] = Array(offsetX + edge.startX, offsetY + edge.startY); 244 var tileCenterArray = new Array(); 245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1, 247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 1, 249 tileCenterArray[2] = new Array(offsetX + tile.centerX + 1, 251 tileCenterArray[3] = new Array(offsetX + tile.centerX + 1, [all...] |
/external/mesa3d/src/mesa/main/ |
arrayobj.c | 31 * Implementation of Vertex Array Objects (VAOs), from OpenGL 3.1+ / 58 * Look up the array object for the given ID. 61 * Either a pointer to the array object with the specified ID or \c NULL for 74 if (ctx->Array.LastLookedUpVAO && 75 ctx->Array.LastLookedUpVAO->Name == id) { 76 vao = ctx->Array.LastLookedUpVAO; 79 _mesa_HashLookupLocked(ctx->Array.Objects, id); 81 _mesa_reference_vao(ctx, &ctx->Array.LastLookedUpVAO, vao); 90 * Looks up the array object for the given ID. 93 * error if the array object does not exist. It also returns the defaul 236 struct gl_array_attributes *array = &vao->VertexAttrib[index]; local [all...] |
/art/test/ti-agent/ |
scoped_primitive_array.h | 49 Scoped ## NAME ## ArrayRO(JNIEnv* env, PRIMITIVE_TYPE ## Array javaArray) \ 65 void reset(PRIMITIVE_TYPE ## Array javaArray) { \ 76 PRIMITIVE_TYPE ## Array getJavaArray() const { return mJavaArray; } \ 82 PRIMITIVE_TYPE ## Array mJavaArray; \ 109 Scoped ## NAME ## ArrayRW(JNIEnv* env, PRIMITIVE_TYPE ## Array javaArray) \ 122 void reset(PRIMITIVE_TYPE ## Array javaArray) { \ 127 PRIMITIVE_TYPE ## Array getJavaArray() const { return mJavaArray; } \ 134 PRIMITIVE_TYPE ## Array mJavaArray; \
|
/external/brotli/csharp/org/brotli/dec/ |
Utils.cs | 15 /// <summary>Fills byte array with zeroes.</summary>
17 /// Fills byte array with zeroes.
19 /// <see cref="System.Array.Copy(object, int, object, int, int)"/>
23 /// <param name="dest">array to fill with zeroes</param>
32 System.Array.Copy(ByteZeroes, 0, dest, offset + cursor, step);
37 /// <summary>Fills int array with zeroes.</summary>
39 /// Fills int array with zeroes.
41 /// <see cref="System.Array.Copy(object, int, object, int, int)"/>
45 /// <param name="dest">array to fill with zeroes</param>
54 System.Array.Copy(IntZeroes, 0, dest, offset + cursor, step); [all...] |
/external/conscrypt/common/src/jni/unbundled/include/nativehelper/ |
scoped_primitive_array.h | 31 Scoped##NAME##ArrayRO(JNIEnv* env, PRIMITIVE_TYPE##Array javaArray) \ 44 void reset(PRIMITIVE_TYPE##Array javaArray) { \ 51 PRIMITIVE_TYPE##Array getJavaArray() const { \ 63 PRIMITIVE_TYPE##Array mJavaArray; \ 89 Scoped##NAME##ArrayRW(JNIEnv* env, PRIMITIVE_TYPE##Array javaArray) \ 102 void reset(PRIMITIVE_TYPE##Array javaArray) { \ 109 PRIMITIVE_TYPE##Array getJavaArray() const { \ 127 PRIMITIVE_TYPE##Array mJavaArray; \
|