| /prebuilts/go/darwin-x86/src/go/types/ |
| type.go | 93 // An Array represents an array type. 94 type Array struct { 99 // NewArray returns a new array type for the given element type and length. 100 func NewArray(elem Type, len int64) *Array { return &Array{len, elem} } 102 // Len returns the length of array a. 103 func (a *Array) Len() int64 { return a.len } 105 // Elem returns element type of array a. 106 func (a *Array) Elem() Type { return a.elem [all...] |
| /prebuilts/go/linux-x86/src/go/types/ |
| type.go | 93 // An Array represents an array type. 94 type Array struct { 99 // NewArray returns a new array type for the given element type and length. 100 func NewArray(elem Type, len int64) *Array { return &Array{len, elem} } 102 // Len returns the length of array a. 103 func (a *Array) Len() int64 { return a.len } 105 // Elem returns element type of array a. 106 func (a *Array) Elem() Type { return a.elem [all...] |
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
| __init__.py | 48 import array 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence)
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
| __init__.py | 48 import array 128 def Array(typecode, sequence, lock=True): 129 return array.array(typecode, sequence)
|
| /frameworks/base/rs/java/android/renderscript/ |
| Allocation.java | 94 throw new RSIllegalArgumentException("Object passed is not an array of primitives."); 98 throw new RSIllegalArgumentException("Object passed is not an Array of primitives."); 300 * Specifies the mapping between the Allocation's cells and an array's elements 301 * when data is copied from the Allocation to the array, or vice-versa. 305 * copying data from the Allocation to an array or vice-versa less efficient. 310 * i.e. the first 3 vector components of each cell, will be mapped between the array 314 * <p> For example, when copying an integer array to an Allocation of two {@link 317 * The array must have at least 8 integers, with the first 4 integers copied 322 * The array just needs to have at least 6 integers, with the first 3 integers 326 * <p> Similarly, when copying a byte array to an Allocation of two {@lin 1148 mRS.nAllocationData1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt, local 1491 array, sizeBytes, dt, local 1768 array, sizeBytes, dt, local 1876 mRS.nAllocationRead(getID(mRS), array, dt, mType.mElement.mType.mSize, usePadding); local 2102 mRS.nAllocationRead1D(getIDSafe(), off, mSelectedLOD, count, array, dataSize, dt, local 2410 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); local 2607 array, sizeBytes, dt, mType.mElement.mType.mSize, usePadding); local [all...] |
| /art/compiler/optimizing/ |
| instruction_simplifier_shared.cc | 19 #include "mirror/array-inl.h" 233 HInstruction* array, 244 // The access may require a runtime call or the original array pointer. 251 // the original array pointer. 261 HIntermediateAddress* address = new (allocator) HIntermediateAddress(array, offset, kNoDexPc); 263 // address->SetReferenceTypeInfo(array->GetReferenceTypeInfo()); 294 uint32_t data_offset = mirror::Array::DataOffset( 305 uint32_t another_data_offset = mirror::Array::DataOffset(
|
| /art/test/201-built-in-except-detail-messages/src/ |
| Main.java | 17 import java.lang.reflect.Array; 105 Object[] array = new String[10]; local 107 array[0] = o; 110 assertEquals("java.lang.Exception cannot be stored in an array of type java.lang.String[]", 115 Object[] array = new C[10][]; local 117 array[0] = o; 120 assertEquals("java.lang.Integer cannot be stored in an array of type Main$C[][]", 125 Object[] array = new Float[10][]; local 127 array[0] = o; 130 assertEquals("Main$C[] cannot be stored in an array of type java.lang.Float[][]" [all...] |
| /developers/build/prebuilts/gradle/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
| NavigationDrawerActivity.kt | 65 private lateinit var planetTitles: Array<String> 73 planetTitles = resources.getStringArray(R.array.planets_array)
|
| /developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/src/main/java/com/example/android/navigationdrawer/ |
| NavigationDrawerActivity.kt | 65 private lateinit var planetTitles: Array<String> 73 planetTitles = resources.getStringArray(R.array.planets_array)
|
| /device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
| DecParserMisc.py | 191 # check Array is valid
193 # @param Array: The input Array
195 def IsValidCArray(Array):
196 Par = ParserHelper(Array)
214 # End of C array
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
| OpenIntToFieldHashMap.java | 22 import java.lang.reflect.Array; 611 /** Build an array of elements. 612 * @param length size of the array to build 613 * @return a new array 617 return (T[]) Array.newInstance(field.getZero().getClass(), length);
|
| /external/eigen/Eigen/src/SparseCore/ |
| SparseAssign.h | 182 typedef Array<StorageIndex,Dynamic,1> ArrayXI; 183 typedef Array<Scalar,Dynamic,1> ArrayXS;
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
| Util.java | 24 import java.lang.reflect.Array; 233 * Returns an array containing containing only elements found in {@code first} and also in 239 return result.toArray((T[]) Array.newInstance(arrayType, result.size())); 294 public static boolean contains(String[] array, String value) { 295 return Arrays.asList(array).contains(value); 298 public static String[] concat(String[] array, String value) { 299 String[] result = new String[array.length + 1]; 300 System.arraycopy(array, 0, result, 0, array.length);
|
| /external/v8/src/ |
| d8.js | 47 if (x.constructor && x.constructor.name === "Array") {
|
| /external/v8/src/inspector/ |
| v8-console.cc | 504 info.GetReturnValue().Set(v8::Array::New(isolate)); 509 v8::Local<v8::Array> names; 518 info.GetReturnValue().Set(v8::Array::New(isolate)); 523 v8::Local<v8::Array> names; 526 v8::Local<v8::Array> values = v8::Array::New(isolate, names->Length()); 594 "Array.prototype.join.call(arguments, \", \") : \"\")) && false"); [all...] |
| /external/v8/tools/ |
| SourceMap.js | 130 * @return {Array.<string>} 174 * @param {Array.<SourceMapV3.Section>} sections 187 * @return {?Array} 213 * @return {Array}
|
| /frameworks/base/tools/aapt2/ |
| ResourceValues.cpp | 420 constexpr std::array<int, 4> kRadixShifts = {{23, 16, 8, 0}}; 980 bool Array::Equals(const Value* value) const { 981 const Array* other = ValueCast<Array>(value); 996 Array* Array::Clone(StringPool* new_pool) const { 997 Array* array = new Array(); 998 array->comment_ = comment_ [all...] |
| /frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/ |
| SpannableBuilder.java | 32 import java.lang.reflect.Array; 153 final T[] result = (T[]) Array.newInstance(kind, spans.length);
|
| /libcore/ojluni/src/main/java/java/lang/reflect/ |
| Array.java | 32 * The {@code Array} class provides static methods to dynamically create and 35 * <p>{@code Array} permits widening conversions to occur during a get or set 42 class Array { 45 * Constructor. Class Array is not instantiable. 47 private Array() {} 50 * Creates a new array with the specified component type and 52 * Invoking this method is equivalent to creating an array 57 * Array.newInstance(componentType, x); 61 * <p>The number of dimensions of the new array must not 65 * component type of the new array [all...] |
| /packages/services/Car/car-lib/src/android/car/hardware/ |
| CarPropertyConfig.java | 26 import java.lang.reflect.Array; 260 return (AreaConfig<E>[]) Array.newInstance(clazz, size);
|
| /system/media/camera/docs/ |
| camera_metadata_tag_info.mako | 24 * Array assignments are done using specified-index syntax to keep things in
|
| /art/runtime/native/ |
| dalvik_system_VMRuntime.cc | 119 ObjPtr<mirror::Array> result = mirror::Array::Alloc<true>(soa.Self(), 146 ObjPtr<mirror::Array> result = mirror::Array::Alloc<true, true>( 160 ObjPtr<mirror::Array> array = soa.Decode<mirror::Array>(javaArray); local 161 if (!array->IsArrayInstance()) { 162 ThrowIllegalArgumentException("not an array"); 165 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { [all...] |
| /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
| Impl_RowSet.java | 24 import java.sql.Array; 105 public void setArray(int parameterIndex, Array theArray) 281 public Array getArray(int columnIndex) throws SQLException { 285 public Array getArray(String colName) throws SQLException { 609 public void updateArray(int columnIndex, Array x) throws SQLException { 612 public void updateArray(String columnName, Array x) throws SQLException {
|
| /external/deqp/framework/common/ |
| tcuMatrix.hpp | 71 Array<T, Rows*Cols> getRowMajorData (void) const; 72 Array<T, Rows*Cols> getColumnMajorData (void) const; 334 // Initialize from data array. 419 Array<T, Rows*Cols> Matrix<T, Rows, Cols>::getColumnMajorData (void) const 421 Array<T, Rows*Cols> a; 430 Array<T, Rows*Cols> Matrix<T, Rows, Cols>::getRowMajorData (void) const 432 Array<T, Rows*Cols> a;
|
| /external/mesa3d/src/gallium/auxiliary/tgsi/ |
| tgsi_scan.c | 436 if (fulldecl->Declaration.Array) { 437 unsigned array_id = fulldecl->Array.ArrayID; 758 * highest array id, i.e. tgsi_shader_info::array_max[file]. 759 * @param arrays info for array of each ID will be written to arrays[ID - 1]. 784 if (decl->Declaration.Array && decl->Declaration.File == file && 785 decl->Array.ArrayID > 0 && decl->Array.ArrayID <= max_array_id) { 786 struct tgsi_array_info *array = &arrays[decl->Array.ArrayID - 1]; local 787 assert(!array->declared) 814 struct tgsi_array_info *array = &arrays[j]; local [all...] |