| /third_party/typescript/tests/baselines/reference/ |
| H A D | clodulesDerivedClasses.symbols | 18 class Path extends Shape {
19 >Path : Symbol(Path, Decl(clodulesDerivedClasses.ts, 6, 1), Decl(clodulesDerivedClasses.ts, 11, 1))
23 >name : Symbol(Path.name, Decl(clodulesDerivedClasses.ts, 8, 26))
27 module Path.Utils {
28 >Path : Symbol(Path, Decl(clodulesDerivedClasses.ts, 6, 1), Decl(clodulesDerivedClasses.ts, 11, 1))
31 export function convert2(): Path {
33 >Path : Symbol(Path, Dec [all...] |
| H A D | esModuleInterop.symbols | 5 === tests/cases/compiler/path.d.ts ===
7 >anything : Symbol(anything, Decl(path.d.ts, 0, 13))
10 >anything : Symbol(anything, Decl(path.d.ts, 0, 13))
23 import path from "./path";
24 >path : Symbol(path, Decl(mjts.ts, 1, 6))
29 path;
30 >path : Symbol(path, Dec [all...] |
| /third_party/typescript/tests/cases/fourslash/ |
| H A D | importNameCodeFix_uriStyleNodeCoreModules3.ts | 1 /// <reference path="fourslash.ts" /> 6 //// declare module "path" { function join(...segments: readonly string[]): string; } 7 //// declare module "node:path" { export * from "path"; } 17 //// import "path"; 21 //// import "node:path"; 25 //// import "path"; 26 //// import "node:path"; 30 //// import "node:path"; 31 //// import "path"; [all...] |
| /third_party/skia/gm/ |
| H A D | crbug_847759.cpp | 14 // This path exposed an issue in AAHairlinePathRenderer. When converting from cubics to quads in DEF_SIMPLE_GM() 16 // squashed oval-like path became slightly non-vertical. This caused a missed pixel of AA just in DEF_SIMPLE_GM() 18 SkPathBuilder path; in DEF_SIMPLE_GM() local 19 path.moveTo(97,374.5f); in DEF_SIMPLE_GM() 20 path.cubicTo(97,359.8644528f,155.8745488f,348,228.5f,348); in DEF_SIMPLE_GM() 21 path.cubicTo(301.1254512f,348,360,359.8644528f,360,374.5f); in DEF_SIMPLE_GM() 22 path.cubicTo(360,389.1355472f,301.1254512f,401,228.5f,401); in DEF_SIMPLE_GM() 23 path.cubicTo(155.8745488f,401,97,389.1355472f,97,374.5f); in DEF_SIMPLE_GM() 24 path.close(); in DEF_SIMPLE_GM() 31 canvas->drawPath(path in DEF_SIMPLE_GM() [all...] |
| /base/hiviewdfx/hiview_lite/ |
| H A D | hiview_file.c | 42 if (fp == NULL || fp->path == NULL) { in InitHiviewFile() 46 fp->fhandle = HIVIEW_FileOpen(fp->path); in InitHiviewFile() 240 int32 ret = HIVIEW_FileCopy(fp->path, dest); in ProcFile() 241 fp->fhandle = HIVIEW_FileOpen(fp->path); in ProcFile() 259 int32 ret = HIVIEW_FileMove(fp->path, dest); in ProcFile() 276 int IsValidPath(const char *path) in IsValidPath() argument 278 if (strcmp(path, HIVIEW_FILE_PATH_LOG) == 0 || in IsValidPath() 279 strcmp(path, HIVIEW_FILE_PATH_UE_EVENT) == 0 || in IsValidPath() 280 strcmp(path, HIVIEW_FILE_PATH_FAULT_EVENT) == 0 || in IsValidPath() 281 strcmp(path, HIVIEW_FILE_PATH_STAT_EVEN in IsValidPath() 291 RegisterFileWatcher(HiviewFile *fp, FileProc func, const char *path) RegisterFileWatcher() argument [all...] |
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
| H A D | dfx_maps.cpp | 44 std::string path = ""; in GetMapsFile() local 46 path = std::string(PROC_SELF_MAPS_PATH); in GetMapsFile() 48 path = StringPrintf("/proc/%d/maps", (int)pid); in GetMapsFile() 50 return path; in GetMapsFile() 56 std::string path = GetMapsFile(pid); in Create() local 57 if (path == "") { in Create() 62 DFXLOGU("Create maps(%{public}s) with not crash, will only parse exec map", path.c_str()); in Create() 65 if (dfxMaps->Parse(pid, path)) { in Create() 71 std::shared_ptr<DfxMaps> DfxMaps::Create(const pid_t pid, const std::string& path) in Create() argument 74 if (dfxMaps->Parse(pid, path)) { in Create() 82 std::string path = GetMapsFile(pid); Create() local 96 Parse(const pid_t pid, const std::string& path) Parse() argument [all...] |
| /base/msdp/device_status/utils/common/src/ |
| H A D | utility.cpp | 88 void Utility::RemoveTrailingChars(char c, char *path) in RemoveTrailingChars() argument 90 CHKPV(path); in RemoveTrailingChars() 91 size_t len = strlen(path); in RemoveTrailingChars() 92 while (len > 0 && path[len-1] == c) { in RemoveTrailingChars() 93 path[--len] = '\0'; in RemoveTrailingChars() 97 void Utility::RemoveTrailingChars(const std::string &toRemoved, std::string &path) in RemoveTrailingChars() argument 99 while (!path.empty() && (toRemoved.find(path.back()) != std::string::npos)) { in RemoveTrailingChars() 100 path.pop_back(); in RemoveTrailingChars() 128 bool Utility::DoesFileExist(const char *path) in DoesFileExist() argument 138 GetFileSize(const char *path) GetFileSize() argument 155 ShowFileAttributes(const char *path) ShowFileAttributes() argument [all...] |
| /base/update/packaging_tools/test/ |
| H A D | create_package_data.py | 91 if not os.path.exists(package_name_path):
95 create_file(os.path.join(package_name_path, "system.img"), get_target_vendor_data())
106 create_file(os.path.join(package_name_path, "vendor.img"), vendor_content)
108 create_file(os.path.join(package_name_path, "updater_binary"), UPDATER_BINARY_DATA)
111 create_file(os.path.join(package_name_path, "uImage"), get_target_vendor_data())
112 create_file(os.path.join(package_name_path, "updater.img"), get_target_vendor_data())
113 create_file(os.path.join(package_name_path, "updater_b.img"), get_target_vendor_data())
114 create_file(os.path.join(package_name_path, "updater_uImage"), get_target_vendor_data())
117 if not os.path.exists(updater_config_path):
119 create_file(os.path [all...] |
| /device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
| H A D | mk_prim_xml_step1.py | 59 g_params['I_FILE_DIR'] = os.path.join(g_params['PRIM_XML_TEMP_ROOT_DIR'].strip(), g_params['PRIM_XML_KEY_WORD'])
62 def create_file_id_dic(path = None):
63 file_name = g_params['PRIM_XML_FILE_ID_FILE'].strip(' ') if path is None else path
93 full_dir = os.path.join(full_dir, sub_dir)
98 full_file_name = os.path.join(full_dir, file_name)
99 if os.path.isfile(full_file_name):
112 if os.path.isdir(temp_dir):
125 dst_full_file_name = os.path.join(temp_dir, dst_file_name)
136 parse_file = os.path [all...] |
| /foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
| H A D | mtpfs_util.cpp | 86 std::string SmtpfsDirName(const std::string &path) in SmtpfsDirName() argument 88 char *str = strdup(path.c_str()); in SmtpfsDirName() 94 std::string SmtpfsBaseName(const std::string &path) in SmtpfsBaseName() argument 96 char *str = strdup(path.c_str()); in SmtpfsBaseName() 102 std::string SmtpfsRealPath(const std::string &path) in SmtpfsRealPath() argument 104 if (path.length() > PATH_MAX) { in SmtpfsRealPath() 108 char *realPath = realpath(path.c_str(), buf); in SmtpfsRealPath() 142 std::string path; in SmtpfsRemoveDir() local 150 path = dirName + "/" + entry->d_name; in SmtpfsRemoveDir() 152 return SmtpfsRemoveDir(path); in SmtpfsRemoveDir() 162 SmtpfsUsbDevPath(const std::string &path, uint8_t *bnum, uint8_t *dnum) SmtpfsUsbDevPath() argument 214 SmtpfsRawDeviceNew(const std::string &path) SmtpfsRawDeviceNew() argument 292 SmtpfsCheckDir(const std::string &path) SmtpfsCheckDir() argument [all...] |
| /third_party/ninja/src/ |
| H A D | clean.cc | 38 int Cleaner::RemoveFile(const string& path) { in RemoveFile() argument 39 return disk_interface_->RemoveFile(path); in RemoveFile() 42 bool Cleaner::FileExists(const string& path) { in FileExists() argument 44 TimeStamp mtime = disk_interface_->Stat(path, &err); in FileExists() 50 void Cleaner::Report(const string& path) { in Report() argument 53 printf("Remove %s\n", path.c_str()); in Report() 56 void Cleaner::Remove(const string& path) { in Remove() argument 57 if (!IsAlreadyRemoved(path)) { in Remove() 58 removed_.insert(path); in Remove() 60 if (FileExists(path)) in Remove() 72 IsAlreadyRemoved(const string& path) IsAlreadyRemoved() argument [all...] |
| /third_party/node/deps/npm/node_modules/npm-bundled/lib/ |
| H A D | index.js | 11 const path = require('path') 21 this.path = path.resolve(opt.path || process.cwd()) 29 const base = path.basename(this.path) 30 const scope = path.basename(path.dirname(this.path)) [all...] |
| /third_party/protobuf/benchmarks/util/ |
| H A D | result_parser.py | 5 import os.path namespace 8 sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)) 16 filename = os.path.dirname(os.path.abspath(__file__)) + "/../" + filename 62 filename = os.path.dirname(os.path.abspath(__file__)) + '/' + filename 97 filename = os.path [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| H A D | TarWriter.cpp | 28 #include "llvm/Support/Path.h" 101 static void writePaxHeader(raw_fd_ostream &OS, StringRef Path) { in writePaxHeader() argument 104 std::string PaxAttr = formatPax("path", Path); in writePaxHeader() 118 // Path fits in a Ustar header if 120 // - Path is less than 100 characters long, or 121 // - Path is in the form of "<prefix>/<name>" where <prefix> is less 125 // If Path fits in a Ustar header, updates Prefix and Name and returns true. 127 static bool splitUstar(StringRef Path, StringRef &Prefix, StringRef &Name) { in splitUstar() argument 128 if (Path in splitUstar() 173 append(StringRef Path, StringRef Data) append() argument [all...] |
| /third_party/skia/tools/ |
| H A D | git-sync-deps | 14 GIT_EXECUTABLE: path to "git" binary; if unset, will look for git in 15 your default path. 24 cd path/to/repository 28 cd path/to/repository 59 DEFAULT_DEPS_PATH = os.path.normpath( 60 os.path.join(os.path.dirname(__file__), os.pardir, 'DEPS')) 91 directory (string) the path into which the repository 97 return os.path.realpath(directory) == os.path [all...] |
| /third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/ |
| H A D | Build-Debian10-GCC-x86_64-Release-Shared_Docker.json | 26 "/path/to/tmp/json", 93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 101 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path [all...] |
| H A D | Build-Debian10-GCC-x86_64-Release-NoGPU_Docker.json | 26 "/path/to/tmp/json", 93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 101 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path [all...] |
| H A D | Build-Debian10-GCC-x86_64-Debug-Docker.json | 26 "/path/to/tmp/json", 93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 101 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path [all...] |
| H A D | Build-Debian10-GCC-x86-Debug-Docker.json | 26 "/path/to/tmp/json", 93 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 101 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path [all...] |
| /base/hiviewdfx/hidumper/frameworks/native/ |
| H A D | dump_utils.cpp | 285 char path[PATH_MAX] = {0}; in FdToRead() local 286 if (realpath(file.c_str(), path) == nullptr) { in FdToRead() 287 DUMPER_HILOGE(MODULE_COMMON, "realpath, no such file. path=[%{public}s], file=[%{public}s]", in FdToRead() 288 path, file.c_str()); in FdToRead() 292 if (file != std::string(path)) { in FdToRead() 293 DUMPER_HILOGI(MODULE_COMMON, "fail to check consistency. path=[%{public}s], file=[%{public}s]", in FdToRead() 294 path, file.c_str()); in FdToRead() 297 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY | O_CLOEXEC | O_NONBLOCK)); in FdToRead() 299 DUMPER_HILOGE(MODULE_COMMON, "open [%{public}s] %{public}s", path, ErrnoToMsg(errno).c_str()); in FdToRead() 309 DUMPER_HILOGE(MODULE_COMMON, "file path in FdToWrite() 315 char path[PATH_MAX] = {0}; FdToWrite() local 341 char path[PATH_MAX] = {0}; CheckProcessAlive() local 394 DirectoryExists(const std::string &path) DirectoryExists() argument 403 PathIsValid(const std::string &path) PathIsValid() argument [all...] |
| /device/board/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...] |
| /foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/ |
| H A D | file_share.cpp | 99 static bool IsExistDir(const string &path, FileShareInfo &info) in IsExistDir() argument 102 if (stat(path.c_str(), &buf) != 0) { in IsExistDir() 109 static bool IsExistFile(const string &path, FileShareInfo &info) in IsExistFile() argument 112 if (stat(path.c_str(), &buf) != 0) { in IsExistFile() 113 LOGE("Get path stat failed, err %{public}d", errno); in IsExistFile() 120 static bool CheckIfNeedShare(const string &uriStr, ShareFileType type, FileShareInfo &info, const string &path) in CheckIfNeedShare() argument 127 if (stat(path.c_str(), &buf) != 0) { in CheckIfNeedShare() 150 LOGE("Invalid share path"); in GetSharePath() 191 LOGE("Failed to get lower path %{public}d", ret); in GetFileShareInfo() 203 LOGE("Failed to get share path in GetFileShareInfo() 209 MakeDir(const string &path) MakeDir() argument 232 DeleteExistShareFile(const string &path) DeleteExistShareFile() argument 269 string path = SandboxHelper::Decode(uri.GetPath()); UmountDelUris() local [all...] |
| /test/testfwk/xdevice/src/xdevice/_core/config/ |
| H A D | config_manager.py | 60 user_path = os.path.join(Variables.exec_dir, "config") 61 top_user_path = os.path.join(Variables.top_dir, "config") 62 config_path = os.path.join(Variables.res_dir, "config") 65 for path in paths: 66 if os.path.exists(os.path.abspath(os.path.join( 67 path, ConfigFileConst.userconfig_filepath))): 68 self.file_path = os.path.abspath(os.path [all...] |
| /third_party/libwebsockets/lib/misc/ |
| H A D | dir.c | 78 lws_dir_via_stat(char *combo, size_t l, const char *path, struct lws_dir_entry *lde) in lws_dir_via_stat() argument 82 lws_strncpy(combo + l, path, COMBO_SIZEOF - l); in lws_dir_via_stat() 220 char path[384]; in lws_dir_glob_cb() local 229 lws_snprintf(path, sizeof(path), "%s%c%s", dirpath, csep, in lws_dir_glob_cb() 231 filter->cb(filter->user, path); in lws_dir_glob_cb() 240 char path[384]; in lws_dir_rm_rf_cb() local 245 lws_snprintf(path, sizeof(path), "%s%c%s", dirpath, csep, lde->name); in lws_dir_rm_rf_cb() 262 if (readlink(path, dumm in lws_dir_rm_rf_cb() 301 char path[256], base[64], *q = base; lws_plugins_dir_cb() local [all...] |
| /third_party/typescript/src/testRunner/unittests/tsserver/ |
| H A D | completions.ts | 5 path: "/a.ts",
9 path: "/b.ts",
13 path: "/tsconfig.json",
21 file: bTs.path,
163 path: "/a.ts",
174 path: "/b.ts",
180 path: "/tsconfig.json",
188 file: bTs.path,
277 path: `${projectRoot}/package.json`,
288 path [all...] |