Home
last modified time | relevance | path

Searched refs:validate_path (Results 1 – 13 of 13) sorted by relevance

/aosp_15_r20/external/rust/crates/uefi/src/fs/path/
Dvalidation.rs47 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()
Dmod.rs25 pub(super) use validation::validate_path;
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/fs/path/
Dvalidation.rs47 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()
Dmod.rs25 pub(super) use validation::validate_path;
/aosp_15_r20/external/autotest/site_utils/lxc/
H A Dconfig.py137 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 Dutils.cpp1036 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/
Dpath_router.rs47 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 Dapex_test.cc198 TEST_F(ApexTest, validate_path) { in TEST_F() argument
/aosp_15_r20/external/rust/crates/uefi/src/fs/file_system/
Dfs.rs414 validate_path(path)?; in open()
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/fs/file_system/
Dfs.rs414 validate_path(path)?; in open()
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
H A Doghttp2_session.h80 bool validate_path = false; member
H A Doghttp2_session.cc203 if (session_.options_.validate_path) { in PassthroughHeadersHandler()
H A Doghttp2_adapter_test.cc147 ASSERT_EQ(false, options.validate_path); in TEST()
148 options.validate_path = true; in TEST()
201 ASSERT_EQ(false, options.validate_path); in TEST()