/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
H A D | hosts.js | 14 edittemplate: ({ domain, user, project, committish, editpath, path }) => 15 `https://${domain}/${user}/${project}${maybeJoin('/', editpath, '/', maybeEncode(committish || 'HEAD'), '/', path)}`, 18 browsetreetemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => 19 `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || 'HEAD')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`, 20 browseblobtemplate: ({ domain, user, project, committish, blobpath, path, fragment, hashformat }) => 21 `https://${domain}/${user}/${project}/${blobpath}/${maybeEncode(committish || 'HEAD')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`, 26 filetemplate: ({ domain, user, project, committish, path }) => 27 `https://${domain}/${user}/${project}/raw/${maybeEncode(committish || 'HEAD')}/${path}`, 46 filetemplate: ({ auth, user, project, committish, path }) => 47 `https://${maybeJoin(auth, '@')}raw.githubusercontent.com/${user}/${project}/${maybeEncode(committish || 'HEAD')}/${path}`, [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | rebuild.js | 1 // Arborist.rebuild({path = this.path}) will do all the binlinks and 11 const { resolve } = require('path') 20 (a.depth - b.depth) || localeCompare(a.path, b.path) 219 // the node path. Otherwise a package can have a preinstall script 225 const { path, package: pkg } = node 226 await binLinks.checkBins({ pkg, path, top: true, global: true }) 254 const pkg = await rpj(node.path + '/package.json').catch(() => ({})) 268 await isNodeGypPackage(node.path) [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | install.js | 7 const path = require('path') 51 const devDir = path.resolve(gyp.devDir, release.versionDir) 73 const installVersionFile = path.resolve(devDir, 'installVersion') 96 const nodeLibPath = path.resolve(devDir, arch, 'node.lib') 132 await copyDirectory(path.join(src, entry.name), path.join(dest, entry.name)) 138 await fs.copyFile(path.join(src, entry.name), path.join(dest, entry.name)) 143 await fs.stat(path [all...] |
/third_party/toybox/toys/pending/ |
H A D | wget.c | 104 static void wget_info(char *url, char **host, char **port, char **path) in wget_info() argument 107 *path = strchr(*host, '/'); in wget_info() 109 if ((*path = strchr(*host, '/'))) { in wget_info() 110 **path = '\0'; in wget_info() 111 *path = *path + 1; in wget_info() 113 *path = ""; in wget_info() 262 static char *wget_filename(char *header, char *path) in wget_filename() argument 267 if (!f && strchr(path, '/')) f = getbasename(path); in wget_filename() 278 char *body, *index, *host, *port, *path; wget_main() local [all...] |
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_tree.c | 44 struct cil_tree_node *cil_tree_get_next_path(struct cil_tree_node *node, char **info_kind, uint32_t *hll_line, char **path) in cil_tree_get_next_path() argument 66 *path = node->cl_head->next->next->next->data; in cil_tree_get_next_path() 75 *path = info->path; in cil_tree_get_next_path() 93 *path = NULL; in cil_tree_get_next_path() 101 char *path; in cil_tree_get_cil_path() local 104 node = cil_tree_get_next_path(node, &info_kind, &hll_line, &path); in cil_tree_get_cil_path() 106 return path; in cil_tree_get_cil_path() 122 char *path = NULL; in cil_tree_log() local 125 path in cil_tree_log() [all...] |
H A D | cil_parser.c | 96 static int add_hll_linemark(struct cil_tree_node **current, uint32_t *hll_offset, uint32_t *hll_expand, struct cil_stack *stack, char *path) in add_hll_linemark() argument 189 cil_log(CIL_ERR, "Problem with high-level line mark at line %u of %s\n", tok.line, path); in add_hll_linemark() 193 static void add_cil_path(struct cil_tree_node **current, char *path) in add_cil_path() argument 210 create_node(&node, *current, 0, 0, path); in add_cil_path() 222 char *path = cil_strpool_add(_path); in cil_parser() local 236 add_cil_path(¤t, path); in cil_parser() 242 rc = add_hll_linemark(¤t, &hll_offset, &hll_expand, stack, path); in cil_parser() 250 cil_log(CIL_ERR, "Number of open parenthesis exceeds limit of %d at line %d of %s\n", CIL_PARSER_MAX_EXPR_DEPTH, tok.line, path); in cil_parser() 260 cil_log(CIL_ERR, "Close parenthesis without matching open at line %d of %s\n", tok.line, path); in cil_parser() 271 cil_log(CIL_ERR, "Symbol not inside parenthesis at line %d of %s\n", tok.line, path); in cil_parser() [all...] |
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | result_reporter.py | 155 LOG.error("Report path is wrong", error_no="00440", 166 self.summary_data_path = os.path.join( 174 report_template = os.path.join(Variables.res_dir, "template") 178 to_path = os.path.join(report_template, file) 179 if not os.path.exists(to_path): 187 temp_file_report_html = os.path.join(self.report_path, "report.html") 188 if os.path.exists(temp_file_report_html): 191 data_js = os.path.join(self.report_path, "static", "data.js") 195 test_report = os.path.join(self.report_path, ReportConstant.summary_vision_report).replace("\\", "/") 196 LOG.info(f"Log path [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | sysctl.h | 218 #define register_sysctl(path, table) \ 219 register_sysctl_sz(path, table, ARRAY_SIZE(table)) 232 const char *path, struct ctl_table *table, size_t table_size); 233 struct ctl_table_header *register_sysctl_sz(const char *path, struct ctl_table *table, 238 extern void __register_sysctl_init(const char *path, struct ctl_table *table, 240 #define register_sysctl_init(path, table) \ 241 __register_sysctl_init(path, table, #table, ARRAY_SIZE(table)) 242 extern struct ctl_table_header *register_sysctl_mount_point(const char *path); 262 static inline void register_sysctl_init(const char *path, struct ctl_table *table) in register_sysctl_init() argument 266 static inline struct ctl_table_header *register_sysctl_mount_point(const char *path) in register_sysctl_mount_point() argument 271 register_sysctl_sz(const char *path, struct ctl_table *table, size_t table_size) register_sysctl_sz() argument [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/lib/ |
H A D | powercap.c | 18 static unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen) in sysfs_read_file() argument 23 fd = open(path, O_RDONLY); in sysfs_read_file() 39 static int sysfs_get_enabled(char *path, int *mode) in sysfs_get_enabled() argument 47 fd = open(path, O_RDONLY); in sysfs_get_enabled() 75 char path[SYSFS_PATH_MAX] = PATH_TO_POWERCAP "/intel-rapl/enabled"; in powercap_get_enabled() local 77 return sysfs_get_enabled(path, mode); in powercap_get_enabled() 160 char path[SYSFS_PATH_MAX] = PATH_TO_POWERCAP; in powercap_zone_get_enabled() local 166 strcat(path, "/"); in powercap_zone_get_enabled() 167 strcat(path, zone->sys_name); in powercap_zone_get_enabled() 168 strcat(path, "/enable in powercap_zone_get_enabled() [all...] |
/third_party/node/test/parallel/ |
H A D | test-fs-access.js | 16 const path = require('path'); 22 const doesNotExist = path.join(tmpdir.path, '__this_should_not_exist'); 23 const readOnlyFile = path.join(tmpdir.path, 'read_only_file'); 24 const readWriteFile = path.join(tmpdir.path, 'read_write_file'); 97 assert.strictEqual(err.path, doesNotExist); 112 assert.strictEqual(err.path, readOnlyFil [all...] |
H A D | test-repl-programmatic-history.js | 9 const path = require('path'); 20 return tmpdir.path; 60 const historyFixturePath = fixtures.path('.node_repl_history'); 61 const historyPath = path.join(tmpdir.path, '.fixture_copy_repl_history'); 62 const historyPathFail = fixtures.path('nonexistent_folder', 'filename'); 63 const defaultHistoryPath = path.join(tmpdir.path, '.node_repl_history'); 64 const emptyHiddenHistoryPath = fixtures.path(' [all...] |
H A D | test-repl-persistent-history.js | 11 const path = require('path'); 22 return tmpdir.path; 62 const historyFixturePath = fixtures.path('.node_repl_history'); 63 const historyPath = path.join(tmpdir.path, '.fixture_copy_repl_history'); 64 const historyPathFail = fixtures.path('nonexistent_folder', 'filename'); 65 const defaultHistoryPath = path.join(tmpdir.path, '.node_repl_history'); 66 const emptyHiddenHistoryPath = fixtures.path(' [all...] |
/third_party/node/src/permission/ |
H A D | fs_permission.cc | 56 // is UNC file path in is_tree_granted() 136 const std::string path = WildcardIfDir(res); in GrantAccess() local 138 granted_in_fs_.Insert(path); in GrantAccess() 141 granted_out_fs_.Insert(path); in GrantAccess() 178 const std::string path(s); in Lookup() 179 auto path_len = path.length(); in Lookup() 186 auto node = current_node->NextNode(path, parent_node_prefix_len); in Lookup() 200 void FSPermission::RadixTree::Insert(const std::string& path) { in Insert() argument 204 int path_len = path.length(); in Insert() 207 bool is_wildcard_node = path[ in Insert() [all...] |
/third_party/node/deps/npm/test/lib/commands/ |
H A D | ci.js | 5 const path = require('path') 42 // integrity changes w/ each test cause the path is different? 49 // integrity changes w/ each test cause the path is different? 71 tarball: path.join(npm.prefix, 'abbrev'), 76 const nmTest = path.join(npm.prefix, 'node_modules', 'test') 78 const nmAbbrev = path.join(npm.prefix, 'node_modules', 'abbrev') 94 tarball: path.join(npm.prefix, 'abbrev'), 100 const nmTest = path.join(npm.prefix, 'node_modules', 'test') 102 const nmAbbrev = path [all...] |
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 15 char path[256]; variable 79 for (i = strlen(path); i > 0; i--) { in chngdir() 80 if (path[i] == '/') { in chngdir() 81 path[i] = 0; in chngdir() 86 strcat(path, "/"); in chngdir() 87 strcat(path, name); in chngdir() 171 strcpy(fname, path); in make_file() 299 strcpy(tdir, path); in make_directory() 320 strcpy(tdir, path); in make_directory() 487 strcpy(path, arg in main() [all...] |
/third_party/rust/crates/bindgen/csmith-fuzzing/ |
H A D | driver.py | 64 def cat(path, title=None): 66 title = path 70 run(["cat", path]) 102 bindgen_args = bindgen_args + " -I{}".format(os.path.abspath(os.path.dirname(sys.argv[0]))) 192 os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "predicate.py")), 194 os.path.basename(failing_test_case) 281 os.chdir(os.path [all...] |
/third_party/python/Lib/distutils/ |
H A D | cygwinccompiler.py | 197 temp_dir = os.path.dirname(objects[0]) 199 (dll_name, dll_extension) = os.path.splitext( 200 os.path.basename(output_filename)) 203 def_file = os.path.join(temp_dir, dll_name + ".def") 204 lib_file = os.path.join(temp_dir, 'lib' + dll_name + ".a") 208 "LIBRARY %s" % os.path.basename(output_filename), 257 base, ext = os.path.splitext(os.path.normcase(src_name)) 262 base = os.path.basename (base) 265 obj_names.append (os.path [all...] |
/third_party/skia/resources/sksl/es2_conformance/ |
H A D | import_conformance_tests.py | 90 testDirectory = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) 260 path = "%s/%s_%d.rts" % (testDirectory, testName, varIndex) variable 261 assert path not in written 262 written[path] = True 263 f = open(path, "w") 272 path = "%s/%s.rts" % (testDirectory, testName) variable 273 assert path not in written 274 written[path] [all...] |
/third_party/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 27 bool sk_exists(const char *path, SkFILE_Flags flags) { in sk_exists() argument 36 // if the default path fails, check the bundle (but only if read-only) in sk_exists() 37 if (0 == access(path, mode)) { in sk_exists() 40 return (kRead_SkFILE_Flag == flags && ios_get_path_in_bundle(path, nullptr)); in sk_exists() 43 return (0 == access(path, mode)); in sk_exists() 135 SkOSFile::Iter::Iter(const char path[], const char suffix[]) { in Iter() argument 137 this->reset(path, suffix); in Iter() 148 void SkOSFile::Iter::reset(const char path[], const char suffix[]) { in reset() argument 154 self.fPath.set(path); in reset() 156 if (path) { in reset() [all...] |
/third_party/python/Lib/test/ |
H A D | test_zipimport_support.py | 7 import os.path namespace 68 self.path = sys.path[:] 74 sys.path[:] = self.path 83 name_in_zip = os.path.join('zip_pkg', 84 os.path.basename(init_name)) 88 sys.path.insert(0, zip_name) 134 sys.path.insert(0, zip_name) 229 self.assertIn(os.path [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
H A D | lto.h | 127 lto_module_is_object_file(const char* path); 135 lto_module_is_object_file_for_target(const char* path, 171 lto_module_create(const char* path); 183 * Loads an object file from memory with an extra path argument. 190 const char *path); 205 const char *path); 219 const char *path, lto_code_gen_t cg); 228 lto_module_create_from_fd(int fd, const char *path, size_t file_size); 237 lto_module_create_from_fd_at_offset(int fd, const char *path, size_t file_size, 425 lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path); [all...] |
/third_party/python/Lib/urllib/ |
H A D | robotparser.py | 57 self.host, self.path = urllib.parse.urlparse(url)[1:3] 169 url = urllib.parse.urlunparse(('','',parsed_url.path, 217 (allowance==False) followed by a path.""" 218 def __init__(self, path, allowance): 219 if path == '' and not allowance: 222 path = urllib.parse.urlunparse(urllib.parse.urlparse(path)) 223 self.path = urllib.parse.quote(path) 227 return self.path [all...] |
/third_party/rust/crates/memoffset/src/ |
H A D | span_of.rs | 103 (@helper $root:ident, $parent:path, [] ..) => {{ 107 (@helper $root:ident, $parent:path, [] ..= $end:tt) => {{ 111 (@helper $root:ident, $parent:path, [] .. $end:tt) => {{ 115 (@helper $root:ident, $parent:path, # $begin:tt [] ..= $end:tt) => {{ 120 (@helper $root:ident, $parent:path, # $begin:tt [] .. $end:tt) => {{ 125 (@helper $root:ident, $parent:path, # $begin:tt [] ..) => {{ 129 (@helper $root:ident, $parent:path, # $begin:tt [] ..=) => {{ 134 (@helper $root:ident, $parent:path, # $field:tt []) => {{ 139 (@helper $root:ident, $parent:path, $(# $begin:tt)+ [] $tt:tt $($rest:tt)*) => {{ 142 (@helper $root:ident, $parent:path, [] [all...] |
/third_party/skia/infra/bots/recipe_modules/flavor/ |
H A D | ios.py | 72 self.m.path['start_dir'], 135 full = self.m.path['start_dir'].join( 151 def remove_file_on_device(self, path): 152 self._run_ios_script('rm', path) 154 def create_clean_device_dir(self, path): 155 self._run_ios_script('rm', path) 156 self._run_ios_script('mkdir', path) 158 def read_file_on_device(self, path, **kwargs): 160 full = self.m.path['start_dir'].join( 163 name = 'cat_file %s' % path, [all...] |
/third_party/selinux/libselinux/src/ |
H A D | label_db.c | 91 process_line(const char *path, char *line_buf, unsigned int line_num, in process_line() argument 114 path, line_num); in process_line() 150 path, line_num, type); in process_line() 242 const char *path = NULL; in db_init() local 269 path = opts[nopts].value; in db_init() 277 if (!path) in db_init() 278 path = selinux_sepgsql_context_path(); in db_init() 280 if ((filp = fopen(path, "re")) == NULL) { in db_init() 295 rec->spec_file = strdup(path); in db_init() 327 if (process_line(path, line_bu in db_init() [all...] |