Home
last modified time | relevance | path

Searched refs:path (Results 4026 - 4050 of 10795) sorted by relevance

1...<<161162163164165166167168169170>>...432

/third_party/skia/gm/
H A Dbitmapimage.cpp41 const char* path = "images/mandrill_512_q075.jpg"; variable
42 sk_sp<SkImage> image = GetResourceAsImage(path);
45 "Did you forget to set the resource path?";
50 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(GetResourceAsStream(path)));
H A Dencode.cpp67 SkString path;
68 path.printf("/skia/orientation/Landscape_%d.jpg", i + 1);
69 auto stream = SkStream::MakeFromFile(path.c_str());
/third_party/skia/modules/svg/src/
H A DSkSVGCircle.cpp45 SkPath path = SkPath::Circle(pos.x(), pos.y(), r); in onAsPath() local
46 this->mapToParent(&path); in onAsPath()
48 return path; in onAsPath()
/third_party/rust/crates/unicode-ident/generate/src/
H A Dparse.rs4 use std::path::Path;
29 let path = ucd_dir.join(filename); in parse_xid_properties()
30 let contents = fs::read_to_string(path).unwrap_or_else(|err| { in parse_xid_properties()
/third_party/spirv-tools/utils/
H A Dgenerate_registry_tables.py19 import os.path namespace
36 if e.errno == errno.EEXIST and os.path.isdir(directory):
74 parser.add_argument('--xml', metavar='<path>',
77 parser.add_argument('--generator-output', metavar='<path>',
86 mkdir_p(os.path.dirname(args.generator_output))
/third_party/vk-gl-cts/modules/gles3/
H A Dtes3TestCaseWrapper.hpp43 void init (tcu::TestCase* testCase, const std::string& path);
65 void TestCaseWrapper<TEST_PACKAGE>::init (tcu::TestCase* testCase, const std::string& path) in init() argument
67 if (m_waiverMechanism->isOnWaiverList(path)) in init()
/third_party/vk-gl-cts/modules/gles31/
H A Dtes31TestCaseWrapper.hpp43 void init (tcu::TestCase* testCase, const std::string& path);
65 void TestCaseWrapper<TEST_PACKAGE>::init (tcu::TestCase* testCase, const std::string& path) in init() argument
67 if (m_waiverMechanism->isOnWaiverList(path)) in init()
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dability_recovery.cpp146 TAG_LOGE(AAFwkTag::RECOVERY, "failed to persisted file path"); in SerializeDataToFile()
187 TAG_LOGE(AAFwkTag::RECOVERY, "failed to persisted file path"); in ReadSerializeDataFromFile()
191 TAG_LOGD(AAFwkTag::RECOVERY, "file path %{public}s", file.c_str()); in ReadSerializeDataFromFile()
192 char path[PATH_MAX] = {0}; in ReadSerializeDataFromFile() local
193 if (realpath(file.c_str(), path) == nullptr) { in ReadSerializeDataFromFile()
198 int32_t fd = open(path, O_RDONLY); in ReadSerializeDataFromFile()
201 remove(path); in ReadSerializeDataFromFile()
208 remove(path); in ReadSerializeDataFromFile()
215 remove(path); in ReadSerializeDataFromFile()
223 remove(path); in ReadSerializeDataFromFile()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_media_player.cpp120 // For example "http://url" or "/relative path". in SetSource()
264 auto path = "resources/rawfile/" + filePath.substr(RAWFILE_PREFIX_LENGTH); in RawFilePlay() local
268 path = FA_RESOURCE_PREFIX + path; in RawFilePlay()
271 auto getFileInfoState = assetManager->GetFileInfo(path, fileInfo); in RawFilePlay()
300 // relative path in RelativePathPlay()
332 bool RosenMediaPlayer::GetResourceId(const std::string& path, uint32_t& resId) in GetResourceId() argument
335 if (std::regex_match(path, matches, MEDIA_RES_ID_REGEX) && matches.size() == MEDIA_RESOURCE_MATCH_SIZE) { in GetResourceId()
341 if (std::regex_match(path, appMatches, MEDIA_APP_RES_ID_REGEX) && appMatches.size() == MEDIA_RESOURCE_MATCH_SIZE) { in GetResourceId()
349 bool RosenMediaPlayer::GetResourceId(const std::string& uri, std::string& path) cons
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_asset_operations.h136 EXPORT static std::string GetEditDataSourcePath(const std::string &path);
139 EXPORT static int32_t CheckExist(const std::string &path);
191 const std::string &path, bool isMovingPhoto = false);
200 static void ScanFile(const std::string &path, bool isCreateThumbSync, bool isInvalidateThumb,
202 static void ScanFileWithoutAlbumUpdate(const std::string &path, bool isCreateThumbSync, bool isInvalidateThumb,
205 EXPORT static std::string GetEditDataDirPath(const std::string &path);
206 EXPORT static std::string GetEditDataPath(const std::string &path);
207 EXPORT static std::string GetEditDataCameraPath(const std::string &path);
224 int32_t OnScanFinished(const int32_t status, const std::string &uri, const std::string &path) override;
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_file/
H A Dfile_n_exporter.cpp119 HILOGE("Failed to get real path"); in GetPath()
146 HILOGE("Failed to get real path"); in GetName()
150 string path(static_cast<const char *>(realPath->ptr)); in GetName()
151 auto pos = path.find_last_of('/'); in GetName()
153 HILOGE("Failed to split filename from path"); in GetName()
157 return NVal::CreateUTF8String(env, path.substr(pos + 1)).val_; in GetName()
175 string path(fileEntity->path_); in GetParent()
178 path = fileUri.GetPath(); in GetParent()
180 auto [realPathRes, realPath] = RealPathCore(path); in GetParent()
182 HILOGE("Failed to get real path"); in GetParent()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dfscrypt_control.c229 * Splic full path, Caller need to free *buf after using
232 * @path: base key path
236 static int SpliceKeyPath(const char *path, size_t pathLen, in SpliceKeyPath() argument
240 LOGI("key path %s, name %s", path, name); in SpliceKeyPath()
245 LOGE("No memory for fscrypt v1 path buffer"); in SpliceKeyPath()
250 int ret = strncat_s(tmpBuf, bufMax, path, pathLen); in SpliceKeyPath()
253 LOGE("splic previous path error"); in SpliceKeyPath()
259 LOGE("splic later path erro in SpliceKeyPath()
267 ReadKeyFile(const char *path, char *buf, size_t len) ReadKeyFile() argument
412 ActSetFileXattrActSetFileXattr(const char *path, char *keyDesc, int storageType) ActSetFileXattrActSetFileXattr() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dpsargs.c136 /* Decode the path prefix character */ in acpi_ps_get_next_namestring()
202 char *path; in acpi_ps_get_next_namepath() local
210 path = acpi_ps_get_next_namestring(parser_state); in acpi_ps_get_next_namepath()
213 /* Null path case is allowed, just exit */ in acpi_ps_get_next_namepath()
215 if (!path) { in acpi_ps_get_next_namepath()
216 arg->common.value.name = path; in acpi_ps_get_next_namepath()
228 status = acpi_ns_lookup(walk_state->scope_info, path, in acpi_ps_get_next_namepath()
259 node->name.ascii, node, method_desc, path)); in acpi_ps_get_next_namepath()
269 name_op->common.value.name = path; in acpi_ps_get_next_namepath()
330 ACPI_ERROR_NAMESPACE(walk_state->scope_info, path, statu in acpi_ps_get_next_namepath()
[all...]
/kernel/linux/linux-5.10/tools/scripts/
H A Dutilities.mak133 # Usage: bool-value = $(call is-absolute,path)
139 # Usage: absolute-executable-path-or-empty = $(call lookup,path)
149 # Usage: bool-value = $(call is-executable,path)
160 # Usage: absolute-executable-path-or-empty = $(call get-executable,path)
162 # The goal is to get an absolute path for an executable;
165 # relative path resolution is requested, as determined
173 # Usage: absolute-executable-path-or-empty = $(call get-executable-or-default,variable,default)
/kernel/linux/linux-5.10/fs/autofs/
H A Dwaitq.c250 const struct path *path, enum autofs_notify notify) in validate_request()
252 struct dentry *dentry = path->dentry; in validate_request()
315 struct path this; in validate_request()
335 this.mnt = path->mnt; in validate_request()
349 const struct path *path, enum autofs_notify notify) in autofs_wait()
351 struct dentry *dentry = path->dentry; in autofs_wait()
410 ret = validate_request(&wq, sbi, &qstr, path, notify); in autofs_wait()
247 validate_request(struct autofs_wait_queue **wait, struct autofs_sb_info *sbi, const struct qstr *qstr, const struct path *path, enum autofs_notify notify) validate_request() argument
348 autofs_wait(struct autofs_sb_info *sbi, const struct path *path, enum autofs_notify notify) autofs_wait() argument
/kernel/linux/linux-5.10/fs/
H A Dstatfs.c86 int vfs_statfs(const struct path *path, struct kstatfs *buf) in vfs_statfs() argument
90 error = statfs_by_dentry(path->dentry, buf); in vfs_statfs()
92 buf->f_flags = calculate_f_flags(path->mnt); in vfs_statfs()
99 struct path path; in user_statfs() local
103 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs()
105 error = vfs_statfs(&path, st); in user_statfs()
106 path_put(&path); in user_statfs()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dpsargs.c136 /* Decode the path prefix character */ in acpi_ps_get_next_namestring()
202 char *path; in acpi_ps_get_next_namepath() local
210 path = acpi_ps_get_next_namestring(parser_state); in acpi_ps_get_next_namepath()
213 /* Null path case is allowed, just exit */ in acpi_ps_get_next_namepath()
215 if (!path) { in acpi_ps_get_next_namepath()
216 arg->common.value.name = path; in acpi_ps_get_next_namepath()
228 status = acpi_ns_lookup(walk_state->scope_info, path, in acpi_ps_get_next_namepath()
259 node->name.ascii, node, method_desc, path)); in acpi_ps_get_next_namepath()
269 name_op->common.value.name = path; in acpi_ps_get_next_namepath()
330 ACPI_ERROR_NAMESPACE(walk_state->scope_info, path, statu in acpi_ps_get_next_namepath()
[all...]
/kernel/linux/linux-6.6/fs/autofs/
H A Dwaitq.c205 const struct path *path, enum autofs_notify notify) in validate_request()
207 struct dentry *dentry = path->dentry; in validate_request()
270 struct path this; in validate_request()
290 this.mnt = path->mnt; in validate_request()
304 const struct path *path, enum autofs_notify notify) in autofs_wait()
306 struct dentry *dentry = path->dentry; in autofs_wait()
369 ret = validate_request(&wq, sbi, &qstr, path, notify); in autofs_wait()
202 validate_request(struct autofs_wait_queue **wait, struct autofs_sb_info *sbi, const struct qstr *qstr, const struct path *path, enum autofs_notify notify) validate_request() argument
303 autofs_wait(struct autofs_sb_info *sbi, const struct path *path, enum autofs_notify notify) autofs_wait() argument
/kernel/linux/linux-6.6/fs/
H A Dstatfs.c86 int vfs_statfs(const struct path *path, struct kstatfs *buf) in vfs_statfs() argument
90 error = statfs_by_dentry(path->dentry, buf); in vfs_statfs()
92 buf->f_flags = calculate_f_flags(path->mnt); in vfs_statfs()
99 struct path path; in user_statfs() local
103 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs()
105 error = vfs_statfs(&path, st); in user_statfs()
106 path_put(&path); in user_statfs()
/kernel/linux/linux-6.6/tools/scripts/
H A Dutilities.mak133 # Usage: bool-value = $(call is-absolute,path)
139 # Usage: absolute-executable-path-or-empty = $(call lookup,path)
149 # Usage: bool-value = $(call is-executable,path)
160 # Usage: absolute-executable-path-or-empty = $(call get-executable,path)
162 # The goal is to get an absolute path for an executable;
165 # relative path resolution is requested, as determined
173 # Usage: absolute-executable-path-or-empty = $(call get-executable-or-default,variable,default)
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_device.c394 struct net_device_path *path) in br_fill_forward_path()
405 br_vlan_fill_forward_path_pvid(br, ctx, path); in br_fill_forward_path()
407 f = br_fdb_find_rcu(br, ctx->daddr, path->bridge.vlan_id); in br_fill_forward_path()
415 if (br_vlan_fill_forward_path_mode(br, dst, path)) in br_fill_forward_path()
418 path->type = DEV_PATH_BRIDGE; in br_fill_forward_path()
419 path->dev = dst->br->dev; in br_fill_forward_path()
422 switch (path->bridge.vlan_mode) { in br_fill_forward_path()
426 ctx->vlan[ctx->num_vlans].id = path->bridge.vlan_id; in br_fill_forward_path()
427 ctx->vlan[ctx->num_vlans].proto = path->bridge.vlan_proto; in br_fill_forward_path()
393 br_fill_forward_path(struct net_device_path_ctx *ctx, struct net_device_path *path) br_fill_forward_path() argument
/third_party/ffmpeg/libavcodec/
H A Dg722enc.c185 nodes[i][0]->path = 0; in g722_encode_trellis()
235 node->path = pathn[index]++;\ in g722_encode_trellis()
248 c->paths[index][node->path].value = VALUE;\ in g722_encode_trellis()
249 c->paths[index][node->path].prev = cur_node->path;\ in g722_encode_trellis()
297 p[0] = &c->paths[0][nodes[0][0]->path]; in g722_encode_trellis()
298 p[1] = &c->paths[1][nodes[1][0]->path]; in g722_encode_trellis()
311 p[0] = &c->paths[0][nodes[0][0]->path]; in g722_encode_trellis()
312 p[1] = &c->paths[1][nodes[1][0]->path]; in g722_encode_trellis()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DIcuTextWriter.java95 for (RbPath path : icuData.getPaths()) { in writeTo()
96 // Close any blocks up to the common path length. Since paths are all distinct, the in writeTo()
97 // common length should always be shorter than either path. We add 1 since we must also in writeTo()
99 int commonDepth = RbPath.getCommonPrefixLength(lastPath, path) + 1; in writeTo()
103 openNextPath(path, out); in writeTo()
104 valueWasInline = appendValues(icuData.getName(), path, icuData.get(path), out); in writeTo()
105 lastPath = path; in writeTo()
127 private void openNextPath(RbPath path, PrintWriter out) { in openNextPath() argument
128 while (depth <= path in openNextPath()
[all...]
/third_party/mbedtls/tests/scripts/
H A Dcheck_files.py39 ``path_exemptions``: files whose path (relative to the root of the source
41 ``None`` to match no path. Paths are normalized and converted to ``/``
58 filepath = os.path.normpath(filepath)
61 seps = os.path.sep
62 if os.path.altsep is not None:
63 seps += os.path.altsep
70 or whose path matches ``self.path_exemptions`` will not be checked.
151 _root, ext = os.path.splitext(filepath)
358 return os.path.basename(info.filename), info.lineno
413 # Use endswith() rather than the more correct os.path
[all...]
/third_party/jerryscript/tools/
H A Dgen-unicode.py30 RANGES_C_SOURCE = os.path.join(PROJECT_DIR, 'jerry-core/lit/lit-unicode-ranges.inc.h')
31 CONVERSIONS_C_SOURCE = os.path.join(PROJECT_DIR, 'jerry-core/lit/lit-unicode-conversions.inc.h')
199 header_completion = ["/* This file is automatically generated by the %s script" % os.path.basename(__file__),
200 " * from %s. Do not edit! */" % os.path.basename(script_args.unicode_data),
700 unicode_file = os.path.basename(script_args.unicode_data)
701 spec_casing_file = os.path.basename(script_args.special_casing)
703 header_completion = ["/* This file is automatically generated by the %s script" % os.path.basename(__file__),
801 if not os.path.isfile(script_args.unicode_data) or not os.access(script_args.unicode_data, os.R_OK):
804 if not os.path.isfile(script_args.special_casing) or not os.access(script_args.special_casing, os.R_OK):

Completed in 17 milliseconds

1...<<161162163164165166167168169170>>...432