Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid01.c18 static uid_t root_uid, main_uid, other_uid, neg_one = -1; variable
29 {&neg_one, &neg_one, &neg_one, &root_uid, &root_uid, &root_uid,
31 {&neg_one, &neg_one, &main_uid, &root_uid, &root_uid, &main_uid,
33 {&neg_one, &other_uid, &neg_one, &root_uid, &other_uid, &main_uid,
35 {&neg_one, &neg_one, &root_uid, &root_uid, &other_uid, &root_uid,
37 {&neg_one, &neg_one, &other_uid, &root_uid, &other_uid, &other_uid,
39 {&neg_one, &root_uid, &neg_one, &root_uid, &root_uid, &other_uid,
41 {&main_uid, &neg_one, &neg_one, &main_uid, &root_uid, &other_uid,
43 {&neg_one, &root_uid, &neg_one, &main_uid, &root_uid, &other_uid,
45 {&root_uid, &neg_one, &root_uid, &root_uid, &root_uid, &root_uid,
Dsetresuid03.c21 static uid_t root_uid, main_uid, other_uid, neg_one = -1; variable
33 {&other_uid, &neg_one, &neg_one, EPERM, &root_uid, &main_uid,
35 {&neg_one, &neg_one, &other_uid, EPERM, &root_uid, &main_uid,
37 {&neg_one, &other_uid, &neg_one, EPERM, &root_uid, &main_uid,
Dsetresuid02.c23 static uid_t nobody_uid, other_uid, neg_one = -1; variable
34 {&neg_one, &neg_one, &other_uid, &nobody_uid, &other_uid, &other_uid,
36 {&neg_one, &nobody_uid, &neg_one, &nobody_uid, &nobody_uid, &other_uid,
38 {&other_uid, &neg_one, &neg_one, &other_uid, &nobody_uid, &other_uid,
/third_party/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid05.c23 static uid_t root_uid, nobody_uid, main_uid, other_uid, neg_one = -1; variable
36 {&neg_one, &nobody_uid, 0, &nobody_uid, &nobody_uid, &root_uid,
38 {&neg_one, &root_uid, 0, &nobody_uid, &root_uid, &root_uid,
40 {&main_uid, &neg_one, 0, &main_uid, &root_uid, &root_uid,
42 {&neg_one, &other_uid, 0, &main_uid, &other_uid, &other_uid,
44 {&neg_one, &root_uid, -1, &main_uid, &other_uid, &other_uid,
46 {&neg_one, &nobody_uid, -1, &main_uid, &other_uid, &other_uid,
48 {&neg_one, &main_uid, 0, &main_uid, &main_uid, &other_uid,
50 {&neg_one, &other_uid, 0, &main_uid, &other_uid, &other_uid,
54 {&neg_one, &other_uid, 0, &other_uid, &other_uid, &main_uid,
[all …]
Dsetreuid02.c21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; variable
31 {&neg_one, &neg_one, &root_uid, &root_uid, &root_uid,
33 {&nobody_uid, &neg_one, &nobody_uid, &root_uid, &root_uid,
35 {&root_uid, &neg_one, &root_uid, &root_uid, &root_uid,
37 {&neg_one, &nobody_uid, &root_uid, &nobody_uid, &nobody_uid,
39 {&neg_one, &root_uid, &root_uid, &root_uid, &nobody_uid,
41 {&other_uid, &neg_one, &other_uid, &root_uid, &root_uid,
43 {&root_uid, &neg_one, &root_uid, &root_uid, &root_uid,
Dsetreuid03.c21 static uid_t root_uid, nobody_uid, other_uid, neg_one = -1; variable
34 {&neg_one, &nobody_uid, 0, &nobody_uid, &nobody_uid, &nobody_uid,
36 {&nobody_uid, &neg_one, 0, &nobody_uid, &nobody_uid, &nobody_uid,
38 {&neg_one, &neg_one, 0, &nobody_uid, &nobody_uid, &nobody_uid,
40 {&neg_one, &root_uid, -1, &nobody_uid, &nobody_uid, &nobody_uid,
42 {&root_uid, &neg_one, -1, &nobody_uid, &nobody_uid, &nobody_uid,
52 {&other_uid, &neg_one, -1, &nobody_uid, &nobody_uid,
Dsetreuid04.c36 static uid_t neg_one = -1; variable
53 &neg_one, &neg_one, &root, &root, "After setreuid(-1, nobody),"}, {
/third_party/ltp/testcases/kernel/syscalls/setregid/
Dsetregid04.c16 static gid_t first_gid, second_gid, root_gid, neg_one = -1; variable
33 &first_gid, &neg_one, &first_gid, &root_gid,
35 &root_gid, &neg_one, &root_gid, &root_gid,
37 &neg_one, &neg_one, &root_gid, &root_gid,
39 &neg_one, &root_gid, &root_gid, &root_gid,
41 &root_gid, &neg_one, &root_gid, &root_gid,
45 &neg_one, &neg_one, &second_gid, &first_gid,
47 &neg_one, &first_gid, &second_gid, &first_gid,
Dsetregid03.c20 static gid_t primary_gid, secondary_gid, neg_one = -1; variable
33 &neg_one, &primary_gid, &pass, &primary_gid, &primary_gid,
35 &neg_one, &secondary_gid, &pass, &primary_gid, &secondary_gid,
37 &secondary_gid, &neg_one, &pass, &secondary_gid, &secondary_gid,
39 &neg_one, &neg_one, &pass, &secondary_gid, &secondary_gid,
41 &neg_one, &secondary_gid, &pass, &secondary_gid, &secondary_gid,
43 &secondary_gid, &neg_one, &pass, &secondary_gid, &secondary_gid,
47 &primary_gid, &neg_one, &fail, &secondary_gid, &secondary_gid,
49 &neg_one, &primary_gid, &fail, &secondary_gid, &secondary_gid,
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.c23 static gid_t root_gid, nobody_gid, other_gid, neg_one = -1; variable
41 &neg_one, &root_gid, EPERM, &nobody_gid, &nobody_gid,
43 &neg_one, &other_gid, EPERM, &nobody_gid, &nobody_gid,
45 &root_gid, &neg_one, EPERM, &nobody_gid, &nobody_gid,
47 &other_gid, &neg_one, EPERM, &nobody_gid, &nobody_gid,
/third_party/mesa3d/src/compiler/nir/tests/
Dcomparison_pre_tests.cpp306 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
313 nir_fadd(&bld, neg_one, a); in TEST_F()
359 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
366 nir_fadd(&bld, a, neg_one); in TEST_F()
413 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
416 nir_ssa_def *flt = nir_flt(&bld, neg_one, a); in TEST_F()
466 nir_ssa_def *neg_one = nir_imm_float(&bld, -1.0f); in TEST_F() local
469 nir_ssa_def *flt = nir_flt(&bld, a, neg_one); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dunary_op_grad_impl.cu65 T neg_one = -1; in ACosGradKernel() local
68 output[i] = neg_one * dout[i] / sqt; in ACosGradKernel()
76 half neg_one = -1; in ACosGradKernel() local
79 output[i] = neg_one * dout[i] / sqt; in ACosGradKernel()
Dunary_op_impl.cu118 T neg_one = -1; in NegativeKernel() local
120 output[i] = neg_one * input[i]; in NegativeKernel()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dactivation_fp16.c114 float32x4_t neg_one = {-1.0f, -1.0f, -1.0f, -1.0f}; in TanhFp16() local
126 vst1_f16(dst + i, vcvt_f16_f32(vminq_f32(vmaxq_f32(MS_DIVQ_F32(a, b), neg_one), pos_one))); in TanhFp16()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c241 LLVMValueRef neg_one = LLVMConstReal(float_type, -1.0); in load_input_vs() local
243 clamp = LLVMBuildFCmp(ctx->ac.builder, LLVMRealULT, tmp, neg_one, ""); in load_input_vs()
244 tmp = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, tmp, ""); in load_input_vs()
/third_party/icu/icu4c/source/test/intltest/
Ditrbnf.cpp1088 const char neg_one[] = "-1";
1094 LLAssert(llong::atoll(neg_one) == llong(0xffffffff, 0xffffffff));
1120 …ng(0xffffffff, 0xffffffff).lltoa(buf, (uint32_t)sizeof(buf)) == 2) && (strcmp(buf, neg_one) == 0));
/third_party/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()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c7534 struct tgsi_full_src_register neg_one = in emit_ssg() local
7548 &neg_one, &zero); in emit_ssg()
8965 struct tgsi_full_src_register neg_one = in emit_msb() local
8967 neg_one = scalar_src(&neg_one, TGSI_SWIZZLE_X); in emit_msb()
8990 &tmp_dst_x, &index_src_comp, &neg_one); in emit_msb()
9847 struct tgsi_full_src_register neg_one = in emit_frontface_instructions() local
9856 emit_src_register(emit, &neg_one); in emit_frontface_instructions()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c635 LLVMValueRef neg_one = LLVMConstReal(ctx->ac.f32, -1.0); in adjust_vertex_fetch_alpha() local
637 clamp = LLVMBuildFCmp(ctx->ac.builder, LLVMRealULT, alpha, neg_one, ""); in adjust_vertex_fetch_alpha()
638 alpha = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, alpha, ""); in adjust_vertex_fetch_alpha()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c1649 LLVMValueRef neg_one = LLVMConstReal(ctx->f32, -1.0); in ac_build_opencoded_load_format() local
1650 LLVMValueRef clamp = LLVMBuildFCmp(ctx->builder, LLVMRealULT, tmp, neg_one, ""); in ac_build_opencoded_load_format()
1651 tmp = LLVMBuildSelect(ctx->builder, clamp, neg_one, tmp, ""); in ac_build_opencoded_load_format()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp9098 Operand neg_one = Operand::c32(0xbf800000u); in build_cube_select() local
9105 Temp sgn_ma = bld.vop2_e64(aco_opcode::v_cndmask_b32, bld.def(v1), neg_one, one, is_ma_positive); in build_cube_select()
9123 sgn = bld.vop2(aco_opcode::v_cndmask_b32, bld.def(v1), neg_one, sgn_ma, is_ma_y); in build_cube_select()