HomeSort by relevance Sort by last modified time
    Searched refs:wr (Results 76 - 100 of 390) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/python/cpython3/Lib/test/
test_frame.py 37 wr = weakref.ref(c)
42 self.assertIsNot(None, wr())
46 self.assertIs(None, wr())
105 wr = weakref.ref(c)
108 self.assertIsNot(None, wr())
110 self.assertIs(None, wr())
test_exceptions.py 533 wr = weakref.ref(obj)
539 obj = wr()
544 wr = weakref.ref(obj)
550 obj = wr()
555 wr = weakref.ref(obj)
561 obj = wr()
566 wr = weakref.ref(obj)
573 obj = wr()
578 wr = weakref.ref(obj)
591 obj = wr()
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
racewalk.go 110 func instrumentnode(np **Node, init *Nodes, wr int, skip int) {
132 instrumentnode(&n, &l, wr, skip) // recurse with nil n->ninit
193 instrumentnode(&n.Left, init, wr, 0)
200 callinstr(&n, init, wr, skip)
205 callinstr(&n, init, wr, skip)
210 callinstr(&n, init, wr, skip)
238 instrumentnode(&n.Left, init, wr, 0)
239 instrumentnode(&n.Right, init, wr, 0)
242 instrumentnode(&n.Left, init, wr, 0)
248 instrumentnode(&n.Right, &n.Right.Ninit, wr, 0
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
racewalk.go 110 func instrumentnode(np **Node, init *Nodes, wr int, skip int) {
132 instrumentnode(&n, &l, wr, skip) // recurse with nil n->ninit
193 instrumentnode(&n.Left, init, wr, 0)
200 callinstr(&n, init, wr, skip)
205 callinstr(&n, init, wr, skip)
210 callinstr(&n, init, wr, skip)
238 instrumentnode(&n.Left, init, wr, 0)
239 instrumentnode(&n.Right, init, wr, 0)
242 instrumentnode(&n.Left, init, wr, 0)
248 instrumentnode(&n.Right, &n.Right.Ninit, wr, 0
    [all...]
  /device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/
spm.c 316 enum wake_reason_t wr; local
319 wr = WR_UNKNOWN;
330 wr = WR_PCM_TIMER;
332 wr = WR_WAKE_SRC;
337 wr = WR_WAKE_SRC;
342 wr = WR_PCM_ABORT;
353 return wr;
  /frameworks/base/core/java/com/android/internal/util/
FastPrintWriter.java 136 * Constructs a new {@code PrintWriter} with {@code wr} as its target
144 * @param wr
147 * if {@code wr} is {@code null}.
149 public FastPrintWriter(Writer wr) {
150 this(wr, false, 8192);
154 * Constructs a new {@code PrintWriter} with {@code wr} as its target
159 * @param wr
167 public FastPrintWriter(Writer wr, boolean autoFlush) {
168 this(wr, autoFlush, 8192);
172 * Constructs a new {@code PrintWriter} with {@code wr} as its targe
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_weakref.py 56 wr = weakref.ref(o)
57 repr(wr)
60 repr(wr)
409 wr = weakref.ref(c, lambda ignore: gc.collect())
413 del wr
417 wr = weakref.ref(c1.i, lambda ignore: gc.collect())
444 I.wr = weakref.ref(J, I.acallback)
448 # both a weak reference (I.wr) and a strong reference (I.J) to class
449 # J. I is also in a cycle (I.wr points to a weakref that references
463 # clear I.J first -- I.wr is still intact. That removes the last
    [all...]
  /external/python/cpython3/Modules/
_threadmodule.c 662 PyObject *tdict, *ldict = NULL, *wr = NULL; local
680 wr = PyWeakref_NewRef((PyObject *) dummy, self->wr_callback);
681 if (wr == NULL)
686 r = PyDict_SetItem(self->dummies, wr, ldict);
689 Py_CLEAR(wr);
700 Py_XDECREF(wr);
709 PyObject *wr; local
746 wr = PyWeakref_NewRef((PyObject *) self, NULL);
747 if (wr == NULL)
749 self->wr_callback = PyCFunction_NewEx(&wr_callback_def, wr, NULL)
1205 PyObject *wr; local
    [all...]
gcmodule.c 604 PyWeakReference *wr; /* generally a cast of op */ local
637 for (wr = *wrlist; wr != NULL; wr = *wrlist) {
638 PyGC_Head *wrasgc; /* AS_GC(wr) */
644 assert(wr->wr_object == op);
645 _PyWeakref_ClearRef(wr);
646 assert(wr->wr_object == Py_None);
647 if (wr->wr_callback == NULL)
651 * `wr`, which has a callback. Should the callback be invoked? If w
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
TerminalManager.java 133 WeakReference<TerminalBridge> wr = new WeakReference<TerminalBridge>(bridge); local
135 mHostBridgeMap.put(id, wr);
148 WeakReference<TerminalBridge> wr = mHostBridgeMap.get(id); local
149 if (wr != null) {
150 return wr.get();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
ReferenceQueueTest.java 68 WeakReference wr = new WeakReference(obj, rq); local
72 wr.enqueue();
97 wr.enqueue();
171 WeakReference wr = new WeakReference(obj, rq); local
178 wr.enqueue();
ReferenceTest.java 70 WeakReference wr = new WeakReference(tmpB, new ReferenceQueue()); local
73 && (wr.get() != null));
76 wr.clear();
79 && (wr.get() == null));
82 assertTrue("should always pass", tmpA != sr.get() && tmpB != wr.get());
  /external/tensorflow/tensorflow/contrib/verbs/
rdma.cc 457 // put back a recv wr.
531 struct ibv_recv_wr wr, *bad_wr;
532 memset(&wr, 0, sizeof(wr));
533 wr.sg_list = &ping_sge_list_;
534 wr.num_sge = 1;
535 wr.wr_id = kPingRecvWrid;
537 return ibv_post_recv(qp_, &wr, &bad_wr);
541 struct ibv_send_wr wr, *bad_wr;
542 memset(&wr, 0, sizeof(wr))
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
GaussNewtonOptimizer.java 89 final double wr = weight * residual; local
91 b[j] += wr * grad[j];
  /external/curl/tests/libtest/
first.c 45 int select_wrapper(int nfds, fd_set *rd, fd_set *wr, fd_set *exc,
63 return select(nfds, rd, wr, exc, tv);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
threadmodule.c 284 PyObject *tdict, *ldict = NULL, *wr = NULL; local
302 wr = PyWeakref_NewRef((PyObject *) dummy, self->wr_callback);
303 if (wr == NULL)
308 r = PyDict_SetItem(self->dummies, wr, ldict);
311 Py_CLEAR(wr);
322 Py_XDECREF(wr);
331 PyObject *wr; local
362 wr = PyWeakref_NewRef((PyObject *) self, NULL);
363 if (wr == NULL)
365 self->wr_callback = PyCFunction_New(&wr_callback_def, wr);
    [all...]
gcmodule.c 554 PyWeakReference *wr; /* generally a cast of op */ local
587 for (wr = *wrlist; wr != NULL; wr = *wrlist) {
588 PyGC_Head *wrasgc; /* AS_GC(wr) */
594 assert(wr->wr_object == op);
595 _PyWeakref_ClearRef(wr);
596 assert(wr->wr_object == Py_None);
597 if (wr->wr_callback == NULL)
601 * `wr`, which has a callback. Should the callback be invoked? If wr
    [all...]
  /external/python/cpython2/Modules/
threadmodule.c 284 PyObject *tdict, *ldict = NULL, *wr = NULL; local
302 wr = PyWeakref_NewRef((PyObject *) dummy, self->wr_callback);
303 if (wr == NULL)
308 r = PyDict_SetItem(self->dummies, wr, ldict);
311 Py_CLEAR(wr);
322 Py_XDECREF(wr);
331 PyObject *wr; local
368 wr = PyWeakref_NewRef((PyObject *) self, NULL);
369 if (wr == NULL)
371 self->wr_callback = PyCFunction_New(&wr_callback_def, wr);
    [all...]
gcmodule.c 605 PyWeakReference *wr; /* generally a cast of op */ local
638 for (wr = *wrlist; wr != NULL; wr = *wrlist) {
639 PyGC_Head *wrasgc; /* AS_GC(wr) */
645 assert(wr->wr_object == op);
646 _PyWeakref_ClearRef(wr);
647 assert(wr->wr_object == Py_None);
648 if (wr->wr_callback == NULL)
652 * `wr`, which has a callback. Should the callback be invoked? If w
    [all...]
  /external/python/cpython2/Lib/test/
test_weakref.py 79 wr = weakref.ref(o)
80 repr(wr)
83 repr(wr)
433 wr = weakref.ref(c, lambda ignore: gc.collect())
437 del wr
441 wr = weakref.ref(c1.i, lambda ignore: gc.collect())
468 I.wr = weakref.ref(J, I.acallback)
472 # both a weak reference (I.wr) and a strong reference (I.J) to class
473 # J. I is also in a cycle (I.wr points to a weakref that references
487 # clear I.J first -- I.wr is still intact. That removes the las
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_weakref.py 77 wr = weakref.ref(o)
78 repr(wr)
81 repr(wr)
430 wr = weakref.ref(c, lambda ignore: gc.collect())
434 del wr
438 wr = weakref.ref(c1.i, lambda ignore: gc.collect())
465 I.wr = weakref.ref(J, I.acallback)
469 # both a weak reference (I.wr) and a strong reference (I.J) to class
470 # J. I is also in a cycle (I.wr points to a weakref that references
484 # clear I.J first -- I.wr is still intact. That removes the las
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_weakref.py 77 wr = weakref.ref(o)
78 repr(wr)
81 repr(wr)
430 wr = weakref.ref(c, lambda ignore: gc.collect())
434 del wr
438 wr = weakref.ref(c1.i, lambda ignore: gc.collect())
465 I.wr = weakref.ref(J, I.acallback)
469 # both a weak reference (I.wr) and a strong reference (I.J) to class
470 # J. I is also in a cycle (I.wr points to a weakref that references
484 # clear I.J first -- I.wr is still intact. That removes the las
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_weakref.py 77 wr = weakref.ref(o)
78 repr(wr)
81 repr(wr)
430 wr = weakref.ref(c, lambda ignore: gc.collect())
434 del wr
438 wr = weakref.ref(c1.i, lambda ignore: gc.collect())
465 I.wr = weakref.ref(J, I.acallback)
469 # both a weak reference (I.wr) and a strong reference (I.J) to class
470 # J. I is also in a cycle (I.wr points to a weakref that references
484 # clear I.J first -- I.wr is still intact. That removes the las
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_weakref.py 77 wr = weakref.ref(o)
78 repr(wr)
81 repr(wr)
430 wr = weakref.ref(c, lambda ignore: gc.collect())
434 del wr
438 wr = weakref.ref(c1.i, lambda ignore: gc.collect())
465 I.wr = weakref.ref(J, I.acallback)
469 # both a weak reference (I.wr) and a strong reference (I.J) to class
470 # J. I is also in a cycle (I.wr points to a weakref that references
484 # clear I.J first -- I.wr is still intact. That removes the las
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
gcmodule.c 605 PyWeakReference *wr; /* generally a cast of op */ local
638 for (wr = *wrlist; wr != NULL; wr = *wrlist) {
639 PyGC_Head *wrasgc; /* AS_GC(wr) */
645 assert(wr->wr_object == op);
646 _PyWeakref_ClearRef(wr);
647 assert(wr->wr_object == Py_None);
648 if (wr->wr_callback == NULL)
652 * `wr`, which has a callback. Should the callback be invoked? If wr
    [all...]

Completed in 1215 milliseconds

1 2 34 5 6 7 8 91011>>