/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsMoreEmptyValues.java | 9 import java.lang.reflect.Array; 31 * Returns empty array for array-returning methods 70 return Array.newInstance(componentType, 0);
|
/external/pdfium/fxjs/ |
cjs_v8.h | 36 v8::Local<v8::Array> NewArray(); 51 v8::Local<v8::Array> ToArray(v8::Local<v8::Value> pValue); 60 unsigned GetArrayLength(v8::Local<v8::Array> pArray); 61 v8::Local<v8::Value> GetArrayElement(v8::Local<v8::Array> pArray, 63 unsigned PutArrayElement(v8::Local<v8::Array> pArray, 67 void SetConstArray(const WideString& name, v8::Local<v8::Array> array); 68 v8::Local<v8::Array> GetConstArray(const WideString& name); 89 std::map<WideString, v8::Global<v8::Array>> m_ConstArrays;
|
/external/skia/experimental/docs/ |
utilities.js | 19 return a.constructor === Array;
|
/external/skqp/experimental/docs/ |
utilities.js | 19 return a.constructor === Array;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
BinaryStreamReader.h | 166 /// Get a reference to a \p NumElements element array of objects of type T 167 /// from the underlying stream as if by memcpy, and store the resulting array 168 /// slice into \p array. It is up to the caller to ensure that objects of 176 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) { 179 Array = ArrayRef<T>(); 193 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements); 198 /// \p Array. Updates the stream's offset to point after the newly read 199 /// array. Never causes a copy (although iterating the elements of the 206 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size) { 210 Array.setUnderlyingStream(S) [all...] |
/external/v8/src/inspector/ |
v8-schema-agent-impl.cc | 20 std::unique_ptr<protocol::Array<protocol::Schema::Domain>>* result) { 23 *result = protocol::Array<protocol::Schema::Domain>::create();
|
v8-internal-value-type.h | 16 bool markArrayEntriesAsInternal(v8::Local<v8::Context>, v8::Local<v8::Array>,
|
v8-schema-agent-impl.h | 25 std::unique_ptr<protocol::Array<protocol::Schema::Domain>>*) override;
|
/art/runtime/entrypoints/quick/ |
quick_fillarray_entrypoints.cc | 20 #include "mirror/array.h" 25 * Handle fill array data by copying appropriate part of dex file into array. 27 extern "C" int artHandleFillArrayDataFromCode(uint32_t payload_offset, mirror::Array* array, 34 bool success = FillArrayData(array, payload);
|
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
RewriteRuleElementStream.as | 53 protected var elements:Array; 76 if (element is Array) { 78 this.elements = element as Array; 111 elements = new Array();
|
/external/clang/test/CodeGenCXX/ |
alignment.cpp | 172 struct Array { 177 __attribute__((aligned(16))) Array aArray; 182 Array bArray; 198 typedef __attribute__((aligned(64))) Array AlignedArray; 202 // CHECK: [[RESULT:%.*]] = alloca [[ARRAY:%.*]], align 64 205 // CHECK: [[T0:%.*]] = bitcast [[ARRAY]]* [[RESULT]] to i8* 206 // CHECK: [[T1:%.*]] = bitcast [[ARRAY]]* [[ARRAY_P]] to i8* 213 // CHECK: [[RESULT:%.*]] = alloca [[ARRAY]], align 64 224 // CHECK: [[T0:%.*]] = bitcast [[ARRAY]]* [[RESULT]] to i8* 225 // CHECK: [[T1:%.*]] = bitcast [[ARRAY]]* [[ARRAY_P]] to i8 [all...] |
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
ArrayEquals.java | 8 import java.lang.reflect.Array; 51 private String appendArray(Object[] array) { 54 for (int i = 0; i < array.length; i++) { 55 out.append(new Equals(array[i]).toString()); 56 if (i != array.length - 1) { 64 public static Object[] createObjectArray(Object array) { 65 if (array instanceof Object[]) { 66 return (Object[]) array; 68 Object[] result = new Object[Array.getLength(array)]; [all...] |
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
Extension.java | 34 import java.lang.reflect.Array; 134 * @param clazz the Java array type of this extension, with an unboxed component type 150 * Protocol Buffer {@link #type}; for a repeated extension, this is an array type whose 203 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize)); 205 Array.set(result, i, resultList.get(i)); 285 protected void writeRepeatedData(Object array, CodedOutputByteBufferNano output) { 287 int arrayLength = Array.getLength(array); 289 Object element = Array.get(array, i) [all...] |
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
p1.cpp | 98 template<class T> class Array { /* ... */ }; 99 template<class T> void sort(Array<T>& v) { /* ... */ } 100 template<> void sort<char*>(Array<char*>&) ;
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
resolve_constant_concatenation.cc | 31 // Copies data from multiple source arrays to a destination array based on a 32 // concatenation dimension. From each array in input_arrays, it copies chunk 33 // sizes provided in array_copy_size vector (per array). It uses the buffer 36 void CopyTensorSegments(const std::vector<Array*>& input_arrays, 39 Array* concatenated_array) { 40 for (Array* input_array : input_arrays) { 50 // It does not matter which array to use to find the value for the total 57 // Initialize the source pointers to point to beginning of the array buffers. 60 for (Array* input_array : input_arrays) { 75 // Receives a series of input arrays of type Array and an integer showing th [all...] |
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/ |
resolve_constant_unary_test.cc | 34 Array& input0 = model.GetOrCreateArray("input0"); 35 Array& input1 = model.GetOrCreateArray("input1"); 36 Array& output = model.GetOrCreateArray("output"); 60 // Reduce a 2d array across axis 0 83 // Reduce a 2d array across axis 1
|
/external/vixl/examples/aarch64/ |
sum-array.cc | 29 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0])) 33 // uint32_t sum_array(uint8_t* array, uint32_t size) 35 // array (pointer) -> x0 43 // There's nothing to do if the array is empty. 46 // Go through the array and sum the elements.
|
/external/webrtc/webrtc/system_wrappers/source/ |
aligned_array_unittest.cc | 29 ASSERT_TRUE(IsAligned(arr.Array(), 128)); 32 ASSERT_EQ(arr.Row(i), arr.Array()[i]); 49 ASSERT_EQ(arr.Array()[i][j], 20 * i + j);
|
/external/mesa3d/src/mesa/vbo/ |
vbo_context.h | 103 exec->array.recalculate_inputs = GL_TRUE; 132 * drawing to array drawing we need to invalidate the array state. 145 if (ctx->Array.DrawMethod != method) { 148 ctx->Array._DrawArrays = vbo->exec.array.inputs; 151 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; 154 ctx->Array._DrawArrays = vbo->save.inputs; 161 ctx->Array.DrawMethod = method; 205 * The return type is an array of fi_types, because that's how we declar [all...] |
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/ |
PlatformBootManager.c | 77 Return the index of the load option in the load option array.
83 @param Array Pointer to the array of load options to be found.
84 @param Count Number of entries in the Array.
86 @retval -1 Key wasn't found in the Array.
87 @retval 0 ~ Count-1 The index of the Key in the Array.
92 IN CONST EFI_BOOT_MANAGER_LOAD_OPTION *Array,
99 if ((Key->OptionType == Array[Index].OptionType) &&
100 (Key->Attributes == Array[Index].Attributes) &&
101 (StrCmp (Key->Description, Array[Index].Description) == 0) && [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
SmallPtrSet.cpp | 29 // Install the new array. Clear all the buckets to empty. 56 // If more than 3/4 of the array is full, grow. 59 // If fewer of 1/8 of the array is empty (meaning that many are filled with 107 const void *const *Array = CurArray; 111 if (Array[Bucket] == Ptr) 112 return Array+Bucket; 117 if (Array[Bucket] == getEmptyMarker()) 118 return Tombstone ? Tombstone : Array+Bucket; 122 if (Array[Bucket] == getTombstoneMarker() && !Tombstone) 123 Tombstone = Array+Bucket; // Remember the first tombstone found [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
array.h | 20 #include <array> 84 // General N dimensional array class with arbitrary value type. 86 class Array { 99 // Creates a new array with the specified dimensions. 100 explicit Array(absl::Span<const int64> sizes) : Array(sizes, T()) {} 102 // Creates a new array with the specified dimensions and specified value for 104 Array(absl::Span<const int64> sizes, T value) 109 // Creates a 2D array from the given nested initializer list. The outer 111 // For example, {{1, 2, 3}, {4, 5, 6}} results in an array with n1=2 and n2=3 [all...] |
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/ |
TestUtil.java | 18 import java.lang.reflect.Array; 100 * Counts the total number of elements in an ND array. 102 * @param array the array to count the elements of 105 public static int flattenedNumElements(Object array) { 107 for (int i = 0; i < Array.getLength(array); i++) { 108 Object e = Array.get(array, i); 119 * Flattens an ND-array into a 1D-array with the same elements [all...] |
/art/runtime/mirror/ |
array-alloc-inl.h | 20 #include "array-inl.h" 39 size_t header_size = Array::DataOffset(component_size).SizeValue(); 53 // The array length limit (exclusive). 62 // Used for setting the array length in the allocation code path to ensure it is guarded by a 72 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); local 73 // DCHECK(array->IsArrayInstance()); 74 array->SetLength(length_); 83 // Similar to SetLengthVisitor, used for setting the array length to fill the usable size of a 96 ObjPtr<Array> array = ObjPtr<Array>::DownCast(obj); local [all...] |
/external/mesa3d/src/mesa/main/ |
getstring.c | 218 * Return pointer-valued state, such as a vertex array pointer. 232 const GLuint clientUnit = ctx->Array.ActiveTexture; 250 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_POS].Ptr; 255 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; 260 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; 265 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; 270 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_FOG].Ptr; 275 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr; 280 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr; 285 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr [all...] |