Home
last modified time | relevance | path

Searched refs:neg_one (Results 1 – 25 of 33) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid01.c76 uid_t neg_one = -1; variable
95 &neg_one, &neg_one, &neg_one, &root, &root, &root,
97 &neg_one, &neg_one, &nobody_pw_uid, &root, &root, &nobody,
99 &neg_one, &bin_pw_uid, &neg_one, &root, &bin, &nobody,
101 &neg_one, &neg_one, &root_pw_uid, &root, &bin, &root,
103 &neg_one, &neg_one, &bin_pw_uid, &root, &bin, &bin,
105 &neg_one, &root_pw_uid, &neg_one, &root, &root, &bin,
107 &nobody_pw_uid, &neg_one, &neg_one, &nobody, &root, &bin,
109 &neg_one, &root_pw_uid, &neg_one, &nobody, &root, &bin,
111 &root_pw_uid, &neg_one, &root_pw_uid, &root, &root, &root,
Dsetresuid02.c71 uid_t neg_one = -1; variable
97 &neg_one, &neg_one, &bin_pw_uid, &nobody, &bin, &bin,
99 &neg_one, &nobody_pw_uid, &neg_one, &nobody, &nobody, &bin,
101 &bin_pw_uid, &neg_one, &neg_one, &bin, &nobody, &bin,
Dsetresuid03.c76 uid_t neg_one = -1; variable
104 &nobody_pw_uid, &neg_one, &neg_one, EPERM, &root, &bin, &bin,
106 &neg_one, &neg_one, &nobody_pw_uid, EPERM, &root, &bin, &bin,
108 &neg_one, &nobody_pw_uid, &neg_one, EPERM, &root, &bin, &bin,
/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid05.c38 static uid_t neg_one = -1; variable
52 &neg_one, &nobody.pw_uid, &pass, &nobody, &nobody,
54 &neg_one, &root.pw_uid, &pass, &nobody, &root,
56 &daemonpw.pw_uid, &neg_one, &pass, &daemonpw, &root,
58 &neg_one, &bin.pw_uid, &pass, &daemonpw, &bin,
60 &neg_one, &root.pw_uid, &fail, &daemonpw, &bin,
62 &neg_one, &nobody.pw_uid, &fail, &daemonpw, &bin,
64 &neg_one, &daemonpw.pw_uid, &pass, &daemonpw, &daemonpw,
66 &neg_one, &bin.pw_uid, &pass, &daemonpw, &bin,
70 &neg_one, &bin.pw_uid, &pass, &bin, &bin, "After setreuid(-1, bin),"},
[all …]
Dsetreuid02.c35 static uid_t neg_one = -1; variable
51 &neg_one, &neg_one, &root, &root, "After setreuid(-1, -1),"}, {
52 &nobody.pw_uid, &neg_one, &nobody, &root, "After setreuid(nobody, -1)"},
54 &root.pw_uid, &neg_one, &root, &root, "After setreuid(root,-1),"}, {
55 &neg_one, &daemonpw.pw_uid, &root, &daemonpw,
57 &neg_one, &root.pw_uid, &root, &root, "After setreuid(-1,root),"}, {
58 &bin.pw_uid, &neg_one, &bin, &root, "After setreuid(bin, -1)"}, {
59 &root.pw_uid, &neg_one, &root, &root, "After setreuid(-1, root)"},};
Dsetreuid03.c40 static uid_t neg_one = -1; variable
60 &neg_one, &nobody.pw_uid, &pass, &nobody, &nobody,
62 &nobody.pw_uid, &neg_one, &pass, &nobody, &nobody,
64 &neg_one, &neg_one, &pass, &nobody, &nobody, "After setreuid(-1, -1),"},
66 &neg_one, &root.pw_uid, &fail, &nobody, &nobody,
68 &root.pw_uid, &neg_one, &fail, &nobody, &nobody,
78 &bin.pw_uid, &neg_one, &fail, &nobody, &nobody,
113 if (TEST_RETURN == neg_one) { in main()
Dsetreuid04.c36 static uid_t neg_one = -1; variable
53 &neg_one, &neg_one, &root, &root, "After setreuid(-1, nobody),"}, {
/external/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c15 static gid_t neg_one = -1; variable
34 &nobody_gr.gr_gid, &neg_one, &nobody_gr, &root_gr,
36 &root_gr.gr_gid, &neg_one, &root_gr, &root_gr,
38 &neg_one, &neg_one, &root_gr, &root_gr,
40 &neg_one, &root_gr.gr_gid, &root_gr, &root_gr,
42 &root_gr.gr_gid, &neg_one, &root_gr, &root_gr,
46 &neg_one, &neg_one, &daemon_gr, &nobody_gr,
48 &neg_one, &nobody_gr.gr_gid, &daemon_gr, &nobody_gr,
Dsetregid03.c19 static gid_t neg_one = -1; variable
35 &neg_one, &daemon_gr.gr_gid, &pass, &daemon_gr, &daemon_gr,
37 &neg_one, &bin_gr.gr_gid, &pass, &daemon_gr, &bin_gr,
39 &bin_gr.gr_gid, &neg_one, &pass, &bin_gr, &bin_gr,
41 &neg_one, &neg_one, &pass, &bin_gr, &bin_gr,
43 &neg_one, &bin_gr.gr_gid, &pass, &bin_gr, &bin_gr,
45 &bin_gr.gr_gid, &neg_one, &pass, &bin_gr, &bin_gr,
49 &daemon_gr.gr_gid, &neg_one, &fail, &bin_gr, &bin_gr,
51 &neg_one, &daemon_gr.gr_gid, &fail, &bin_gr, &bin_gr,
Dsetregid01.c26 static gid_t neg_one = -1; variable
33 {&neg_one, &neg_one, "Dont change either real or effective gid" },
34 {&neg_one, &egid, "Change effective to effective gid" },
35 {&gid, &neg_one, "Change real to real gid" },
36 {&neg_one, &gid, "Change effective to real gid" },
Dsetregid02.c22 static gid_t neg_one = -1; variable
42 &neg_one, &root.gr_gid, EPERM, &ltpgroup, &ltpgroup,
44 &neg_one, &bin.gr_gid, EPERM, &ltpgroup, &ltpgroup,
46 &root.gr_gid, &neg_one, EPERM, &ltpgroup, &ltpgroup,
48 &bin.gr_gid, &neg_one, EPERM, &ltpgroup, &ltpgroup,
/external/llvm/unittests/ADT/
DAPIntTest.cpp125 const APInt neg_one(1, static_cast<uint64_t>(-1), true); in TEST() local
131 EXPECT_EQ(-1, neg_one.getSExtValue()); in TEST()
132 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST()
142 EXPECT_EQ(one, neg_one); in TEST()
153 EXPECT_EQ(zero, neg_one + one); in TEST()
154 EXPECT_EQ(neg_two, neg_one + neg_one); in TEST()
157 EXPECT_EQ(neg_two, neg_one - one); in TEST()
158 EXPECT_EQ(two, one - neg_one); in TEST()
176 EXPECT_EQ(neg_one, neg_one * one); in TEST()
177 EXPECT_EQ(neg_one, one * neg_one); in TEST()
[all …]
/external/mesa3d/src/compiler/nir/tests/
Dcomparison_pre_tests.cpp305 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
312 nir_fadd(&bld, neg_one, a); in TEST_F()
358 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
365 nir_fadd(&bld, a, neg_one); in TEST_F()
412 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
415 nir_ssa_def *flt = nir_flt(&bld, neg_one, a); in TEST_F()
465 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
468 nir_ssa_def *flt = nir_flt(&bld, a, neg_one); in TEST_F()
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp36 const APInt neg_one(64, static_cast<uint64_t>(-1), true); in TEST() local
37 EXPECT_EQ(neg_one, neg_one.ashr(7)); in TEST()
219 const APInt neg_one(1, static_cast<uint64_t>(-1), true); in TEST() local
225 EXPECT_EQ(-1, neg_one.getSExtValue()); in TEST()
226 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST()
236 EXPECT_EQ(one, neg_one); in TEST()
247 EXPECT_EQ(zero, neg_one + one); in TEST()
248 EXPECT_EQ(neg_two, neg_one + neg_one); in TEST()
251 EXPECT_EQ(neg_two, neg_one - one); in TEST()
252 EXPECT_EQ(two, one - neg_one); in TEST()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dquantize_neon.c42 const int16x8_t neg_one = vdupq_n_s16(-1); in vpx_quantize_b_neon() local
84 eob_max = vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan); in vpx_quantize_b_neon()
135 vmaxq_u16(eob_max, vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan)); in vpx_quantize_b_neon()
200 const int16x8_t neg_one = vdupq_n_s16(-1); in vpx_quantize_b_32x32_neon() local
244 eob_max = vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan); in vpx_quantize_b_32x32_neon()
293 vmaxq_u16(eob_max, vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan)); in vpx_quantize_b_32x32_neon()
/external/rust/crates/half/src/
Dbfloat.rs941 let neg_one = bf16::from_f64(-1.0); in test_comparisons() localVariable
973 assert_eq!(one.partial_cmp(&neg_one), Some(Ordering::Greater)); in test_comparisons()
974 assert_eq!(neg_one.partial_cmp(&one), Some(Ordering::Less)); in test_comparisons()
975 assert!(!(one == neg_one)); in test_comparisons()
976 assert!(!(neg_one == one)); in test_comparisons()
977 assert!(one != neg_one); in test_comparisons()
978 assert!(neg_one != one); in test_comparisons()
979 assert!(!(one < neg_one)); in test_comparisons()
980 assert!(neg_one < one); in test_comparisons()
981 assert!(!(one <= neg_one)); in test_comparisons()
[all …]
Dbinary16.rs1236 let neg_one = f16::from_f64(-1.0); in test_comparisons() localVariable
1268 assert_eq!(one.partial_cmp(&neg_one), Some(Ordering::Greater)); in test_comparisons()
1269 assert_eq!(neg_one.partial_cmp(&one), Some(Ordering::Less)); in test_comparisons()
1270 assert!(!(one == neg_one)); in test_comparisons()
1271 assert!(!(neg_one == one)); in test_comparisons()
1272 assert!(one != neg_one); in test_comparisons()
1273 assert!(neg_one != one); in test_comparisons()
1274 assert!(!(one < neg_one)); in test_comparisons()
1275 assert!(neg_one < one); in test_comparisons()
1276 assert!(!(one <= neg_one)); in test_comparisons()
[all …]
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c147 const int16x8_t neg_one = vdupq_n_s16(-1); in vp9_quantize_fp_32x32_neon() local
196 eob_max = vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan); in vp9_quantize_fp_32x32_neon()
246 vmaxq_u16(eob_max, vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan)); in vp9_quantize_fp_32x32_neon()
/external/llvm-project/polly/lib/External/isl/
Dpip.c343 int neg_one; in main() local
360 n = fscanf(stdin, "%d", &neg_one); in main()
362 assert(neg_one == -1); in main()
Disl_test_python.py113 neg_one = isl.val("-1")
117 assert(neg_one.sgn() < 0)
Disl_test_cpp-generic.cc168 isl::val neg_one(ctx, "-1"); in test_return_int() local
172 assert(neg_one.sgn() < 0); in test_return_int()
/external/libaom/libaom/av1/common/x86/
Dcfl_ssse3.c348 const __m128i neg_one = _mm_set1_epi16(-1); in CFL_PREDICT_FN() local
350 return _mm_xor_si128(_mm_slli_epi16(neg_one, bd), neg_one); in CFL_PREDICT_FN()
Dcfl_avx2.c307 const __m256i neg_one = _mm256_set1_epi16(-1); in highbd_max_epi16() local
309 return _mm256_xor_si256(_mm256_slli_epi16(neg_one, bd), neg_one); in highbd_max_epi16()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c213 LLVMValueRef neg_one = LLVMConstReal(ctx->ac.f32, -1.0); in load_input_vs() local
215 clamp = LLVMBuildFCmp(ctx->ac.builder, LLVMRealULT, tmp, neg_one, ""); in load_input_vs()
216 tmp = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, tmp, ""); in load_input_vs()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_lmhlo_to_scalar_op.h638 Value neg_one = lb.create<ConstantOp>(lb.getIntegerAttr(result_type, -1));
680 lb.create<CmpIOp>(CmpIPredicate::eq, adaptor.lhs(), neg_one);
693 lhs_is_neg_one, lb.create<::mlir::SelectOp>(rhs_is_even, one, neg_one),

12