Home
last modified time | relevance | path

Searched refs:bool_arg (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/capabilities/
Dvalidate_cap.c24 static bool bool_arg(char **argv, int i) in bool_arg() function
57 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 1)) { in main()
62 if (capng_have_capability(CAPNG_PERMITTED, CAP_NET_BIND_SERVICE) != bool_arg(argv, 2)) { in main()
67 if (capng_have_capability(CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 3)) { in main()
72 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, … in main()
/external/clang/test/SemaOpenCL/
Dinvalid-kernel-parameters.cl12 kernel void bool_arg(bool x) { } // expected-error{{'bool' cannot be used as the type of a kernel p…