/external/v8/test/mjsunit/es6/ |
typedarray-find.js | 30 // Test predicate is not called when array is empty 83 // Test predicate is called array.length times 99 // Test array modifications 125 Array.prototype.push.apply(thisArg, [3, 2, 1]); 177 // Shadowing length doesn't affect find, unlike Array.prototype.find 183 assertEquals(Array.prototype.find.call(a,
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
SortedList.java | 19 import java.lang.reflect.Array; 94 mData = (T[]) Array.newInstance(klass, initialCapacity); 117 * reference to the old item and puts the new item into the backing array even if 143 * If allowed, may modify the input array and even take the ownership over it in order 146 * @param items Array of items to be added into the list. 158 T[] copy = (T[]) Array.newInstance(mTClass, items.length); 170 * @param items Array of items to be added into the list. 184 T[] copy = (T[]) Array.newInstance(mTClass, items.size()); 219 * Move the remaining items to the beginning of the array. 221 * @return Number of deduplicated items at the beginning of the array [all...] |
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 250 llvm::yaml::SequenceNode *Array = dyn_cast<llvm::yaml::SequenceNode>(Root); 251 if (!Array) { 252 ErrorMessage = "Expected array."; 255 for (auto& NextObject : *Array) {
|
/external/eigen/test/ |
vectorwiseop.cpp | 18 typedef Array<Scalar, ArrayType::RowsAtCompileTime, 1> ColVectorType; 19 typedef Array<Scalar, 1, ArrayType::ColsAtCompileTime> RowVectorType; 200 CALL_SUBTEST_2(vectorwiseop_array(Array<double, 3, 2>()));
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
ICUResourceBundleReader.java | 251 // Bundles with formatVersion 1.1 and later contain an indexes[] array. 254 // read the variable-length indexes[] array 304 // Read the array of 16-bit units. 367 return type == UResourceBundle.ARRAY || type == ICUResourceBundle.ARRAY16; 378 private static final Array EMPTY_ARRAY = new Array(); 655 // Not cached: The array would have to be cloned anyway because 717 // Not cached: The array would have to be cloned anyway because 734 if(type == UResourceBundle.ARRAY) { 744 Array getArray(int res) 757 Array array = (type == UResourceBundle.ARRAY) ? local 947 Array array = reader.getArray(res); local 1048 Array array = reader.getArray(res); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
ICUResourceBundleReader.java | 249 // Bundles with formatVersion 1.1 and later contain an indexes[] array. 252 // read the variable-length indexes[] array 302 // Read the array of 16-bit units. 365 return type == UResourceBundle.ARRAY || type == ICUResourceBundle.ARRAY16; 376 private static final Array EMPTY_ARRAY = new Array(); 653 // Not cached: The array would have to be cloned anyway because 715 // Not cached: The array would have to be cloned anyway because 732 if(type == UResourceBundle.ARRAY) { 742 Array getArray(int res) 755 Array array = (type == UResourceBundle.ARRAY) ? local 945 Array array = reader.getArray(res); local 1046 Array array = reader.getArray(res); local [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
codegen.ml | 62 if Array.length params == Array.length args then () else 64 let args = Array.map codegen_expr args in 192 let doubles = Array.make (Array.length args) double_type in 212 Array.iteri (fun i a ->
|
/external/v8/test/mjsunit/ |
messages.js | 41 }, "Cannot modify frozen array elements", TypeError); 48 }, "Cannot add/remove sealed array elements", TypeError); 74 Array.prototype.shift.call(null); 75 }, "Array.prototype.shift called on null or undefined", TypeError); 80 }, "Cannot freeze array buffer views with elements", TypeError); 147 }, "Method Set.prototype.add called on incompatible receiver [object Array]", 172 Array.from(obj); 222 }, "this is not a typed array.", TypeError); 279 }, "Reduce of empty array with no initial value", TypeError); 331 Array.prototype.toString.call(null) [all...] |
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator.cpp | 131 void visit(Array* array) override { 132 std::unique_ptr<Array> localized = util::make_unique<Array>(); 133 localized->items.resize(array->items.size()); 134 for (size_t i = 0; i < array->items.size(); i++) { 136 array->items[i]->accept(&subVisitor); 140 localized->items[i] = std::unique_ptr<Item>(array->items[i]->clone(mPool)); 143 localized->setSource(array->getSource());
|
/libcore/json/src/main/java/org/json/ |
JSONArray.java | 19 import java.lang.reflect.Array; 65 * Unsupported values are not permitted and will yield an array in an 79 * Creates a new {@code JSONArray} with values from the next array in the 103 * @param json a JSON-encoded string containing an array. 112 * Creates a new {@code JSONArray} with values from the given primitive array. 114 public JSONArray(Object array) throws JSONException { 115 if (!array.getClass().isArray()) { 116 throw new JSONException("Not a primitive array: " + array.getClass()); 118 final int length = Array.getLength(array) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
snmp.h | 223 #define DEFINE_SIZEOF(Array) (sizeof(Array)/sizeof((Array)[0]))
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
FieldLUDecompositionImpl.java | 20 import java.lang.reflect.Array; 87 // Initialize permutation array and parity 275 final T[] bp = (T[]) Array.newInstance(field.getZero().getClass(), m); 321 final T[] bp = (T[]) Array.newInstance(field.getZero().getClass(), m); 380 final T[][] bp = (T[][]) Array.newInstance(field.getZero().getClass(), new int[] { m, nColB });
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
object_manager.py | 33 InterfacesRemoved (OBJPATH object_path, ARRAY<STRING> interfaces); 82 dbus.Array([dbus.String(interface_name)]))
|
/external/clang/test/SemaCXX/ |
c99-variable-length-array.cpp | 19 NonPOD array3[N]; // expected-error{{variable length array of non-POD element type 'NonPOD'}} 20 NonPOD2 array4[N][3]; // expected-error{{variable length array of non-POD element type 'NonPOD2'}} 50 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} local 51 X0<__typeof__(array)> x0a; // expected-error{{variably modified type 'typeof (array)' (aka 'int [N]') cannot be used as a template argument}} 56 template<int (&Array)[T::value]> // expected-error{{non-type template parameter of variably modified type 'int (&)[HasNonConstantValue::value]'}} \ 69 void accept_array(T (&array)[N]); // expected-note{{candidate template ignored: could not match 'T [N]' against 'int [N]'}} 72 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} local 73 accept_array(array); // expected-error{{no matching function for call to 'accept_array'}} 80 int array[N]; // expected-error{{fields must have a constant size: 'variable length array in structure' exte (…) member in struct:X 100 int array[value * i]; \/\/ expected-warning 2{{variable length arrays are a C99 feature}} local [all...] |
warn-bool-conversion.cpp | 70 namespace Array { 85 // expected-warning@-1{{address of array 'b' will always evaluate to 'true'}} 87 // expected-warning@-1{{address of array 'b' will always evaluate to 'true'}} 89 // expected-warning@-1{{address of array 'c.x' will always evaluate to 'true'}} 91 // expected-warning@-1{{address of array 'str' will always evaluate to 'true'}} 126 int array[5]; member in namespace:macros 131 assert(array); 132 assert(array && "expecting null pointer"); 133 // expected-warning@-1{{address of array 'array' will always evaluate to 'true'} [all...] |
/external/clang/tools/scan-build/share/scan-build/ |
sorttable.js | 140 // build an array to sort. This is a Schwartzian transform thing, 447 // array-like enumeration 448 if (!Array.forEach) { // mozilla already supports this 449 Array.forEach = function(array, block, context) { 450 for (var i = 0; i < array.length; i++) { 451 block.call(context, array[i], i, array); 467 Array.forEach(string.split(""), function(chr, index) { 487 // the object is array-lik [all...] |
/external/eigen/lapack/ |
slarfg.f | 27 * .. Array Arguments .. 76 *> X is REAL array, dimension 118 * .. Array Arguments ..
|
/external/libvncserver/webclients/novnc/include/ |
base64.js | 11 /* Convert data (an array of integers) to a Base64 string. */ 77 result = new Array(result_length);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
parser.ml | 40 Ast.Call (id, Array.of_list (List.rev args)) 104 Ast.Prototype (id, Array.of_list (List.rev args))
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
parser.ml | 40 Ast.Call (id, Array.of_list (List.rev args)) 104 Ast.Prototype (id, Array.of_list (List.rev args))
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
parser.ml | 40 Ast.Call (id, Array.of_list (List.rev args)) 104 Ast.Prototype (id, Array.of_list (List.rev args))
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
codegen.ml | 92 if Array.length params == Array.length args then () else 94 let args = Array.map codegen_expr args in 247 Array.iter (fun (var_name, init) -> 290 let doubles = Array.make (Array.length args) double_type in 310 Array.iteri (fun i a -> 323 Array.iteri (fun i ai ->
|
/external/llvm/include/llvm/Bitcode/ |
BitstreamWriter.h | 295 /// emission code. If BlobData is non-null, then it specifies an array of 296 /// data that should be emitted as part of the Blob or Array operand that is 319 assert(Op.getEncoding() != BitCodeAbbrevOp::Array && 333 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) { 334 // Array case. 335 assert(i + 2 == e && "array op not second to last?"); 342 "Blob data and record entries specified for array!"); 452 /// that end with an array. 455 StringRef Array) { 456 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Array, None) [all...] |
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
Direct3DInterop.h | 49 void CreateTexture(const Platform::Array<int>^ buffer, int with, int height, OCVFilterType filter);
|
/external/v8/include/ |
v8-debug.h | 273 * Returns array of internal properties specific to the value type. Result has 274 * the following format: [<name>, <value>,...,<name>, <value>]. Result array 277 static MaybeLocal<Array> GetInternalProperties(Isolate* isolate,
|