/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
D | TweenManager.java | 51 private final ArrayList<BaseTween<?>> objects = new ArrayList<BaseTween<?>>(20); field in TweenManager 60 if (!objects.contains(object)) objects.add(object); in add() 70 for (int i=0, n=objects.size(); i<n; i++) { in containsTarget() 71 BaseTween<?> obj = objects.get(i); in containsTarget() 82 for (int i=0, n=objects.size(); i<n; i++) { in containsTarget() 83 BaseTween<?> obj = objects.get(i); in containsTarget() 93 for (int i=0, n=objects.size(); i<n; i++) { in killAll() 94 BaseTween<?> obj = objects.get(i); in killAll() 104 for (int i=0, n=objects.size(); i<n; i++) { in killTarget() 105 BaseTween<?> obj = objects.get(i); in killTarget() [all …]
|
D | Pool.java | 10 private final ArrayList<T> objects; field in Pool 16 this.objects = new ArrayList<T>(initCapacity); in Pool() 23 obj = objects.isEmpty() ? create() : objects.remove(0); in get() 33 if (!objects.contains(obj)) { in free() 35 objects.add(obj); in free() 40 objects.clear(); in clear() 44 return objects.size(); in size() 48 objects.ensureCapacity(minCapacity); in ensureCapacity()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | UnknownFieldSetLite.java | 80 Object[] objects = Arrays.copyOf(first.objects, count); in mutableCopyOf() local 81 System.arraycopy(second.objects, 0, objects, first.count, second.count); in mutableCopyOf() 82 return new UnknownFieldSetLite(count, tags, objects, true /* isMutable */); in mutableCopyOf() 98 private Object[] objects; field in UnknownFieldSetLite 120 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument 123 this.objects = objects; in UnknownFieldSetLite() 156 output.writeUInt64(fieldNumber, (Long) objects[i]); in writeTo() 159 output.writeFixed32(fieldNumber, (Integer) objects[i]); in writeTo() 162 output.writeFixed64(fieldNumber, (Long) objects[i]); in writeTo() 165 output.writeBytes(fieldNumber, (ByteString) objects[i]); in writeTo() [all …]
|
/external/javassist/src/main/javassist/bytecode/ |
D | LongVector.java | 22 private ConstInfo[][] objects; field in LongVector 26 objects = new ConstInfo[VSIZE][]; in LongVector() 32 objects = new ConstInfo[vsize][]; in LongVector() 38 public int capacity() { return objects.length * ASIZE; } in capacity() 44 return objects[i >> ABITS][i & (ASIZE - 1)]; in elementAt() 50 int len = objects.length; in addElement() 53 System.arraycopy(objects, 0, newObj, 0, len); in addElement() 54 objects = newObj; in addElement() 57 if (objects[nth] == null) in addElement() 58 objects[nth] = new ConstInfo[ASIZE]; in addElement() [all …]
|
/external/eigen/unsupported/Eigen/src/BVH/ |
D | KdBVH.h | 34 void operator()(const ObjectList &objects, BoxIter boxBegin, BoxIter boxEnd, VolumeList &outBoxes) in operator() 37 eigen_assert(outBoxes.size() == objects.size()); in operator() 43 void operator()(const ObjectList &objects, int, int, VolumeList &outBoxes) 45 outBoxes.reserve(objects.size()); 46 for(int i = 0; i < (int)objects.size(); ++i) 47 outBoxes.push_back(bounding_box(objects[i])); 96 objects.clear(); 100 objects.insert(objects.end(), begin, end); 101 int n = static_cast<int>(objects.size()); 110 … internal::get_boxes_helper<ObjectList, VolumeList, BIter>()(objects, boxBegin, boxEnd, objBoxes); [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_handle_table.c | 49 void **objects; member 70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *)); in handle_table_create() 71 if(!ht->objects) { in handle_table_create() 114 new_objects = (void **)REALLOC((void *)ht->objects, in handle_table_resize() 123 ht->objects = new_objects; in handle_table_resize() 141 object = ht->objects[index]; in handle_table_clear() 143 ht->objects[index] = NULL; in handle_table_clear() 165 if(!ht->objects[ht->filled]) in handle_table_add() 181 assert(!ht->objects[index]); in handle_table_add() 182 ht->objects[index] = object; in handle_table_add() [all …]
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
D | JcopBackupImpl.java | 82 BackupInterface[] objects = tracked(); in restore() local 84 for ( ; i < objects.length; ++i) { in restore() 95 if (tag == i && objects[i] != null) { in restore() 96 objects[i].restore(in, (short)0, length); in restore() 133 BackupInterface[] objects = tracked(); in backup() local 136 for (i = (short)0; i < (short)objects.length; ++i) { in backup() 138 if (objects[i] != null) { in backup() 139 length += objects[i].backupSize(); in backup() 157 for (i = (short)0; i < (short)objects.length; ++i) { in backup() 159 if (objects[i] != null) { in backup() [all …]
|
/external/autotest/client/cros/ |
D | dbus_util.py | 73 objects = dbus2primitive(object_manager.GetManagedObjects()) 74 logging.debug('Saw objects %r', objects) 76 objects = [(path, interfaces) 77 for path, interfaces in objects.iteritems() 80 objects = [(path, interfaces) 81 for path, interfaces in objects 83 objects = dict(objects) 84 logging.debug('Filtered objects: %r', objects) 85 return objects
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurer.java | 43 private final int objects; field in ObjectGraphMeasurer.Footprint 62 public Footprint(int objects, int nonNullRefs, int nullRefs, in Footprint() argument 64 Preconditions.checkArgument(objects >= 0, "Negative number of objects"); in Footprint() 69 this.objects = objects; in Footprint() 79 return objects; in getObjects() 115 objects, nonNullRefs, nullRefs, primitives); in hashCode() 122 return this.objects == that.objects in equals() 133 .add("Objects", objects) in toString() 187 private int objects; field in ObjectGraphMeasurer.ObjectGraphVisitor 210 objects++; in visit() [all …]
|
/external/skia/bench/ |
D | GrMemoryPoolBench.cpp | 51 A* objects[kMaxObjects]; in onDraw() local 68 delete objects[count-1]; in onDraw() 71 objects[count] = new A; in onDraw() 76 delete objects[i]; in onDraw() 113 std::unique_ptr<B> objects[kMaxObjects]; in onDraw() local 117 if (nullptr == objects[idx].get()) { in onDraw() 118 objects[idx].reset(new B); in onDraw() 120 objects[idx].reset(); in onDraw() 158 C* objects[M]; in onDraw() local 162 objects[i] = new C; in onDraw() [all …]
|
/external/python/cpython2/Doc/library/ |
D | gc.rst | 13 and set debugging options. It also provides access to unreachable objects that 19 ``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be saved in 45 unreachable objects found is returned. 71 Returns a list of all objects tracked by the collector, excluding the list 82 The GC classifies objects into three generations depending on how many 83 collection sweeps they have survived. New objects are placed in the youngest 86 generation, objects in that generation remain there after a collection. In 113 Return the list of objects that directly refer to any of objs. This function 115 types which do refer to other objects but do not support garbage collection will 118 Note that objects which have already been dereferenced, but which live in cycles [all …]
|
D | weakref.rst | 19 references` to objects. 31 mappings holding large objects, where it's desired that a large object not be 34 For example, if you have a number of large binary image objects, you may wish to 36 images, or images to names, the image objects would remain alive just because 40 mappings that don't keep objects alive solely because they appear in the mapping 41 objects. If, for example, an image object is a value in a 56 Not all objects can be weakly referenced; those objects which can include class 58 unbound), sets, frozensets, file objects, :term:`generator`\s, type objects, 59 :class:`DBcursor` objects from the :mod:`bsddb` module, sockets, arrays, deques, 60 regular expression pattern objects, and code objects. [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | ccompiler.py | 124 self.objects = [] 307 self.objects.append(object) 309 def set_link_objects(self, objects): argument 315 self.objects = objects[:] 350 objects = self.object_filenames(sources, 353 assert len(objects) == len(sources) 360 obj = objects[i] 365 return macros, objects, extra, pp_opts, build 408 def _fix_object_args(self, objects, output_dir): argument 414 if not isinstance(objects, (list, tuple)): [all …]
|
D | bcppcompiler.py | 85 macros, objects, extra_postargs, pp_opts, build = \ 95 for obj in objects: 141 return objects 147 objects, argument 153 (objects, output_dir) = self._fix_object_args (objects, output_dir) 157 if self._need_link (objects, output_filename): 158 lib_args = [output_filename, '/u'] + objects 173 objects, argument 189 (objects, output_dir) = self._fix_object_args (objects, output_dir) 200 if self._need_link (objects, output_filename): [all …]
|
D | unixccompiler.py | 126 def create_static_lib(self, objects, output_libname, argument 128 objects, output_dir = self._fix_object_args(objects, output_dir) 133 if self._need_link(objects, output_filename): 137 objects + self.objects) 152 def link(self, target_desc, objects, argument 157 objects, output_dir = self._fix_object_args(objects, output_dir) 168 if self._need_link(objects, output_filename): 169 ld_args = (objects + self.objects +
|
/external/autotest/frontend/client/src/autotest/common/table/ |
D | SelectionManager.java | 36 public void onAdd(Collection<JSONObject> objects); in onAdd() argument 37 public void onRemove(Collection<JSONObject> objects); in onRemove() argument 79 public void selectObjects(Collection<? extends JSONObject> objects) { in selectObjects() argument 81 assert objects.size() == 1; in selectObjects() 84 addOrRemoveObjects(objects, true); in selectObjects() 91 public void deselectObjects(Collection<JSONObject> objects) { in deselectObjects() argument 92 addOrRemoveObjects(objects, false); in deselectObjects() 95 protected void addOrRemoveObjects(Collection<? extends JSONObject> objects, in addOrRemoveObjects() argument 98 for (JSONObject object : objects) { in addOrRemoveObjects() 162 protected void notifyListeners(Collection<JSONObject> objects, in notifyListeners() argument [all …]
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | canvasevents.py | 96 self.objects = [] 107 self.objects.append(object) 113 self.objects.remove(object) 117 i = self.objects.index(object) 138 for i in range(len(self.objects)): 139 o = self.objects[i] 145 self.movethis = self.objects[i:] 164 objects = self.movethis 165 if not objects: 168 self.finishmove(objects) [all …]
|
/external/autotest/frontend/afe/ |
D | frontend_test_utils.py | 15 models.DroneSet.objects.create( 18 acl_group = models.AclGroup.objects.create(name='my_acl') 21 self.hosts = [models.Host.objects.create(hostname=hostname) 29 self.labels = [models.Label.objects.create(name=name) for name in 33 platform = models.Label.objects.create(name='myplatform', platform=True) 107 parent_job = (models.Job.objects.get(id=parent_job_id) 109 job = models.Job.objects.create( 119 dep = models.Label.objects.get(id=metahost_label) 123 models.HostQueueEntry.objects.create(job=job, host_id=host_id, 125 models.IneligibleHostQueue.objects.create(job=job, host_id=host_id) [all …]
|
D | rpc_interface_unittest.py | 57 platform2 = models.Label.objects.create(name='platform2', platform=True) 223 host = models.Host.objects.get(hostname='testhost') 241 job = models.Job.objects.get(pk=job_id) 261 self.task1 = models.SpecialTask.objects.create( 265 self.task2 = models.SpecialTask.objects.create( 269 self.task3 = models.SpecialTask.objects.create( 331 shard = models.Shard.objects.create(hostname='shard') 469 host = models.Host.objects.all()[0] 471 shard = models.Shard.objects.create(hostname=shard_hostname) 504 host = models.Host.objects.get(pk=host.id) [all …]
|
/external/autotest/frontend/tko/ |
D | rpc_interface.py | 47 query = models.TestView.objects.get_query_set_with_joins(filter_data) 51 count_alias, count_sql = models.TestView.objects.get_count_sql(query) 68 query = models.TestView.objects.get_query_set_with_joins(filter_data) 70 return models.TestView.objects.get_num_groups(query, group_by) 98 initial_query = models.TestView.objects.get_query_set_with_joins( 106 models.TestView.objects.get_key_on_this_table('test_idx')}) 186 tests_by_id = models.Test.objects.in_bulk([test_view['test_idx'] 189 models.Test.objects.populate_relationships(tests, models.TestAttribute, 191 models.Test.objects.populate_relationships(tests, models.IterationAttribute, 193 models.Test.objects.populate_relationships(tests, models.IterationResult, [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | GameObjectManager.java | 82 FixedSizeArray<BaseObject> objects = getObjects(); in update() local 83 final int count = objects.getCount(); in update() 86 final Object[] objectArray = objects.getArray(); in update() 98 objects.swapWithLast(i); in update() 99 objects.removeLast(); in update() 124 objects.add(gameObject); in update() 159 FixedSizeArray<BaseObject> objects = getObjects(); in destroyAll() local 160 final int count = objects.getCount(); in destroyAll() 162 mMarkedForDeathObjects.add((GameObject)objects.get(i)); in destroyAll() 163 objects.remove(i); in destroyAll()
|
D | RenderSystem.java | 61 private void clearQueue(FixedSizeArray<BaseObject> objects) { in clearQueue() argument 62 final int count = objects.getCount(); in clearQueue() 63 final Object[] objectArray = objects.getArray(); in clearQueue() 68 objects.removeLast(); in clearQueue() 82 FixedSizeArray<BaseObject> objects = mRenderQueues[lastQueue].getObjects(); in swap() local 83 clearQueue(objects); in swap() 93 FixedSizeArray<BaseObject> objects = mRenderQueues[x].getObjects(); in emptyQueues() local 94 clearQueue(objects); in emptyQueues()
|
/external/vogar/src/vogar/util/ |
D | Strings.java | 74 public static String join(String delimiter, Object... objects) { in join() argument 75 return join(Arrays.asList(objects), delimiter); in join() 78 public static String join(Iterable<?> objects, String delimiter) { in join() argument 79 Iterator<?> i = objects.iterator(); in join() 92 public static String[] objectsToStrings(Object[] objects) { in objectsToStrings() argument 93 String[] result = new String[objects.length]; in objectsToStrings() 95 for (Object o : objects) { in objectsToStrings() 101 public static String[] objectsToStrings(Collection<?> objects) { in objectsToStrings() argument 102 return objectsToStrings(objects.toArray()); in objectsToStrings()
|
/external/autotest/scheduler/ |
D | rdb_testing_utils.py | 76 return models.Label.objects.filter(**kwargs) 82 return models.AclGroup.objects.filter(**kwargs) 88 return models.Host.objects.filter(**kwargs) 93 return models.HostQueueEntry.objects.filter(**kwargs) 98 return models.SpecialTask.objects.filter(**kwargs) 103 return models.Shard.objects.filter(**kwargs) 115 user = models.User.objects.filter(login=name) 128 host = models.Host.objects.get(id=host_id) 132 return models.SpecialTask.objects.create( 144 return (models.Shard.objects.create(hostname=shard_hostname) [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowArrayAdapter.java | 58 public void __constructor__(Context context, int textViewResourceId, T[] objects) { in __constructor__() argument 59 init(context, textViewResourceId, 0, Arrays.asList(objects)); in __constructor__() 62 … public void __constructor__(Context context, int resource, int textViewResourceId, T[] objects) { in __constructor__() argument 63 init(context, resource, textViewResourceId, Arrays.asList(objects)); in __constructor__() 66 public void __constructor__(Context context, int textViewResourceId, List<T> objects) { in __constructor__() argument 67 init(context, textViewResourceId, 0, objects); in __constructor__() 70 …blic void __constructor__(Context context, int resource, int textViewResourceId, List<T> objects) { in __constructor__() argument 71 init(context, resource, textViewResourceId, objects); in __constructor__() 74 private void init(Context context, int resource, int textViewResourceId, List<T> objects) { in init() argument 76 this.list = objects; in init()
|