/external/mesa3d/src/hgl/ |
GLRendererRoster.cpp | 144 entry_ref ref; local 146 while (directory.GetNextRef(&ref) == B_OK) { 147 entry.SetTo(&ref, true); 151 if (CreateRenderer(ref) == B_OK) 166 image_id image, const entry_ref* ref, ino_t node) 172 if (ref != NULL) 173 item.ref = *ref; 188 GLRendererRoster::CreateRenderer(const entry_ref& ref) 190 BEntry entry(&ref, true) [all...] |
/external/oj-libjdwp/src/share/back/ |
ObjectReferenceImpl.c | 283 jobject ref; local 298 ref = commonRef_idToRef(env, id); 299 (void)outStream_writeBoolean(out, (jboolean)(ref == NULL)); 301 commonRef_idToRef_delete(env, ref); 343 jobject ref; local 345 ref = referrerBatch.objects[kk]; 346 (void)outStream_writeByte(out, specificTypeKey(env, ref)); 347 (void)outStream_writeObjectRef(env, out, ref);
|
/external/skia/src/gpu/vk/ |
GrVkResource.h | 25 objects. When an existing owner wants to share a reference, it calls ref(). 39 // Simple refCount tracing, to ensure that everything ref'ed is unref'ed. 106 void ref() const { function in class:GrVkResource 119 // A release here acts in place of all releases we "should" have been doing in ref(). 130 // A release here acts in place of all releases we "should" have been doing in ref(). 164 * Called when the ref count goes to 0. Will free Vk resources. 200 // When recycle is called and there is only one ref left on the resource, we will signal that
|
/external/skqp/src/gpu/vk/ |
GrVkResource.h | 25 objects. When an existing owner wants to share a reference, it calls ref(). 39 // Simple refCount tracing, to ensure that everything ref'ed is unref'ed. 106 void ref() const { function in class:GrVkResource 119 // A release here acts in place of all releases we "should" have been doing in ref(). 130 // A release here acts in place of all releases we "should" have been doing in ref(). 164 * Called when the ref count goes to 0. Will free Vk resources. 200 // When recycle is called and there is only one ref left on the resource, we will signal that
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
JumboStringConversionTest.java | 129 final StringReference ref = dexBuilder.internStringReference(String.format("%08d", i)); local 137 return ref;
|
/external/swiftshader/src/Reactor/ |
Main.cpp | 241 int8_t ref[16 * 5] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, local 256 EXPECT_EQ(out[i], ref[i]) << "Row " << row << " column " << col << " not equal to reference.";
|
/external/swiftshader/src/Renderer/ |
LRUCache.hpp | 43 Key **ref; member in class:sw::LRUCache 59 ref = new Key*[size]; 66 ref[i] = &key[i]; 76 delete[] ref; 77 ref = nullptr; 99 if(key == *ref[j]) 112 Key *swapK = ref[k]; 113 ref[k] = ref[j]; 114 ref[j] = swapK [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
hashtable_lookup_test.cc | 84 auto ref = GetString(output, i); local 85 result[i] = string(ref.str, ref.len);
|
/external/tensorflow/tensorflow/core/kernels/ |
queue_ops.cc | 461 ResourceHandle ref = context->input(0).flat<ResourceHandle>()(0); variable 462 handle_.AccessTensor(context)->flat<string>()(0) = ref.container(); 463 handle_.AccessTensor(context)->flat<string>()(1) = ref.name();
|
/external/v8/src/snapshot/ |
startup-serializer.cc | 88 SerializerReference ref = reference_map_.Lookup(obj); local 89 CHECK(ref.is_back_reference() && ref.chunk_index() == 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
WeakIdentityHashMap.java | 19 import java.lang.ref.Reference; 20 import java.lang.ref.ReferenceQueue; 21 import java.lang.ref.WeakReference; 36 Reference<?> ref; local 37 while ((ref = mRefQueue.poll()) != null) { 38 mMap.remove(ref);
|
/frameworks/base/tools/aapt2/ |
StringPool_test.cpp | 39 StringPool::Ref ref = pool.MakeRef("wut"); local 40 EXPECT_THAT(*ref, Eq("wut")); 46 StringPool::Ref ref_a = pool.MakeRef("wut"); 47 StringPool::Ref ref_b = pool.MakeRef("hey"); 56 StringPool::Ref ref_a = pool.MakeRef("wut"); 57 StringPool::Ref ref_b = pool.MakeRef("wut"); 67 StringPool::Ref ref_a = pool.MakeRef("wut", StringPool::Context(0x81010001)); 68 StringPool::Ref ref_b = pool.MakeRef("wut", StringPool::Context(0x81010002)); 78 StringPool::Ref ref_a = pool.MakeRef("z") 163 StringPool::StyleRef ref = pool.MakeRef(StyleString{{"android"}, {Span{{"b"}, 2, 6}}}); local 177 StringPool::Ref ref = pool.MakeRef("android"); local [all...] |
/frameworks/base/tools/aapt2/compile/ |
InlineXmlFormatParser.cpp | 59 Maybe<Reference> ref = ResourceUtils::ParseXmlAttributeName(attr->value); variable 60 if (!ref) { 67 const ResourceName& name = ref.value().name.value(); 77 const bool private_namespace = pkg.private_namespace || ref.value().private_reference;
|
/frameworks/base/tools/aapt2/test/ |
Common.h | 43 ResourceNameRef ref; local 44 CHECK(ResourceUtils::ParseResourceName(str, &ref)) << "invalid resource name: " << str; 45 return ref.ToResourceName();
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
TintContextWrapper.java | 30 import java.lang.ref.WeakReference; 53 final WeakReference<TintContextWrapper> ref = sCache.get(i); local 54 if (ref == null || ref.get() == null) { 60 final WeakReference<TintContextWrapper> ref = sCache.get(i); local 61 final TintContextWrapper wrapper = ref != null ? ref.get() : null;
|
/libcore/ojluni/src/main/java/java/lang/ref/ |
Reference.java | 27 package java.lang.ref; 278 * @param ref the reference. If {@code null}, this method has no effect. 284 public static void reachabilityFence(Object ref) { 290 SinkHolder.sink = ref; 291 // Leaving SinkHolder set to ref is unpleasant, since it keeps ref live
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
DialerFutures.java | 56 final AtomicReference<AggregateFuture<T>> ref = Atomics.newReference(output); local 65 AggregateFuture<T> output = ref.get(); 71 ref.set(null); // unpin 79 // no point in clearing the ref, every other listener has already run 82 ref.set(null); // unpin
|
/packages/services/Telephony/src/com/android/phone/ |
PhoneSearchIndexablesProvider.java | 63 Object[] ref = new Object[7]; local 64 ref[COLUMN_INDEX_XML_RES_RANK] = INDEXABLE_RES[n].rank; 65 ref[COLUMN_INDEX_XML_RES_RESID] = INDEXABLE_RES[n].xmlResId; 66 ref[COLUMN_INDEX_XML_RES_CLASS_NAME] = null; 67 ref[COLUMN_INDEX_XML_RES_ICON_RESID] = INDEXABLE_RES[n].iconResId; 68 ref[COLUMN_INDEX_XML_RES_INTENT_ACTION] = "android.intent.action.MAIN"; 69 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_PACKAGE] = "com.android.phone"; 70 ref[COLUMN_INDEX_XML_RES_INTENT_TARGET_CLASS] = INDEXABLE_RES[n].className; 71 cursor.addRow(ref); 144 final Object[] ref = new Object[NON_INDEXABLES_KEYS_COLUMNS.length] local [all...] |
/system/core/libmemunreachable/tests/ |
Binder_test.cpp | 46 reply->writeStrongBinder(ref); 47 ref = data.readStrongBinder(); 52 sp<IBinder> ref; member in class:android::BinderService 159 for (auto ref : refs) { 160 if (ref == reinterpret_cast<uintptr_t>(binder.get())) {
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
GcFinalizationTest.java | 24 import java.lang.ref.WeakReference; 75 final WeakReference<Object> ref = new WeakReference<Object>(new Object()); local 76 GcFinalization.awaitClear(ref); 77 assertNull(ref.get()); 160 final WeakReference<Object> ref = new WeakReference<Object>(Boolean.TRUE); local 162 GcFinalization.awaitClear(ref); 200 final WeakReference<Object> ref = new WeakReference<Object>( local 213 assertNull(ref.get());
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 39 import java.lang.ref.Reference; 71 Reference<V> ref = (Reference<V>) valueRef; local 72 if (ref != null) { 73 ref.clear(); 88 Reference<?> ref = (Reference<?>) entry; local 89 if (ref != null) { 90 ref.clear();
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/ |
JavassistClassDeclaration.java | 141 SymbolReference<? extends ResolvedValueDeclaration> ref = solveSymbolForFQN(name, typeSolver, superclassFQN); local 142 if (ref.isSolved()) { 143 return ref; 199 SymbolReference<ResolvedMethodDeclaration> ref = new JavassistClassDeclaration(superClass, typeSolver).solveMethod(name, argumentsTypes, staticOnly); local 200 if (ref.isSolved()) { 201 candidates.add(ref.getCorrespondingDeclaration()); 210 SymbolReference<ResolvedMethodDeclaration> ref = new JavassistInterfaceDeclaration(interfaze, typeSolver).solveMethod(name, argumentsTypes, staticOnly); local 211 if (ref.isSolved()) { 212 candidates.add(ref.getCorrespondingDeclaration());
|
JavassistEnumDeclaration.java | 186 SymbolReference<ResolvedMethodDeclaration> ref = new JavassistClassDeclaration(superClass, typeSolver).solveMethod(name, argumentsTypes, staticOnly); local 187 if (ref.isSolved()) { 188 candidates.add(ref.getCorrespondingDeclaration());
|
JavassistInterfaceDeclaration.java | 121 SymbolReference<ResolvedMethodDeclaration> ref = new JavassistClassDeclaration(superClass, typeSolver).solveMethod(name, argumentsTypes, staticOnly); local 122 if (ref.isSolved()) { 123 candidates.add(ref.getCorrespondingDeclaration()); 132 SymbolReference<ResolvedMethodDeclaration> ref = new JavassistInterfaceDeclaration(interfaze, typeSolver).solveMethod(name, argumentsTypes, staticOnly); local 133 if (ref.isSolved()) { 134 candidates.add(ref.getCorrespondingDeclaration());
|
/frameworks/base/core/java/android/security/net/config/ |
NetworkSecurityConfig.java | 59 // multiple entry refs by returning the certificate from the first entry ref. 83 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { 84 Set<TrustAnchor> anchors = ref.getTrustAnchors(); 122 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { 123 TrustAnchor anchor = ref.findBySubjectAndPublicKey(cert); 133 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { 134 TrustAnchor anchor = ref.findByIssuerAndSignature(cert); 145 for (CertificatesEntryRef ref : mCertificatesEntryRefs) { 146 certs.addAll(ref.findAllCertificatesByIssuerAndSignature(cert)); 154 for (CertificatesEntryRef ref : mCertificatesEntryRefs) [all...] |