Lines Matching refs:kCmdline

39   char kCmdline[] = "surfaceflinger";  in TEST()  local
40 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "surfaceflinger"); in TEST()
44 char kCmdline[] = "surfaceflinger\0--foo"; in TEST() local
45 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "surfaceflinger"); in TEST()
49 char kCmdline[] = "/system/bin/surfaceflinger"; in TEST() local
50 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "surfaceflinger"); in TEST()
54 char kCmdline[] = "some.app@2.0"; in TEST() local
55 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "some.app"); in TEST()
59 char kCmdline[] = ""; in TEST() local
60 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST()
64 char kCmdline[] = "foo@"; in TEST() local
65 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "foo"); in TEST()
69 char kCmdline[] = "@"; in TEST() local
70 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST()
74 char kCmdline[] = "foo/"; in TEST() local
75 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST()
79 char kCmdline[] = "/"; in TEST() local
80 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST()
84 char kCmdline[] = "surfaceflinger/\0--foo"; in TEST() local
85 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST()
89 char kCmdline[] = "\0--foo"; in TEST() local
90 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST()
94 char kCmdline[] = {'f'}; in TEST() local
95 char* cmdline = kCmdline; in TEST()
96 EXPECT_EQ(NormalizeCmdLine(&cmdline, sizeof(kCmdline)), -1); in TEST()