/third_party/skia/third_party/externals/harfbuzz/test/subset/ |
H A D | run-tests.py | 43 print (' test.font_path %s' % os.path.abspath (test.font_path)) 44 print (' test.profile_path %s' % os.path.abspath (test.profile_path)) 46 expected_file = os.path.join (test_suite.get_output_directory (), 48 print (' expected_file %s' % os.path.abspath (expected_file)) 52 out_file = os.path.join (tempfile.mkdtemp (), test.get_font_name () + '-subset' + test.get_font_extension ()) 64 expected_file = os.path.join (test_suite.get_output_directory (), test.get_font_name ()) 115 def check_ots (path): 116 ots_report, returncode = cmd ([ots_sanitize, path]) 123 if not args or sys.argv[1].find ('hb-subset') == -1 or not os.path.exists (sys.argv[1]): 138 for path i [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | path.c | 14 #include "path.h" 41 avs_path_find_pipeline(struct avs_path *path, u32 template_id) in avs_path_find_pipeline() argument 45 list_for_each_entry(ppl, &path->ppl_list, node) in avs_path_find_pipeline() 56 struct avs_path *path; in avs_path_find_path() local 72 /* Only one variant of given path template may be instantiated at a time. */ in avs_path_find_path() 73 list_for_each_entry(path, &adev->path_list, node) { in avs_path_find_path() 74 if (path->template->owner == template) { in avs_path_find_path() 76 return path; in avs_path_find_path() 598 dev_err(adev->dev, "path mod %d not found\n", t->mod_id); in avs_path_binding_arm() 606 dev_err(adev->dev, "target path in avs_path_binding_arm() 779 avs_path_init(struct avs_dev *adev, struct avs_path *path, struct avs_tplg_path *template, u32 dma_id) avs_path_init() argument 808 avs_path_arm(struct avs_dev *adev, struct avs_path *path) avs_path_arm() argument 833 avs_path_free_unlocked(struct avs_path *path) avs_path_free_unlocked() argument 850 struct avs_path *path; avs_path_create_unlocked() local 872 avs_path_free(struct avs_path *path) avs_path_free() argument 887 struct avs_path *path; avs_path_create() local 939 avs_path_bind(struct avs_path *path) avs_path_bind() argument 972 avs_path_unbind(struct avs_path *path) avs_path_unbind() argument 1001 avs_path_reset(struct avs_path *path) avs_path_reset() argument 1024 avs_path_pause(struct avs_path *path) avs_path_pause() argument 1047 avs_path_run(struct avs_path *path, int trigger) avs_path_run() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/amsthread/ |
H A D | ams_thread.cpp | 25 static bool IsAbilityInfoValid(const char *path, const char *bundleName) in IsAbilityInfoValid() argument 27 if (path == nullptr || bundleName == nullptr) { in IsAbilityInfoValid() 31 if (strlen(path) == 0 || strlen(bundleName) == 0) { in IsAbilityInfoValid() 35 if (strlen(path) >= APP_RECORD_STRING_BUFFER_MAX || strlen(bundleName) >= APP_RECORD_STRING_BUFFER_MAX) { in IsAbilityInfoValid() 42 int StartAbility(const char *path, const char *bundleName) in StartAbility() argument 48 if (!IsAbilityInfoValid(path, bundleName)) { in StartAbility() 53 if ((strcpy_s(message->path, APP_RECORD_STRING_BUFFER_MAX, path) != 0) || in StartAbility() 95 StartAbilityInner(innerMsg->path, innerMsg->bundle); in run() 140 int AMSThread::StartAbilityInner(const char *path, cons argument 239 CreateNewAppRecord(const char *path, const char *bundleName) CreateNewAppRecord() argument 314 GetAppRecordByInfo(const char *path, const char *bundleName) GetAppRecordByInfo() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/ |
H A D | rs_gpu_overdraw_canvas_listener.cpp | 89 Drawing::Path path; in DrawLine() local 90 path.MoveTo(startPt.GetX(), startPt.GetY()); in DrawLine() 91 path.LineTo(endPt.GetX(), endPt.GetY()); in DrawLine() 92 overdrawCanvas_->DrawPath(path); in DrawLine() 129 Drawing::Path path; in DrawArc() local 130 path.AddArc(oval, startAngle, sweepAngle); in DrawArc() 131 overdrawCanvas_->DrawPath(path); in DrawArc() 141 Drawing::Path path; in DrawPie() local 142 path.AddArc(oval, startAngle, sweepAngle); in DrawPie() 143 overdrawCanvas_->DrawPath(path); in DrawPie() 152 Drawing::Path path; DrawOval() local 163 Drawing::Path path; DrawCircle() local 168 DrawPath(const Drawing::Path& path) DrawPath() argument 182 DrawShadow(const Drawing::Path& path, const Drawing::Point3& planeParams, const Drawing::Point3& devLightPos, Drawing::scalar lightRadius, Drawing::Color ambientColor, Drawing::Color spotColor, Drawing::ShadowFlags flag) DrawShadow() argument 189 DrawShadowStyle(const Drawing::Path& path, const Drawing::Point3& planeParams, const Drawing::Point3& devLightPos, Drawing::scalar lightRadius, Drawing::Color ambientColor, Drawing::Color spotColor, Drawing::ShadowFlags flag, bool isLimitElevation) DrawShadowStyle() argument [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | spdxcheck.py | 43 if not os.path.isfile(el.path): 47 for l in open(el.path).readlines(): 210 if el.path.startswith("LICENSES"): 212 if el.path.find("license-rules.rst") >= 0: 214 if not os.path.isfile(el.path): 216 with open(el.path, 'rb') as fd: 217 parser.parse_lines(fd, args.maxlines, el.path) 219 def scan_git_subtree(tree, path) [all...] |
H A D | leaking_addresses.pl | 10 # Use --debug to output path before parsing, this is useful to find files that 52 my $squash_by_path = 0; # Summary report grouped by absolute path. 94 --squash-by-path Show one result per unique path. 114 'squash-by-path' => \$squash_by_path, 410 # True if we should skip this path. 413 my ($path) = @_; 416 return 1 if (/^$path$/); 419 my($filename, $dirs, $suffix) = fileparse($path); 466 # Checks if the actual path nam [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-help.c | 123 static void exec_woman_emacs(const char *path, const char *page) in exec_woman_emacs() argument 129 if (!path) in exec_woman_emacs() 130 path = "emacsclient"; in exec_woman_emacs() 132 execlp(path, "emacsclient", "-e", man_page, NULL); in exec_woman_emacs() 135 exec_failed(path); in exec_woman_emacs() 139 static void exec_man_konqueror(const char *path, const char *page) in exec_man_konqueror() argument 148 if (path) { in exec_man_konqueror() 149 const char *file = strrchr(path, '/'); in exec_man_konqueror() 151 char *new = strdup(path); in exec_man_konqueror() 156 path in exec_man_konqueror() 170 exec_man_man(const char *path, const char *page) exec_man_man() argument 408 open_html(const char *path) open_html() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | util.c | 91 int mkdir_p(char *path, mode_t mode) in mkdir_p() argument 95 char *d = path; in mkdir_p() 100 if (stat(path, &st) == 0) in mkdir_p() 107 err = stat(path, &st) && mkdir(path, mode); in mkdir_p() 114 return (stat(path, &st) && mkdir(path, mode)) ? -1 : 0; in mkdir_p() 136 * 0 - will remove only files under the 'path' directory 137 * 1 .. x - will dive in x-level deep under the 'path' directory 148 static int rm_rf_depth_pat(const char *path, in argument 203 rm_rf_kcore_dir(const char *path) rm_rf_kcore_dir() argument 218 rm_rf_perf_data(const char *path) rm_rf_perf_data() argument 231 rm_rf(const char *path) rm_rf() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 38 #define format_cgroup_path_pid(buf, path, pid) \ 40 CGROUP_WORK_DIR, pid, path) 42 #define format_cgroup_path(buf, path) \ 43 format_cgroup_path_pid(buf, path, getpid()) 45 #define format_parent_cgroup_path(buf, path) \ 46 format_cgroup_path_pid(buf, path, getppid()) 54 char path[PATH_MAX + 1]; in __enable_controllers() local 62 snprintf(path, sizeof(path), "%s/cgroup.controllers", in __enable_controllers() 64 fd = open(path, O_RDONL in __enable_controllers() 453 cgroup_setup_and_join(const char *path) cgroup_setup_and_join() argument [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | leaking_addresses.pl | 10 # Use --debug to output path before parsing, this is useful to find files that 52 my $squash_by_path = 0; # Summary report grouped by absolute path. 95 --squash-by-path Show one result per unique path. 115 'squash-by-path' => \$squash_by_path, 411 # True if we should skip this path. 414 my ($path) = @_; 417 return 1 if (/^$path$/); 420 my($filename, $dirs, $suffix) = fileparse($path); 467 # Checks if the actual path nam [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | umapfile.cpp | 108 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 124 const char *path, /* File path to be opened/mapped. */ in uprv_mapFile() 139 // Note: In the non-UWP code-path (ie: Win32), the value of the path variable might have come from in uprv_mapFile() 141 // This means that we can't call the *W version of API below, whereas in the UWP code-path in uprv_mapFile() 143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile() 150 u_strFromUTF8(reinterpret_cast<UChar*>(utf16Path), static_cast<int32_t>(UPRV_LENGTHOF(utf16Path)), &pathUtf16Len, path, -1, status); in uprv_mapFile() 213 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 226 if(stat(path, in uprv_mapFile() 121 uprv_mapFile( UDataMemory *pData, const char *path, UErrorCode *status ) uprv_mapFile() argument 288 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) uprv_mapFile() argument 386 uprv_computeDirPath(const char *path, char *pathBuffer) uprv_computeDirPath() argument 421 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) uprv_mapFile() argument [all...] |
H A D | resbund_cnv.cpp | 27 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument 32 constructForLocale(path, locale, error); in ResourceBundle() 35 ResourceBundle::ResourceBundle( const UnicodeString& path, in ResourceBundle() argument 39 constructForLocale(path, Locale::getDefault(), error); in ResourceBundle() 43 ResourceBundle::constructForLocale(const UnicodeString& path, in constructForLocale() argument 47 if (path.isEmpty()) { in constructForLocale() 51 UnicodeString nullTerminatedPath(path); in constructForLocale()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | umapfile.cpp | 108 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 124 const char *path, /* File path to be opened/mapped. */ in uprv_mapFile() 139 // Note: In the non-UWP code-path (ie: Win32), the value of the path variable might have come from in uprv_mapFile() 141 // This means that we can't call the *W version of API below, whereas in the UWP code-path in uprv_mapFile() 143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile() 150 u_strFromUTF8(reinterpret_cast<char16_t*>(utf16Path), static_cast<int32_t>(UPRV_LENGTHOF(utf16Path)), &pathUtf16Len, path, -1, status); in uprv_mapFile() 213 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 226 if(stat(path, in uprv_mapFile() 121 uprv_mapFile( UDataMemory *pData, const char *path, UErrorCode *status ) uprv_mapFile() argument 288 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) uprv_mapFile() argument 386 uprv_computeDirPath(const char *path, char *pathBuffer) uprv_computeDirPath() argument 421 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) uprv_mapFile() argument [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/trim-includes/ |
H A D | main.go | 31 "path/filepath" 66 trim-includes <path-to-build-script>`) 114 fmt.Printf("[%d/%d]: %v\n", fileIdx+1, len(files), file.path) 171 path string 177 // Returns the file path with the extension stripped 178 func stripExtension(path string) string { 179 if dot := strings.IndexRune(path, '.'); dot > 0 { 180 return path[:dot] 182 return path 199 if strings.HasSuffix(stripExtension(f.path), stripExtensio [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | umapfile.cpp | 108 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 124 const char *path, /* File path to be opened/mapped. */ in uprv_mapFile() 139 // Note: In the non-UWP code-path (ie: Win32), the value of the path variable might have come from in uprv_mapFile() 141 // This means that we can't call the *W version of API below, whereas in the UWP code-path in uprv_mapFile() 143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile() 150 u_strFromUTF8(reinterpret_cast<UChar*>(utf16Path), static_cast<int32_t>(UPRV_LENGTHOF(utf16Path)), &pathUtf16Len, path, -1, status); in uprv_mapFile() 213 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) { in uprv_mapFile() argument 226 if(stat(path, in uprv_mapFile() 121 uprv_mapFile( UDataMemory *pData, const char *path, UErrorCode *status ) uprv_mapFile() argument 288 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) uprv_mapFile() argument 386 uprv_computeDirPath(const char *path, char *pathBuffer) uprv_computeDirPath() argument 421 uprv_mapFile(UDataMemory *pData, const char *path, UErrorCode *status) uprv_mapFile() argument [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | listfile.cpp | 135 static bool GetOptionArg(napi_env env, const NFuncArg &funcArg, OptionArgs &optionArgs, const string &path)
in GetOptionArg() argument 138 optionArgs.path = path;
in GetOptionArg() 188 string stPath = (g_optionArgs.path + '/' + string(filename.d_name));
in FilterFilesizeOver() 206 string stPath = g_optionArgs.path + '/' + string(filename.d_name);
in FilterLastModifyTime() 266 static int FilterFileRes(const string &path, vector<string> &dirents)
in FilterFileRes() argument 273 int num = scandir(path.c_str(), &(pNameList->namelist), FilterFunc, nullptr);
in FilterFileRes() 285 static int RecursiveFunc(const string &path, vector<string> &dirents)
in RecursiveFunc() argument 292 int num = scandir(path.c_str(), &(pNameList->namelist), FilterFunc, nullptr);
in RecursiveFunc() 300 dirents.emplace_back(path in RecursiveFunc() 314 DoListFileVector2NV(napi_env env, const string &path, vector<string> &dirents, bool recursion) DoListFileVector2NV() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ |
H A D | utils.c | 31 int read_file(const char *path, char *buf, size_t count, size_t *len) in read_file() argument 38 fd = open(path, O_RDONLY); in read_file() 68 int read_file_alloc(const char *path, char **buf, size_t *len) in read_file_alloc() argument 76 fd = open(path, O_RDONLY); in read_file_alloc() 126 int write_file(const char *path, const char *buf, size_t count) in write_file() argument 132 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in write_file() 170 char path[PATH_MAX] = "/sys/kernel/debug/"; in read_debugfs_file() local 172 strncat(path, subpath, sizeof(path) - strlen(path) in read_debugfs_file() 179 char path[PATH_MAX] = "/sys/kernel/debug/"; write_debugfs_file() local 306 read_long(const char *path, long *result, int base) read_long() argument 318 read_ulong(const char *path, unsigned long *result, int base) read_ulong() argument 330 write_long(const char *path, long result, int base) write_long() argument 355 write_ulong(const char *path, unsigned long result, int base) write_ulong() argument 495 char path[PATH_MAX] = "/sys/"; read_sysfs_file() local [all...] |
/third_party/gn/src/base/files/ |
H A D | file_util_win.cc | 53 // Deletes all files and directories in a path. 56 DWORD DeleteFileRecursive(const FilePath& path, in DeleteFileRecursive() argument 59 FileEnumerator traversal(path, false, in DeleteFileRecursive() 101 DWORD DoDeleteFile(const FilePath& path, bool recursive) { in DoDeleteFile() argument 102 if (path.empty()) in DoDeleteFile() 105 if (path.value().length() >= MAX_PATH) in DoDeleteFile() 108 // Handle any path with wildcards. in DoDeleteFile() 109 if (path.BaseName().value().find_first_of(u"*?") != in DoDeleteFile() 111 return DeleteFileRecursive(path.DirName(), path in DoDeleteFile() 200 DeleteFile(const FilePath& path, bool recursive) RandomDataToGUIDString() argument 213 DeleteFileAfterReboot(const FilePath& path) RandomDataToGUIDString() argument 250 PathExists(const FilePath& path) PathExists() argument 255 PathIsWritable(const FilePath& path) PathIsWritable() argument 267 DirectoryExists(const FilePath& path) DirectoryExists() argument 274 GetTempDir(FilePath* path) GetTempDir() argument 419 NormalizeFilePath(const FilePath& path, FilePath* real_path) NormalizeFilePath() argument 476 NormalizeToNativeFilePath(const FilePath& path, FilePath* nt_path) NormalizeToNativeFilePath() argument 651 GetMaximumPathComponentLength(const FilePath& path) GetMaximumPathComponentLength() argument [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | FileLink.cpp | 60 1) there is NUL wchar after path
67 1) there is no NUL wchar after path
117 static void WriteString(Byte *dest, const wchar_t *path)
in WriteString() argument 121 wchar_t c = *path++;
in WriteString() 129 bool FillLinkData(CByteBuffer &dest, const wchar_t *path, bool isSymLink, bool isWSL)
in FillLinkData() argument 131 bool isAbs = IsAbsolutePath(path);
in FillLinkData() 139 ConvertUnicodeToUTF8(path, utf);
in FillLinkData() 157 if (IsSuperPath(path))
in FillLinkData() 159 path += kSuperPathPrefixSize;
in FillLinkData() 160 if (!IsDrivePath(path))
in FillLinkData() 450 GetReparseData(CFSTR path, CByteBuffer &reparseData, BY_HANDLE_FILE_INFORMATION *fileInfo) GetReparseData() argument 469 CreatePrefixDirOfFile(CFSTR path) CreatePrefixDirOfFile() argument 484 OutIoReparseData(DWORD controlCode, CFSTR path, void *data, DWORD size) OutIoReparseData() argument 499 SetReparseData(CFSTR path, bool isDir, const void *data, DWORD size) SetReparseData() argument 530 DeleteReparseData(CFSTR path) DeleteReparseData() argument 559 GetReparseData(CFSTR path, CByteBuffer &reparseData) GetReparseData() argument [all...] |
/third_party/libuv/src/unix/ |
H A D | fs.c | 109 req->path = NULL; \ 118 assert(path != NULL); \ 120 req->path = path; \ 122 req->path = uv__strdup(path); \ 123 if (req->path == NULL) \ 132 req->path = path; \ 137 path_len = strlen(path) 337 char* path; uv__fs_mkstemp() local 643 uv__fs_pathmax_size(const char* path) uv__fs_pathmax_size() argument 1399 uv__fs_statx(int fd, const char* path, int is_fstat, int is_lstat, uv_stat_t* buf) uv__fs_statx() argument 1460 uv__fs_stat(const char *path, uv_stat_t *buf) uv__fs_stat() argument 1476 uv__fs_lstat(const char *path, uv_stat_t *buf) uv__fs_lstat() argument 1667 uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_access() argument 1679 uv_fs_chmod(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_chmod() argument 1691 uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_chown() argument 1741 uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_lchown() argument 1810 uv_fs_lutime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_lutime() argument 1824 uv_fs_lstat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_lstat() argument 1834 uv_fs_link(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_link() argument 1848 uv_fs_mkdir(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_mkdir() argument 1887 uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, int mode, uv_fs_cb cb) uv_fs_open() argument 1940 uv_fs_scandir(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_scandir() argument 1951 uv_fs_opendir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_opendir() argument 1986 uv_fs_readlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_readlink() argument 1996 uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char * path, uv_fs_cb cb) uv_fs_realpath() argument 2006 uv_fs_rename(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_rename() argument 2020 uv_fs_rmdir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_rmdir() argument 2043 uv_fs_stat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_stat() argument 2053 uv_fs_symlink(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_symlink() argument 2069 uv_fs_unlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_unlink() argument 2079 uv_fs_utime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_utime() argument 2160 uv_fs_copyfile(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_copyfile() argument 2180 uv_fs_statfs(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_statfs() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | fs.c | 110 req->path = NULL; \ 119 assert(path != NULL); \ 121 req->path = path; \ 123 req->path = uv__strdup(path); \ 124 if (req->path == NULL) \ 133 req->path = path; \ 138 path_len = strlen(path) 318 char* path; uv__fs_mkstemp() local 696 uv__fs_pathmax_size(const char* path) uv__fs_pathmax_size() argument 1510 uv__fs_statx(int fd, const char* path, int is_fstat, int is_lstat, uv_stat_t* buf) uv__fs_statx() argument 1590 uv__fs_stat(const char *path, uv_stat_t *buf) uv__fs_stat() argument 1606 uv__fs_lstat(const char *path, uv_stat_t *buf) uv__fs_lstat() argument 1784 uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_access() argument 1796 uv_fs_chmod(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_chmod() argument 1808 uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_chown() argument 1855 uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_lchown() argument 1915 uv_fs_lutime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_lutime() argument 1929 uv_fs_lstat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_lstat() argument 1936 uv_fs_link(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_link() argument 1947 uv_fs_mkdir(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_mkdir() argument 1983 uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, int mode, uv_fs_cb cb) uv_fs_open() argument 2025 uv_fs_scandir(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_scandir() argument 2036 uv_fs_opendir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_opendir() argument 2071 uv_fs_readlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_readlink() argument 2081 uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char * path, uv_fs_cb cb) uv_fs_realpath() argument 2091 uv_fs_rename(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_rename() argument 2102 uv_fs_rmdir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_rmdir() argument 2125 uv_fs_stat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_stat() argument 2132 uv_fs_symlink(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_symlink() argument 2145 uv_fs_unlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_unlink() argument 2152 uv_fs_utime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_utime() argument 2228 uv_fs_copyfile(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_copyfile() argument 2248 uv_fs_statfs(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_statfs() argument [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_utils.cpp | 57 const std::string PATH_PARA = "path="; 231 MEDIA_ERR_LOG("Failed to remove errno: %{public}d, path: %{private}s", errno, fpath); in UnlinkCb() 237 int32_t MediaFileUtils::RemoveDirectory(const string &path) in RemoveDirectory() argument 239 return nftw(path.c_str(), UnlinkCb, OPEN_FDS, FTW_DEPTH | FTW_PHYS); in RemoveDirectory() 242 std::string MediaFileUtils::DesensitizePath(const std::string &path) in DesensitizePath() argument 244 string result = path; in DesensitizePath() 251 void MediaFileUtils::PrintStatInformation(const std::string& path) in PrintStatInformation() argument 254 if ((stat(path.c_str(), &statInfo)) == E_SUCCESS) { in PrintStatInformation() 255 MEDIA_INFO_LOG("path:%{public}s uid:%{public}d, gid:%{public}d, mode:%{public}d", in PrintStatInformation() 256 DesensitizePath(path) in PrintStatInformation() 336 IsDirEmpty(const string &path) IsDirEmpty() argument 644 string path; MediaFileDeletionRecord() local 905 string path = "/storage/cloud/files/.thumbs" + uri.substr(prefixLen); CheckTitle() local 920 string path = "/storage/cloud/files" + uri.substr(prefixLen); GetHighlightVideoPath() local 992 GetParentPath(const string &path) global() argument 1078 UpdatePath(const string &path, const string &uri) global() argument 1143 GetExtensionFromPath(const string &path) global() argument 1586 IsFileTablePath(const string &path) global() argument 1603 IsPhotoTablePath(const string &path) global() argument 1666 GetExtraUri(const string &displayName, const string &path, const bool isNeedEncode) global() argument 1764 CheckMovingPhotoImage(const string &path) global() argument 1769 CheckMovingPhotoVideo(const string &path) global() argument 1939 ModifyFile(const std::string path, int64_t modifiedTime) global() argument [all...] |
/third_party/curl/docs/examples/ |
H A D | parseurl.c | 40 char *path; in main() local 47 uc = curl_url_set(h, CURLUPART_URL, "http://example.com/path/index.html", 0); in main() 58 /* extract the path from the parsed URL */ in main() 59 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main() 61 printf("Path: %s\n", path); in main() 62 curl_free(path); in main() 70 /* extract the new, updated path */ in main() 71 uc = curl_url_get(h, CURLUPART_PATH, &path, 0); in main() 73 printf("Path: %s\n", path); in main() 74 curl_free(path); in main() [all...] |
/third_party/libunwind/libunwind/src/ |
H A D | os-solaris.c | 35 char *path, size_t pathlen) in tdep_get_elf_image() 56 if (path) in tdep_get_elf_image() 58 strncpy(path, mi.path, pathlen); in tdep_get_elf_image() 60 rc = elf_map_image (ei, mi.path); in tdep_get_elf_image() 68 tdep_get_exe_image_path (char *path) in tdep_get_exe_image_path() argument 70 strcpy(path, getexecname()); in tdep_get_exe_image_path() 33 tdep_get_elf_image(struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char *path, size_t pathlen) tdep_get_elf_image() argument
|
/third_party/ltp/include/ |
H A D | tst_device.h | 26 * @path: Path to umount 28 int tst_umount(const char *path); 32 * @path: Mount path to verify 34 int tst_is_mounted(const char *path); 35 int tst_is_mounted_at_tmpdir(const char *path); 49 * free loopdev). If path is non-NULL, it will be filled with free loopdev path. 52 int tst_find_free_loopdev(char *path, size_t path_len); 107 void tst_purge_dir(const char *path); [all...] |