Searched refs:ref (Results 1 - 25 of 78) sorted by relevance

1234

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
H A DATokPtr.cpp39 void ANTLRTokenPtr::ref() const function in class:ANTLRTokenPtr
42 ptr_->ref();
70 lhs.ref(); // protect against "xp = xp"; ie same underlying object
78 addr->ref();
H A DATokPtr.h47 ANTLRTokenPtr(ANTLRAbstractToken *addr=NULL){ptr_ = addr; ref();}
48 ANTLRTokenPtr(const ANTLRTokenPtr &lhs) {ptr_ = lhs.ptr_; lhs.ref();}
72 void ref() const;
H A DAToken_traditional.h79 virtual void ref() {;} function in class:ANTLRAbstractToken
140 void ref() { refcnt_++; } function in class:ANTLRRefCountToken
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
H A DATokPtrImpl.h45 void ANTLRTokenPtr::ref() const function in class:ANTLRTokenPtr
48 ptr_->ref();
76 lhs.ref(); // protect against "xp = xp"; ie same underlying object
84 addr->ref();
H A DATokPtr.h47 ANTLRTokenPtr(ANTLRAbstractToken *addr=NULL){ptr_ = addr; ref();}
48 ANTLRTokenPtr(const ANTLRTokenPtr &lhs) {ptr_ = lhs.ptr_; lhs.ref();}
72 void ref() const;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A D_weakrefset.py5 from _weakref import ref namespace
18 self.weakcontainer = ref(weakcontainer)
38 def _remove(item, selfref=ref(self)):
70 wr = ref(item)
84 self.data.add(ref(item, self._remove))
109 self.data.remove(ref(item))
114 self.data.discard(ref(item))
148 self.data.difference_update(ref(item) for item in other)
155 self.data.difference_update(ref(item) for item in other)
165 self.data.intersection_update(ref(ite
[all...]
H A Dweakref.py9 # they are called this instead of "ref" to avoid name collisions with
10 # the module-global ref() function imported from _weakref.
17 ref,
30 __all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs",
48 def remove(wr, selfref=ref(self)):
211 class KeyedRef(ref):
224 self = ref.__new__(type, ob, callback)
245 def remove(k, selfref=ref(self)):
253 del self.data[ref(key)]
256 return self.data[ref(ke
[all...]
H A Dsgmllib.py457 def unknown_charref(self, ref): pass
458 def unknown_entityref(self, ref): pass
499 def unknown_entityref(self, ref):
501 print '*** unknown entity ref: &' + ref + ';'
503 def unknown_charref(self, ref):
505 print '*** unknown char ref: &#' + ref + ';'
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dweakrefobject.h60 PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); variable
73 #define PyWeakref_GET_OBJECT(ref) \
74 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \
75 ? ((PyWeakReference *)(ref))->wr_object \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/
H A Dmutation_inside_cyclegc.py28 keepalive.append(weakref.ref(a, callback))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A D_weakrefset.py5 from _weakref import ref namespace
18 self.weakcontainer = ref(weakcontainer)
38 def _remove(item, selfref=ref(self)):
72 wr = ref(item)
86 self.data.add(ref(item, self._remove))
111 self.data.remove(ref(item))
116 self.data.discard(ref(item))
142 self.data.difference_update(ref(item) for item in other)
154 self.data.intersection_update(ref(item) for item in other)
158 return self.data.issubset(ref(ite
[all...]
H A Dweakref.py9 # they are called this instead of "ref" to avoid name collisions with
10 # the module-global ref() function imported from _weakref.
17 ref,
30 __all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs",
48 def remove(wr, selfref=ref(self)):
250 class KeyedRef(ref):
263 self = ref.__new__(type, ob, callback)
284 def remove(k, selfref=ref(self)):
312 del self.data[ref(key)]
315 return self.data[ref(ke
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dweakrefobject.h63 PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); variable
69 #define PyWeakref_GET_OBJECT(ref) (((PyWeakReference *)(ref))->wr_object)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_weakref.py41 def callback(self, ref):
56 wr = weakref.ref(o)
70 ref1 = weakref.ref(o, self.callback)
71 ref2 = weakref.ref(o, self.callback)
85 # (the most recently created ref is cleaned up first). This
92 self.ref()
94 self.ref = weakref.ref(c, callback)
95 ref1 = weakref.ref(c, callback)
115 ref
[all...]
H A Dtest_code.py132 coderef = weakref.ref(f.__code__, callback)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dweakrefobject.c216 * two callback-less refs (ref and proxy). Used to determine if the
285 PyWeakReference *ref, *proxy; local
297 get_basic_refs(*list, &ref, &proxy);
299 if (ref != NULL) {
301 Py_INCREF(ref);
302 return (PyObject *)ref;
307 list on ob can be mutated. This means that the ref and
320 get_basic_refs(*list, &ref, &proxy);
321 prev = (proxy == NULL) ? ref : proxy;
758 PyWeakReference *ref, *prox local
817 PyWeakReference *ref, *proxy; local
877 PyWeakref_GetObject(PyObject *ref) argument
890 handle_callback(PyWeakReference *ref, PyObject *callback) argument
[all...]
H A Dobmalloc.c282 uint count; } ref; /* number of allocated blocks */ member in struct:pool_header
437 uint count; } ref;
828 ++pool->ref.count;
922 pool->ref.count = 1;
1022 assert(pool->ref.count > 0); /* else it was empty */
1032 if (--pool->ref.count != 0) {
1196 --pool->ref.count;
1197 assert(pool->ref.count > 0); /* else the pool is empty */
1853 if (p->ref.count == 0) {
1859 numblocks[sz] += p->ref
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dweakrefobject.c205 * two callback-less refs (ref and proxy). Used to determine if the
274 PyWeakReference *ref, *proxy; local
286 get_basic_refs(*list, &ref, &proxy);
288 if (ref != NULL) {
290 Py_INCREF(ref);
291 return (PyObject *)ref;
296 list on ob can be mutated. This means that the ref and
309 get_basic_refs(*list, &ref, &proxy);
310 prev = (proxy == NULL) ? ref : proxy;
747 PyWeakReference *ref, *prox local
806 PyWeakReference *ref, *proxy; local
866 PyWeakref_GetObject(PyObject *ref) argument
879 handle_callback(PyWeakReference *ref, PyObject *callback) argument
[all...]
/device/common/
H A Dgenerate-blob-lists.sh54 if test -d archive-ref
56 cp -R archive-ref $ARCHIVEDIR
136 elif ! test -d archive-ref
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
H A DbgenType.py36 ref = "&"
38 ref = ""
47 return ["%s%s%s%s %s" % (const, self.typeName, ref, out, name)]
/device/generic/goldfish/camera/
H A DExif.cpp310 const char* ref = floatValue < 0.0f ? "S" : "N";
311 createEntry(exifData, EXIF_IFD_GPS, EXIF_TAG_GPS_LATITUDE_REF, ref);
320 const char* ref = floatValue < 0.0f ? "W" : "E";
321 createEntry(exifData, EXIF_IFD_GPS, EXIF_TAG_GPS_LONGITUDE_REF, ref);
331 uint8_t ref = floatValue < 0.0f ? 1 : 0;
332 createEntry(exifData, EXIF_IFD_GPS, EXIF_TAG_GPS_ALTITUDE_REF, ref);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
H A Dtest_break.py45 for ref in unittest.signals._results:
46 if ref is result:
48 elif ref is not result:
157 ref = weakref.ref(result)
162 self.assertIsNone(ref())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dpdeps.py157 for ref in list:
158 print ref,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
H A DPresentation.c1357 if (Statement->HiiValue.Value.ref.DevicePath != 0) {
1358 StringPtr = GetToken (Statement->HiiValue.Value.ref.DevicePath, Selection->FormSet->HiiHandle);
1364 if (Statement->HiiValue.Value.ref.DevicePath != 0 && StringPtr != NULL && StringPtr[0] != L'\0') {
1375 HiiHandle = DevicePathToHiiHandle (DevicePath, &Statement->HiiValue.Value.ref.FormSetGuid);
1410 CopyMem (&Selection->FormSetGuid,&Statement->HiiValue.Value.ref.FormSetGuid, sizeof (EFI_GUID));
1411 Selection->FormId = Statement->HiiValue.Value.ref.FormId;
1412 Selection->QuestionId = Statement->HiiValue.Value.ref.QuestionId;
1413 } else if (!CompareGuid (&Statement->HiiValue.Value.ref.FormSetGuid, &gZeroGuid)) {
1417 if (!CompareGuid (&Statement->HiiValue.Value.ref.FormSetGuid, &Selection->FormSetGuid)) {
1430 Selection->Handle = FormSetGuidToHiiHandle(&Statement->HiiValue.Value.ref
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
H A Dlauxlib.c523 int ref; local
530 ref = (int)lua_tointeger(L, -1); /* ref = t[freelist] */
532 if (ref != 0) { /* any free element? */
533 lua_rawgeti(L, t, ref); /* remove it from list */
534 lua_rawseti(L, t, freelist); /* (t[freelist] = t[ref]) */
537 ref = (int)lua_rawlen(L, t) + 1; /* get a new reference */
538 lua_rawseti(L, t, ref);
539 return ref;
543 LUALIB_API void luaL_unref (lua_State *L, int t, int ref) { argument
[all...]

Completed in 510 milliseconds

1234