Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
Dcharmap.py25 def __init__(self, errors='strict', mapping=None): argument
27 self.mapping = mapping
30 return codecs.charmap_encode(input, self.errors, self.mapping)[0]
33 def __init__(self, errors='strict', mapping=None): argument
35 self.mapping = mapping
38 return codecs.charmap_decode(input, self.errors, self.mapping)[0]
42 def __init__(self,stream,errors='strict',mapping=None): argument
44 self.mapping = mapping
47 return Codec.encode(input,errors,self.mapping)
51 def __init__(self,stream,errors='strict',mapping=None): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
Dcharmap.py25 def __init__(self, errors='strict', mapping=None): argument
27 self.mapping = mapping
30 return codecs.charmap_encode(input, self.errors, self.mapping)[0]
33 def __init__(self, errors='strict', mapping=None): argument
35 self.mapping = mapping
38 return codecs.charmap_decode(input, self.errors, self.mapping)[0]
42 def __init__(self,stream,errors='strict',mapping=None): argument
44 self.mapping = mapping
47 return Codec.encode(input,errors,self.mapping)
51 def __init__(self,stream,errors='strict',mapping=None): argument
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_imports.py65 def build_pattern(mapping=MAPPING): argument
66 mod_list = ' | '.join(["module_name='%s'" % key for key in mapping])
67 bare_names = alternates(mapping.keys())
90 mapping = MAPPING variable in FixImports
97 return "|".join(build_pattern(self.mapping))
126 new_name = unicode(self.mapping[mod_name])
Dfix_imports2.py16 mapping = MAPPING variable in FixImports2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xml_etree.py104 def check_mapping(mapping): argument
105 len(mapping)
106 keys = mapping.keys()
107 items = mapping.items()
109 item = mapping[key]
110 mapping["key"] = "value"
111 if mapping["key"] != "value":
112 print "expected value string, got %r" % mapping["key"]
Dtest_pep292.py142 eq(s.substitute(dict(foo='none'), mapping='bozo'),
144 eq(s.substitute(dict(mapping='one'), mapping='two'),
157 eq(s.safe_substitute(dict(foo='none'), mapping='bozo'),
159 eq(s.safe_substitute(dict(mapping='one'), mapping='two'),
161 d = dict(mapping='one')
Dtest_nis.py26 mapping = nis.cat(nismap)
27 for k, v in mapping.items():
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dcache.c77 self->mapping = PyDict_New(); in pysqlite_cache_init()
78 if (!self->mapping) { in pysqlite_cache_init()
111 Py_DECREF(self->mapping); in pysqlite_cache_dealloc()
123 node = (pysqlite_Node*)PyDict_GetItem(self->mapping, key); in pysqlite_cache_get()
166 if (PyDict_Size(self->mapping) == self->size) { in pysqlite_cache_get()
170 if (PyDict_DelItem(self->mapping, self->last->key) != 0) { in pysqlite_cache_get()
198 if (PyDict_SetItem(self->mapping, key, (PyObject*)node) != 0) { in pysqlite_cache_get()
Dcache.h48 PyObject* mapping; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstring.py152 mapping = kws
154 mapping = _multimap(kws, args[0])
156 mapping = args[0]
162 val = mapping[named]
178 mapping = kws
180 mapping = _multimap(kws, args[0])
182 mapping = args[0]
190 return '%s' % (mapping[named],)
196 return '%s' % (mapping[braced],)
Dsre_compile.py330 mapping = [0]*256
336 mapping[i] = new
346 mapping = array.array('b', mapping).tostring()
348 mapping = array.array(code, mapping)
349 assert mapping.itemsize == _sre.CODESIZE
350 header = header + mapping.tolist()
DConfigParser.py563 for mapping in self._maps:
565 return mapping[key]
573 for mapping in self_maps:
574 for key in mapping:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/
DREADME1 To generate or modify mapping headers
34 To conform to Windows's real mapping, cp932 codec maps the following
35 codepoints in addition of the official cp932 mapping.
49 unicode U+FF3C instead of U+005C as on unicode.org's mapping.
51 is shown as a full width character, mapping to U+FF3C can make
74 The shift-jis codec is mapping 0x20-0x7e area to U+20-U+7E directly
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
DREADME1 To generate or modify mapping headers
34 To conform to Windows's real mapping, cp932 codec maps the following
35 codepoints in addition of the official cp932 mapping.
49 unicode U+FF3C instead of U+005C as on unicode.org's mapping.
51 is shown as a full width character, mapping to U+FF3C can make
74 The shift-jis codec is mapping 0x20-0x7e area to U+20-U+7E directly
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dstring.py156 mapping = kws
158 mapping = _multimap(kws, args[0])
160 mapping = args[0]
166 val = mapping[named]
186 mapping = kws
188 mapping = _multimap(kws, args[0])
190 mapping = args[0]
198 return '%s' % (mapping[named],)
Dsre_compile.py374 mapping = bytearray(256)
380 mapping[i // 256] = comps[chunk]
382 mapping[i // 256] = comps[chunk] = block
386 data[0:0] = [block] + _bytes_to_codes(mapping)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PlatformDriOverrideDxe/
DPlatDriOverrideDxe.uni16 // mapping between drivers to controllers.
17 // 4. It save all the mapping info in NV variables for the following boot,
41 …"3. It exports and dynamicly updates two menu to let user select the mapping between drivers to c…
42 …"4. It saves all the mapping info in NV variables for the following boot, which will be consumed …
DVfrStrings.uni62 #string STR_CLEAR_ALL #language en-US "Clear all mapping record!"
63 … #language fr-FR "fr-FR: Clear all mapping record!"
65 … #language fr-FR "fr-FR: Clear all mapping record!"
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_codecsmodule.c559 PyObject *mapping = NULL; in charmap_decode() local
562 &pbuf, &errors, &mapping)) in charmap_decode()
564 if (mapping == Py_None) in charmap_decode()
565 mapping = NULL; in charmap_decode()
567 unicode = PyUnicode_DecodeCharmap(pbuf.buf, pbuf.len, mapping, errors); in charmap_decode()
955 PyObject *mapping = NULL; in charmap_encode() local
958 &str, &errors, &mapping)) in charmap_encode()
960 if (mapping == Py_None) in charmap_encode()
961 mapping = NULL; in charmap_encode()
969 mapping, in charmap_encode()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_codecsmodule.c559 PyObject *mapping = NULL; in charmap_decode() local
562 &pbuf, &errors, &mapping)) in charmap_decode()
564 if (mapping == Py_None) in charmap_decode()
565 mapping = NULL; in charmap_decode()
567 unicode = PyUnicode_DecodeCharmap(pbuf.buf, pbuf.len, mapping, errors); in charmap_decode()
955 PyObject *mapping = NULL; in charmap_encode() local
958 &str, &errors, &mapping)) in charmap_encode()
960 if (mapping == Py_None) in charmap_encode()
961 mapping = NULL; in charmap_encode()
969 mapping, in charmap_encode()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
DTODO.txt5 Handle mapping, sequence, buffer protocols.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
Dmsi.py589 c.mapping("ActionText", "Text")
591 c.mapping("ActionData", "Text")
647 c.mapping("SelectionNoItems", "Enabled")
665 c.mapping("SelectionNoItems","Enabled")
673 c.mapping("SelectionDescription","Text")
677 c.mapping("SelectionSize", "Text")
764 c.mapping("ActionText", "Text")
771 c.mapping("SetProgress", "Progress")
/device/linaro/bootloader/edk2/UefiCpuPkg/ResetVector/Vtf0/X64/
DPageTables.asm3 ; Emits Page Tables for 1:1 mapping of the addresses 0 - 0x100000000 (4GB)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c4055 PyObject *mapping, in PyUnicode_DecodeCharmap() argument
4072 if (mapping == NULL) in PyUnicode_DecodeCharmap()
4082 if (PyUnicode_CheckExact(mapping)) { in PyUnicode_DecodeCharmap()
4083 mapstring = PyUnicode_AS_UNICODE(mapping); in PyUnicode_DecodeCharmap()
4084 maplen = PyUnicode_GET_SIZE(mapping); in PyUnicode_DecodeCharmap()
4119 x = PyObject_GetItem(mapping, w); in PyUnicode_DecodeCharmap()
4395 encoding_map_lookup(Py_UNICODE c, PyObject *mapping) in encoding_map_lookup() argument
4397 struct encoding_map *map = (struct encoding_map*)mapping; in encoding_map_lookup()
4431 static PyObject *charmapencode_lookup(Py_UNICODE c, PyObject *mapping) in charmapencode_lookup() argument
4438 x = PyObject_GetItem(mapping, w); in charmapencode_lookup()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c4112 PyObject *mapping, in PyUnicode_DecodeCharmap() argument
4129 if (mapping == NULL) in PyUnicode_DecodeCharmap()
4139 if (PyUnicode_CheckExact(mapping)) { in PyUnicode_DecodeCharmap()
4140 mapstring = PyUnicode_AS_UNICODE(mapping); in PyUnicode_DecodeCharmap()
4141 maplen = PyUnicode_GET_SIZE(mapping); in PyUnicode_DecodeCharmap()
4176 x = PyObject_GetItem(mapping, w); in PyUnicode_DecodeCharmap()
4480 encoding_map_lookup(Py_UNICODE c, PyObject *mapping) in encoding_map_lookup() argument
4482 struct encoding_map *map = (struct encoding_map*)mapping; in encoding_map_lookup()
4516 static PyObject *charmapencode_lookup(Py_UNICODE c, PyObject *mapping) in charmapencode_lookup() argument
4523 x = PyObject_GetItem(mapping, w); in charmapencode_lookup()
[all …]

123