Lines Matching refs:Asset
31 std::unique_ptr<Asset> AssetsProvider::Open(const std::string& path, Asset::AccessMode mode, in Open()
36 std::unique_ptr<Asset> AssetsProvider::CreateAssetFromFile(const std::string& path) { in CreateAssetFromFile()
46 std::unique_ptr<Asset> AssetsProvider::CreateAssetFromFd(base::unique_fd fd, in CreateAssetFromFd()
71 return Asset::createFromUncompressedMap(std::move(file_map), in CreateAssetFromFd()
72 Asset::AccessMode::ACCESS_RANDOM, in CreateAssetFromFd()
156 std::unique_ptr<Asset> ZipAssetsProvider::OpenInternal(const std::string& path, in OpenInternal()
157 Asset::AccessMode mode, in OpenInternal()
184 std::unique_ptr<Asset> asset = in OpenInternal()
185 Asset::createFromCompressedMap(std::move(asset_map), entry.uncompressed_length, mode); in OpenInternal()
212 auto asset = Asset::createFromUncompressedMap(std::move(asset_map), mode, std::move(ufd)); in OpenInternal()
323 std::unique_ptr<Asset> DirectoryAssetsProvider::OpenInternal(const std::string& path, in OpenInternal()
324 Asset::AccessMode /* mode */, in OpenInternal()
379 std::unique_ptr<Asset> MultiAssetsProvider::OpenInternal(const std::string& path, in OpenInternal()
380 Asset::AccessMode mode, in OpenInternal()
415 std::unique_ptr<Asset> EmptyAssetsProvider::OpenInternal(const std::string& /* path */, in OpenInternal()
416 Asset::AccessMode /* mode */, in OpenInternal()