Searched refs:validate_path (Results 1 – 13 of 13) sorted by relevance
/aosp_15_r20/external/rust/crates/uefi/src/fs/path/ |
D | validation.rs | 47 pub fn validate_path<P: AsRef<Path>>(path: P) -> Result<(), PathError> { in validate_path() function 74 validate_path(cstr16!("hello\\foo\\bar")).unwrap(); in test_validate_path() 76 let err = validate_path(cstr16!("hello\\f>oo\\bar")).unwrap_err(); in test_validate_path() 79 let err = validate_path(cstr16!("hello\\\\bar")).unwrap_err(); in test_validate_path() 84 let err = validate_path(path).unwrap_err(); in test_validate_path()
|
D | mod.rs | 25 pub(super) use validation::validate_path;
|
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/fs/path/ |
D | validation.rs | 47 pub fn validate_path<P: AsRef<Path>>(path: P) -> Result<(), PathError> { in validate_path() function 74 validate_path(cstr16!("hello\\foo\\bar")).unwrap(); in test_validate_path() 76 let err = validate_path(cstr16!("hello\\f>oo\\bar")).unwrap_err(); in test_validate_path() 79 let err = validate_path(cstr16!("hello\\\\bar")).unwrap_err(); in test_validate_path() 84 let err = validate_path(path).unwrap_err(); in test_validate_path()
|
D | mod.rs | 25 pub(super) use validation::validate_path;
|
/aosp_15_r20/external/autotest/site_utils/lxc/ |
H A D | config.py | 137 def validate_path(deploy_config): member in DeployConfigManager 176 DeployConfigManager.validate_path(deploy_config) 196 DeployConfigManager.validate_path(deploy_config)
|
/aosp_15_r20/frameworks/native/cmds/installd/ |
H A D | utils.cpp | 1036 static int validate_path(const std::string& dir, const std::string& path, int maxSubdirs) { in validate_path() function 1084 if (validate_path(dir, path, 1) == 0) { in validate_system_app_path() 1135 if (validate_path(android_app_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 1137 } else if (validate_path(android_staging_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 1139 } else if (validate_path(android_app_private_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 1141 } else if (validate_path(android_app_ephemeral_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal() 1143 } else if (validate_path(android_asec_dir, path, maxSubdirs) == 0) { in validate_apk_path_internal()
|
/aosp_15_r20/external/rust/android-crates-io/crates/axum/src/routing/ |
D | path_router.rs | 47 fn validate_path(path: &str) -> Result<(), &'static str> { in route() function 57 validate_path(path)?; in route()
|
/aosp_15_r20/system/linkerconfig/modules/tests/ |
H A D | apex_test.cc | 198 TEST_F(ApexTest, validate_path) { in TEST_F() argument
|
/aosp_15_r20/external/rust/crates/uefi/src/fs/file_system/ |
D | fs.rs | 414 validate_path(path)?; in open()
|
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/fs/file_system/ |
D | fs.rs | 414 validate_path(path)?; in open()
|
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/ |
H A D | oghttp2_session.h | 80 bool validate_path = false; member
|
H A D | oghttp2_session.cc | 203 if (session_.options_.validate_path) { in PassthroughHeadersHandler()
|
H A D | oghttp2_adapter_test.cc | 147 ASSERT_EQ(false, options.validate_path); in TEST() 148 options.validate_path = true; in TEST() 201 ASSERT_EQ(false, options.validate_path); in TEST()
|