HomeSort by relevance Sort by last modified time
    Searched full:refs (Results 1 - 25 of 178) sorted by null

1 2 3 4 5 6 7 8

  /dalvik/tests/072-precise-gc/
expected.txt 1 Valid refs: 0
  /dalvik/vm/alloc/
HeapTable.h 27 HeapRefTable refs; member in struct:LargeHeapRefTable
30 bool dvmHeapInitHeapRefTable(HeapRefTable *refs, size_t nelems);
31 void dvmHeapFreeHeapRefTable(HeapRefTable *refs);
37 HeapRefTable *refs);
40 #define dvmHeapAddToHeapRefTable(refs, ptr) \
41 dvmAddToReferenceTable((refs), (ptr))
43 #define dvmHeapNumHeapRefTableEntries(refs) \
45 const HeapRefTable *NHRTE_refs = (refs); \
46 dvmReferenceTableEntries(refs); \
49 #define dvmHeapRemoveFromHeapRefTable(refs, ptr)
    [all...]
HeapTable.c 40 #define heapRefTableIsFull(refs) \
42 const HeapRefTable *HRTIF_refs = (refs); \
43 dvmIsReferenceTableFull(refs); \
46 bool dvmHeapInitHeapRefTable(HeapRefTable *refs, size_t nelems)
48 memset(refs, 0, sizeof(*refs));
49 return dvmInitReferenceTable(refs, nelems, INT_MAX);
54 void dvmHeapFreeHeapRefTable(HeapRefTable *refs)
56 dvmClearReferenceTable(refs);
81 while (table != NULL && heapRefTableIsFull(&table->refs)) {
177 HeapRefTable *refs = &table->refs; local
    [all...]
  /frameworks/base/libs/utils/
RefBase.cpp 171 void addRef(ref_entry** refs, const void* id, int32_t mRef)
185 ref->next = *refs;
186 *refs = ref;
190 void removeRef(ref_entry** refs, const void* id)
195 ref_entry* ref = *refs;
198 *refs = ref->next;
203 refs = &ref->next;
204 ref = *refs;
212 void printRefsLocked(String8* out, const ref_entry* refs) const
215 while (refs) {
283 weakref_impl* const refs = mRefs; local
303 weakref_impl* const refs = mRefs; local
322 weakref_impl* const refs = mRefs; local
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
HeapTest.java 116 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) {
119 refs[i] = new SoftReference<Object>(objects[i]);
123 private static <T> int checkRefs(SoftReference<T> refs[], int last) {
126 for (i = 0; i < refs.length; i++) {
127 Object o = refs[i].get();
148 private static <T> void checkRefs(T objects[], SoftReference<T> refs[]) {
152 if (refs[i].get() != objects[i]) {
157 throw new RuntimeException("Test failed: soft refs not cleared");
166 SoftReference<Object> refs[] = new SoftReference[objects.length]; local
171 makeRefs(objects, refs);
209 SoftReference<Object> refs[] = new SoftReference[objects.length]; local
270 WeakReference<Object> refs[] = new WeakReference[objects.length]; local
382 PhantomReference<Object> refs[] = new PhantomReference[objects.length]; local
439 WeakReference<FinalizableObject> refs[] = new WeakReference[objects.length]; local
    [all...]
  /dalvik/vm/
ReferenceTable.c 215 Object** refs; local
228 refs = pRef->table; // use unsorted list
235 size = (refs[i] == NULL) ? 0 : dvmObjectSizeInHeap(refs[i]);
236 Object* ref = refs[i];
240 (refs[i] == NULL) ? "-" : ref->clazz->descriptor,
247 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, size);
257 refs = tableCopy; // use sorted list
267 size = (refs[i-1] == NULL) ? 0 : dvmObjectSizeInHeap(refs[i-1])
    [all...]
IndirectRefTable.c 409 Object** refs; local
423 refs = pRef->table; // use unsorted list
430 if (refs[i] == NULL)
432 size = dvmObjectSizeInHeap(refs[i]);
433 Object* ref = refs[i];
437 (refs[i] == NULL) ? "-" : ref->clazz->descriptor,
441 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, size);
453 refs = tableCopy; // use sorted list
458 LOGI("%d %p\n", q, refs[q]);
462 while (refs[count-1] == NULL)
    [all...]
  /external/e2fsprogs/lib/ext2fs/
irel_ma.c 49 struct ext2_inode_reference *refs; member in struct:inode_reference_entry
161 * If max_refs has changed, reallocate the refs array
164 if (ref_ent->refs && ent->max_refs !=
169 retval = ext2fs_resize_mem(old_size, size, &ref_ent->refs);
252 if (ref_ent->refs == 0) {
256 sizeof(struct ext2_inode_reference), &ref_ent->refs);
259 memset(ref_ent->refs, 0, size);
266 ref_ent->refs[(unsigned) ref_ent->num++] = *ref;
294 if ((ref_ent->refs == NULL) ||
300 *ref = ref_ent->refs[ma->ref_iter++]
    [all...]
  /external/bluetooth/glib/tests/markups/
expected-1 7 TEXT 'Hi & this is some text inside an element Two 'E' chars as character refs: E E and some 'J': J J'
valid-1.gmarkup 4 <e1>Hi &amp; this is some text inside an element Two 'E' chars as character refs: &#69; &#x45; and some 'J': &#74; &#x4A;</e1>
  /external/v8/test/mjsunit/
mirror-unresolved-function.js 46 var refs = new MirrorRefCache(
73 assertEquals('undefined', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
75 assertEquals('undefined', refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type in JSON');
77 assertEquals('undefined', refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype object type in JSON');
mirror-array.js 48 var refs = new MirrorRefCache(
80 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
81 assertEquals('Array', refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor function name in JSON');
90 assertEquals('number', refs.lookup(fromJSON.properties[i].ref).type, "Unexpected type of the length property");
91 assertEquals(a.length, refs.lookup(fromJSON.properties[i].ref).value, "Length mismatch in parsed JSON");
101 assertEquals(indexedProperties[index].value().type(), refs.lookup(fromJSON.properties[i].ref).type, 'Unexpected serialized type');
mirror-function.js 48 var refs = new MirrorRefCache(
76 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type);
77 assertEquals('Function', refs.lookup(fromJSON.constructorFunction.ref).name);
mirror-object.js 48 var refs = new MirrorRefCache(
96 assertEquals('function', refs.lookup(fromJSON.constructorFunction.ref).type, 'Unexpected constructor function type in JSON');
97 assertEquals(ctor_name, refs.lookup(fromJSON.constructorFunction.ref).name, 'Unexpected constructor function name in JSON');
99 assertEquals(mirror.protoObject().type(), refs.lookup(fromJSON.protoObject.ref).type, 'Unexpected proto object type in JSON');
101 assertEquals(mirror.prototypeObject().type(), refs.lookup(fromJSON.prototypeObject.ref).type, 'Unexpected prototype object type in JSON');
134 var o = refs.lookup(fromJSON.properties[i].ref);
debug-referenced-by.js 107 refs = [];
109 refs[i] = {'y': y};
  /external/v8/test/mjsunit/regress/
regress-1081309.js 40 if (this.response_.refs) {
41 for (var i = 0; i < this.response_.refs.length; i++) {
42 this.refs_[this.response_.refs[i].handle] = this.response_.refs[i];
  /frameworks/base/libs/binder/
IPCThreadState.cpp 409 RefBase::weakref_type* refs = mPendingWeakDerefs[i]; local
410 refs->decWeak(mProcess.get());
841 RefBase::weakref_type* refs; local
853 refs = (RefBase::weakref_type*)mIn.readInt32();
855 LOG_ASSERT(refs->refBase() == obj,
857 refs, obj, refs->refBase());
864 mOut.writeInt32((int32_t)refs);
869 refs = (RefBase::weakref_type*)mIn.readInt32();
871 LOG_ASSERT(refs->refBase() == obj
    [all...]
ProcessState.cpp 201 e.refs = NULL;
221 if (b == NULL || !e->refs->attemptIncWeak(this)) {
224 if (b) e->refs = b->getWeakRefs();
231 e->refs->decWeak(this);
255 if (b == NULL || !e->refs->attemptIncWeak(this)) {
259 if (b) e->refs = b->getWeakRefs();
262 e->refs->decWeak(this);
  /external/stlport/src/
messages.cpp 188 messages<char>::messages(size_t refs)
189 : locale::facet(refs) {}
191 messages_byname<char>::messages_byname(const char *name, size_t refs)
192 : messages<char>(refs), _M_impl(new _STLP_PRIV _Messages(false, name)) {}
217 messages<wchar_t>::messages(size_t refs)
218 : locale::facet(refs) {}
220 messages_byname<wchar_t>::messages_byname(const char *name, size_t refs)
221 : messages<wchar_t>(refs), _M_impl(new _STLP_PRIV _Messages(true, name)) {}
facets_byname.cpp 41 ctype_byname<char>::ctype_byname(const char* name, size_t refs)
42 : ctype<char>( 0, false, refs) {
112 ctype_byname<wchar_t>::ctype_byname(const char* name, size_t refs)
113 : ctype<wchar_t>(refs) {
184 collate_byname<char>::collate_byname(const char* name, size_t refs)
185 : collate<char>(refs) {
231 collate_byname<wchar_t>::collate_byname(const char* name, size_t refs)
232 : collate<wchar_t>(refs) {
277 ::codecvt_byname(const char* name, size_t refs)
278 : codecvt<char, char, mbstate_t>(refs) {
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/joystick/macos/
SDL_sysjoystick.c 56 ISpElementReference refs[kMaxReferences]; member in struct:joystick_hwdata
179 joystick->hwdata->refs);
190 &(joystick->hwdata->refs[count2]));
201 &(joystick->hwdata->refs[count2]));
237 joystick->hwdata->refs[j],
250 joystick->hwdata->refs[j],
294 joystick->hwdata->refs[j],
  /frameworks/base/libs/rs/
rsObjectBase.cpp 48 LOGV("%s RSobj %p, name %s, refs %i,%i from %s,%i links %p,%p,%p",
51 LOGV("%s RSobj %p, no-name, refs %i,%i from %s,%i links %p,%p,%p",
166 LOGV("Forcing release of all outstanding user refs.");
  /external/v8/src/
heap-profiler.cc 383 : cluster(cluster_), refs(kInitialBackrefsListCapacity) {
389 : cluster(src.cluster), refs(src.refs.capacity()) {
390 refs.AddAll(src.refs);
399 refs.Clear();
400 refs.AddAll(src.refs);
410 if (a.refs.length() < b.refs.length()) return -1
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
MemberIdsSection.java 20 * Member (field or method) refs list section of a {@code .dex} file.
  /external/webkit/WebCore/storage/
StorageMap.cpp 107 // Implement copy-on-write semantics here. We're guaranteed that the only refs of StorageMaps belong to Storage objects
108 // so if more than one Storage object refs this map, copy it before mutating it.
147 // Implement copy-on-write semantics here. We're guaranteed that the only refs of StorageMaps belong to Storage objects
148 // so if more than one Storage object refs this map, copy it before mutating it.

Completed in 168 milliseconds

1 2 3 4 5 6 7 8