| /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
| JsonTest.java | 7 import com.badlogic.gdx.utils.Array; 46 test.stringArray = new Array(); 49 test.objectArray = new Array(); 61 test.stringArray = new Array(); 90 equals(json.toJson(Array.with(1, 2, 3), null, int.class), "[1,2,3]"); 91 equals(json.toJson(Array.with("1", "2", "3"), null, String.class), "[1,2,3]"); 92 equals(json.toJson(Array.with(" 1", "2 ", " 3 "), null, String.class), "[\" 1\",\"2 \",\" 3 \"]"); 93 equals(json.toJson(Array.with("1", "", "3"), null, String.class), "[1,\"\",3]"); 175 public Array<String> stringArray; 176 public Array objectArray [all...] |
| SortedSpriteTest.java | 29 import com.badlogic.gdx.utils.Array;
82 /** array of sprites **/
83 Array<MySprite> sprites = new Array<MySprite>();
111 // add the sprite to the array
|
| /external/v8/test/webkit/fast/js/kde/ |
| prototype_length.js | 27 shouldBe("Array.prototype.length","0"); 36 Array.prototype.length = 6; 37 shouldBe("Array.prototype.length","6"); 45 shouldBe("delete Array.prototype.length","false"); 51 for (i in Array.prototype) { if (i == "length") foundArrayPrototypeLength = true; }
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
| ItsSerializer.java | 46 import java.lang.reflect.Array; 140 for (int fi = 0; fi < Array.getLength(fmts); fi++) { 143 for (int si = 0; si < Array.getLength(sizes); si++) { 156 for (int si = 0; si < Array.getLength(sizes); si++) { 376 int arrayLen = Array.getLength(keyValue); 384 jsonArray.put(serializeRational((Rational)Array.get(keyValue,i))); 390 jsonArray.put(serializeSize((Size)Array.get(keyValue,i))); 396 jsonArray.put(serializeRect((Rect)Array.get(keyValue,i))); 402 jsonArray.put(serializeFace((Face)Array.get(keyValue, i))); 409 (StreamConfigurationMap)Array.get(keyValue,i))) [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
| ModelInstance.java | 28 import com.badlogic.gdx.utils.Array;
47 public final Array<Material> materials = new Array();
49 public final Array<Node> nodes = new Array();
51 public final Array<Animation> animations = new Array();
162 public ModelInstance (final Model model, final Array<String> rootNodeIds) {
167 public ModelInstance (final Model model, final Matrix4 transform, final Array<String> rootNodeIds) {
172 public ModelInstance (final Model model, final Matrix4 transform, final Array<String> rootNodeIds, boolean shareKeyframes) { [all...] |
| /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/ |
| Preloader.java | 31 import com.badlogic.gdx.utils.Array; 72 public PreloaderState(Array<Asset> assets) { 103 public final Array<Asset> assets; 132 Array<Asset> assets = new Array<Asset>(lines.length); 249 Array<FileHandle> files = new Array<FileHandle>(); 261 Array<FileHandle> files = new Array<FileHandle>(); 273 Array<FileHandle> files = new Array<FileHandle>() [all...] |
| /external/v8/test/mjsunit/es6/ |
| array-concat.js | 6 assertEquals(1, Array.prototype.concat.length); 12 assertEquals(void 0, Array.prototype.concat.prototype); 18 var desc = Object.getOwnPropertyDescriptor(Array.prototype, 'concat'); 24 var array = [1, 2, 3]; 25 assertEquals(array, [].concat(array)); 26 assertEquals(array, array.concat([])); 27 array[Symbol.isConcatSpreadable] = false; 28 assertEquals([[1,2,3]], [].concat(array)); [all...] |
| /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
| TmxMapLoader.java | 34 import com.badlogic.gdx.utils.Array; 80 Array<FileHandle> textureFiles = loadTilesets(root, tmxFile); 127 public Array<AssetDescriptor> getDependencies (String fileName, FileHandle tmxFile, Parameters parameter) { 128 Array<AssetDescriptor> dependencies = new Array<AssetDescriptor>(); 204 Array<Element> tilesets = root.getChildrenByName("tileset"); 228 protected Array<FileHandle> loadTilesets (Element root, FileHandle tmxFile) throws IOException { 229 Array<FileHandle> images = new Array<FileHandle>(); 269 protected Array<FileHandle> loadImages (Element root, FileHandle tmxFile) throws IOException [all...] |
| /external/v8/test/webkit/ |
| prototypes.js | 30 shouldBe("([]).__proto__", "Array.prototype"); 36 shouldBe("Array.prototype.__proto__", "Object.prototype"); 41 shouldBe("Array.__proto__", "Object.__proto__"); 48 shouldBe("Object.getPrototypeOf([])", "Array.prototype"); 54 shouldBe("Object.getPrototypeOf(Array.prototype)", "Object.prototype"); 59 shouldBe("Object.getPrototypeOf(Array)", "Object.__proto__"); 66 shouldBeTrue("Array.prototype.isPrototypeOf([])"); 72 shouldBeTrue("Object.prototype.isPrototypeOf(Array.prototype)"); 76 shouldBeTrue("Object.__proto__.isPrototypeOf(Array)");
|
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/ |
| ParticleEffect.java | 24 import com.badlogic.gdx.utils.Array; 32 private Array<ParticleController> controllers; 36 controllers = new Array<ParticleController>(true, 3, ParticleController.class); 40 controllers = new Array<ParticleController>(true, effect.controllers.size); 46 this.controllers = new Array<ParticleController>(emitters); 126 public Array<ParticleController> getControllers () { 158 public void setBatch(Array<ParticleBatch<?>> batches){
|
| /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
| Selection.java | 6 import com.badlogic.gdx.utils.Array; 107 public void setAll (Array<T> items) { 133 public void addAll (Array<T> items) { 157 public void removeAll (Array<T> items) { 215 public Array<T> toArray () { 219 public Array<T> toArray (Array<T> array) { 220 return selected.iterator().toArray(array);
|
| /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
| CollisionTest.java | 27 import com.badlogic.gdx.utils.Array; 33 Array<BulletEntity> hits = new Array<BulletEntity>(); 34 Array<BulletEntity> contacts = new Array<BulletEntity>(); 35 Array<Color> colors = new Array<Color>();
|
| /external/llvm/lib/Support/ |
| SmallPtrSet.cpp | 31 // Install the new array. Clear all the buckets to empty. 55 // 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 108 const void *const *Array = CurArray; 114 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker())) 115 return Tombstone ? Tombstone : Array+Bucket; 118 if (LLVM_LIKELY(Array[Bucket] == Ptr)) 119 return Array+Bucket; 123 if (Array[Bucket] == getTombstoneMarker() && !Tombstone) 124 Tombstone = Array+Bucket; // Remember the first tombstone found [all...] |
| /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/src/com/badlogic/gdx/controllers/desktop/ |
| OisControllers.java | 30 import com.badlogic.gdx.utils.Array; 95 final Array<ControllerListener> listeners = new Array(); 101 Array<ControllerListener> allListeners = manager.listeners; 109 Array<ControllerListener> allListeners = manager.listeners; 117 Array<ControllerListener> allListeners = manager.listeners; 126 Array<ControllerListener> allListeners = manager.listeners; 134 Array<ControllerListener> allListeners = manager.listeners; 142 Array<ControllerListener> allListeners = manager.listeners;
|
| /external/bison/src/ |
| system.h | 44 #define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
|
| /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
| DistanceFieldFont.java | 28 import com.badlogic.gdx.utils.Array; 39 public DistanceFieldFont (BitmapFontData data, Array<TextureRegion> pageRegions, boolean integer) { 75 final Array<TextureRegion> regions = getRegions();
|
| /external/libgdx/gdx/src/com/badlogic/gdx/math/ |
| CumulativeDistribution.java | 3 import com.badlogic.gdx.utils.Array; 25 private Array<CumulativeValue> values; 28 values = new Array<CumulativeValue>(false, 10, CumulativeValue.class);
|
| /external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
| SnapshotArray.java | 21 /** Guarantees that array entries provided by {@link #begin()} between indexes 0 and {@link #size} at the time begin was called
23 * array is copied prior to the modification, ensuring that the backing array that was returned by {@link #begin()} is unaffected.
24 * To avoid allocation, an attempt is made to reuse any extra array created as a result of this copy on subsequent copies.
29 * SnapshotArray array = new SnapshotArray();
31 * Object[] items = array.begin();
32 * for (int i = 0, n = array.size; i < n; i++) {
36 * array.end();
40 public class SnapshotArray<T> extends Array<T> {
48 public SnapshotArray (Array array) { [all...] |
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
| codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 52 let doubles = Array.make (Array.length args) double_type in 72 Array.iteri (fun i a ->
|
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
| codegen.ml | 44 if Array.length params == Array.length args then () else 46 let args = Array.map codegen_expr args in 52 let doubles = Array.make (Array.length args) double_type in 72 Array.iteri (fun i a ->
|
| /external/v8/test/mjsunit/ |
| array-length.js | 46 var a = new Array(); 61 var a = new Array(); 76 var a = new Array(); 82 var a = new Array(); 104 var a = new Array(); 117 Array.prototype.pop.apply(o);
|
| /external/vixl/examples/ |
| add2-vectors.cc | 30 #define ARRAY_SIZE(Array) (sizeof(Array) / sizeof((Array)[0]))
|
| /frameworks/base/tools/aapt2/ |
| ValueVisitor.h | 43 virtual void visit(Array* value) {} 79 void visitSubValues(Array* array) { 80 for (std::unique_ptr<Item>& item : array->items) { 101 DECL_VISIT_COMPOUND_VALUE(Array);
|
| /pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
| CameraInfoDialogFragment.java | 18 import java.lang.reflect.Array; 103 // Iterate an array-type value 105 int len = Array.getLength(val); 110 Array.get(val, i),
|
| /art/runtime/mirror/ |
| array-inl.h | 20 #include "array.h" 33 inline uint32_t Array::ClassSize(size_t pointer_size) { 39 inline size_t Array::SizeOf() { 40 // This is safe from overflow because the array was already allocated, so we know it's sane. 51 inline MemberOffset Array::DataOffset(size_t component_size) { 53 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); 55 << "Array data offset isn't aligned with component size"; 60 inline bool Array::CheckIsValidIndex(int32_t index) { 73 size_t header_size = Array::DataOffset(component_size).SizeValue(); 87 // The array length limit (exclusive) 106 Array* array = down_cast<Array*>(obj); local 130 Array* array = down_cast<Array*>(obj); local [all...] |