Home
last modified time | relevance | path

Searched refs:lookup (Results 1 – 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_symtable.py98 self.assertTrue(self.spam.lookup("glob").is_global())
99 self.assertFalse(self.spam.lookup("glob").is_declared_global())
100 self.assertTrue(self.spam.lookup("bar").is_global())
101 self.assertTrue(self.spam.lookup("bar").is_declared_global())
102 self.assertFalse(self.internal.lookup("x").is_global())
103 self.assertFalse(self.Mine.lookup("instance_var").is_global())
106 self.assertTrue(self.spam.lookup("x").is_local())
107 self.assertFalse(self.internal.lookup("x").is_local())
110 self.assertTrue(self.internal.lookup("x").is_referenced())
111 self.assertTrue(self.spam.lookup("internal").is_referenced())
[all …]
Dtest_ucn.py66 code = unicodedata.lookup(name)
102 self.assertEqual(unicodedata.lookup(name), char)
115 self.assertRaises(TypeError, unicodedata.lookup)
116 self.assertRaises(KeyError, unicodedata.lookup, u'unknown')
Dtest_codecs.py258 _,_,reader,writer = codecs.lookup(self.encoding)
416 _,_,reader,writer = codecs.lookup(self.encoding)
1136 self.assertRaises(TypeError, codecs.lookup)
1137 self.assertRaises(LookupError, codecs.lookup, "__spam__")
1138 self.assertRaises(LookupError, codecs.lookup, " ")
1349 name = codecs.lookup(encoding).name
1518 info = codecs.lookup("utf-8")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcodecs.py887 info = lookup(encoding)
920 data_info = lookup(data_encoding)
921 file_info = lookup(file_encoding)
939 return lookup(encoding).encode
949 return lookup(encoding).decode
960 encoder = lookup(encoding).incrementalencoder
974 decoder = lookup(encoding).incrementaldecoder
987 return lookup(encoding).streamreader
997 return lookup(encoding).streamwriter
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcodecs.py884 info = lookup(encoding)
917 data_info = lookup(data_encoding)
918 file_info = lookup(file_encoding)
936 return lookup(encoding).encode
946 return lookup(encoding).decode
957 encoder = lookup(encoding).incrementalencoder
971 decoder = lookup(encoding).incrementaldecoder
984 return lookup(encoding).streamreader
994 return lookup(encoding).streamwriter
Dsymtable.py100 def lookup(self, name): member in SymbolTable
109 return [self.lookup(ident) for ident in self.get_identifiers()]
241 info = mod.lookup(ident)
Dmailcap.py147 entries = lookup(caps, MIMEtype, key)
158 def lookup(caps, MIMEtype, key=None): function
Dlocale.py487 lookup = os.environ.get
489 localename = lookup(variable,None)
Dcgitb.py65 def lookup(name, frame, locals): function
92 where, value = lookup(token, frame, locals)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dlistcodecs.py21 codecs.lookup(name)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/world/
DREADME15 and a reverse lookup is attempted. This script will search the country names
72 Force reverse lookup. In this mode the address can be any Python
75 this flag), reverse lookup is performed on addresses if no matching
/device/google/bonito-sepolicy/vendor/qcom/common/
Dhal_bootctl.te23 # Read the sysfs to lookup what /dev/sgN device
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dhal_bootctl.te23 # Read the sysfs to lookup what /dev/sgN device
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dsetobject.h52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash); member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dsetobject.h52 setentry *(*lookup)(PySetObject *so, PyObject *key, long hash); member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dalgorithm.txt74 How many bits to make the first lookup is a tradeoff between the time it
92 2.2 More details on the inflate table lookup
96 lookup table for the first, let's say, nine bits of a Huffman symbol. The
117 You may wonder: why not just have one lookup table for how ever many bits the
127 So the number of bits for the first lookup table is a trade of the time to
186 to one lookup for the single table, or 1.66 lookups per symbol for the
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dalgorithm.txt74 How many bits to make the first lookup is a tradeoff between the time it
92 2.2 More details on the inflate table lookup
96 lookup table for the first, let's say, nine bits of a Huffman symbol. The
117 You may wonder: why not just have one lookup table for how ever many bits the
127 So the number of bits for the first lookup table is a trade of the time to
186 to one lookup for the single table, or 1.66 lookups per symbol for the
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dsetobject.c172 so->lookup = set_lookkey; in set_lookkey_string()
217 assert(so->lookup != NULL); in set_insert_key()
218 entry = so->lookup(so, key, hash); in set_insert_key()
412 entry = (so->lookup)(so, oldentry->key, oldentry->hash); in set_discard_entry()
439 entry = (so->lookup)(so, key, hash); in set_discard_key()
700 entry = (so->lookup)(so, key, hash); in set_contains_key()
713 lu_entry = (so->lookup)(so, entry->key, entry->hash); in set_contains_entry()
1029 so->lookup = set_lookkey_string; in make_new_set()
1134 f = a->lookup; a->lookup = b->lookup; b->lookup = f; in set_swap_bodies()
Ddictnotes.txt12 Class method lookup
16 followed by a lookup in a base class.
18 Instance attribute lookup and Global variables
244 more heavily exercised lookup stage with no further changes to the
249 provide knowledge that can be exploited for lookup optimization.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dsetobject.c172 so->lookup = set_lookkey; in set_lookkey_string()
216 assert(so->lookup != NULL); in set_insert_key()
217 entry = so->lookup(so, key, hash); in set_insert_key()
411 entry = (so->lookup)(so, oldentry->key, oldentry->hash); in set_discard_entry()
438 entry = (so->lookup)(so, key, hash); in set_discard_key()
699 entry = (so->lookup)(so, key, hash); in set_contains_key()
712 lu_entry = (so->lookup)(so, entry->key, entry->hash); in set_contains_entry()
1028 so->lookup = set_lookkey_string; in make_new_set()
1133 f = a->lookup; a->lookup = b->lookup; b->lookup = f; in set_swap_bodies()
Ddictnotes.txt12 Class method lookup
16 followed by a lookup in a base class.
18 Instance attribute lookup and Global variables
244 more heavily exercised lookup stage with no further changes to the
249 provide knowledge that can be exploited for lookup optimization.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmlparse.c399 lookup(HASH_TABLE *table, KEY name, size_t createSize);
2242 entity = (ENTITY *)lookup(&dtd->generalEntities, name, 0); in doContent()
2629 elementType = (ELEMENT_TYPE *)lookup(&dtd->elementTypes, tagNamePtr->str,0); in storeAtts()
2634 elementType = (ELEMENT_TYPE *)lookup(&dtd->elementTypes, name, in storeAtts()
2805 id = (ATTRIBUTE_ID *)lookup(&dtd->attributeIds, s, 0); in storeAtts()
3767 declEntity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
3822 ENTITY *entity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
3866 ENTITY *entity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
4080 declEntity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
4155 declEntity = (ENTITY *)lookup(&dtd->generalEntities, name, in doProlog()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
Dxmlparse.c399 lookup(HASH_TABLE *table, KEY name, size_t createSize);
2242 entity = (ENTITY *)lookup(&dtd->generalEntities, name, 0); in doContent()
2629 elementType = (ELEMENT_TYPE *)lookup(&dtd->elementTypes, tagNamePtr->str,0); in storeAtts()
2634 elementType = (ELEMENT_TYPE *)lookup(&dtd->elementTypes, name, in storeAtts()
2805 id = (ATTRIBUTE_ID *)lookup(&dtd->attributeIds, s, 0); in storeAtts()
3767 declEntity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
3822 ENTITY *entity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
3866 ENTITY *entity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
4080 declEntity = (ENTITY *)lookup(&dtd->paramEntities, in doProlog()
4155 declEntity = (ENTITY *)lookup(&dtd->generalEntities, name, in doProlog()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmlparse.c402 lookup(XML_Parser parser, HASH_TABLE *table, KEY name, size_t createSize);
2326 entity = (ENTITY *)lookup(parser, &dtd->generalEntities, name, 0); in doContent()
2716 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, tagNamePtr->str,0); in storeAtts()
2721 elementType = (ELEMENT_TYPE *)lookup(parser, &dtd->elementTypes, name, in storeAtts()
2913 id = (ATTRIBUTE_ID *)lookup(parser, &dtd->attributeIds, s, 0); in storeAtts()
3884 declEntity = (ENTITY *)lookup(parser, in doProlog()
3942 ENTITY *entity = (ENTITY *)lookup(parser, in doProlog()
3987 ENTITY *entity = (ENTITY *)lookup(parser, &dtd->paramEntities, in doProlog()
4201 declEntity = (ENTITY *)lookup(parser, in doProlog()
4277 declEntity = (ENTITY *)lookup(parser, &dtd->generalEntities, name, in doProlog()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DUniClassObject.py159 self.__utf16 = codecs.lookup('utf-16')
310 Info = codecs.lookup(Encoding)
315 Ucs2Info = codecs.lookup('ucs-2')
324 Info = codecs.lookup(Encoding)

12