/third_party/PyYAML/tests/lib/ |
H A D | test_appliance.py | 2 import sys, os, os.path, types, traceback, pprint namespace 22 if os.path.isfile(os.path.join(directory, filename)): 23 base, ext = os.path.splitext(filename) 135 filenames.append(os.path.join(DATA, base+ext))
|
/third_party/mbedtls/tests/scripts/ |
H A D | check_test_cases.py | 73 file_name: a relative path to the file containing the test case. 132 """Get the relative path for the TLS and Crypto test directories.""" 133 if os.path.isdir('tests'): 135 elif os.path.isdir('suites'): 137 elif os.path.isdir('../suites'): 146 for data_file_name in glob.glob(os.path.join(directory, 'suites', 151 sh_file = os.path.join(directory, sh_file)
|
/third_party/node/deps/v8/tools/release/ |
H A D | list_deprecated.py | 28 def __init__(self, path): 29 self.path = path 55 logging.info(f"blame list for {self.path}") 57 ['git', 'blame', '-t', '--line-porcelain', self.path], 137 file_position = (f"{self.path}:{linenumber}").ljust(40) 144 ['git', 'log', '-1', '--format=%H%n%ct', self.path],
|
/third_party/ninja/src/ |
H A D | missing_deps.cc | 66 void MissingDependencyPrinter::OnMissingDep(Node* node, const std::string& path, in OnMissingDep() argument 68 std::cout << "Missing dep: " << node->path() << " uses " << path in OnMissingDep() 119 // so a missing dep path to build.ninja is not an actual missing dependency in ProcessNodeDeps() 121 if (deplog_node->path() == "build.ninja") in ProcessNodeDeps() 145 delegate_->OnMissingDep(node, dep_nodes[i]->path(), (*ne)->rule()); in ProcessNodeDeps() 163 << " without a non-depfile dep path to the generator.\n"; in PrintStats()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
H A D | LtpfsCmds.c | 64 struct block_device *ltplookup_bdev(const char *path); 253 * @path: special file representing the block device 255 * Get a reference to the blockdevice at @path in the current 259 struct block_device *lookup_bdev(const char *path) in lookup_bdev() argument 266 if (!path || !*path) in lookup_bdev() 269 error = path_lookup(path, LOOKUP_FOLLOW, &nd); in lookup_bdev()
|
/third_party/littlefs/scripts/ |
H A D | readtree.py | 87 path, dir = pending.pop(0) 96 pending.append(((path + '/' + npath), nmdir)) 100 dir[0].path = path.replace('//', '/') 123 print("dir %s" % (json.dumps(dir[0].path) 124 if hasattr(dir[0], 'path') else '(orphan)'))
|
/third_party/libabigail/include/ |
H A D | abg-tools-utils.h | 50 bool base_name(string const& path, 52 bool dir_name(string const &path, 55 void real_path(const string&path, string& realpath); 59 bool check_file(const string& path, ostream& out, const string& prog_name = ""); 60 bool check_dir(const string& path, ostream& out, const string& prog_name=""); 135 /// using an fstream. They can also get the path to the newly
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
H A D | tcuRandomOrderExecutor.cpp | 73 // cleanup path after partial in pruneStack() 105 TestCase *RandomOrderExecutor::seekToCase(const string &path) in seekToCase() argument 107 const vector<string> components = de::splitString(path, '.'); in seekToCase() 135 throw Exception(string("Test hierarchy node not found: ") + path); in seekToCase() 151 throw Exception(string("Invalid test hierarchy path: ") + path); in seekToCase() 159 throw Exception(string("Not a test case: ") + path); in seekToCase()
|
/third_party/skia/samplecode/ |
H A D | SampleLayers.cpp | 192 SkPath path; variable 193 path.addOval(SkRect::MakeXYWH(-w/2, -h/2, w, h)); 197 path.transform(m); 199 canvas->clipPath(path, SkClipOp::kIntersect, true); 200 const SkRect bounds = path.getBounds();
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Configurator.cpp | 34 path = iniPath; in Configurator() 46 if(access(path.c_str(), R_OK) != 0) in readFile() 52 fstream file(path.c_str(), ios::in); in readFile() 120 if(access(path.c_str(), W_OK) != 0) in writeFile() 126 fstream file(path.c_str(), ios::out); in writeFile()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Configurator.cpp | 34 path = iniPath; in Configurator() 46 if(access(path.c_str(), R_OK) != 0) in readFile() 52 fstream file(path.c_str(), ios::in); in readFile() 120 if(access(path.c_str(), W_OK) != 0) in writeFile() 126 fstream file(path.c_str(), ios::out); in writeFile()
|
/third_party/skia/tests/ |
H A D | PDFJpegEmbedTest.cpp | 113 const char* path; in DEF_TEST() member 122 sk_sp<SkData> data(load_resource(r, "JpegIdentification", kTests[i].path)); in DEF_TEST() 129 ERRORF(r, "%s failed isJfif test", kTests[i].path); in DEF_TEST() 136 ERRORF(r, "%s failed jfif type test", kTests[i].path); in DEF_TEST() 139 INFOF(r, "\nJpegIdentification: %s [%d x %d]\n", kTests[i].path, in DEF_TEST()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | bluez5-util.h | 112 char *path; member 151 char *path; member 172 char *path; member 206 pa_bluetooth_transport *pa_bluetooth_transport_new(pa_bluetooth_device *d, const char *owner, const char *path, 224 pa_bluetooth_device* pa_bluetooth_discovery_get_device_by_path(pa_bluetooth_discovery *y, const char *path);
|
/third_party/python/Lib/test/ |
H A D | test_msilib.py | 14 path = TESTFN + '.msi' 16 path, 23 return db, path 88 db_path = os.path.join(TESTFN, 'test.msi') 127 self.assertTrue(os.path.isfile(cabpath))
|
/third_party/skia/gm/ |
H A D | mandoline.cpp | 119 const SkPath& path() const { return fPath; } in path() function in skiagm::MandolineSlicer 161 canvas->drawPath(mandoline.path(), paint); 168 canvas->drawPath(mandoline.path(), paint); 180 canvas->drawPath(mandoline.path(), paint); 194 canvas->drawPath(mandoline.path(), paint);
|
/third_party/skia/buildtools/checkdeps/ |
H A D | checkdeps.py | 54 base_directory: OS-compatible path to root of checkout, e.g. C:\chr\src. 96 if self._skip_tests and _IsTestFile(os.path.basename(full_name)): 98 file_extension = os.path.splitext(full_name)[1] 123 rules_for_file = self.GetDirectoryRules(os.path.dirname(file_path)) 265 start_dir = os.path.abspath(os.path.join(base_directory, args[0]))
|
/third_party/skia/bench/ |
H A D | PathOpsBench.cpp | 56 PathOpsSimplifyBench(const char suffix[], const SkPath& path) : fPath(path) { in PathOpsSimplifyBench() argument 86 SkPath path; in makerects() local 91 path.addRect({x, y, x + scale, y + scale}); in makerects() 93 return path; in makerects() 157 const char* typenames[] = { "path", "snapshot", "detach", "arrays" }; in PathBuilderBench()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | registry_xml.py | 400 def script_relative(path): 401 return os.path.join(os.path.dirname(sys.argv[0]), path) 405 return os.path.join(script_relative(".."), "src", folder, file)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 227 * @bss_obj_path: BSS object path 270 * @bss_obj_path: new BSS object path 284 * @bss_obj_path: BSS object path 374 char net_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; in wpas_dbus_signal_network() local 393 path = net_obj_path; in wpas_dbus_signal_network() 395 &path) || in wpas_dbus_signal_network() 514 char path[WPAS_DBUS_OBJECT_PATH_MAX]; in wpas_dbus_signal_network_enabled_changed() local 518 os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX, in wpas_dbus_signal_network_enabled_changed() 522 wpa_dbus_mark_property_changed(wpa_s->global->dbus, path, in wpas_dbus_signal_network_enabled_changed() 1085 * @station_obj_path: Station object path 1236 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_provision_discovery() local 1340 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_go_neg_req() local 1549 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_go_neg_resp() local 1713 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_peer_joined() local 1770 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_peer_disconnected() local 1834 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_sd_request() local 1902 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_sd_response() local 1965 char pgrp_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_persistent_group() local 2283 char path[WPAS_DBUS_OBJECT_PATH_MAX]; wpas_dbus_bss_signal_prop_changed() local 2348 char path[WPAS_DBUS_OBJECT_PATH_MAX]; wpas_dbus_sta_signal_prop_changed() local 4406 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_peer() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 227 * @bss_obj_path: BSS object path 270 * @bss_obj_path: new BSS object path 284 * @bss_obj_path: BSS object path 374 char net_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; in wpas_dbus_signal_network() local 393 path = net_obj_path; in wpas_dbus_signal_network() 395 &path) || in wpas_dbus_signal_network() 514 char path[WPAS_DBUS_OBJECT_PATH_MAX]; in wpas_dbus_signal_network_enabled_changed() local 518 os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX, in wpas_dbus_signal_network_enabled_changed() 522 wpa_dbus_mark_property_changed(wpa_s->global->dbus, path, in wpas_dbus_signal_network_enabled_changed() 1184 * @station_obj_path: Station object path 1335 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_provision_discovery() local 1439 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_go_neg_req() local 1648 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_go_neg_resp() local 1812 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_peer_joined() local 1869 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_peer_disconnected() local 1933 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_sd_request() local 2001 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_p2p_sd_response() local 2064 char pgrp_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_persistent_group() local 2382 char path[WPAS_DBUS_OBJECT_PATH_MAX]; wpas_dbus_bss_signal_prop_changed() local 2447 char path[WPAS_DBUS_OBJECT_PATH_MAX]; wpas_dbus_sta_signal_prop_changed() local 4563 char peer_obj_path[WPAS_DBUS_OBJECT_PATH_MAX], *path; wpas_dbus_signal_peer() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/ |
H A D | patternlock_modifier.cpp | 292 RSPath path; in PaintLockLine() local 298 path.MoveTo(pointBegin.GetX(), pointBegin.GetY()); in PaintLockLine() 299 path.LineTo(pointEnd.GetX(), pointEnd.GetY()); in PaintLockLine() 302 AddConnectedLineToPath(path, offset); in PaintLockLine() 308 path.MoveTo(pointBegin.GetX(), pointBegin.GetY()); in PaintLockLine() 309 path.LineTo(pointEnd.GetX(), pointEnd.GetY()); in PaintLockLine() 312 AddCanceledLineToPath(path, offset); in PaintLockLine() 313 canvas.DrawPath(path); in PaintLockLine() 318 void PatternLockModifier::AddConnectedLineToPath(RSPath& path, const OffsetF& offset) in AddConnectedLineToPath() argument 328 path in AddConnectedLineToPath() 333 AddCanceledLineToPath(RSPath& path, const OffsetF& offset) AddCanceledLineToPath() argument 419 RSPath path; PaintLightRing() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_symbol_animation_test.cpp | 124 Drawing::Path path; in HWTEST_F() local 125 path.AddCircle(100, 100, 50); // 100 x, 100 y, 50 radius in HWTEST_F() 127 symbol.path_ = path; in HWTEST_F() 172 Drawing::Path path; in HWTEST_F() local 173 path.AddCircle(100, 100, 50); // 100 x, 100 y, 50 radius in HWTEST_F() 175 symbol.path_ = path; in HWTEST_F() 320 Drawing::Path path; in HWTEST_F() local 321 path.AddCircle(100, 100, 50); // 100 x, 100 y, 50 radius in HWTEST_F() 323 symbol.path_ = path; in HWTEST_F() 522 Drawing::Path path; in HWTEST_F() local 1175 Drawing::Path path; HWTEST_F() local 1216 Drawing::Path path; HWTEST_F() local [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | copy.cpp | 191 bool Copy::IsDirectory(const std::string &path, int &errCode) in IsDirectory() argument 195 int ret = stat(path.c_str(), &buf); in IsDirectory() 204 bool Copy::IsFile(const std::string &path, int &errCode) in IsFile() argument 208 int ret = stat(path.c_str(), &buf); in IsFile() 224 tuple<int, uint64_t> Copy::GetFileSize(const std::string &path) in GetFileSize() argument 227 int ret = stat(path.c_str(), &buf); in GetFileSize() 277 int Copy::MakeDir(const string &path) in MakeDir() argument 279 filesystem::path destDir(path); in MakeDir() 316 receiveInfo->path in CopySubDir() 353 GetRealPath(const std::string& path) GetRealPath() argument 369 GetDirSize(std::shared_ptr<FileInfos> infos, std::string path) GetDirSize() argument [all...] |
/kernel/linux/linux-5.10/drivers/of/ |
H A D | base.c | 860 const char *path) in __of_find_node_by_path() 865 len = strcspn(path, "/:"); in __of_find_node_by_path() 871 if (strncmp(path, name, len) == 0 && (strlen(name) == len)) in __of_find_node_by_path() 878 const char *path) in __of_find_node_by_full_path() 880 const char *separator = strchr(path, ':'); in __of_find_node_by_full_path() 882 while (node && *path == '/') { in __of_find_node_by_full_path() 885 path++; /* Increment past '/' delimiter */ in __of_find_node_by_full_path() 886 node = __of_find_node_by_path(node, path); in __of_find_node_by_full_path() 888 path = strchrnul(path, '/'); in __of_find_node_by_full_path() 859 __of_find_node_by_path(struct device_node *parent, const char *path) __of_find_node_by_path() argument 877 __of_find_node_by_full_path(struct device_node *node, const char *path) __of_find_node_by_full_path() argument 913 of_find_node_opts_by_path(const char *path, const char **opts) of_find_node_opts_by_path() argument [all...] |
/kernel/linux/linux-6.6/drivers/of/ |
H A D | base.c | 722 const char *path) in __of_find_node_by_path() 727 len = strcspn(path, "/:"); in __of_find_node_by_path() 733 if (strncmp(path, name, len) == 0 && (strlen(name) == len)) in __of_find_node_by_path() 740 const char *path) in __of_find_node_by_full_path() 742 const char *separator = strchr(path, ':'); in __of_find_node_by_full_path() 744 while (node && *path == '/') { in __of_find_node_by_full_path() 747 path++; /* Increment past '/' delimiter */ in __of_find_node_by_full_path() 748 node = __of_find_node_by_path(node, path); in __of_find_node_by_full_path() 750 path = strchrnul(path, '/'); in __of_find_node_by_full_path() 721 __of_find_node_by_path(struct device_node *parent, const char *path) __of_find_node_by_path() argument 739 __of_find_node_by_full_path(struct device_node *node, const char *path) __of_find_node_by_full_path() argument 775 of_find_node_opts_by_path(const char *path, const char **opts) of_find_node_opts_by_path() argument [all...] |