/third_party/skia/tests/ |
H A D | ColorSpaceTest.cpp | 47 static void test_path(skiatest::Reporter* r, const char* path, in test_path() argument 50 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in test_path() 119 auto test = [&](const char* path) { in DEF_TEST() 120 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST() 152 auto parse = [&](const char* path) { in DEF_TEST() 153 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
H A D | GPUTestExpectationsParser.cpp | 360 const std::string &path) in loadTestExpectationsFromFileImpl() 366 if (!ReadFileToString(path, &data)) in loadTestExpectationsFromFileImpl() 375 const std::string &path) in loadTestExpectationsFromFile() 377 return loadTestExpectationsFromFileImpl(&config, path); in loadTestExpectationsFromFile() 380 bool GPUTestExpectationsParser::loadAllTestExpectationsFromFile(const std::string &path) in loadAllTestExpectationsFromFile() argument 382 return loadTestExpectationsFromFileImpl(nullptr, path); in loadAllTestExpectationsFromFile() 359 loadTestExpectationsFromFileImpl(const GPUTestConfig *config, const std::string &path) loadTestExpectationsFromFileImpl() argument 374 loadTestExpectationsFromFile(const GPUTestConfig &config, const std::string &path) loadTestExpectationsFromFile() argument
|
/third_party/python/Lib/ |
H A D | webbrowser.py | 57 # User gave us a browser name or path. 109 This is useful to create a controller when a user specifies a path to 121 name = os.path.basename(cmd) 132 controller.basename = os.path.basename(browser) 171 self.basename = os.path.basename(self.name) 414 tempdir = os.path.join(tempfile.gettempdir(), 417 filename = os.path.join(glob.escape(tempdir), glob.escape(user) + "-*") 546 iexplore = os.path.join(os.environ.get("PROGRAMFILES", "C:\\Program Files"),
|
H A D | pdb.py | 127 # Mutate self to be the "real path". 128 res = super().__new__(cls, os.path.realpath(val)) 130 # Store the original path for error reporting. 136 if not os.path.exists(self): 140 # Replace pdb's dir with script's dir in front of module search path. 141 sys.path[0] = os.path.dirname(self) 192 __file__=os.path.normcase(os.path.abspath(self.filename)), 238 with open(os.path [all...] |
/third_party/toybox/toys/pending/ |
H A D | syslogd.c | 41 char *path; member 383 unlink(fnode->path); in cleanup() 414 error_exit("Socket path should not be more than 108"); in syslogd_main() 421 tsd->path = (toys.optflags & FLAG_p) ? TT.unix_socket : "/dev/log"; // DEFLOGSOCK in syslogd_main() 428 tsd->path = temp; in syslogd_main() 441 strcpy(tsd->sdu.sun_path, tsd->path); in syslogd_main() 453 chmod(tsd->path, 0777); in syslogd_main()
|
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/ |
H A D | perf_puppeteer_skottie_frames.go | 18 "path/filepath" 41 nodeBinPath = flag.String("node_bin_path", "", "Path to the node bin directory (should have npm also). This directory *must* be on the PATH when this executable is called, otherwise, the wrong node or npm version may be found (e.g. the one on the system), even if we are explicitly calling npm with the absolute path.") 166 return filepath.Walk(lottiesPath, func(path string, info os.FileInfo, _ error) error { 167 if path == lottiesPath { 171 lottieFolders = append(lottieFolders, path) 195 // See comment in setup about why we specify the absolute path for node. 247 return filepath.Walk(perfJSONPath, func(path string, info os.FileInfo, _ error) error { 248 if strings.HasSuffix(path, ".json") { 249 jsonInputs = append(jsonInputs, path)
|
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_render_skps/ |
H A D | perf_puppeteer_render_skps.go | 18 "path/filepath" 41 nodeBinPath = flag.String("node_bin_path", "", "Path to the node bin directory (should have npm also). This directory *must* be on the PATH when this executable is called, otherwise, the wrong node or npm version may be found (e.g. the one on the system), even if we are explicitly calling npm with the absolute path.") 168 return filepath.Walk(skpsPath, func(path string, info os.FileInfo, _ error) error { 169 if path == skpsPath { 175 skpFiles = append(skpFiles, path) 195 // See comment in setup about why we specify the absolute path for node. 246 return filepath.Walk(perfJSONPath, func(path string, info os.FileInfo, _ error) error { 247 if strings.HasSuffix(path, ".json") { 248 jsonInputs = append(jsonInputs, path)
|
/third_party/selinux/libselinux/utils/ |
H A D | sefcontext_compile.c | 297 const char *path = NULL; in main() local 334 path = argv[optind]; in main() 335 if (stat(path, &buf) < 0) { in main() 336 fprintf(stderr, "%s: could not stat: %s: %s\n", argv[0], path, strerror(errno)); in main() 389 rc = process_file(rec, path); in main() 404 rc = snprintf(stack_path, sizeof(stack_path), "%s.bin", path); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_er.c | 225 char *url, *path; in wps_er_ap_unsubscribe() local 239 url = http_client_url_parse(ap->event_sub_url, &dst, &path); in wps_er_ap_unsubscribe() 256 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), sid); in wps_er_ap_unsubscribe() 429 char *url, *path; in wps_er_subscribe() local 442 url = http_client_url_parse(ap->event_sub_url, &dst, &path); in wps_er_subscribe() 460 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), in wps_er_subscribe() 896 const char *path, in wps_er_soap_hdr() 925 path, inet_ntoa(dst->sin_addr), ntohs(dst->sin_port)); in wps_er_soap_hdr() 967 char *url, *path; in wps_er_sta_send_msg() local 982 url = http_client_url_parse(sta->ap->control_url, &dst, &path); in wps_er_sta_send_msg() 894 wps_er_soap_hdr(const struct wpabuf *msg, const char *name, const char *arg_name, const char *path, const struct sockaddr_in *dst, char **len_ptr, char **body_ptr) wps_er_soap_hdr() argument 1425 char *url, *path; wps_er_send_set_sel_reg() local 1699 char *url, *path; wps_er_ap_put_message() local 1871 char *url, *path; wps_er_send_get_device_info() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_er.c | 225 char *url, *path; in wps_er_ap_unsubscribe() local 239 url = http_client_url_parse(ap->event_sub_url, &dst, &path); in wps_er_ap_unsubscribe() 256 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), sid); in wps_er_ap_unsubscribe() 429 char *url, *path; in wps_er_subscribe() local 442 url = http_client_url_parse(ap->event_sub_url, &dst, &path); in wps_er_subscribe() 460 path, inet_ntoa(dst.sin_addr), ntohs(dst.sin_port), in wps_er_subscribe() 896 const char *path, in wps_er_soap_hdr() 925 path, inet_ntoa(dst->sin_addr), ntohs(dst->sin_port)); in wps_er_soap_hdr() 967 char *url, *path; in wps_er_sta_send_msg() local 982 url = http_client_url_parse(sta->ap->control_url, &dst, &path); in wps_er_sta_send_msg() 894 wps_er_soap_hdr(const struct wpabuf *msg, const char *name, const char *arg_name, const char *path, const struct sockaddr_in *dst, char **len_ptr, char **body_ptr) wps_er_soap_hdr() argument 1425 char *url, *path; wps_er_send_set_sel_reg() local 1699 char *url, *path; wps_er_ap_put_message() local 1871 char *url, *path; wps_er_send_get_device_info() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_pathlib.py | 266 # Special case for the empty path. 293 # The repr() is in the form ClassName("forward-slashes path"). 392 # When the path is absolute, the anchor is a separate part. 1252 # Joining with a different drive => the first path is ignored, even 1253 # if the second path is relative. 1260 # Joining with the same drive => the first path is appended to if 1261 # the second path is relative. 1275 # Joining with a different drive => the first path is ignored, even 1276 # if the second path is relative. 1282 # Joining with the same drive => the first path i [all...] |
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
H A D | dma_info.cpp | 77 string path = "/proc/process_dmabuf_info"; in ParseDmaInfo() local 78 bool ret = FileUtils::GetInstance().LoadStringFromProcCb(path, false, true, [&](const string &line) -> void { in ParseDmaInfo()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
H A D | parse_smaps_rollup_info.cpp | 81 string path = "/proc/" + to_string(pid) + "/smaps_rollup"; in GetMemInfo() local 82 bool ret = FileUtils::GetInstance().LoadStringFromProcCb(path, false, true, [&](const string& line) -> void { in GetMemInfo()
|
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/ |
H A D | faultlogger_client_test.cpp | 64 auto path = "/data/log/faultlog/faultlogger/" + fileName; in CheckLogFileExist() local 65 return FileUtil::FileExists(path); in CheckLogFileExist()
|
/base/customization/enterprise_device_management/test/fuzztest/installplugin_fuzzer/ |
H A D | install_plugin_fuzzer.cpp | 56 std::string path(CommonFuzzer::GetString(data, pos, stringSize, size)); in LLVMFuzzerTestOneInput() 57 std::vector<std::string> realPaths = { path }; in LLVMFuzzerTestOneInput()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | global_utils.h | 99 uint32_t (*GetOffsetByLocale)(const char *path, const char *locale, uint32_t length);
106 int32_t (*CheckFilePath)(const char *path, char *realResourcePath, int32_t length);
|
H A D | hap_resource.h | 37 * @param path resources.index file path 44 static const HapResource *LoadFromIndex(const char *path, const ResConfigImpl *defaultConfig, bool system = false); 52 * Get the resource.index file path 60 * Get the resource path 68 * Describe limitpath and value under the path 111 // the qualifier path name 174 HapResource(const std::string path, time_t lastModTime, const ResConfig *defaultConfig, ResDesc *resDes); 182 // resources.index file path 185 // resource path , calculate [all...] |
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | hap_manager_test.cpp | 104 const char *path = resPath.c_str(); in HWTEST_F() local 112 bool ret = hapManager->AddResourcePath(path); in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_maps.h | 33 static std::shared_ptr<DfxMaps> Create(pid_t pid, const std::string& path); 55 bool Parse(const pid_t pid, const std::string& path);
|
/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | xcollie_utils.h | 53 std::string GetFirstLine(const std::string& path); 80 bool WriteStackToFd(int32_t pid, std::string& path, std::string& stack,
|
/base/powermgr/battery_manager/test/utils/ |
H A D | test_utils.cpp | 53 void TestUtils::WriteMock(const std::string& path, const std::string content)
in WriteMock() argument 55 std::ofstream stream(path.c_str());
in WriteMock()
|
/base/powermgr/thermal_manager/test/systemtest/include/ |
H A D | thermal_mgr_system_test.h | 56 static int32_t WriteFile(std::string path, std::string buf, size_t size); 57 static int32_t ReadFile(const char *path, char *buf, size_t size);
|
/base/msdp/device_status/tools/vdev/include/ |
H A D | virtual_mouse_builder.h | 43 static void ReadActions(const char *path); 57 static void ReadRawInput(const char *path);
|
H A D | virtual_touchscreen_builder.h | 48 static void ReadActions(const char *path); 56 static void ReadRawInput(const char *path);
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
H A D | cert_manager.h | 36 const struct CmContext *context, const struct CmBlob *certUri, uint32_t store, struct CmMutableBlob *path); 58 int32_t CmStoreUserCert(const char *path, const struct CmBlob *userCert, const char *userCertName); 74 * certificate is deleted based on the path of the certificate configuration file created in context and certUri. 78 * @param userCertConfigFilePath The certificate configuration file path
|