HomeSort by relevance Sort by last modified time
    Searched refs:ValidatePath (Results 1 - 3 of 3) sorted by null

  /external/libchrome/sandbox/linux/syscall_broker/
broker_file_permission_unittest.cc 25 static bool ValidatePath(const char* path) {
26 return BrokerFilePermission::ValidatePath(path);
244 TEST(BrokerFilePermission, ValidatePath) {
245 EXPECT_TRUE(BrokerFilePermissionTester::ValidatePath("/path"));
246 EXPECT_TRUE(BrokerFilePermissionTester::ValidatePath("/"));
247 EXPECT_TRUE(BrokerFilePermissionTester::ValidatePath("/..path"));
249 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath(""));
250 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath("bad"));
251 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath("/bad/"));
252 EXPECT_FALSE(BrokerFilePermissionTester::ValidatePath("bad/"))
    [all...]
broker_file_permission.cc 21 bool BrokerFilePermission::ValidatePath(const char* path) {
89 if (!ValidatePath(requested_filename))
134 if (!ValidatePath(requested_filename))
broker_file_permission.h 91 // ValidatePath checks |path| and returns true if these conditions are met
96 static bool ValidatePath(const char* path);

Completed in 51 milliseconds