Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/libjpeg-turbo/gtest/
Dtjbench-gtest-wrapper.cpp62 base::FilePath resource_path; in SetUpTestSuite() local
63 ASSERT_TRUE(base::PathService::Get(base::DIR_SOURCE_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_SOURCE_ROOT, &resource_path)); in SetUpTestSuite()
[all …]
/third_party/cef/libcef/browser/extensions/
Dcomponent_extension_resource_manager.cc40 const base::FilePath& resource_path, in IsComponentExtensionResource() argument
49 relative_path = relative_path.Append(resource_path); in IsComponentExtensionResource()
72 base::FilePath resource_path = in AddComponentResourceEntries() local
74 resource_path = resource_path.NormalizePathSeparators(); in AddComponentResourceEntries()
76 DCHECK(!base::Contains(path_to_resource_info_, resource_path)); in AddComponentResourceEntries()
77 path_to_resource_info_[resource_path] = entries[i].id; in AddComponentResourceEntries()
Dcomponent_extension_resource_manager.h33 const base::FilePath& resource_path,
/third_party/skia/modules/skresources/src/
DSkResources.cpp186 sk_sp<SkData> FileResourceProvider::load(const char resource_path[], in load() argument
188 const auto full_dir = SkOSPath::Join(fDir.c_str() , resource_path), in load()
193 sk_sp<ImageAsset> FileResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset() argument
196 auto data = this->load(resource_path, resource_name); in loadImageAsset()
214 sk_sp<SkData> ResourceProviderProxyBase::load(const char resource_path[], in load() argument
216 return fProxy ? fProxy->load(resource_path, resource_name) in load()
248 sk_sp<ImageAsset> CachingResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset() argument
258 auto asset = this->INHERITED::loadImageAsset(resource_path, resource_name, resource_id); in loadImageAsset()
/third_party/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()
/third_party/flutter/skia/modules/skottie/utils/
DSkottieUtils.cpp88 sk_sp<SkData> FileResourceProvider::load(const char resource_path[], in load() argument
90 const auto full_dir = SkOSPath::Join(fDir.c_str() , resource_path), in load()
95 sk_sp<skottie::ImageAsset> FileResourceProvider::loadImageAsset(const char resource_path[], in loadImageAsset() argument
98 return MultiFrameImageAsset::Make(this->load(resource_path, resource_name)); in loadImageAsset()
DSkottieUtils.h56 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override;
/third_party/cef/tests/shared/browser/
Dextension_util.cc203 const std::string& resource_path = in AddInternalExtensionToResourceManager() local
210 CreateBinaryResourceProvider(origin, resource_path), 50, std::string()); in AddInternalExtensionToResourceManager()
215 resource_dir += "/" + resource_path; in AddInternalExtensionToResourceManager()
/third_party/python/Lib/importlib/
Dreaders.py15 def resource_path(self, resource): member in FileReader
114 def resource_path(self, resource): member in NamespaceReader
Dabc.py328 def resource_path(self, resource: Text) -> Text: member in ResourceReader
435 def resource_path(self, resource): member in TraversableResources
Dresources.py137 return Path(reader.resource_path(resource))
/third_party/skia/tools/viewer/
DParticlesSlide.cpp33 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override { in load() argument
38 return GetResourceAsData(SkOSPath::Join(resource_path, resource_name).c_str()); in load()
42 sk_sp<skresources::ImageAsset> loadImageAsset(const char resource_path[], in loadImageAsset() argument
45 auto data = this->load(resource_path, resource_name); in loadImageAsset()
/third_party/flutter/skia/modules/skottie/include/
DSkottie.h72 virtual sk_sp<SkData> load(const char resource_path[],
79 virtual sk_sp<ImageAsset> loadImageAsset(const char resource_path[],
/third_party/python/Lib/test/test_importlib/
Dtest_reader.py113 reader.resource_path('binary.file'), os.path.join(root, 'binary.file')
116 reader.resource_path('imaginary'), os.path.join(root, 'imaginary')
Dtest_abc.py316 def resource_path(self, *args, **kwargs): member in ResourceReader
317 return super().resource_path(*args, **kwargs)
336 self.ins.resource_path('dummy_file')
Dutil.py434 def resource_path(self, path_): member in create_package.Reader
/third_party/flutter/skia/third_party/externals/sdl/src/file/cocoa/
DSDL_rwopsbundlesupport.m46 NSString* resource_path = [[NSBundle mainBundle] resourcePath];
50 …NSString* full_path_with_file_to_try = [resource_path stringByAppendingPathComponent:ns_string_fil…
/third_party/cef/tests/ceftests/extensions/
Dbackground_unittest.cc177 const std::string& resource_path) const { in GetExtensionURL()
182 return origin + resource_path; in GetExtensionURL()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dwin_tool.py232 manifest_path, resource_path, resource_name = args
233 with open(resource_path, 'wb') as output:
/third_party/node/tools/gyp/pylib/gyp/
Dwin_tool.py271 manifest_path, resource_path, resource_name = args
272 with open(resource_path, "w") as output:
/third_party/skia/modules/skresources/include/
DSkResources.h191 sk_sp<SkData> load(const char resource_path[], const char resource_name[]) const override;
/third_party/python/Doc/library/
Dimportlib.rst535 .. abstractmethod:: resource_path(resource)