| /third_party/typescript/src/testRunner/unittests/tscWatch/ |
| H A D | watchApi.ts | 9 path: `${projectRoot}/index.ts`,
13 path: `${projectRoot}/tsconfig.json`,
17 path: `${projectRoot}/settings.json`,
25 configFileName: config.path,
29 const parsedCommandResult = parseJsonConfigFileContent(configFileJson, sys, config.path);
43 commandLineArgs: ["--w", "--p", config.path],
63 [libFile.path]: libFile.content,
115 path: `${projectRoot}/tsconfig.json`,
122 path: `${projectRoot}/index.ts`,
130 configFileName: config.path,
[all...] |
| H A D | forceConsistentCasingInFileNames.ts | 4 path: `${projectRoot}/logger.ts`,
8 path: `${projectRoot}/another.ts`,
12 path: `${projectRoot}/tsconfig.json`,
22 commandLineArgs: ["--w", "--p", tsconfig.path],
33 change: sys => sys.writeFile(anotherFile.path, anotherFile.content.replace("./logger", "./Logger")),
44 change: sys => sys.renameFile(loggerFile.path, `${projectRoot}/Logger.ts`),
56 path: `${projectRoot}/moduleA.ts`,
60 path: `${projectRoot}/moduleB.ts`,
64 path: `${projectRoot}/moduleC.ts`,
68 path [all...] |
| /third_party/python/Lib/unittest/ |
| H A D | loader.py | 60 def _jython_aware_splitext(path): 61 if path.lower().endswith('$py.class'): 62 return path[:-9] 63 return os.path.splitext(path)[0] 199 # static methods follow a different path 278 top_level_dir = os.path.abspath(top_level_dir) 280 if not top_level_dir in sys.path: 283 # in sys.path to minimise likelihood of conflicts between installed 285 sys.path [all...] |
| /third_party/lzma/CPP/7zip/Common/ |
| H A D | FilePathAutoRename.cpp | 12 const FString &extension, UInt32 value, FString &path)
in MakeAutoName() 14 path = name;
in MakeAutoName() 15 path.Add_UInt32(value);
in MakeAutoName() 16 path += extension;
in MakeAutoName() 17 return NFile::NFind::DoesFileOrDirExist(path);
in MakeAutoName() 20 bool AutoRenamePath(FString &path)
in AutoRenamePath() argument 22 int dotPos = path.ReverseFind_Dot();
in AutoRenamePath() 23 int slashPos = path.ReverseFind_PathSepar();
in AutoRenamePath() 25 FString name = path;
in AutoRenamePath() 30 extension = path in AutoRenamePath() 11 MakeAutoName(const FString &name, const FString &extension, UInt32 value, FString &path) MakeAutoName() argument [all...] |
| /third_party/typescript/tests/cases/fourslash/server/ |
| H A D | completionsImport_sortingModuleSpecifiers.ts | 1 /// <reference path="../fourslash.ts" /> 6 // @Filename: path.d.ts 7 //// declare module "path/posix" { 10 //// declare module "path/win32" { 13 //// declare module "path" { 25 source: "path", 26 sourceDisplay: "path", 32 source: "path/posix", 33 sourceDisplay: "path/posix", 39 source: "path/win3 [all...] |
| /third_party/skia/docs/examples/ |
| H A D | Path_arcTo.cpp | 8 SkPath path; in REG_FIDDLE() local 11 path.moveTo(0, 0); in REG_FIDDLE() 12 path.arcTo({20, 20, 120, 120}, -90, 90, false); in REG_FIDDLE() 13 canvas->drawPath(path, paint); in REG_FIDDLE() 14 path.rewind(); in REG_FIDDLE() 15 path.arcTo({120, 20, 220, 120}, -90, 90, false); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE() 17 path.rewind(); in REG_FIDDLE() 18 path.moveTo(0, 0); in REG_FIDDLE() 19 path in REG_FIDDLE() [all...] |
| H A D | fluttershadow.cpp | 8 SkPath path; in REG_FIDDLE() local 9 path.moveTo(50.0, 50.0); in REG_FIDDLE() 12 path.lineTo(60.0, 50.0); in REG_FIDDLE() 13 path.lineTo(60.0, 60.0); in REG_FIDDLE() 14 path.lineTo(70.0, 60.0); in REG_FIDDLE() 15 path.lineTo(70.0, 50.0); in REG_FIDDLE() 17 path.lineTo(150.0, 50.0); in REG_FIDDLE() 18 path.lineTo(150.0, 150.0); in REG_FIDDLE() 19 path.lineTo(50.0, 150.0); in REG_FIDDLE() 20 path in REG_FIDDLE() [all...] |
| /third_party/skia/gm/ |
| H A D | crbug_887103.cpp | 19 SkPathBuilder path; in DEF_SIMPLE_GM() local 20 path.moveTo(510, 20); in DEF_SIMPLE_GM() 21 path.lineTo(500, 20); in DEF_SIMPLE_GM() 22 path.lineTo(510, 500); in DEF_SIMPLE_GM() 24 path.moveTo(500, 20); in DEF_SIMPLE_GM() 25 path.lineTo(510, 500); in DEF_SIMPLE_GM() 26 path.lineTo(500, 510); in DEF_SIMPLE_GM() 28 path.moveTo(500, 30); in DEF_SIMPLE_GM() 29 path.lineTo(510, 10); in DEF_SIMPLE_GM() 30 path in DEF_SIMPLE_GM() [all...] |
| /device/soc/hisilicon/ |
| H A D | OAT.xml | 20 basedir: Root dir, the basedir + project path is the real source file location. 29 5. task project: Projects to be checked, the path field define the source root dir of the project. 34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 37 "compatibility" is used to check license compatibility in the specified path; 38 "license" is used to check source license header in the specified path; 39 "copyright" is used to check source copyright header in the specified path; 40 "import" is used to check source dependency in the specified path, such as import ... ,include ... 41 "filetype" is used to check file type in the specified path, supported file types: archive, binary 42 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/ |
| H A D | scons_env_cfg.py | 41 self.root = os.path.realpath(os.path.join(__file__, '..', '..', '..')) 42 self.os_root = os.path.realpath(os.path.join(self.root, 'platform', 'os', 'Huawei_LiteOS')) 46 tmp_dir = os.path.join('build', 'build_tmp') 48 self.log_path = os.path.join(tmp_dir, 'logs') 49 self.obj_path = os.path.join(tmp_dir, 'objs') 50 self.lib_path = os.path.join(tmp_dir, 'libs') 51 self.cache_path = os.path.join(tmp_dir, 'cache') 52 self.link_path = os.path [all...] |
| /device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
| H A D | scons_env_cfg.py | 41 self.root = os.path.realpath(os.path.join(__file__, '..', '..', '..')) 42 self.os_root = os.path.realpath(os.path.join(self.root, 'platform', 'os', 'Huawei_LiteOS')) 46 tmp_dir = os.path.join('build', 'build_tmp') 48 self.log_path = os.path.join(tmp_dir, 'logs') 49 self.obj_path = os.path.join(tmp_dir, 'objs') 50 self.lib_path = os.path.join(tmp_dir, 'libs') 51 self.cache_path = os.path.join(tmp_dir, 'cache') 52 self.link_path = os.path [all...] |
| /third_party/NuttX/fs/nfs/ |
| H A D | nfs_util.c | 45 static inline int nfs_pathsegment(const char **path, char *buffer, in nfs_pathsegment() argument 48 const char *src = *path; in nfs_pathsegment() 57 /* Get the next byte from the path */ in nfs_pathsegment() 65 /* This logic just supports "//" sequences in the path name */ in nfs_pathsegment() 69 /* NULL terminate the parsed path segment */ in nfs_pathsegment() 73 /* Return next path and the terminating character */ in nfs_pathsegment() 76 *path = src; in nfs_pathsegment() 84 nfs_debug_error("File name segment is too long: %d\n", *path); in nfs_pathsegment() 236 * Given a directory file handle, and the path to file in the directory, 237 * return the file handle of the path an 371 const char *path = relpath; nfs_findnode() local 479 const char *path = relpath; nfs_finddir() local [all...] |
| /third_party/python/Lib/idlelib/ |
| H A D | query.py | 13 Subclass HelpSource gets menu item and path for additions to Help menu. 197 "Return entered module name as file path or None." 202 # XXX Ought to insert current file's directory in front of path. 220 # Some special modules require this (e.g. os.path) 263 "Add path widjets to rows 10-12." 266 text='Help File Path: Enter URL or browse for file') 268 self.path = Entry(frame, textvariable=self.pathvar, width=40) 276 self.path.grid(column=0, row=11, columnspan=2, padx=5, sticky=W+E, 296 path = self.pathvar.get() 297 if path [all...] |
| /third_party/selinux/libselinux/src/ |
| H A D | matchpathcon.c | 40 const char *path, unsigned lineno) in compat_validate() 46 rc = myinvalidcon(path, lineno, *ctx); in compat_validate() 48 rc = mycanoncon(path, lineno, ctx); in compat_validate() 55 path, lineno, *ctx); in compat_validate() 58 "%s: has invalid context %s\n", path, *ctx); in compat_validate() 126 static int default_canoncon(const char *path, unsigned lineno, char **context) in default_canoncon() argument 133 myprintf("%s: line %u has invalid context %s\n", path, in default_canoncon() 136 myprintf("%s: invalid context %s\n", path, *context); in default_canoncon() 350 int matchpathcon_init_prefix(const char *path, const char *subset) in matchpathcon_init_prefix() argument 361 options[SELABEL_OPT_PATH].value = path; in matchpathcon_init_prefix() 38 compat_validate(struct selabel_handle *rec, struct selabel_lookup_rec *contexts, const char *path, unsigned lineno) compat_validate() argument 368 matchpathcon_init(const char *path) matchpathcon_init() argument 438 matchpathcon_internal(const char *path, mode_t mode, char ** con) matchpathcon_internal() argument 459 matchpathcon(const char *path, mode_t mode, char ** con) matchpathcon() argument 501 selinux_file_context_verify(const char *path, mode_t mode) selinux_file_context_verify() argument 549 selinux_lsetfilecon_default(const char *path) selinux_lsetfilecon_default() argument [all...] |
| /third_party/curl/tests/libtest/ |
| H A D | lib1560.c | 63 {CURLUPART_PATH, "path"}, in checkparts() 277 {"imap://user:pass;opt ion@server/path", "", 332 {"file://host.example.com/Share/path/to/file.txt", 334 "//host.example.com/Share/path/to/file.txt | [16] | [17]", 403 {"imap://user:pass;option@server/path", 404 "imap | user | pass | option | server | [15] | /path | [16] | [17]", 406 {"http://user:pass;option@server/path", 407 "http | user | pass;option | [13] | server | [15] | /path | [16] | [17]", 472 {"http://example.com/path/html", 473 "http | [11] | [12] | [13] | example.com | [15] | /path/htm [all...] |
| /drivers/hdf_core/ |
| H A D | OAT.xml | 14 basedir: Root dir, the basedir + project path is the real source file location. 23 5. task project: Projects to be checked, the path field define the source root dir of the project. 28 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is: 29 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/> 31 "compatibility" is used to check license compatibility in the specified path; 32 "license" is used to check source license header in the specified path; 33 "copyright" is used to check source copyright header in the specified path; 34 "import" is used to check source dependency in the specified path, such as import ... ,include ... 35 "filetype" is used to check file type in the specified path, supported file types: archive, binary 36 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
| H A D | store_factory.cpp | 72 std::string path = options.GetDatabaseDir(); in GetOrOpenStore() 73 auto dbManager = GetDBManager(path, appId); in GetOrOpenStore() 75 SecurityManager::GetInstance().GetDBPassword(storeId.storeId, path, options.encrypt); in GetOrOpenStore() 83 status = RekeyRecover(storeId, path, dbPassword, dbManager, options); in GetOrOpenStore() 90 ReKey(storeId, path, dbPassword, dbManager, options); in GetOrOpenStore() 108 ZLOGE("failed! status:%{public}d appId:%{public}s storeId:%{public}s path:%{public}s", dbStatus, in GetOrOpenStore() 109 appId.appId.c_str(), StoreUtil::Anonymous(storeId.storeId).c_str(), path.c_str()); in GetOrOpenStore() 120 Status StoreFactory::Delete(const AppId &appId, const StoreId &storeId, const std::string &path) in Delete() argument 123 auto dbManager = GetDBManager(path, appId); in Delete() 125 SecurityManager::GetInstance().DelDBPassword(storeId.storeId, path); in Delete() 153 GetDBManager(const std::string &path, const AppId &appId) GetDBManager() argument 205 ReKey(const std::string &storeId, const std::string &path, DBPassword &dbPassword, std::shared_ptr<DBManager> dbManager, const Options &options) ReKey() argument 234 RekeyRecover(const std::string &storeId, const std::string &path, DBPassword &dbPassword, std::shared_ptr<DBManager> dbManager, const Options &options) RekeyRecover() argument 278 ExecuteRekey(const std::string &storeId, const std::string &path, DBPassword &dbPassword, DBStore *dbStore) ExecuteRekey() argument [all...] |
| /third_party/node/test/sequential/ |
| H A D | test-watch-mode.mjs | 4 import path from 'node:path'; 26 function createTmpFile(content = 'console.log("running");', ext = '.js', basename = tmpdir.path) { 27 const file = path.join(basename, `${tmpFiles++}${ext}`); 117 it('should watch changes to a file with watch-path', { 120 const dir = path.join(tmpdir.path, 'subdir1'); 124 const args = ['--watch-path', dir, file]; 138 it('should watch when running an non-existing file - when specified under --watch-path', { 141 const dir = path [all...] |
| /third_party/gn/infra/recipes/gn.expected/ |
| H A D | cq_mac.json | 169 "/path/to/tmp/json" 214 "/path/to/tmp/json" 299 "--show-sdk-path" 313 "name": "debug.xcrun sdk-path", 316 "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@", 317 "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@" 368 "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path -nostdinc++ -cxx-isystem [CACHE]/macos_sdk/XCode.app/include/c++/v1", 370 "LDFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path" 399 "CFLAGS": "--target=x86_64-apple-darwin --sysroot=/some/xcode/path [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_lower_vars_to_ssa.c | 45 nir_deref_path path; member 241 nir_deref_path_init(&node->path, deref, state->dead_ctx); in get_deref_node() 252 foreach_deref_node_worker(struct deref_node *node, nir_deref_instr **path, in foreach_deref_node_worker() argument 257 if (*path == NULL) { in foreach_deref_node_worker() 262 switch ((*path)->deref_type) { in foreach_deref_node_worker() 264 if (node->children[(*path)->strct.index]) { in foreach_deref_node_worker() 265 foreach_deref_node_worker(node->children[(*path)->strct.index], in foreach_deref_node_worker() 266 path + 1, cb, state); in foreach_deref_node_worker() 271 uint32_t index = nir_src_as_uint((*path)->arr.index); in foreach_deref_node_worker() 275 path in foreach_deref_node_worker() 303 foreach_deref_node_match(nir_deref_path *path, void (* cb)(struct deref_node *node, struct lower_variables_state *state), struct lower_variables_state *state) foreach_deref_node_match() argument 319 path_may_be_aliased_node(struct deref_node *node, nir_deref_instr **path, struct lower_variables_state *state) path_may_be_aliased_node() argument 376 path_may_be_aliased(nir_deref_path *path, struct lower_variables_state *state) path_may_be_aliased() argument 734 nir_deref_path *path = &node->path; nir_lower_vars_to_ssa_impl() local [all...] |
| /third_party/protobuf/src/google/protobuf/util/ |
| H A D | field_mask_util.cc | 109 const std::string& path = mask.paths(i); in ToJsonString() local 111 if (!SnakeCaseToCamelCase(path, &camelcase_path)) { in ToJsonString() 137 const Descriptor* descriptor, StringPiece path, in GetFieldDescriptors() 142 std::vector<std::string> parts = Split(path, "."); in GetFieldDescriptors() 182 // In the tree, each leaf node represents a field path. 191 // Add a field path into the tree. In a FieldMask, each field path matches 192 // the specified field and also all its sub-fields. If the field path to 193 // add is a sub-path of an existing field path i 136 GetFieldDescriptors( const Descriptor* descriptor, StringPiece path, std::vector<const FieldDescriptor*>* field_descriptors) GetFieldDescriptors() argument 325 AddPath(const std::string& path) AddPath() argument 352 RemovePath(const std::string& path, const Descriptor* descriptor) RemovePath() argument 411 IntersectPath(const std::string& path, FieldMaskTree* out) IntersectPath() argument 668 IsPathInFieldMask(StringPiece path, const FieldMask& mask) IsPathInFieldMask() argument [all...] |
| /test/testfwk/xdevice/src/xdevice/_core/ |
| H A D | utils.py | 56 _, fullname = os.path.split(file_path) 57 filename, ext = os.path.splitext(fullname) 224 def create_dir(path): 228 path: The path of the directory to create. 230 full_path = os.path.abspath(os.path.expanduser(path)) 231 if not os.path.exists(full_path): 265 """Find absolute path fo [all...] |
| /third_party/python/Lib/test/test_importlib/ |
| H A D | test_abc.py | 151 def find_module(self, fullname, path): 152 return super().find_module(fullname, path) 240 def get_data(self, path): 241 return super().get_data(path) 250 self.ins.get_data('/some/path') 359 def find_spec(self, fullname, path, target=None): 360 self.called_for = fullname, path 367 path = ['a', 'b', 'c'] 370 found = finder.find_module(name, path) 382 path [all...] |
| /third_party/typescript/src/compiler/ |
| H A D | watchPublic.ts | 80 watchFile(path: string, callback: FileWatcherCallback, pollingInterval?: number, options?: WatchOptions): FileWatcher;
82 watchDirectory(path: string, callback: DirectoryWatcherCallback, recursive?: boolean, options?: WatchOptions): FileWatcher;
106 fileExists(path: string): boolean;
111 readFile(path: string, encoding?: string): string | undefined;
114 directoryExists?(path: string): boolean;
116 getDirectories?(path: string): string[];
118 readDirectory?(path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number): string[];
121 realpath?(path: string): string;
131 /** If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives */
132 hasInvalidatedResolutions?(filePath: Path) [all...] |
| /third_party/node/deps/npm/node_modules/tuf-js/dist/utils/ |
| H A D | url.js | 5 function join(base, path) { 6 return new url_1.URL(ensureTrailingSlash(base) + removeLeadingSlash(path)).toString(); 9 function ensureTrailingSlash(path) { 10 return path.endsWith('/') ? path : path + '/'; 12 function removeLeadingSlash(path) { 13 return path.startsWith('/') ? path.slice(1) : path; [all...] |