Home
last modified time | relevance | path

Searched refs:resource_path (Results 1 – 19 of 19) sorted by relevance

/external/libjpeg-turbo/gtest/
Dtjbench-gtest-wrapper.cpp62 base::FilePath resource_path; in SetUpTestSuite() local
63 ASSERT_TRUE(base::PathService::Get(base::DIR_SRC_TEST_DATA_ROOT, &resource_path)); in SetUpTestSuite()
64 resource_path = resource_path.AppendASCII("third_party"); in SetUpTestSuite()
65 resource_path = resource_path.AppendASCII("libjpeg_turbo"); in SetUpTestSuite()
66 resource_path = resource_path.AppendASCII("testimages"); in SetUpTestSuite()
67 resource_path = resource_path.AppendASCII("testorig.ppm"); in SetUpTestSuite()
68 ASSERT_TRUE(base::PathExists(resource_path)); in SetUpTestSuite()
73 ASSERT_TRUE(base::CopyFile(resource_path, target_path)); in SetUpTestSuite()
132 base::FilePath resource_path; in SetUpTestSuite() local
133 ASSERT_TRUE(base::PathService::Get(base::DIR_SRC_TEST_DATA_ROOT, &resource_path)); in SetUpTestSuite()
[all …]
/external/skia/modules/skresources/src/
DSkResources.cpp194 sk_sp<SkData> FileResourceProvider::load(const char resource_path[], in load() argument
196 const auto full_dir = SkOSPath::Join(fDir.c_str() , resource_path), in load()
201 sk_sp<ImageAsset> FileResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset() argument
204 auto data = this->load(resource_path, resource_name); in loadImageAsset()
222 sk_sp<SkData> ResourceProviderProxyBase::load(const char resource_path[], in load() argument
224 return fProxy ? fProxy->load(resource_path, resource_name) in load()
256 sk_sp<ImageAsset> CachingResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset() argument
266 auto asset = this->INHERITED::loadImageAsset(resource_path, resource_name, resource_id); in loadImageAsset()
/external/libwebsockets/test-apps/
Dtest-server.c51 char *resource_path = LOCAL_RESOURCE_PATH; variable
472 resource_path = optarg; in main()
560 printf("Using resource path \"%s\"\n", resource_path); in main()
586 if (strlen(resource_path) > sizeof(cert_path) - 32) { in main()
592 resource_path); in main()
593 if (strlen(resource_path) > sizeof(key_path) - 32) { in main()
599 resource_path); in main()
/external/python/cpython3/Lib/importlib/resources/
Dabc.py32 def resource_path(self, resource: Text) -> Text: member in ResourceReader
166 def resource_path(self, resource: Any) -> NoReturn: member in TraversableResources
Dreaders.py23 def resource_path(self, resource): member in FileReader
169 def resource_path(self, resource): member in NamespaceReader
/external/pytorch/test/package/
Dtest_directory_reader.py144 resource_path = os.path.join(
147 self.assertEqual(reader_one.resource_path("a.txt"), resource_path)
Dtest_resources.py54 reader_one.resource_path("a.txt")
/external/python/cpython3/Lib/test/test_importlib/resources/
Dtest_reader.py123 reader.resource_path('binary.file'), os.path.join(root, 'binary.file')
126 reader.resource_path('imaginary'), os.path.join(root, 'imaginary')
Dutil.py31 def resource_path(self, path_): member in Reader
/external/skia/tools/viewer/
DSkottieSlide.cpp118 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override { in load() argument
123 return GetResourceAsData(SkOSPath::Join(resource_path, resource_name).c_str()); in load()
127 sk_sp<skresources::ImageAsset> loadImageAsset(const char resource_path[], in loadImageAsset() argument
130 auto data = this->load(resource_path, resource_name); in loadImageAsset()
/external/skia/modules/skresources/include/
DSkResources.h220 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override;
/external/openscreen/cast/cast_core/api/v2/
Dcore_application_service.proto115 string resource_path = 1; field
/external/cronet/tot/build/android/gyp/util/
Dresource_utils.py200 for resource_path in resource_files:
202 res_dir = os.path.dirname(os.path.dirname(resource_path))
/external/angle/build/android/gyp/util/
Dresource_utils.py200 for resource_path in resource_files:
202 res_dir = os.path.dirname(os.path.dirname(resource_path))
/external/cronet/stable/build/android/gyp/util/
Dresource_utils.py200 for resource_path in resource_files:
202 res_dir = os.path.dirname(os.path.dirname(resource_path))
/external/python/cpython3/Doc/library/
Dimportlib.resources.abc.rst57 .. abstractmethod:: resource_path(resource)
Dimportlib.rst673 .. abstractmethod:: resource_path(resource)
/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py296 def resource_path(self, *args, **kwargs): member in ResourceReader
297 return super().resource_path(*args, **kwargs)
/external/pytorch/torch/package/
Dpackage_importer.py752 def resource_path(self, resource): member in _PackageResourceReader