/libcore/benchmarks/src/benchmarks/ |
ReferenceGetBenchmark.java | 44 Reference weak = new WeakReference(obj); local 46 Object o = weak.get(); 51 Reference weak = new WeakReference(obj); local 55 Object o = weak.get();
|
/art/runtime/jdwp/ |
object_registry.cc | 140 // We must not hold the mutator lock exclusively if we want to delete weak global 142 // 1. GC thread disables access to weak global references, then releases 148 // 4. JDWP thread clears weak global references but need to wait for GC 226 jobject weak = entry.jni_reference; local 229 env->DeleteWeakGlobalRef(weak); 259 // a weak ref and the GC has cleared it.
|
/external/mesa3d/src/mesa/vbo/ |
vbo.h | 46 GLuint weak:1; member in struct:_mesa_prim
|
vbo_save_api.c | 447 GLboolean weak; local 457 weak = save->prim[i].weak; 467 save->prim[0].weak = weak; 908 save->prim[i].weak = (mode & VBO_SAVE_PRIM_WEAK) ? 1 : 0; [all...] |
/external/skia/src/ports/ |
SkFontMgr_fontconfig.cpp | 152 * However, there is no such call and as of Fc 2.11.0 even FcPatternEquals ignores the weak bit. 153 * Currently, the only reliable way of finding the weak bit is by its effect on matching. 154 * The weak bit only affects the matching of FC_FAMILY and FC_POSTSCRIPT_NAME object values. 155 * A element with the weak bit is scored after FC_LANG, without the weak bit is scored before. 156 * Note that the weak bit is stored on the element, not on the value it holds. 195 SkAutoFcPattern weak; local 196 FcPatternAddString(weak, object, (const FcChar8*)"nomatchstring"); 197 FcPatternAddLangSet(weak, FC_LANG, weakLangSet); 200 FcFontSetAdd(fontSet, weak.detach()) [all...] |
/external/opencv3/modules/objdetect/src/ |
cascadedetect_convert.cpp | 146 HaarClassifier& weak = stage.weaks[j]; local 175 node.left = -(int)weak.leaves.size(); 176 weak.leaves.push_back((float)leftValNode); 185 node.right = -(int)weak.leaves.size(); 186 weak.leaves.push_back((float)rightValNode); 192 weak.nodes.push_back(node);
|
cascadedetect.hpp | 522 CascadeClassifierImpl::Data::DTree& weak = cascadeWeaks[stage.first + wi]; local 533 nodeOfs += weak.nodeCount; 534 leafOfs += weak.nodeCount + 1; 564 CascadeClassifierImpl::Data::DTree& weak = cascadeWeaks[stage.first + wi]; local 575 nodeOfs += weak.nodeCount; 576 leafOfs += weak.nodeCount + 1;
|
/frameworks/base/core/java/android/os/ |
FileObserver.java | 110 WeakReference weak = m_observers.get(wfd); local 111 if (weak != null) { // can happen with lots of events from a dead wfd 112 observer = (FileObserver) weak.get();
|
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
plugin_test.c | 261 int weak; local 324 weak = strncmp(info.bind, "WEAK", 4) == 0; 326 def = weak ? LDPK_WEAKUNDEF : LDPK_UNDEF; 330 def = weak ? LDPK_WEAKDEF : LDPK_DEF;
|
/art/runtime/ |
intern_table.cc | 58 os << "Intern table: " << StrongSize() << " strong; " << WeakSize() << " weak\n"; 296 // There is no match in the strong table, check the weak table. 297 mirror::String* weak = LookupWeakLocked(s); local 298 if (weak != nullptr) { 300 // A match was found in the weak table. Promote to the strong table. 301 RemoveWeak(weak); 302 return InsertStrong(weak); 304 return weak; 313 // No match in the strong table or the weak table. Insert into the strong / weak table [all...] |
/art/test/074-gc-thrash/src/ |
Main.java | 202 private static WeakReference weak[] = new WeakReference[MAX_DEPTH]; field in class:Deep 224 * Wipe "strong", do a GC, see if "weak" got collected. 232 if (weak[i].get() != null) { 233 System.err.println("Deep: weak still has " + i); 244 * "weak" should be matched in "strong", and the two should be 254 if (strong[i] != weak[i].get()) { 256 ", weak=" + weak[i].get()); 305 weak[depth] = new WeakReference(funStr);
|
/frameworks/native/libs/binder/tests/ |
binderLibTest.cpp | 649 wp<IBinder> weak = strong; local 650 sp<IBinder> strong_from_weak = weak.promote(); 655 strong_from_weak = weak.promote(); 865 wp<IBinder> weak; local 871 weak = data.readWeakBinder(); 872 if (weak == NULL) { 875 strong = weak.promote();
|
/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel.cc | 1151 bool P2PTransportChannel::weak() const { function in class:cricket::P2PTransportChannel [all...] |
port.h | 451 bool weak() const { return !(writable() && receiving() && connected()); } function in class:cricket::Connection
|
/system/connectivity/shill/vpn/ |
openvpn_driver_unittest.cc | 1378 WeakPtr<DeviceInfo> weak = device_info->AsWeakPtr(); local [all...] |
/external/opencv/ml/include/ |
ml.h | 1129 CvSeq* weak; member in class:CvBoost [all...] |
/external/elfutils/src/ |
ld.h | 38 defaultextract, /* Weak references don't cause archive member to 40 weakextract, /* Weak references cause archive member to be 324 /* Determine whether we have any non-weak unresolved references left. */ 447 unsigned int weak:1; member in struct:symbol 868 /* Number of truely unresolved, non-weak entries in the list. */ [all...] |
/external/opencv3/apps/traincascade/ |
old_ml.hpp | 1189 CvSeq* weak; member in class:CvBoost 1760 CvSeq** weak; member in class:CvGBTrees [all...] |
/external/caliper/lib/ |
jsr311-api-1.1.1.jar | |
/external/protobuf/src/google/protobuf/ |
descriptor.pb.h | 5774 inline bool FieldOptions::weak() const { function in class:google::protobuf::FieldOptions [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
descriptor.pb.h | 5164 inline bool FieldOptions::weak() const { function in class:google::protobuf::FieldOptions [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
descriptor.pb.h | 5164 inline bool FieldOptions::weak() const { function in class:google::protobuf::FieldOptions [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
descriptor.pb.h | 5164 inline bool FieldOptions::weak() const { function in class:google::protobuf::FieldOptions [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
descriptor.pb.h | 6548 inline bool FieldOptions::weak() const { function in class:google::protobuf::FieldOptions [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
descriptor.pb.h | 5164 inline bool FieldOptions::weak() const { function in class:google::protobuf::FieldOptions [all...] |