Home
last modified time | relevance | path

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

/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/swiftshader/third_party/LLVM/unittests/ADT/
DAPIntTest.cpp109 const APInt neg_one(1, static_cast<uint64_t>(-1), true); in TEST() local
115 EXPECT_EQ(-1, neg_one.getSExtValue()); in TEST()
116 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST()
126 EXPECT_EQ(one, neg_one); in TEST()
131 EXPECT_EQ(zero, neg_one + one); in TEST()
132 EXPECT_EQ(neg_two, neg_one + neg_one); in TEST()
135 EXPECT_EQ(neg_two, neg_one - one); in TEST()
136 EXPECT_EQ(two, one - neg_one); in TEST()
148 EXPECT_EQ(neg_one, neg_one * one); in TEST()
149 EXPECT_EQ(neg_one, one * neg_one); in TEST()
[all …]
/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/swiftshader/third_party/llvm-7.0/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/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c131 const int16x8_t neg_one = vdupq_n_s16(-1); in vp9_quantize_fp_32x32_neon() local
176 eob_max = vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan); in vp9_quantize_fp_32x32_neon()
222 vmaxq_u16(eob_max, vandq_u16(vtstq_s16(qcoeff, neg_one), v_iscan)); in vp9_quantize_fp_32x32_neon()
/external/libaom/libaom/av1/common/x86/
Dcfl_ssse3.c345 const __m128i neg_one = _mm_set1_epi16(-1); in CFL_PREDICT_FN() local
347 return _mm_xor_si128(_mm_slli_epi16(neg_one, bd), neg_one); in CFL_PREDICT_FN()
Dcfl_avx2.c304 const __m256i neg_one = _mm256_set1_epi16(-1); in highbd_max_epi16() local
306 return _mm256_xor_si256(_mm256_slli_epi16(neg_one, bd), neg_one); in highbd_max_epi16()
/external/icu/icu4c/source/test/intltest/
Ditrbnf.cpp1087 const char neg_one[] = "-1";
1093 LLAssert(llong::atoll(neg_one) == llong(0xffffffff, 0xffffffff));
1119 …ng(0xffffffff, 0xffffffff).lltoa(buf, (uint32_t)sizeof(buf)) == 2) && (strcmp(buf, neg_one) == 0));
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp1033 ir_constant *neg_one = new(ir) ir_constant(-1.0, arg->type->vector_elements); in dsign_to_csel() local
1039 ir->operands[1] = neg_one; in dsign_to_csel()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c4551 struct tgsi_full_src_register neg_one = in emit_ssg() local
4565 &neg_one, &zero, FALSE); in emit_ssg()
5849 struct tgsi_full_src_register neg_one = in emit_frontface_instructions() local
5858 emit_src_register(emit, &neg_one); in emit_frontface_instructions()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c653 LLVMValueRef neg_one = LLVMConstReal(ctx->f32, -1.0); in si_llvm_load_input_vs() local
655 clamp = LLVMBuildFCmp(ctx->ac.builder, LLVMRealULT, tmp, neg_one, ""); in si_llvm_load_input_vs()
656 tmp = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, tmp, ""); in si_llvm_load_input_vs()