OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IdSet
(Results
1 - 13
of
13
) sorted by null
/external/drm_hwcomposer/
separate_rects.h
89
struct
IdSet
{
93
IdSet
() : bitset(0) {
96
IdSet
(TId id) : bitset(0) {
116
bool operator==(const
IdSet
<TId> &rhs) const {
120
bool operator<(const
IdSet
<TId> &rhs) const {
124
IdSet
<TId> operator|(const
IdSet
<TId> &rhs) const {
125
IdSet
ret;
130
IdSet
<TId> operator|(TId id) const {
131
IdSet
<TId> ret
[
all
...]
separate_rects.cpp
32
IdSet
<TId> id_set;
65
std::ostream &operator<<(std::ostream &os, const
IdSet
<TUInt> &obj) {
66
int bits =
IdSet
<TUInt>::max_elements;
88
if (in.size() >
IdSet
<TNum>::max_elements) {
105
std::vector<std::pair<TNum,
IdSet
<TId>>> active_regions;
186
IdSet
<TId> active_set;
207
for (std::vector<std::pair<TNum,
IdSet
>>::iterator it =
234
for (typename std::vector<std::pair<TNum,
IdSet
<TId>>>::iterator it =
237
IdSet
<TId> region_set = it->second;
245
typename std::vector<std::pair<TNum,
IdSet
<TId>>>::iterator next_it = it
[
all
...]
/external/selinux/sepolgen/tests/
test_access.py
33
self.assertTrue(isinstance(a.perms, refpolicy.
IdSet
))
139
b.perms = refpolicy.
IdSet
(["read"])
143
b.perms = refpolicy.
IdSet
(["read", "write", "append"])
146
b.perms = refpolicy.
IdSet
(["read", "append"])
180
self.assertEqual(av.perms, refpolicy.
IdSet
(["read", "write"]))
223
self.assertEqual(av.perms, refpolicy.
IdSet
(["read", "write"]))
238
a.add("$1", "foo", "file", refpolicy.
IdSet
(["read", "write"]))
239
a.add("$1", "bar", "file", refpolicy.
IdSet
(["read", "write"]))
240
a.add("what", "bar", "file", refpolicy.
IdSet
(["read", "write"]))
test_interfaces.py
50
self.assertEqual(p.obj_classes, refpolicy.
IdSet
(["file"]))
60
self.assertEqual(p.obj_classes, refpolicy.
IdSet
(["process"]))
70
self.assertEqual(p.obj_classes, refpolicy.
IdSet
(["dir"]))
80
self.assertEqual(p.obj_classes, refpolicy.
IdSet
(["dir"]))
test_refpolicy.py
26
s = refpolicy.
IdSet
(["read", "write", "getattr"])
32
s = refpolicy.
IdSet
()
/external/selinux/sepolgen/src/sepolgen/
refpolicy.py
245
class
IdSet
(set):
345
self.perms =
IdSet
()
357
self.attributes =
IdSet
()
370
self.roleattributes =
IdSet
()
380
self.types =
IdSet
()
392
self.attributes =
IdSet
()
393
self.aliases =
IdSet
()
407
self.aliases =
IdSet
()
454
self.src_types =
IdSet
()
455
self.tgt_types =
IdSet
()
[
all
...]
access.py
79
.perms - The permissions allowed to the object class. [
IdSet
]
89
self.perms = refpolicy.
IdSet
()
120
self.perms = refpolicy.
IdSet
(list[3:])
287
types = refpolicy.
IdSet
()
300
s = refpolicy.
IdSet
()
interfaces.py
41
self.obj_classes = refpolicy.
IdSet
()
446
new_perms = refpolicy.
IdSet
()
refparser.py
892
# be handled somewhat gracefully. Names returns an
IdSet
and care must
897
# times the list should be used to update an
IdSet
.
907
s = refpolicy.
IdSet
()
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
refpolicy.py
245
class
IdSet
(set):
345
self.perms =
IdSet
()
357
self.attributes =
IdSet
()
370
self.roleattributes =
IdSet
()
380
self.types =
IdSet
()
392
self.attributes =
IdSet
()
393
self.aliases =
IdSet
()
407
self.aliases =
IdSet
()
454
self.src_types =
IdSet
()
455
self.tgt_types =
IdSet
()
[
all
...]
access.py
79
.perms - The permissions allowed to the object class. [
IdSet
]
89
self.perms = refpolicy.
IdSet
()
120
self.perms = refpolicy.
IdSet
(list[3:])
287
types = refpolicy.
IdSet
()
300
s = refpolicy.
IdSet
()
interfaces.py
41
self.obj_classes = refpolicy.
IdSet
()
446
new_perms = refpolicy.
IdSet
()
refparser.py
893
# be handled somewhat gracefully. Names returns an
IdSet
and care must
898
# times the list should be used to update an
IdSet
.
908
s = refpolicy.
IdSet
()
Completed in 167 milliseconds