/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...] |
/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 | 496 info.GetReturnValue().Set(v8::Array::New(isolate)); 501 v8::Local<v8::Array> names; 510 info.GetReturnValue().Set(v8::Array::New(isolate)); 515 v8::Local<v8::Array> names; 518 v8::Local<v8::Array> values = v8::Array::New(isolate, names->Length()); 586 "Array.prototype.join.call(arguments, \", \") : \"\")) && false"); [all...] |
v8-stack-trace-impl.cc | 231 std::unique_ptr<protocol::Array<protocol::Runtime::CallFrame>> frames = 232 protocol::Array<protocol::Runtime::CallFrame>::create();
|
injected-script.cc | 51 using protocol::Array; 125 std::unique_ptr<Array<PropertyDescriptor>>* properties, 144 *properties = Array<PropertyDescriptor>::create(); 152 std::unique_ptr<Array<PropertyDescriptor>> result = 153 Array<PropertyDescriptor>::parse(protocolValue.get(), &errors); 212 Response InjectedScript::wrapPropertyInArray(v8::Local<v8::Array> array, 219 function.appendArgument(array);
|
/external/v8/tools/ |
SourceMap.js | 130 * @return {Array.<string>} 174 * @param {Array.<SourceMapV3.Section>} sections 187 * @return {?Array} 213 * @return {Array}
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
SpannableBuilder.java | 31 import java.lang.reflect.Array; 152 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); 60 * <p>The number of dimensions of the new array must not 64 * component type of the new array [all...] |
/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 | 97 ObjPtr<mirror::Array> result = mirror::Array::Alloc<true>(soa.Self(), 124 ObjPtr<mirror::Array> result = mirror::Array::Alloc<true, true>( 138 ObjPtr<mirror::Array> array = soa.Decode<mirror::Array>(javaArray); local 139 if (!array->IsArrayInstance()) { 140 ThrowIllegalArgumentException("not an array"); 143 if (Runtime::Current()->GetHeap()->IsMovableObject(array)) { [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CustomVirtualView.kt | 198 private fun addLine(idEntry: String, label: String, hints: Array<String>, text: String, sanitized: Boolean): Line { 206 private class Item internal constructor(val line: Line, val id: Int, val hints: Array<String>?, val type: Int, var text: CharSequence, val editable: Boolean, val sanitized: Boolean) { 220 private inner class Line constructor(val idEntry: String, label: String, hints: Array<String>, text: String, sanitized: Boolean) {
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CustomVirtualView.kt | 177 private fun addLine(idEntry: String, label: String, hints: Array<String>, text: String, sanitized: Boolean): Line { 185 private class Item internal constructor(val line: Line, val id: Int, val hints: Array<String>?, 201 private inner class Line constructor(val idEntry: String, label: String, hints: Array<String>,
|
/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; 328 // Initialize from data array. 413 Array<T, Rows*Cols> Matrix<T, Rows, Cols>::getColumnMajorData (void) const 415 Array<T, Rows*Cols> a; 424 Array<T, Rows*Cols> Matrix<T, Rows, Cols>::getRowMajorData (void) const 426 Array<T, Rows*Cols> a;
|
/external/libmojo/mojo/public/js/ |
core.js | 140 * @param {Array.MojoHandle} handles Handles to wait on. 141 * @param {Array.MojoHandleSignals} signals Specifies the condition to wait for, 168 * @param {Array.MojoHandle} handlesArray Any handles to attach. Handles are 184 * handles // An array of MojoHandles transferred, if any.
|
/external/pdfium/third_party/lcms2-2.6/src/ |
cmsplugin.c | 137 cmsBool CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array) 145 if (Array != NULL) { 146 if (!_cmsReadUInt16Number(io, Array + i)) return FALSE; 280 cmsBool CMSEXPORT _cmsWriteUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, const cmsUInt16Number* Array) 285 _cmsAssert(Array != NULL); 288 if (!_cmsWriteUInt16Number(io, Array[i])) return FALSE;
|
/external/testng/src/main/java/org/testng/ |
Assert.java | 10 import java.lang.reflect.Array; 143 fail("expected a null array, but not null found. " + message); 146 fail("expected not null array, but null found. " + message); 148 //is called only when expected is an array 150 int expectedLength = Array.getLength(expected); 151 if (expectedLength == Array.getLength(actual)) { 153 Object _actual = Array.get(actual, i); 154 Object _expected = Array.get(expected, i); 162 //array values matched 165 failNotEquals(Array.getLength(actual), expectedLength, message == null ? "" : messag [all...] |
/prebuilts/misc/common/swig/include/2.0.11/csharp/ |
std_vector.i | 84 public void CopyTo(System.Array array) 86 public void CopyTo($typemap(cstype, CTYPE)[] array) 89 CopyTo(0, array, 0, this.Count); 93 public void CopyTo(System.Array array, int arrayIndex) 95 public void CopyTo($typemap(cstype, CTYPE)[] array, int arrayIndex) 98 CopyTo(0, array, arrayIndex, this.Count); 102 public void CopyTo(int index, System.Array array, int arrayIndex, int count [all...] |
/system/libhidl/base/include/hidl/ |
HidlSupport.h | 21 #include <array> 155 // Reference an external char array. Ownership is _not_ transferred. 326 // Reference an existing array, optionally taking ownership. It is the 450 // Define std interator interface for walking the array contents 501 // copy from an array-like object, assuming my resources are freed. 502 template <typename Array> 503 void copyFrom(const Array &data, size_t size) { 536 using type = std::array<typename std_array<T, SIZES...>::type, SIZE1>; 541 using type = std::array<T, SIZE1>; 608 std_array_type array; local 633 std_array_type array; local 762 std_array_type array; local [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ValueTracking.cpp | 571 // Handle array index arithmetic. [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 769 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); 778 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); 786 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); 794 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); [all...] |