Home
last modified time | relevance | path

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

12345678910>>...130

/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/protobuf/java/core/src/main/java/com/google/protobuf/
DUnknownFieldSetLite.java77 Object[] objects = Arrays.copyOf(first.objects, count); in mutableCopyOf() local
78 System.arraycopy(second.objects, 0, objects, first.count, second.count); in mutableCopyOf()
79 return new UnknownFieldSetLite(count, tags, objects, /* isMutable= */ true); in mutableCopyOf()
89 private Object[] objects; field in UnknownFieldSetLite
103 private UnknownFieldSetLite(int count, int[] tags, Object[] objects, boolean isMutable) { in UnknownFieldSetLite() argument
106 this.objects = objects; in UnknownFieldSetLite()
137 output.writeUInt64(fieldNumber, (Long) objects[i]); in writeTo()
140 output.writeFixed32(fieldNumber, (Integer) objects[i]); in writeTo()
143 output.writeFixed64(fieldNumber, (Long) objects[i]); in writeTo()
146 output.writeBytes(fieldNumber, (ByteString) objects[i]); in writeTo()
[all …]
/external/javassist/src/main/javassist/bytecode/
DLongVector.java23 private ConstInfo[][] objects; field in LongVector
27 objects = new ConstInfo[VSIZE][]; in LongVector()
33 objects = new ConstInfo[vsize][]; in LongVector()
39 public int capacity() { return objects.length * ASIZE; } in capacity()
45 return objects[i >> ABITS][i & (ASIZE - 1)]; in elementAt()
51 int len = objects.length; in addElement()
54 System.arraycopy(objects, 0, newObj, 0, len); in addElement()
55 objects = newObj; in addElement()
58 if (objects[nth] == null) in addElement()
59 objects[nth] = new ConstInfo[ASIZE]; in addElement()
[all …]
/external/angle/src/libANGLE/
DResourceMap_unittest.cpp23 std::vector<size_t> objects(kSize, 1); in TEST() local
26 resourceMap.assign(index + 1, &objects[index]); in TEST()
33 ASSERT_EQ(&objects[index], found); in TEST()
44 std::vector<size_t> objects(kSize, 1); in TEST() local
47 resourceMap.assign(index + 1, &objects[index]); in TEST()
60 std::vector<size_t> objects; in TEST() local
64 objects.push_back(index); in TEST()
69 objects.push_back(kLargeIndex); in TEST()
71 for (size_t &object : objects) in TEST()
76 for (size_t object : objects) in TEST()
[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/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestObjectOrArrayDeserialization.java16 private final List<SomeObject> objects; field in TestObjectOrArrayDeserialization.ArrayOrObject
20 public ArrayOrObject(List<SomeObject> objects) { in ArrayOrObject() argument
21 this.objects = objects; in ArrayOrObject()
27 this.objects = null; in ArrayOrObject()
34 assertNull("expected objects field to be null", arrayOrObject.objects); in testObjectCase()
40 assertNotNull("expected objects field not to be null", arrayOrObject.objects); in testEmptyArrayCase()
41 assertTrue("expected objects field to be an empty list", arrayOrObject.objects.isEmpty()); in testEmptyArrayCase()
47 assertNotNull("expected objects field not to be null", arrayOrObject.objects); in testNotEmptyArrayCase()
48 assertEquals("expected objects field to have size 2", 2, arrayOrObject.objects.size()); in testNotEmptyArrayCase()
/external/toolchain-utils/binary_search_tool/full_bisect_test/
Drun-test-nowrapper.sh33 rm -f good-objects
34 rm -f bad-objects
36 ln -s good-objects-permanent good-objects
37 ln -s bad-objects-permanent bad-objects
44 if [[ ! -f good-objects-permanent/build.o ]] ; then
55 mv work/*.o good-objects-permanent/.
62 mv work/*.o bad-objects-permanent/.
/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/libese/apps/boot/card/src/com/android/verifiedboot/storage/
DJcopBackupImpl.java82 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/frontend/afe/
Drpc_interface_unittest.py96 return models.Job.objects.get(id=job_id)
101 label2 = models.Label.objects.create(name='bluetooth', platform=False)
111 host2 = models.Host.objects.create(hostname='test_host2', leased=False)
121 host2 = models.Host.objects.create(hostname='test_host2', leased=False)
144 leased_host = models.Host.objects.create(hostname='leased_host',
170 host3 = models.Host.objects.create(hostname='test_host3', leased=False)
194 job1 = models.Job.objects.get(pk=job1.id)
211 job2 = models.Job.objects.get(pk=job2.pk)
224 models.Test.objects.create(name='platform_BootPerfServer:shard',
231 models.Shard.DoesNotExist, models.Shard.objects.get, pk=shard1.id)
[all …]
Dfrontend_test_utils.py15 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)
40 self.labels.append(models.Label.objects.create(name='static'))
41 self.replaced_labels = [models.ReplacedLabel.objects.create(
80 model.objects.get_or_create(**args)
84 attribute_object, _ = attribute_model.objects.get_or_create(**get_args)
128 parent_job = (models.Job.objects.get(id=parent_job_id)
[all …]
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dpartially_revived_objects.cc56 const PartiallyRevivedObjects& objects) { in AssertAllCreateResourceFunctionsHaveNoCaptures() argument
57 for (const auto& id_and_resource : objects.restored_resources) { in AssertAllCreateResourceFunctionsHaveNoCaptures()
81 const PartiallyRevivedObjects& objects, in TensorHandleFromNode() argument
87 const auto& variables_iter = objects.variables.find(node_id); in TensorHandleFromNode()
88 if (variables_iter == objects.variables.end()) { in TensorHandleFromNode()
97 const auto& constants_iter = objects.constants.find(node_id); in TensorHandleFromNode()
98 if (constants_iter == objects.constants.end()) { in TensorHandleFromNode()
107 const auto& assets_iter = objects.assets.find(node_id); in TensorHandleFromNode()
108 if (assets_iter == objects.assets.end()) { in TensorHandleFromNode()
117 const auto& resource_iter = objects.restored_resources.find(node_id); in TensorHandleFromNode()
[all …]
/external/cbor-java/src/main/java/co/nstant/in/cbor/model/
DArray.java9 private final ArrayList<DataItem> objects; field in Array
13 objects = new ArrayList<>(); in Array()
17 objects.add(object); in add()
22 return objects; in getDataItems()
29 return super.equals(object) && objects.equals(other.objects); in equals()
36 return super.hashCode() ^ objects.hashCode(); in hashCode()
45 stringBuilder.append(Arrays.toString(objects.toArray()).substring(1)); in toString()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify13.c39 #define EVENT_MAX ARRAY_SIZE(objects)
55 } objects[] = { variable
100 for (i = 0; i < ARRAY_SIZE(objects); i++) { in create_objects()
101 if (objects[i].is_dir) in create_objects()
102 SAFE_MKDIR(objects[i].path, 0755); in create_objects()
104 SAFE_FILE_PRINTF(objects[i].path, "0"); in create_objects()
111 for (i = 0; i < ARRAY_SIZE(objects); i++) { in get_object_stats()
113 fanotify_get_fid(objects[i].path, &event_set[i].fsid, in get_object_stats()
123 for (i = 0; i < ARRAY_SIZE(objects); i++) { in setup_marks()
125 AT_FDCWD, objects[i].path) == -1) { in setup_marks()
[all …]
/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/python/cpython3/Lib/distutils/
Dccompiler.py116 self.objects = []
294 self.objects.append(object)
296 def set_link_objects(self, objects): argument
302 self.objects = objects[:]
337 objects = self.object_filenames(sources, strip_dir=0,
339 assert len(objects) == len(sources)
346 obj = objects[i]
351 return macros, objects, extra, pp_opts, build
403 objects = self.object_filenames(sources, output_dir=output_dir)
404 assert len(objects) == len(sources)
[all …]
/external/skqp/bench/
DGrMemoryPoolBench.cpp50 A* objects[kMaxObjects]; in onDraw() local
67 delete objects[count-1]; in onDraw()
70 objects[count] = new A; in onDraw()
75 delete objects[i]; in onDraw()
112 std::unique_ptr<B> objects[kMaxObjects]; in onDraw() local
116 if (nullptr == objects[idx].get()) { in onDraw()
117 objects[idx].reset(new B); in onDraw()
119 objects[idx].reset(); in onDraw()
157 C* objects[M]; in onDraw() local
161 objects[i] = new C; in onDraw()
[all …]
/external/autotest/client/cros/
Ddbus_util.py85 objects = dbus2primitive(object_manager.GetManagedObjects())
86 logging.debug('Saw objects %r', objects)
88 objects = [(path, interfaces)
89 for path, interfaces in six.iteritems(objects)
92 objects = [(path, interfaces)
93 for path, interfaces in objects
95 objects = dict(objects)
96 logging.debug('Filtered objects: %r', objects)
97 return objects
/external/python/cpython2/Doc/library/
Dgc.rst13 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 …]
/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/python/cpython2/Lib/distutils/
Dccompiler.py124 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 …]
Dbcppcompiler.py85 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 …]
/external/python/pyopenssl/doc/api/
Dcrypto.rst13 …If necessary you can convert to and from cryptography objects using the ``to_cryptography`` and ``…
85 X509 objects
93 X509Name objects
103 X509Req objects
113 X509Store objects
121 X509StoreContextError objects
129 X509StoreContext objects
156 PKey objects
169 PKCS7 objects
172 PKCS7 objects have the following methods:
[all …]
/external/python/cpython2/Demo/tkinter/guido/
Dcanvasevents.py96 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 …]

12345678910>>...130