/frameworks/base/tools/aapt2/proto/ |
TableProtoSerializer_test.cpp | 67 // Make a reference with both resource name and resource ID. 68 // The reference should point to a resource outside of this table to test that 71 Reference expected_ref; 76 util::make_unique<Reference>(expected_ref), 112 Reference* actual_ref = test::GetValue<Reference>(new_table.get(), "com.app.a:layout/abc");
|
TableProtoSerializer.cpp | 59 void Visit(Reference* ref) override { 127 for (Reference& entry : styleable->entries) { 187 void SerializeReferenceToPb(const Reference& ref, pb::Reference* pb_ref) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ConnectionPool.java | 24 import java.lang.ref.Reference; 295 List<Reference<StreamAllocation>> references = connection.allocations; 297 Reference<StreamAllocation> reference = references.get(i); local 299 if (reference.get() != null) {
|
/frameworks/base/tools/aapt2/ |
ResourceUtils_test.cpp | 151 Maybe<Reference> ref = 208 ASSERT_THAT(null_value, Pointee(ValueEq(Reference()))); 211 ASSERT_THAT(value, Pointee(ValueEq(Reference())));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
ReferenceQueueTest.java | 21 import java.lang.ref.Reference; 161 Reference ret = rq.remove(0L); 182 Reference result = rq.remove(1L);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 39 import java.lang.ref.Reference; 70 Preconditions.checkState(valueRef instanceof Reference); 71 Reference<V> ref = (Reference<V>) valueRef; 80 * that the given entry is a weak or soft reference, and throws an IllegalStateException if that 87 Preconditions.checkState(entry instanceof Reference); 88 Reference<?> ref = (Reference<?>) entry; 199 // cleanup and then check count after we have a strong reference to all entries
|
/external/emma/core/java12/com/vladium/util/ |
SoftValueMap.java | 11 import java.lang.ref.Reference; 179 final Reference ref = entry.m_softValue; 195 final Reference ref = entry.m_softValue; 451 m_softValue = new IndexedSoftReference (value, valueReferenceQueue, bucketIndex); // ... do not retain a strong reference to the value 457 IndexedSoftReference m_softValue; // soft reference to the value [never null] 458 Object m_key; // strong reference to the key [never null] 490 IndexedSoftReference ref = entry.m_softValue; // get the soft value reference 492 Object entryValue = ref.get (); // convert the soft reference to a local strong one 497 // [assertion: 'softValue' couldn't have been enqueued already and can't be enqueued until strong reference in 'entryKey' is nulled out] 546 next: for (Reference _ref; (_ref = m_valueReferenceQueue.poll ()) != null; [all...] |
/libcore/luni/src/main/java/java/lang/ref/ |
FinalizerReference.java | 24 public final class FinalizerReference<T> extends Reference<T> { 56 FinalizerReference<?> reference = new FinalizerReference<Object>(referent, queue); local 58 reference.prev = null; 59 reference.next = head; 61 head.prev = reference; 63 head = reference; 67 public static void remove(FinalizerReference<?> reference) { 69 FinalizerReference<?> next = reference.next; 70 FinalizerReference<?> prev = reference.prev; 71 reference.next = null [all...] |
/prebuilts/tools/linux-x86_64/kythe/proto/ |
xref.proto | 22 // This proto represents a very preliminary attempt to define a cross-reference 28 // cross-reference relationships. What constitutes a "Cross-reference" is not 317 // If true, return reference edges whose source nodes are located in the 322 // reference target in the DecorationsReply. 340 // Represents a reference edge source ---KIND---> target. Each source is an 342 message Reference { 359 // The reference edges located in the specified window. 360 repeated Reference reference = 4 [all...] |
/external/swiftshader/src/Shader/ |
ShaderCore.hpp | 128 Register(const Reference<Float4> &x, const Reference<Float4> &y, const Reference<Float4> &z, const Reference<Float4> &w) : x(x), y(y), z(z), w(w) 132 Reference<Float4> &operator[](int i) 176 Reference<Float4> x; 177 Reference<Float4> y; 178 Reference<Float4> z; 179 Reference<Float4> w;
|
/art/patchoat/ |
patchoat.h | 41 class Reference; 163 // For reference classes. 164 void operator() (ObjPtr<mirror::Class> cls, ObjPtr<mirror::Reference> ref) const
|
/external/guice/core/test/com/googlecode/guice/ |
BytecodeGenTest.java | 34 import java.lang.ref.Reference; 239 // take a weak reference to the generated proxy class 240 Reference<Class<?>> clazzRef = new WeakReference<Class<?>>(testObject.getClass()); 248 * this should be enough to queue the weak reference
|
/external/llvm/tools/llvm-pdbdump/ |
VariableDumper.cpp | 107 Symbol.isReference() ? FunctionDumper::PointerType::Reference 164 PT = FunctionDumper::PointerType::Reference;
|
/external/mockito/src/main/java/org/mockito/internal/util/concurrent/ |
WeakConcurrentMap.java | 7 import java.lang.ref.Reference; 20 * equal only by reference equality. 125 Reference<?> reference; local 126 while ((reference = poll()) != null) { 127 target.remove(reference); 160 * Note that this map only supports reference equality for keys and uses system hash codes. Also, for the 175 * If we are looking up the map entry of a WeakKey after polling it from the reference queue, we know 179 * weak key with a null reference is removed. Due to hash collision, we do not know if this entry 180 * represents the weak key. However, we do know that the reference queue polls at least as many wea [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
StreamAllocation.java | 27 import java.lang.ref.Reference; 307 Reference<StreamAllocation> reference = connection.allocations.get(i); local 308 if (reference.get() == this) {
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
JumboStringConversionTest.java | 50 import org.jf.dexlib2.iface.reference.Reference; 51 import org.jf.dexlib2.iface.reference.StringReference; 136 @Nonnull @Override public Reference getReference() {
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/instruction/ |
SmalideaInstruction.java | 40 import org.jf.dexlib2.iface.reference.Reference; 41 import org.jf.dexlib2.immutable.reference.ImmutableFieldReference; 42 import org.jf.dexlib2.immutable.reference.ImmutableMethodReference; 43 import org.jf.dexlib2.immutable.reference.ImmutableStringReference; 44 import org.jf.dexlib2.immutable.reference.ImmutableTypeReference; 177 @Nonnull public Reference getReference() {
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
apmtest.m | 57 refpath = [filepath 'reference/']; 138 warning(['Reference directory ' refpathtest ' does not exist']); 162 fprintf(1, '\nAll files are bit-exact to reference\n', nErr); 164 fprintf(1, '\n%d files are NOT bit-exact to reference\n', nErr); 265 fprintf(['Reference file: ' refpath outfile '\n']); 324 warning(['Reference file ' reffile ' does not exist']); 337 warning('Reference is not the same length as output'); 345 fprintf([newfile ' is bit-exact to reference\n']);
|
/libcore/libart/src/main/java/java/lang/ |
Daemons.java | 23 import java.lang.ref.Reference; 31 * Calls Object.finalize() on objects in the finalizer reference queue. The VM 163 * pending list to the managed reference queue. 174 Reference<?> list; 197 // Object (not reference!) being finalized. Accesses may race! 245 private void doFinalize(FinalizerReference<?> reference) { 246 FinalizerReference.remove(reference); 247 Object object = reference.get(); 248 reference.clear(); 359 * processing a single reference, return that reference. Otherwise return null [all...] |
/art/runtime/gc/accounting/ |
remembered_set.cc | 83 void operator()(ObjPtr<mirror::Class> klass, ObjPtr<mirror::Reference> ref) const 149 // a reference to the target space. So, remove it from the dirty 156 // Remove the cards that didn't contain a reference to the target
|
/art/runtime/gc/collector/ |
mark_compact.cc | 204 // Disabled due to an issue where we have objects in the bump pointer space which reference dead 379 // Update the reference processor cleared list. 407 inline void MarkCompact::UpdateHeapReference(mirror::HeapReference<mirror::Object>* reference) { 408 mirror::Object* obj = reference->AsMirrorPtr(); 413 reference->Assign(new_obj); 427 void operator()(ObjPtr<mirror::Class> /*klass*/, mirror::Reference* ref) const 430 ref->GetFieldObjectReferenceAddr<kVerifyNone>(mirror::Reference::ReferentOffset())); 556 // Process the "referent" field in a java.lang.ref.Reference. If the referent has not yet been 559 ObjPtr<mirror::Reference> reference) { [all...] |
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor_util/ |
move.py | 91 for reference in module.FindAll(refactor.Reference): 92 reference_parts = reference.value.split('.') 97 reference.value = '.'.join(new_reference_parts)
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
Preconditions.java | 38 import org.jf.dexlib2.iface.reference.*; 191 public static <T extends Reference> T checkReference(int referenceType, T reference) { 194 if (!(reference instanceof StringReference)) { 195 throw new IllegalArgumentException("Invalid reference type, expecting a string reference"); 199 if (!(reference instanceof TypeReference)) { 200 throw new IllegalArgumentException("Invalid reference type, expecting a type reference"); 204 if (!(reference instanceof FieldReference)) [all...] |
/external/webrtc/webrtc/common_audio/signal_processing/ |
complex_bit_reverse_arm.S | 13 @ Reference C code is in file complex_bit_reverse.c. Bit-exact.
|
/frameworks/base/tools/aapt2/unflatten/ |
BinaryResourceParser.cpp | 46 * Visitor that converts a reference's resource ID to a resource name, 59 void Visit(Reference* reference) override { 60 if (!reference->id || !reference->id.value().is_valid()) { 64 ResourceId id = reference->id.value(); 67 reference->name = cache_iter->second; 443 << config << "' is a file reference to '" 484 // The parent is a regular reference to a resource. 485 style->parent = Reference(util::DeviceToHost32(map->parent.ident)) [all...] |