Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 189) sorted by relevance

12345678

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DVariableAttributes.py37 for attr in attr_list:
38 attr = attr.strip()
39 if attr == 'RO':
42 VarAttr = VarAttr | VariableAttributes.VarAttributesMap.get(attr, 0x00000000)
50 for attr in attr_list:
51 attr = attr.strip()
52 attr_temp.append(attr)
53 if attr not in VariableAttributes.VarAttributesMap:
/device/linaro/bootloader/arm-trusted-firmware/lib/aarch64/
Dxlat_tables.c81 mm->base_pa, mm->size, mm->attr); in print_mmap()
89 unsigned long size, unsigned attr) in mmap_add_region() argument
116 mm->attr = attr; in mmap_add_region()
127 mmap_add_region(mm->base_pa, mm->base_va, mm->size, mm->attr); in mmap_add()
132 static unsigned long mmap_desc(unsigned attr, unsigned long addr_pa, in mmap_desc() argument
139 desc |= attr & MT_NS ? LOWER_ATTRS(NS) : 0; in mmap_desc()
141 desc |= attr & MT_RW ? LOWER_ATTRS(AP_RW) : LOWER_ATTRS(AP_RO); in mmap_desc()
145 if (attr & MT_MEMORY) { in mmap_desc()
147 if (attr & MT_RW) in mmap_desc()
154 debug_print(attr & MT_MEMORY ? "MEM" : "DEV"); in mmap_desc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dpydocfodder.py194 def __init__(self, attr): argument
195 self.attr = attr
198 return inst.desc[self.attr]
200 def __init__(self, attr): argument
201 self.attr = attr
204 inst.desc[self.attr] = val
206 def __init__(self, attr): argument
207 self.attr = attr
210 del inst.desc[self.attr]
Dtest_importlib.py46 for attr, default in (('meta_path', []), ('path', []),
49 originals[attr] = getattr(sys, attr)
50 if attr in kwargs:
51 new_value = kwargs[attr]
52 del kwargs[attr]
55 setattr(sys, attr, new_value)
61 for attr, value in originals.items():
62 setattr(sys, attr, value)
86 module.attr = name
Dtest_xmllib.py33 def unknown_starttag(self, name, attr): argument
34 self.name, self.attr = name, attr
41 self.assertEqual(h.attr, {'attr':'val'})
Dtest_cd.py22 for attr in cdattrs:
24 print 'touching: ', attr
25 getattr(cd, attr)
Dtest_cl.py74 for attr in clattrs:
76 print 'touching: ', attr
77 getattr(cl, attr)
Dtest_al.py18 for attr in alattrs:
20 print 'touching: ', attr
21 getattr(al, attr)
Dtest_minidom.py710 attr = doc.documentElement.getAttributeNode("attr")
711 self.assertNotEqual(attr, None)
712 clone = attr.cloneNode(deep)
713 self.confirm(not clone.isSameNode(attr))
714 self.confirm(not attr.isSameNode(clone))
717 self.confirm(clone.ownerDocument.isSameNode(attr.ownerDocument),
1079 attr = elem.attributes['a']
1082 attr = doc.renameNode(attr, xml.dom.EMPTY_NAMESPACE, "b")
1083 self.confirm(attr.name == "b"
1084 and attr.nodeName == "b"
[all …]
Dtest_gl.py98 for attr in glattrs:
100 print 'touching: ', attr
101 getattr(gl, attr)
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch64/
Dxlat_tables.h47 #define MAP_REGION_FLAT(adr, sz, attr) MAP_REGION(adr, adr, sz, attr) argument
52 #define MAP_REGION(pa, va, sz, attr) {(pa), (va), (sz), (attr)} argument
79 mmap_attr_t attr; member
83 unsigned long size, unsigned attr);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dvisitor.py92 for attr in dir(node):
93 if attr[0] != '_':
94 print "\t", "%-12.12s" % attr, getattr(node, attr)
111 for attr in dir(node):
112 if attr[0] != '_':
113 print "\t", "%-10.10s" % attr, getattr(node, attr)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/
DEnum.py23 for attr in dict.keys():
24 if not (attr.startswith('__') and attr.endswith('__')):
25 enumval = EnumInstance(name, attr, dict[attr])
26 setattr(cls, attr, enumval)
27 cls._members.append(attr)
56 for attr in obj._members:
58 if not attr in cls._members:
59 cls._members.append(attr)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_funcattrs.py19 attr = results["attr"][0]
20 attr.replace(Name((u"__%s__" % attr.value[5:]),
21 prefix=attr.prefix))
Dfix_methodattrs.py22 attr = results["attr"][0]
23 new = unicode(MAP[attr.value])
24 attr.replace(Name(new, prefix=attr.prefix))
Dfix_sys_exc.py27 attr = Attr(Name(u"sys"), call)
28 attr[1].children[0].prefix = results["dot"].prefix
29 attr.append(Subscript(index))
30 return Node(syms.power, attr, prefix=node.prefix)
Dfix_next.py50 attr = results.get("attr")
55 attr.replace(Name(u"__next__", prefix=attr.prefix))
63 elif attr:
72 attr.replace(Name(u"__next__"))
/device/linaro/hikey/gralloc960/
Dgralloc_buffer_priv.h146 static inline int gralloc_buffer_attr_write( struct private_handle_t *hnd, buf_attr attr, int *val ) in gralloc_buffer_attr_write() argument
150 if( !hnd || !val || attr >= GRALLOC_ARM_BUFFER_ATTR_LAST ) in gralloc_buffer_attr_write()
157 switch( attr ) in gralloc_buffer_attr_write()
180 static inline int gralloc_buffer_attr_read( struct private_handle_t *hnd, buf_attr attr, int *val ) in gralloc_buffer_attr_read() argument
184 if( !hnd || !val || attr >= GRALLOC_ARM_BUFFER_ATTR_LAST ) in gralloc_buffer_attr_read()
191 switch( attr ) in gralloc_buffer_attr_read()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfunctools.py32 for attr in assigned:
33 setattr(wrapper, attr, getattr(wrapped, attr))
34 for attr in updated:
35 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dfunctools.py32 for attr in assigned:
33 setattr(wrapper, attr, getattr(wrapped, attr))
34 for attr in updated:
35 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Ddumppyc.py9 for attr in dir(obj):
10 if attr.startswith('co_'):
11 val = getattr(obj, attr)
12 print "\t", attr, repr(val)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Doperator.c467 PyObject *attr; member
476 PyObject *attr; in attrgetter_new() local
484 if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &attr)) in attrgetter_new()
487 attr = args; in attrgetter_new()
494 Py_INCREF(attr); in attrgetter_new()
495 ag->attr = attr; in attrgetter_new()
506 Py_XDECREF(ag->attr); in attrgetter_dealloc()
513 Py_VISIT(ag->attr); in attrgetter_traverse()
518 dotted_getattr(PyObject *obj, PyObject *attr) in dotted_getattr() argument
523 if (PyUnicode_Check(attr)) { in dotted_getattr()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
Dminidom.py668 for attr in self._attrs.values():
669 attr.unlink()
687 attr = self.getAttributeNode(attname)
688 if attr is None:
689 attr = Attr(attname)
691 d = attr.__dict__
694 self.setAttributeNode(attr)
695 elif value != attr.value:
696 d = attr.__dict__
698 if attr.isId:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/
Dminidom.py666 for attr in self._attrs.values():
667 attr.unlink()
685 attr = self.getAttributeNode(attname)
686 if attr is None:
687 attr = Attr(attname)
689 d = attr.__dict__
692 self.setAttributeNode(attr)
693 elif value != attr.value:
694 d = attr.__dict__
696 if attr.isId:
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Doperator.c595 PyObject *attr; member
604 PyObject *attr; in attrgetter_new() local
612 if (!PyArg_UnpackTuple(args, "attrgetter", 1, 1, &attr)) in attrgetter_new()
615 attr = args; in attrgetter_new()
622 Py_INCREF(attr); in attrgetter_new()
623 ag->attr = attr; in attrgetter_new()
634 Py_XDECREF(ag->attr); in attrgetter_dealloc()
641 Py_VISIT(ag->attr); in attrgetter_traverse()
646 dotted_getattr(PyObject *obj, PyObject *attr) in dotted_getattr() argument
651 if (PyUnicode_Check(attr)) { in dotted_getattr()
[all …]

12345678