Home
last modified time | relevance | path

Searched refs:CAP1 (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/capset/
Dcapset02.c28 #define CAP1 (1 << CAP_NET_RAW | 1 << CAP_CHOWN | 1 << CAP_SETPCAP) macro
29 #define CAP2 (CAP1 | 1 << CAP_KILL)
46 {0x20080522, 0, CAP1, CAP1, CAP1, EFAULT, 1, "Test bad address header"},
47 {0x20080522, 0, CAP1, CAP1, CAP1, EFAULT, 2, "Test bad address data"},
48 {0, 0, CAP1, CAP1, CAP1, EINVAL, 0, "Test bad version"},
49 {0x20080522, 0, CAP2, CAP1, CAP1, EPERM, 0, "Test bad value data(when pE is not in pP)"},
50 {0x20080522, 0, CAP1, CAP2, CAP1, EPERM, 0, "Test bad value data(when pP is not in old pP)"},
51 …{0x20080522, 0, CAP1, CAP1, CAP2, EPERM, 0, "Test bad value data(when pI is not in bounding set or…
91 data->effective = CAP1; in setup()
92 data->permitted = CAP1; in setup()
[all …]
Dcapset03.c16 #define CAP1 (1 << CAP_KILL) macro
17 #define CAP2 (CAP1 | 1 << CAP_NET_RAW)
41 data[0].effective = CAP1; in setup()
42 data[0].permitted = CAP1; in setup()
43 data[0].inheritable = CAP1; in setup()
/external/deqp-deps/SPIRV-Tools/test/
Doperand_capabilities_test.cpp73 #define CASE2(TYPE, VALUE, CAP1, CAP2) \ argument
76 SpvCapability##CAP1, SpvCapability##CAP2 \
79 #define CASE3(TYPE, VALUE, CAP1, CAP2, CAP3) \ argument
82 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3 \
85 #define CASE4(TYPE, VALUE, CAP1, CAP2, CAP3, CAP4) \ argument
88 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \
92 #define CASE5(TYPE, VALUE, CAP1, CAP2, CAP3, CAP4, CAP5) \ argument
95 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \
/external/angle/third_party/spirv-tools/src/test/
Doperand_capabilities_test.cpp73 #define CASE2(TYPE, VALUE, CAP1, CAP2) \ argument
76 SpvCapability##CAP1, SpvCapability##CAP2 \
79 #define CASE3(TYPE, VALUE, CAP1, CAP2, CAP3) \ argument
82 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3 \
85 #define CASE4(TYPE, VALUE, CAP1, CAP2, CAP3, CAP4) \ argument
88 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \
92 #define CASE5(TYPE, VALUE, CAP1, CAP2, CAP3, CAP4, CAP5) \ argument
95 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \
/external/swiftshader/third_party/SPIRV-Tools/test/
Doperand_capabilities_test.cpp73 #define CASE2(TYPE, VALUE, CAP1, CAP2) \ argument
76 SpvCapability##CAP1, SpvCapability##CAP2 \
79 #define CASE3(TYPE, VALUE, CAP1, CAP2, CAP3) \ argument
82 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3 \
85 #define CASE5(TYPE, VALUE, CAP1, CAP2, CAP3, CAP4, CAP5) \ argument
88 SpvCapability##CAP1, SpvCapability##CAP2, SpvCapability##CAP3, \