Home
last modified time | relevance | path

Searched refs:neg_one (Results 1 – 25 of 28) 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/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.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/libaom/libaom/av1/common/x86/
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()
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()
/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/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/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc664 llvm::Value* neg_one = llvm::ConstantFP::get(type, -1.F); in EmitComplexUnaryOp() local
666 llvm::Value* neg_2a = FMul(neg_one, two_a); in EmitComplexUnaryOp()
713 llvm::Intrinsic::copysign, {neg_one, a}, {type}, b_); in EmitComplexUnaryOp()
1047 llvm::Value* neg_one = llvm::ConstantFP::get(type, -1); in EmitComplexRsqrt() local
1055 llvm::Value* neg_b_signed_zero = FMul(b_signed_zero, neg_one); in EmitComplexRsqrt()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor.py1656 neg_one = constant_op.constant([-1], row_splits_dtype)
1657 new_shape = array_ops.concat([neg_one, input_shape[ragged_rank:]],
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.cc958 auto neg_one = ScalarLike(x, -1); in Acosh() local
977 return Select(Lt(x, neg_one), nan, in Acosh()
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp1042 ir_constant *neg_one = new(ir) ir_constant(-1.0, arg->type->vector_elements); in dsign_to_csel() local
1048 ir->operands[1] = neg_one; in dsign_to_csel()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c7479 struct tgsi_full_src_register neg_one = in emit_ssg() local
7493 &neg_one, &zero); in emit_ssg()
8910 struct tgsi_full_src_register neg_one = in emit_msb() local
8912 neg_one = scalar_src(&neg_one, TGSI_SWIZZLE_X); in emit_msb()
8935 &tmp_dst_x, &index_src_comp, &neg_one); in emit_msb()
9792 struct tgsi_full_src_register neg_one = in emit_frontface_instructions() local
9801 emit_src_register(emit, &neg_one); in emit_frontface_instructions()

12