Home
last modified time | relevance | path

Searched refs:uriLength (Results 1 - 8 of 8) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/native/fileio/
H A Dfileio_native.cpp76 __attribute__((visibility("default"))) int GetFileLocation(char *uri, int uriLength, int *location) in GetFileLocation() argument
78 if (uri == nullptr || location == nullptr || uriLength <= 0 || uriLength > PATH_MAX) { in GetFileLocation()
81 std::string uriStr(uri, uriLength); in GetFileLocation()
H A Dfileio_native.h23 int GetFileLocation(char *uri, int uriLength, int *location);
/foundation/filemanagement/file_api/interfaces/kits/c/fileio/
H A Dfileio.c22 __attribute__((visibility("default"))) int OH_FileIO_GetFileLocation(char *uri, int uriLength, int *location) in OH_FileIO_GetFileLocation() argument
27 int ret = GetFileLocation(uri, uriLength, location); in OH_FileIO_GetFileLocation()
H A Dfileio.h24 int OH_FileIO_GetFileLocation(char *uri, int uriLength, int *location);
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_asset.cpp120 size_t uriLength = asset->asset_.uri.size(); in OH_Data_Asset_GetUri() local
121 if (uriLength >= *length) { in OH_Data_Asset_GetUri()
122 LOG_ERROR("Asset get uri error: length is too small ? %{public}d.", (uriLength >= *length)); in OH_Data_Asset_GetUri()
131 *length = uriLength; in OH_Data_Asset_GetUri()
/foundation/distributeddatamgr/relational_store/test/ndk/unittest/
H A Drdb_asset_test.cpp208 * 3.Execute GetUri (uriLength >= *length)
218 size_t uriLength = 10; in HWTEST_F() local
219 errCode = OH_Data_Asset_GetUri(nullptr, uri, &uriLength); in HWTEST_F()
224 errCode = OH_Data_Asset_GetUri(asset, uri, &uriLength); in HWTEST_F()
H A Drdb_cursor_test.cpp525 size_t uriLength = 10; in HWTEST_F() local
526 errCode = OH_Data_Asset_GetUri(asset, uri, &uriLength); in HWTEST_F()
593 size_t uriLength = 10; in HWTEST_F() local
594 errCode = OH_Data_Asset_GetUri(asset, uri, &uriLength); in HWTEST_F()
/foundation/filemanagement/app_file_service/interfaces/kits/ndk/fileshare/src/
H A Doh_file_share.cpp46 auto uriLength = strnlen(policies[i].uri, policies[i].length); in ConvertPolicyInfo() local
47 if (uriLength != policies[i].length) { in ConvertPolicyInfo()

Completed in 3 milliseconds