Home
last modified time | relevance | path

Searched refs:FILE_URL_PREFIX (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_source_napi.cpp40 static const std::string FILE_URL_PREFIX = "file://"; variable
301 if (path.size() > FILE_URL_PREFIX.size() && in FileUrlToRawPath()
302 (path.compare(0, FILE_URL_PREFIX.size(), FILE_URL_PREFIX) == 0)) { in FileUrlToRawPath()
303 return path.substr(FILE_URL_PREFIX.size()); in FileUrlToRawPath()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dimage_ffi.cpp45 static const std::string FILE_URL_PREFIX = "file://"; variable
48 if (path.size() > FILE_URL_PREFIX.size() && in FileUrlToRawPath()
49 (path.compare(0, FILE_URL_PREFIX.size(), FILE_URL_PREFIX) == 0)) { in FileUrlToRawPath()
50 return path.substr(FILE_URL_PREFIX.size()); in FileUrlToRawPath()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_napi.cpp51 static const std::string FILE_URL_PREFIX = "file://"; variable
1161 if (path.size() > FILE_URL_PREFIX.size() && in FileUrlToRawPath()
1162 (path.compare(0, FILE_URL_PREFIX.size(), FILE_URL_PREFIX) == 0)) { in FileUrlToRawPath()
1163 return path.substr(FILE_URL_PREFIX.size()); in FileUrlToRawPath()