Home
last modified time | relevance | path

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

123456789

/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/xlat_tables/
Dxlat_tables_common.c60 mm->size, mm->attr); in print_mmap()
68 size_t size, mmap_attr_t attr) in mmap_add_region() argument
164 mm->attr = attr; in mmap_add_region()
175 mmap_add_region(mm->base_pa, mm->base_va, mm->size, mm->attr); in mmap_add()
180 static uint64_t mmap_desc(mmap_attr_t attr, unsigned long long addr_pa, in mmap_desc() argument
195 desc |= (attr & MT_NS) ? LOWER_ATTRS(NS) : 0; in mmap_desc()
196 desc |= (attr & MT_RW) ? LOWER_ATTRS(AP_RW) : LOWER_ATTRS(AP_RO); in mmap_desc()
209 mem_type = MT_TYPE(attr); in mmap_desc()
235 if ((attr & MT_RW) || (attr & MT_EXECUTE_NEVER)) { in mmap_desc()
249 debug_print(attr & MT_RW ? "-RW" : "-RO"); 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)
/device/generic/goldfish/dhcp/client/
Dnetlink.h15 auto attr = reinterpret_cast<struct rtattr*>(r.buf + offset); in addRouterAttribute() local
16 attr->rta_type = type; in addRouterAttribute()
17 attr->rta_len = RTA_LENGTH(size); in addRouterAttribute()
18 memcpy(RTA_DATA(attr), data, size); in addRouterAttribute()
21 r.hdr.nlmsg_len = NLMSG_ALIGN(r.hdr.nlmsg_len) + RTA_ALIGN(attr->rta_len); in addRouterAttribute()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/xlat_tables/
Dxlat_tables.h20 #define MAP_REGION_FLAT(adr, sz, attr) MAP_REGION(adr, adr, sz, attr) argument
25 #define MAP_REGION(pa, va, sz, attr) {(pa), (va), (sz), (attr)} argument
81 mmap_attr_t attr; member
87 size_t size, mmap_attr_t 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)
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/tbbr/
Dtbb_ext.c35 .attr.nvctr_type = NVCTR_TYPE_TFW
45 .attr.nvctr_type = NVCTR_TYPE_NTFW
62 .attr.key = TRUSTED_WORLD_KEY
70 .attr.key = NON_TRUSTED_WORLD_KEY
78 .attr.key = SCP_FW_CONTENT_CERT_KEY
95 .attr.key = SOC_FW_CONTENT_CERT_KEY
112 .attr.key = TRUSTED_OS_FW_CONTENT_CERT_KEY
149 .attr.key = NON_TRUSTED_FW_CONTENT_CERT_KEY
/device/amlogic/yukawa/gralloc/
Dgralloc_buffer_priv.h131 static inline int gralloc_buffer_attr_write(struct private_handle_t *hnd, buf_attr attr, int *val) in gralloc_buffer_attr_write() argument
135 if (!hnd || !val || attr >= GRALLOC_ARM_BUFFER_ATTR_LAST) in gralloc_buffer_attr_write()
144 switch (attr) in gralloc_buffer_attr_write()
167 static inline int gralloc_buffer_attr_read(struct private_handle_t *hnd, buf_attr attr, int *val) in gralloc_buffer_attr_read() argument
171 if (!hnd || !val || attr >= GRALLOC_ARM_BUFFER_ATTR_LAST) in gralloc_buffer_attr_read()
180 switch (attr) in gralloc_buffer_attr_read()
/device/linaro/hikey/gralloc960/
Dgralloc_buffer_priv.h132 static inline int gralloc_buffer_attr_write(struct private_handle_t *hnd, buf_attr attr, int *val) in gralloc_buffer_attr_write() argument
136 if (!hnd || !val || attr >= GRALLOC_ARM_BUFFER_ATTR_LAST) in gralloc_buffer_attr_write()
145 switch (attr) in gralloc_buffer_attr_write()
173 static inline int gralloc_buffer_attr_read(struct private_handle_t *hnd, buf_attr attr, int *val) in gralloc_buffer_attr_read() argument
177 if (!hnd || !val || attr >= GRALLOC_ARM_BUFFER_ATTR_LAST) in gralloc_buffer_attr_read()
186 switch (attr) in gralloc_buffer_attr_read()
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/
Dxf-osal.h185 pthread_attr_t attr; in __xf_thread_create() local
189 pthread_attr_init(&attr); in __xf_thread_create()
190 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); in __xf_thread_create()
191 pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN); in __xf_thread_create()
194 r = -pthread_create(thread, &attr, f, arg); in __xf_thread_create()
197 pthread_attr_destroy(&attr); in __xf_thread_create()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlinkmessage.cpp55 … const auto attr = nlmsg_find_attr((struct nlmsghdr*)mData.data(), sizeof(ifinfomsg), attributeId); in getAttribute() local
56 if (!attr) { in getAttribute()
59 value = (const uint8_t*) attr + NLA_HDRLEN; in getAttribute()
60 size = attr->nla_len; in getAttribute()
/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/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/arm-trusted-firmware/drivers/arm/tzc/
Dtzc_dmc500.c29 #define verify_region_attr(region, attr) \ argument
31 ((attr) >> TZC_REGION_ATTR_SEC_SHIFT)) \
32 && ((attr) & (0x1 << TZC_REGION_ATTR_F_EN_SHIFT)))
109 unsigned int attr; in tzc_dmc500_verify_complete() local
124 attr = _tzc_dmc500_read_region_attr_0( in tzc_dmc500_verify_complete()
129 region_no, dmc_inst, sys_if, attr); in tzc_dmc500_verify_complete()
130 if (!verify_region_attr(region_no, attr)) in tzc_dmc500_verify_complete()
/device/generic/goldfish-opengl/android-emu/android/base/threads/
DAndroidThread_pthread.cpp54 pthread_attr_t attr; in start() local
56 pthread_attr_init(&attr); in start()
57 pthread_attr_setstacksize(&attr, mStackSize); in start()
60 if (pthread_create(&mThread, mStackSize ? &attr : nullptr, thread_main, in start()
74 pthread_attr_destroy(&attr); in start()

123456789