Home
last modified time | relevance | path

Searched refs:path (Results 1776 - 1800 of 9376) sorted by relevance

1...<<71727374757677787980>>...376

/third_party/musl/src/gwp_asan/linux/
H A Dgwp_asan.c111 char *path = get_process_short_name(buf, GWP_ASAN_NAME_LEN); in force_sample_process_by_env() local
112 if (!path) { in force_sample_process_by_env()
116 strcat(para_name, path); in force_sample_process_by_env()
171 char para_name[GWP_ASAN_NAME_LEN] = "gwp_asan.log.path"; in gwp_asan_printf()
179 char *path = get_process_short_name(process_short_name, GWP_ASAN_NAME_LEN); in gwp_asan_printf() local
180 if (!path) { in gwp_asan_printf()
185 snprintf(log_path, GWP_ASAN_NAME_LEN, "%s%s.%s.%d.log", GWP_ASAN_LOG_DIR, GWP_ASAN_LOG_TAG, path, getpid()); in gwp_asan_printf()
188 MUSL_LOGE("[gwp_asan]: %{public}s fopen %{public}s failed!", path, log_path); in gwp_asan_printf()
191 MUSL_LOGE("[gwp_asan]: %{public}s fopen %{public}s succeed.", path, log_path); in gwp_asan_printf()
199 MUSL_LOGE("[gwp_asan] %{public}s write log failed!\n", path); in gwp_asan_printf()
373 char *path = get_process_short_name(buf, GWP_ASAN_NAME_LEN); may_init_gwp_asan() local
387 char *path = get_process_short_name(buf, GWP_ASAN_NAME_LEN); init_gwp_asan_by_libc() local
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Danalyzer.py7 the generator flag config_path) the path of a json file that dictates the files
123 def _ToGypPath(path):
124 """Converts a path to the format used by gyp."""
126 return path.replace("\\", "/")
127 return path
130 def _ResolveParent(path, base_path_components):
131 """Resolves |path|, which starts with at least one '../'. Returns an empty
132 string if the path shouldn't be considered. See _AddSources() for a
135 while path.startswith("../"):
137 path
[all...]
/third_party/python/Lib/test/
H A Dtest_filecmp.py56 self.dir = os.path.join(tmpdir, 'dir')
57 self.dir_same = os.path.join(tmpdir, 'dir-same')
58 self.dir_diff = os.path.join(tmpdir, 'dir-diff')
62 self.dir_ignored = os.path.join(self.dir_same, '.hg')
64 self.caseinsensitive = os.path.normcase('A') == os.path.normcase('a')
69 subdir_path = os.path.join(dir, 'subdir')
75 with open(os.path.join(dir, fn), 'w', encoding="utf-8") as output:
78 with open(os.path.join(self.dir_diff, 'file2'), 'w', encoding="utf-8") as output:
106 with open(os.path
[all...]
/third_party/rust/crates/syn/tests/
H A Dtest_precedence.rs49 use std::path::Path;
73 repo::for_each_rust_file(|path| { in test_rustc_precedence()
74 let content = fs::read_to_string(path).unwrap(); in test_rustc_precedence()
78 let edition = repo::edition(path).parse().unwrap(); in test_rustc_precedence()
80 let (l_passed, l_failed) = test_expressions(path, edition, exprs); in test_rustc_precedence()
83 path.display(), in test_rustc_precedence()
90 errorf!("\nFAIL {} - syn failed to parse: {}\n", path.display(), msg); in test_rustc_precedence()
114 fn test_expressions(path: &Path, edition: Edition, exprs: Vec<syn::Expr>) -> (usize, usize) { in test_expressions()
127 path.display(), in test_expressions()
140 path in test_expressions()
[all...]
/third_party/vk-gl-cts/scripts/
H A Dmustpass.py41 def __init__ (self, path, copyright = None):
42 self.path = path
92 return os.path.join(mustpass.project.path, mustpass.version, "src")
102 return os.path.join(mustpass.project.path, mustpass.version)
264 readPatternList(os.path.join(getSrcDir(mustpass), filename), patternList)
288 # construct components of path to main destination file
291 mainDstFilePath = os.path
[all...]
/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp68 HapResource::HapResource(const std::string path, time_t lastModTime, std::shared_ptr<ResDesc> resDes, in HapResource() argument
69 bool isSystem, bool isOverlay) : indexPath_(path), lastModTime_(lastModTime), resDesc_(resDes), in HapResource()
78 const std::shared_ptr<HapResource> HapResource::Load(const char *path, in Load() argument
83 pResource = HapResourceManager::GetInstance()->GetHapResource(path); in Load()
88 if (Utils::ContainsTail(path, Utils::tailSet)) { in Load()
89 pResource = LoadFromHap(path, defaultConfig, isSystem, isOverlay, selectedTypes); in Load()
91 pResource = LoadFromIndex(path, defaultConfig, isSystem, isOverlay, selectedTypes); in Load()
94 pResource = HapResourceManager::GetInstance()->PutAndGetResource(path, pResource); in Load()
99 const std::shared_ptr<HapResource> HapResource::LoadFromIndex(const char *path, in LoadFromIndex() argument
103 Utils::CanonicalizePath(path, outPat in LoadFromIndex()
164 GetIndexData(const char *path, std::unique_ptr<uint8_t[]> &tmpBuf, size_t &len) GetIndexData() argument
188 LoadFromHap(const char *path, std::shared_ptr<ResConfigImpl> &defaultConfig, bool isSystem, bool isOverlay, const uint32_t &selectedTypes) LoadFromHap() argument
221 LoadOverlays(const std::string &path, const std::vector<std::string> &overlayPaths, std::shared_ptr<ResConfigImpl> &defaultConfig, bool isSystem) LoadOverlays() argument
[all...]
/kernel/linux/linux-5.10/fs/notify/fanotify/
H A Dfanotify.c20 static bool fanotify_path_equal(struct path *p1, struct path *p2) in fanotify_path_equal()
240 const struct path *path = fsnotify_data_path(data, data_type); in fanotify_group_event_mask() local
249 /* Do we have path to open a file descriptor? */ in fanotify_group_event_mask()
250 if (!path) in fanotify_group_event_mask()
253 if (!d_is_reg(path->dentry) && !d_can_lookup(path->dentry)) in fanotify_group_event_mask()
433 static struct fanotify_event *fanotify_alloc_path_event(const struct path *path, in fanotify_alloc_path_event() argument
449 fanotify_alloc_perm_event(const struct path *path, gfp_t gfp) fanotify_alloc_perm_event() argument
537 const struct path *path = fsnotify_data_path(data, data_type); fanotify_alloc_event() local
[all...]
/kernel/linux/linux-5.10/fs/ecryptfs/
H A Dmain.c108 struct path *path = ecryptfs_dentry_to_lower_path(dentry); in ecryptfs_init_lower_file() local
111 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file()
116 "rc = [%d]\n", path->dentry, path->mnt, rc); in ecryptfs_init_lower_file()
473 * @dev_name: The path to mount over
485 struct path path; in ecryptfs_mount() local
527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
[all...]
/third_party/skia/src/gpu/ops/
H A DDefaultPathRenderer.cpp49 // This path renderer only accepts simple fill paths or stroke paths that are either hairline in single_pass_shape()
152 void addPath(const SkPath& path, SkScalar srcSpaceTol) { in addPath() argument
155 SkPath::Iter iter(path, false); in addPath()
185 static bool PathHasMultipleSubpaths(const SkPath& path) { in PathHasMultipleSubpaths() argument
188 SkPath::Iter iter(path, false); in PathHasMultipleSubpaths()
279 // other fill rules we're drawing triangle fans around the start of the current (sub)path. in appendCountourEdgeIndices()
396 const SkPath& path, in Make()
404 return Helper::FactoryHelper<DefaultPathOp>(context, std::move(paint), path, tolerance, in Make()
419 DefaultPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const SkPath& path, in DefaultPathOp() argument
429 fPaths.emplace_back(PathData{path, toleranc in DefaultPathOp()
394 Make(GrRecordingContext* context, GrPaint&& paint, const SkPath& path, SkScalar tolerance, uint8_t coverage, const SkMatrix& viewMatrix, bool isHairline, GrAAType aaType, const SkRect& devBounds, const GrUserStencilSettings* stencilSettings) Make() argument
595 const SkPath& path = GrTest::TestPath(random); GR_DRAW_OP_TEST_DEFINE() local
629 SkPath path; internalDrawPath() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DFileSystem.h12 // path class.
286 /// @brief Make \a path an absolute path.
288 /// Makes \a path absolute using the \a current_directory if it is not already.
289 /// An empty \a path will result in the \a current_directory.
291 /// /absolute/path => /absolute/path
292 /// relative/../path => <current-directory>/relative/../path
294 /// @param path
741 directory_entry(const Twine &path, file_status st = file_status()) directory_entry() argument
747 assign(const Twine &path, file_status st = file_status()) assign() argument
754 const std::string &path() const { return Path; } path() function in llvm::sys::fs::directory_entry
794 directory_iterator(const Twine &path, std::error_code &ec) directory_iterator() argument
856 recursive_directory_iterator(const Twine &path, std::error_code &ec) recursive_directory_iterator() argument
[all...]
/base/startup/appspawn/modules/sandbox/
H A Dappspawn_sandbox.c70 APPSPAWN_STATIC bool CheckDirRecursive(const char *path) in CheckDirRecursive() argument
74 const char *p = path; in CheckDirRecursive()
75 char *curPos = strchr(path, slash); in CheckDirRecursive()
83 int ret = memcpy_s(buffer, PATH_MAX, path, p - path - 1); in CheckDirRecursive()
84 APPSPAWN_CHECK(ret == 0, return false, "Failed to copy path"); in CheckDirRecursive()
89 int ret = access(path, F_OK); in CheckDirRecursive()
133 APPSPAWN_CHECK(ret == 0, return ret, "Failed to copy root path %{public}s", sandbox->rootPath); in BuildRootPath()
143 "Failed to format root path %{public}s", sandbox->rootPath); in BuildRootPath()
226 // root path in InitSandboxContext()
553 char *path = (char *)malloc(sizeof(char) * allPathSize); IsUnlockStatus() local
577 char *path = (char *)malloc(sizeof(char) * (allPathSize)); MountDir() local
907 char path[PATH_MAX] = {}; IsSandboxMounted() local
924 char path[PATH_MAX] = {}; SetSandboxMounted() local
951 char path[PATH_MAX] = {}; UnmountDepPaths() local
971 char path[PATH_MAX] = {}; UnmountSandboxConfigs() local
[all...]
/third_party/skia/dm/
H A DDM.cpp102 "are thrown out. This is useful for finding a reduced repo case for path drawing bugs.");
408 SkString path(FLAGS_readPath[0]); in gather_gold()
409 path.append("/dm.json"); in gather_gold()
410 if (!JsonWriter::ReadJson(path.c_str(), add_gold)) { in gather_gold()
411 fail(SkStringPrintf("Couldn't read %s for golden results.", path.c_str())); in gather_gold()
480 static void push_codec_src(Path path, CodecSrc::Mode mode, CodecSrc::DstColorType dstColorType, in push_codec_src() argument
540 CodecSrc* src = new CodecSrc(path, mode, dstColorType, dstAlphaType, scale); in push_codec_src()
544 static void push_android_codec_src(Path path, CodecSrc::DstColorType dstColorType, in push_android_codec_src() argument
575 AndroidCodecSrc* src = new AndroidCodecSrc(path, dstColorType, dstAlphaType, sampleSize); in push_android_codec_src()
579 static void push_image_gen_src(Path path, ImageGenSr argument
614 push_brd_src(Path path, CodecSrc::DstColorType dstColorType, BRDSrc::Mode mode, uint32_t sampleSize) push_brd_src() argument
647 push_brd_srcs(Path path, bool gray) push_brd_srcs() argument
674 push_codec_srcs(Path path) push_codec_srcs() argument
856 const char* path = flags[i]; gather_file_srcs() local
1359 SkString path; WriteToDisk() local
[all...]
/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/
H A Dmain.rs21 use std::path::Path;
53 let path = Path::new("/data/stacktrace_test_file001"); in test_print_trace()
54 let display = path.display(); in test_print_trace()
55 let output = match File::create(path) { in test_print_trace()
60 let trace = fs::read_to_string(path).unwrap(); in test_print_trace()
/base/hiviewdfx/faultloggerd/services/
H A Dfault_logger_config.cpp28 const std::string& path, const std::string& debugPath) in FaultLoggerConfig()
29 :logFileNumber_(number), logFileSize_(size), logFilePath_(path), debugLogFilePath_(debugPath) in FaultLoggerConfig()
32 FAULTLOGGER_CONFIG_TAG.c_str(), number, size, path.c_str(), debugPath.c_str()); in FaultLoggerConfig()
76 bool FaultLoggerConfig::SetLogFilePath(const std::string& path) in SetLogFilePath() argument
78 logFilePath_ = path; in SetLogFilePath()
27 FaultLoggerConfig(const int number, const long size, const std::string& path, const std::string& debugPath) FaultLoggerConfig() argument
/base/security/asset/frameworks/os_dependency/file/src/
H A Dde_operator.rs20 use std::{fs, path::Path};
41 let path: &Path = Path::new(&path_str); in create_user_de_dir()
42 match fs::create_dir(path) { in create_user_de_dir()
62 let path: &Path = Path::new(&path_str); in delete_user_de_dir()
63 match fs::remove_dir_all(path) { in delete_user_de_dir()
/base/security/code_signature/interfaces/innerkits/code_sign_utils/include/
H A Dcode_sign_enable_multi_task.h32 typedef int32_t CallbackFunc(const std::string &path, const struct code_sign_enable_arg &arg);
40 * @param targetFile hap or so real path on disk
47 * @param path hap real path on disk
52 const std::string &path, CallbackFunc &func);
60 static int32_t IsFsVerityEnabled(const std::string &path);
63 const std::string &path, CallbackFunc &func);
64 int32_t CheckOwnerId(const std::string &path, const std::string &ownerId,
/kernel/linux/linux-5.10/tools/lib/api/fs/
H A Dcgroup.c15 char path_v1[PATH_MAX + 1], path_v2[PATH_MAX + 2], *path; in cgroupfs_find_mountpoint() local
56 path = path_v1; in cgroupfs_find_mountpoint()
58 path = path_v2; in cgroupfs_find_mountpoint()
62 if (strlen(path) < maxlen) { in cgroupfs_find_mountpoint()
63 strcpy(buf, path); in cgroupfs_find_mountpoint()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A Drtw_debug.c46 static void dump_4_rf_regs(struct adapter *adapter, int path, int offset) in dump_4_rf_regs() argument
52 reg[i] = rtw_hal_read_rfreg(adapter, path, offset + i, in dump_4_rf_regs()
61 int i, path = 0; in rf_reg_dump() local
65 netdev_dbg(adapter->pnetdev, "RF_Path(%x)\n", path); in rf_reg_dump()
67 dump_4_rf_regs(adapter, path, i); in rf_reg_dump()
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
H A DIt_process_plimits_pid_005.cpp47 std::string path = "/proc/plimits/test"; in ItProcessPlimitsPid005() local
54 int ret = mkdir(path.c_str(), S_IFDIR | mode); in ItProcessPlimitsPid005()
69 ret = write(fd, path.c_str(), (path.length())); in ItProcessPlimitsPid005()
75 ret = rmdir(path.c_str()); in ItProcessPlimitsPid005()
/third_party/ffmpeg/tools/python/
H A Dconvert.py29 parser.add_argument('infile', help='path to the deep learning model with weights')
37 if not os.path.isfile(args.infile):
41 if not os.path.exists(args.outdir):
45 basefile = os.path.split(args.infile)[1]
46 basefile = os.path.splitext(basefile)[0]
47 outfile = os.path.join(args.outdir, basefile) + '.model'
/third_party/harfbuzz/
H A Dinstall.py41 src_file = os.path.join(src_path, file)
42 dst_file = os.path.join(dst_path, file)
48 if not os.path.exists(target_dir):
71 harfbuzz_path.add_argument('--gen-dir', help='generate path of log', required=True)
72 harfbuzz_path.add_argument('--source-dir', help='generate path of log', required=True)
74 tar_file_path = os.path.join(args.source_dir, "harfbuzz-2.8.2.tar.xz")
75 target_dir = os.path.join(args.gen_dir, "harfbuzz-2.8.2")
/third_party/libuv/docs/code/proc-streams/
H A Dmain.c20 char path[size]; in main() local
21 uv_exepath(path, &size); in main()
22 strcpy(path + (strlen(path) - strlen("proc-streams")), "test"); in main()
25 args[0] = path; in main()
/third_party/libpng/
H A Dinstall.py45 src_file = os.path.join(src_path, file)
46 dst_file = os.path.join(dst_path, file)
52 if not os.path.exists(target_dir):
78 libpng_path.add_argument('--gen-dir', help='generate path of log', required=True)
79 libpng_path.add_argument('--source-dir', help='generate path of log', required=True)
81 tar_file_path = os.path.join(args.source_dir, "libpng-1.6.38.tar.gz")
82 target_dir = os.path.join(args.gen_dir, "libpng-1.6.38")
/third_party/mesa3d/bin/
H A Dmeson-cmd-extract.py45 def load_config(path: pathlib.Path) -> configparser.ConfigParser:
48 with path.open() as f:
76 path = pathlib.Path(args.build_dir, 'meson-private', 'cmd_line.txt')
77 if not path.exists():
82 conf = load_config(path)
/third_party/jsoncpp/
H A Dinstall.py24 if os.path.exists(extract_path):
38 if not os.path.exists(target_dir):
58 file_path = os.path.join(args.source_file, patch)
64 libpng_path.add_argument('--gen-dir', help='generate path of jsoncpp')
67 tar_file_path = os.path.join(args.source_file, "jsoncpp-1.9.5.tar.gz")
68 target_dir = os.path.join(args.gen_dir, "jsoncpp-1.9.5")

Completed in 18 milliseconds

1...<<71727374757677787980>>...376