Home
last modified time | relevance | path

Searched refs:user2 (Results 1 – 25 of 49) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/libc/sys/full/
Dsys_test_020.cpp36 struct passwd *user2 = nullptr; in TestCase() local
61 user2 = getpwuid(1); in TestCase()
62 ICUNIT_GOTO_NOT_EQUAL(user2, nullptr, -1, ERROUT); in TestCase()
63 ICUNIT_GOTO_STRING_EQUAL(user2->pw_name, "daemon", -1, ERROUT); in TestCase()
64 ICUNIT_GOTO_STRING_EQUAL(user2->pw_passwd, "x", -1, ERROUT); in TestCase()
65 ICUNIT_GOTO_EQUAL(user2->pw_uid, 1, -1, ERROUT); in TestCase()
66 ICUNIT_GOTO_EQUAL(user2->pw_gid, 1, -1, ERROUT); in TestCase()
67 ICUNIT_GOTO_STRING_EQUAL(user2->pw_gecos, "daemon", -1, ERROUT); in TestCase()
68 ICUNIT_GOTO_STRING_EQUAL(user2->pw_dir, "/usr/sbin", -1, ERROUT); in TestCase()
69 ICUNIT_GOTO_STRING_EQUAL(user2->pw_shell, "/usr/sbin/nologin", -1, ERROUT); in TestCase()
Dsys_test_018.cpp36 struct passwd *user2 = nullptr; in TestCase() local
61 user2 = getpwnam("daemon"); in TestCase()
62 ICUNIT_GOTO_NOT_EQUAL(user2, nullptr, -1, ERROUT); in TestCase()
63 ICUNIT_GOTO_STRING_EQUAL(user2->pw_name, "daemon", -1, ERROUT); in TestCase()
64 ICUNIT_GOTO_STRING_EQUAL(user2->pw_passwd, "x", -1, ERROUT); in TestCase()
65 ICUNIT_GOTO_EQUAL(user2->pw_uid, 1, -1, ERROUT); in TestCase()
66 ICUNIT_GOTO_EQUAL(user2->pw_gid, 1, -1, ERROUT); in TestCase()
67 ICUNIT_GOTO_STRING_EQUAL(user2->pw_gecos, "daemon", -1, ERROUT); in TestCase()
68 ICUNIT_GOTO_STRING_EQUAL(user2->pw_dir, "/usr/sbin", -1, ERROUT); in TestCase()
69 ICUNIT_GOTO_STRING_EQUAL(user2->pw_shell, "/usr/sbin/nologin", -1, ERROUT); in TestCase()
Dsys_test_019.cpp37 struct passwd *user2 = nullptr; in TestCase() local
74 ret = getpwnam_r("daemon", &pwd, buf1, sizeof(buf1), &user2); in TestCase()
75 ICUNIT_GOTO_NOT_EQUAL(user2, nullptr, -1, ERROUT); in TestCase()
76 ICUNIT_GOTO_STRING_EQUAL(user2->pw_name, "daemon", -1, ERROUT); in TestCase()
77 ICUNIT_GOTO_STRING_EQUAL(user2->pw_passwd, "x", -1, ERROUT); in TestCase()
78 ICUNIT_GOTO_EQUAL(user2->pw_uid, 1, -1, ERROUT); in TestCase()
79 ICUNIT_GOTO_EQUAL(user2->pw_gid, 1, -1, ERROUT); in TestCase()
80 ICUNIT_GOTO_STRING_EQUAL(user2->pw_gecos, "daemon", -1, ERROUT); in TestCase()
81 ICUNIT_GOTO_STRING_EQUAL(user2->pw_dir, "/usr/sbin", -1, ERROUT); in TestCase()
82 ICUNIT_GOTO_STRING_EQUAL(user2->pw_shell, "/usr/sbin/nologin", -1, ERROUT); in TestCase()
Dsys_test_021.cpp37 struct passwd *user2 = nullptr; in TestCase() local
74 ret = getpwuid_r(1, &pwd, buf1, sizeof(buf1), &user2); in TestCase()
76 ICUNIT_GOTO_NOT_EQUAL(user2, nullptr, -1, ERROUT); in TestCase()
77 ICUNIT_GOTO_STRING_EQUAL(user2->pw_name, "daemon", -1, ERROUT); in TestCase()
78 ICUNIT_GOTO_STRING_EQUAL(user2->pw_passwd, "x", -1, ERROUT); in TestCase()
79 ICUNIT_GOTO_EQUAL(user2->pw_uid, 1, -1, ERROUT); in TestCase()
80 ICUNIT_GOTO_EQUAL(user2->pw_gid, 1, -1, ERROUT); in TestCase()
81 ICUNIT_GOTO_STRING_EQUAL(user2->pw_gecos, "daemon", -1, ERROUT); in TestCase()
82 ICUNIT_GOTO_STRING_EQUAL(user2->pw_dir, "/usr/sbin", -1, ERROUT); in TestCase()
83 ICUNIT_GOTO_STRING_EQUAL(user2->pw_shell, "/usr/sbin/nologin", -1, ERROUT); in TestCase()
Dsys_test_022.cpp36 struct passwd *user2 = nullptr; in TestCase() local
80 user2 = getpwent(); in TestCase()
81 ICUNIT_GOTO_NOT_EQUAL(user2, NULL, -1, ERROUT); in TestCase()
82 ICUNIT_GOTO_STRING_EQUAL(user2->pw_name, user1->pw_name, -1, ERROUT); in TestCase()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dat91-sama5d4_ma5d4evk.dts124 user2 {
125 label = "user2";
Dimx6q-gw5400-a.dts44 led1: user2 {
45 label = "user2";
433 MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0 /* user2 led */
Dimx53-m53evk.dts61 user2 {
62 label = "user2";
Dsocfpga_cyclone5_chameleon96.dts44 label = "green:user2";
Domap3-igep0030-common.dtsi27 user2 {
Dimx6qdl-gw5907.dtsi83 led1: user2 {
84 label = "user2";
Dimx6qdl-gw5913.dtsi83 led1: user2 {
84 label = "user2";
Dimx6qdl-gw552x.dtsi84 led1: user2 {
85 label = "user2";
Dimx6q-marsboard.dts83 user2 {
84 label = "imx6:green:user2";
Dimx6qdl-gw5912.dtsi84 led1: user2 {
85 label = "user2";
Dimx6qdl-gw51xx.dtsi81 led1: user2 {
82 label = "user2";
Dimx6qdl-gw5910.dtsi86 led1: user2 {
87 label = "user2";
Dvexpress-v2m.dtsi337 user2 {
338 label = "v2m:green:user2";
Dimx6dl-riotboard.dts35 led1: user2 {
36 label = "user2";
/kernel/linux/linux-5.10/drivers/dma/ioat/
Dhw.h102 uint64_t user2; member
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-rock960.dts31 label = "green:user2";
Drk3399-ficus.dts41 label = "red:user2";
/kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/
Dhi3798cv200-poplar.dts43 label = "green:user2";
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dqdio.h156 u64 user2; member
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dimx8qxp-ai_ml.dts42 label = "green:user2";

12