Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 1407) sorted by relevance

12345678910>>...57

/external/v8/test/webkit/
Dreentrant-caching.js28 var objects = [{prop:1}, {get prop(){return 2}}];
38 g(objects[++j]);
45 objects.push(o);
48 g(objects[0]);
49 g(objects[1]);
50 g(objects[2]);
51 g(objects[3]);
56 var objects = [Object.create({prop:1}), Object.create({get prop(){return 2}})];
64 g(objects[++j]);
73 objects.push(o);
[all …]
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTweenManager.java51 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 …]
DPool.java10 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/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dmock_cloud_api.py67 self.objects = {}
89 apitools_object.name in self.objects):
90 if 'live' in self.objects[object_name]:
94 self.objects[object_name]['live'].root_object.generation + 1)
96 if 'versioned' not in self.objects[object_name]:
97 self.objects[object_name]['versioned'] = []
98 self.objects[object_name]['versioned'].append(
99 self.objects[object_name]['live'])
100 elif ('versioned' in self.objects[object_name] and
101 self.objects[object_name]['versioned']):
[all …]
Dtest_copy_helper_funcs.py90 objects = ['obj1', '42', 'obj2', '314159']
91 contents = '\n'.join([random_prefix] + objects)
93 expected_objects = [ObjectFromTracker(objects[2 * i], objects[2 * i + 1])
94 for i in range(0, len(objects) / 2)]
115 objects = ['obj1', '42', 'obj2', '314159']
116 expected_contents = [random_prefix] + objects
117 objects = [ObjectFromTracker(objects[2 * i], objects[2 * i + 1])
118 for i in range(0, len(objects) / 2)]
119 _CreateParallelUploadTrackerFile(tracker_file, random_prefix, objects,
130 objects = ['obj1', '42', 'obj2', '314159']
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/maps/
DMapObjects.java27 private Array<MapObject> objects; field in MapObjects
31 objects = new Array<MapObject>(); in MapObjects()
37 return objects.get(index); in get()
43 for (int i = 0, n = objects.size; i < n; i++) { in get()
44 MapObject object = objects.get(i); in get()
59 return objects.indexOf(object, true); in getIndex()
64 return objects.size; in getCount()
69 this.objects.add(object); in add()
74 objects.removeIndex(index); in remove()
79 objects.removeValue(object, true); in remove()
[all …]
/external/javassist/src/main/javassist/bytecode/
DLongVector.java22 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/
DKdBVH.h34 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/v8/test/mjsunit/harmony/
Dset-prototype-of.js87 var objects = getObjects();
88 for (var i = 0; i < objects.length; i++) {
89 var object = objects[i];
120 var objects = getObjects();
121 for (var i = 0; i < objects.length; i++) {
122 TestSetPrototypeOf(objects[i], null);
129 var objects = getObjects();
131 for (var i = 0; i < objects.length; i++) {
132 var object = objects[i];
146 var objects = [
[all …]
Dreflect-set-prototype-of.js92 var objects = getObjects();
93 for (var i = 0; i < objects.length; i++) {
94 var object = objects[i];
125 var objects = getObjects();
126 for (var i = 0; i < objects.length; i++) {
127 TestSetPrototypeOf(objects[i], null);
134 var objects = getObjects();
136 for (var i = 0; i < objects.length; i++) {
137 var object = objects[i];
149 var objects = [
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_handle_table.c49 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/autotest/client/cros/
Ddbus_util.py73 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/
DObjectGraphMeasurer.java43 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/
DGrMemoryPoolBench.cpp51 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 SkAutoTDelete<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].free(); in onDraw()
158 C* objects[M]; in onDraw() local
162 objects[i] = new C; in onDraw()
[all …]
/external/autotest/frontend/afe/
Dfrontend_test_utils.py13 models.DroneSet.objects.create(
16 acl_group = models.AclGroup.objects.create(name='my_acl')
19 self.hosts = [models.Host.objects.create(hostname=hostname)
27 self.labels = [models.Label.objects.create(name=name) for name in
31 platform = models.Label.objects.create(name='myplatform', platform=True)
35 atomic_group1 = models.AtomicGroup.objects.create(
37 atomic_group2 = models.AtomicGroup.objects.create(
127 parent_job = (models.Job.objects.get(id=parent_job_id)
129 job = models.Job.objects.create(
139 dep = models.Label.objects.get(id=metahost_label)
[all …]
/external/autotest/frontend/client/src/autotest/common/table/
DSelectionManager.java36 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/avahi/avahi-sharp/
DAvahiTest.cs28 private static ArrayList objects = new ArrayList (); field in AvahiTest
51 objects.Add (browser); in OnEntryGroupChanged()
66 objects.Add (stb); in BrowseServiceTypes()
81 objects.Add (sb); in OnServiceTypeAdded()
90 objects.Add (resolver); in OnServiceAdded()
96 objects.Remove (o); in OnServiceResolved()
104 objects.Add (ar); in OnServiceResolved()
117 objects.Remove (o); in OnAddressResolved()
121 objects.Add (hr); in OnAddressResolved()
128 objects.Remove (o); in OnHostNameResolved()
/external/v8/test/mjsunit/regress/
Dregress-crbug-260345.js37 var objects = 0;
39 undefined == get_undefined_object(i) && objects++;
41 return objects;
52 var objects = 0;
54 null == get_null_object(i) && objects++;
56 return objects;
/external/autotest/frontend/tko/
Drpc_interface.py45 query = models.TestView.objects.get_query_set_with_joins(filter_data)
49 count_alias, count_sql = models.TestView.objects.get_count_sql(query)
66 query = models.TestView.objects.get_query_set_with_joins(filter_data)
68 return models.TestView.objects.get_num_groups(query, group_by)
96 initial_query = models.TestView.objects.get_query_set_with_joins(
104 models.TestView.objects.get_key_on_this_table('test_idx')})
184 tests_by_id = models.Test.objects.in_bulk([test_view['test_idx']
187 models.Test.objects.populate_relationships(tests, models.TestAttribute,
189 models.Test.objects.populate_relationships(tests, models.IterationAttribute,
191 models.Test.objects.populate_relationships(tests, models.IterationResult,
[all …]
/external/opencv3/modules/java/src/
Dobjdetect+CascadeClassifier.java91 …public void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor, int minNeighbors, … in detectMultiScale() argument
93 Mat objects_mat = objects; in detectMultiScale()
100 public void detectMultiScale(Mat image, MatOfRect objects) in detectMultiScale() argument
102 Mat objects_mat = objects; in detectMultiScale()
114 …public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleF… in detectMultiScale2() argument
116 Mat objects_mat = objects; in detectMultiScale2()
124 public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections) in detectMultiScale2() argument
126 Mat objects_mat = objects; in detectMultiScale2()
139 …public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble le… in detectMultiScale3() argument
141 Mat objects_mat = objects; in detectMultiScale3()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGameObjectManager.java82 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()
DRenderSystem.java61 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/
DStrings.java74 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/
Drdb_testing_utils.py76 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/
DShadowArrayAdapter.java58 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()

12345678910>>...57