Home
last modified time | relevance | path

Searched refs:path (Results 1701 - 1725 of 10146) sorted by relevance

1...<<61626364656667686970>>...406

/third_party/skia/infra/bots/assets/skp/
H A Dcreate_and_upload.py20 FILE_DIR = os.path.dirname(os.path.abspath(__file__))
21 ASSET = os.path.basename(FILE_DIR)
41 sk = os.path.realpath(os.path.join(
45 if not os.path.isfile(sk):
/third_party/skia/gm/
H A Dfatpathfill.cpp39 static void draw_fatpath(SkCanvas* canvas, SkSurface* surface, const SkPath& path) { in draw_fatpath() argument
43 surface->getCanvas()->drawPath(path, paint); in draw_fatpath()
49 canvas->drawPath(path, paint); in draw_fatpath()
66 SkPath line, path; in DEF_SIMPLE_GM() local
69 paint.getFillPath(line, &path); in DEF_SIMPLE_GM()
70 draw_fatpath(canvas, surface.get(), path); in DEF_SIMPLE_GM()
/third_party/skia/bin/
H A Dfetch-gn21 os.chdir(os.path.join(os.path.dirname(__file__), os.pardir))
23 gnzip = os.path.join(tempfile.mkdtemp(), 'gn.zip')
37 gn = os.path.join('bin', gn)
43 # We'll also copy to a path that depot_tools' GN wrapper will expect to find the binary.
47 if os.path.isdir(os.path.dirname(copy_path)):
/third_party/cJSON/
H A DcJSON_Utils.c119 /* Compare the next path element of two JSON pointers, two NULL pointers are considered unequal: */
234 sprintf((char*)full_pointer, "/%lu%s", (unsigned long)child_index, target_pointer); /* /<array_index><path> */ in cJSONUtils_FindPointerFromObjectTo()
310 /* follow path of the pointer */ in get_item_from_pointer()
338 /* skip to the next path token or end of string */ in get_item_from_pointer()
429 /* detach an item at the given path */
430 static cJSON *detach_path(cJSON *object, const unsigned char *path, const cJSON_bool case_sensitive) in detach_path() argument
437 /* copy path and split it in parent and child */ in detach_path()
438 parent_pointer = cJSONUtils_strdup(path); in detach_path()
826 cJSON *path = NULL; in apply_patch() local
834 path in apply_patch()
1113 compose_patch(cJSON * const patches, const unsigned char * const operation, const unsigned char * const path, const unsigned char *suffix, const cJSON * const value) compose_patch() argument
1153 cJSONUtils_AddPatchToArray(cJSON * const array, const char * const operation, const char * const path, const cJSON * const value) cJSONUtils_AddPatchToArray() argument
1158 create_patches(cJSON * const patches, const unsigned char * const path, cJSON * const from, cJSON * const to, const cJSON_bool case_sensitive) create_patches() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
H A Dphy.c151 u8 path; in rtw_phy_dig_write() local
158 for (path = 0; path < hal->rf_path_num; path++) { in rtw_phy_dig_write()
159 addr = chip->dig[path].addr; in rtw_phy_dig_write()
160 mask = chip->dig[path].mask; in rtw_phy_dig_write()
659 u8 path; in rtw_phy_rf_power_2_rssi() local
661 for (path = 0; path < path_num; path in rtw_phy_rf_power_2_rssi()
1804 rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path, u8 rate, u8 bw, u8 ch, u8 regd, struct rtw_power_params *pwr_param) rtw_get_tx_power_params() argument
1866 rtw_phy_set_tx_power_index_by_rs(struct rtw_dev *rtwdev, u8 ch, u8 path, u8 rs) rtw_phy_set_tx_power_index_by_rs() argument
1897 rtw_phy_set_tx_power_level_by_path(struct rtw_dev *rtwdev, u8 ch, u8 path) rtw_phy_set_tx_power_level_by_path() argument
1917 u8 path; rtw_phy_set_tx_power_level() local
1930 rtw_phy_tx_power_by_rate_config_by_path(struct rtw_hal *hal, u8 path, u8 rs, u8 size, u8 *rates) rtw_phy_tx_power_by_rate_config_by_path() argument
1954 u8 path; rtw_phy_tx_power_by_rate_config() local
2027 u8 regd, path, rate, rs, bw; rtw_phy_init_tx_power() local
2087 rtw_phy_pwrtrack_avg(struct rtw_dev *rtwdev, u8 thermal, u8 path) rtw_phy_pwrtrack_avg() argument
2097 rtw_phy_pwrtrack_thermal_changed(struct rtw_dev *rtwdev, u8 thermal, u8 path) rtw_phy_pwrtrack_thermal_changed() argument
2110 rtw_phy_pwrtrack_get_delta(struct rtw_dev *rtwdev, u8 path) rtw_phy_pwrtrack_get_delta() argument
[all...]
/third_party/NuttX/fs/driver/
H A Dfs_unregisterblockdriver.c40 * Remove the block driver inode at 'path' from the pseudo-file system
44 int unregister_blockdriver(const char *path) in unregister_blockdriver() argument
46 if (path == NULL || strlen(path) >= PATH_MAX || strncmp("/dev/", path, DEV_PATH_LEN) != 0) in unregister_blockdriver()
/third_party/musl/src/linux/
H A Dswap.c4 int swapon(const char *path, int flags) in swapon() argument
6 return syscall(SYS_swapon, path, flags); in swapon()
9 int swapoff(const char *path) in swapoff() argument
11 return syscall(SYS_swapoff, path); in swapoff()
/third_party/typescript/tests/baselines/reference/
H A DdynamicImportTrailingComma.js2 const path = './foo';
3 import(path,);
7 var path = './foo'; variable
8 _a = path, Promise.resolve().then(function () { return require(_a); });
/third_party/skia/docs/examples/
H A DPath_countVerbs.cpp7 SkPath path; in REG_FIDDLE() local
8 SkDebugf("empty verb count: %d\n", path.countVerbs()); in REG_FIDDLE()
9 path.addRoundRect({10, 20, 30, 40}, 5, 5); in REG_FIDDLE()
10 SkDebugf("round rect verb count: %d\n", path.countVerbs()); in REG_FIDDLE()
H A DPath_setLastPt.cpp10 SkPath path; in REG_FIDDLE() local
11 paint.getTextPath("@", 1, 60, 100, &path); in REG_FIDDLE()
12 path.setLastPt(20, 120); in REG_FIDDLE()
13 canvas->drawPath(path, paint); in REG_FIDDLE()
H A DPath_SegmentMask.cpp7 SkPath path; in REG_FIDDLE() local
8 path.conicTo(10, 10, 20, 30, 1); in REG_FIDDLE()
9 SkDebugf("Path kConic_SegmentMask is %s\n", path.getSegmentMasks() & in REG_FIDDLE()
11 SkDebugf("Path kQuad_SegmentMask is %s\n", path.getSegmentMasks() & in REG_FIDDLE()
H A DPath_getFillType.cpp7 SkPath path; in REG_FIDDLE() local
8 SkDebugf("default path fill type is %s\n", in REG_FIDDLE()
9 path.getFillType() == SkPathFillType::kWinding ? "kWinding" : in REG_FIDDLE()
10 path.getFillType() == SkPathFillType::kEvenOdd ? "kEvenOdd" : in REG_FIDDLE()
11 path.getFillType() == SkPathFillType::kInverseWinding ? "kInverseWinding" : in REG_FIDDLE()
H A DPath_destructor.cpp7 SkPath* path = new SkPath(); in REG_FIDDLE() local
8 path->lineTo(20, 20); in REG_FIDDLE()
9 SkPath path2(*path); in REG_FIDDLE()
10 delete path; in REG_FIDDLE()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp235 void PowerSupplyProvider::FormatPath(std::string& path, in FormatPath() argument
239 if (strcpy_s(buff, PATH_MAX, path.c_str()) != EOK) { in FormatPath()
240 BATTERY_HILOGW(FEATURE_BATT_INFO, "failed to copy path of %{public}s", name); in FormatPath()
245 BATTERY_HILOGW(FEATURE_BATT_INFO, "failed to format path of %{public}s", name); in FormatPath()
248 path.assign(buff, strlen(buff)); in FormatPath()
280 int32_t PowerSupplyProvider::ReadSysfsFile(const char* path, char* buf, size_t size) in ReadSysfsFile() argument
286 auto item = nodeCacheFiles_.find(path); in ReadSysfsFile()
299 fd = open(path, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in ReadSysfsFile()
301 BATTERY_HILOGD(FEATURE_BATT_INFO, "failed to open file %{public}s, errno: %{public}d", path, errno); in ReadSysfsFile()
310 nodeCacheFiles_.insert(std::make_pair(path, f in ReadSysfsFile()
316 ReadBatterySysfsToBuff(const char* path, char* buf, size_t size) ReadBatterySysfsToBuff() argument
538 SetSysFilePath(const std::string& path) SetSysFilePath() argument
547 CreateFile(const std::string& path, const std::string& content) CreateFile() argument
686 CheckSubfolderNode(const std::string& path) CheckSubfolderNode() argument
1031 SetConfigByPath(const std::string& path, const std::string& value) SetConfigByPath() argument
1060 GetConfigByPath(const std::string& path, std::string& result) GetConfigByPath() argument
1082 CheckPathExists(const std::string& path, bool& result) CheckPathExists() argument
[all...]
H A Dbattery_config.cpp63 char* path = GetOneCfgFile(BATTERY_CONFIG_PATH, buf, MAX_PATH_LEN); in ParseConfig() local
64 if (path == nullptr || *path == '\0') { in ParseConfig()
66 path = const_cast<char*>(BATTERY_CONFIG_EXCEPTION_PATH); in ParseConfig()
84 if (!OpenFile(ifsConf, path)) { in ParseConfig()
91 if (!OpenFile(ifsConf, path)) { in ParseConfig()
177 Json::Value currentPath = GetValue(chargerConfig, "current_limit.path"); in ParseChargerConfig()
182 Json::Value voltagePath = GetValue(chargerConfig, "voltage_limit.path"); in ParseChargerConfig()
187 Json::Value chargeTypePath = GetValue(chargerConfig, "type.path"); in ParseChargerConfig()
275 Json::Value supportPath = GetValue(valueObj, "support.path"); in IsValidChargeSceneConfig()
292 std::string path = supportPath.asString(); ParseChargeSceneSupport() local
307 std::string path = setPath.asString(); ParseChargeSceneSet() local
320 std::string path = getPath.asString(); ParseChargeSceneGet() local
329 IsValidSysPath(const std::string& path) IsValidSysPath() argument
[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...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-historical-service-time.c10 * num_paths. If a path is stale and unused, we will send a single
11 * request to probe in case the path has improved. This situation
12 * generally arises if the path is so much worse than others that it
14 * multipath device is unused. If a path is stale and in use, limit the
15 * number of requests it can receive with the assumption that the path
25 #include "dm-path-selector.h"
56 struct dm_path *path; member
188 * be considered different. That is, a path is in hst_create()
190 * is the path with higher service time. A threshold in hst_create()
237 static int hst_status(struct path_selector *ps, struct dm_path *path, in hst_status() argument
264 hst_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) hst_add_path() argument
316 hst_fail_path(struct path_selector *ps, struct dm_path *path) hst_fail_path() argument
328 hst_reinstate_path(struct path_selector *ps, struct dm_path *path) hst_reinstate_path() argument
458 hst_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) hst_start_io() argument
489 hst_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) hst_end_io() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dbuiltin-test.c484 const char *path, const char *name) in shell_test__description()
489 path__join(filename, sizeof(filename), path, name); in shell_test__description()
507 static const char *shell_tests__dir(char *path, size_t size) in shell_tests__dir() argument
516 scnprintf(path, size, "%s/shell", devel_dirs[i]); in shell_tests__dir()
518 return path; in shell_tests__dir()
522 /* Then installed path. */ in shell_tests__dir()
524 scnprintf(path, size, "%s/tests/shell", exec_path); in shell_tests__dir()
526 return path; in shell_tests__dir()
534 const char *path = shell_tests__dir(path_dir, sizeof(path_dir)); in shell_tests__max_desc_width() local
537 if (path in shell_tests__max_desc_width()
483 shell_test__description(char *description, size_t size, const char *path, const char *name) shell_test__description() argument
718 const char *path = shell_tests__dir(path_dir, sizeof(path_dir)); perf_test__list_shell() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcpumap.c100 char path[PATH_MAX]; in cpu__get_topology_int() local
102 snprintf(path, PATH_MAX, in cpu__get_topology_int()
105 return sysfs__read_int(path, value); in cpu__get_topology_int()
272 static int get_max_num(char *path, int *max) in get_max_num() argument
278 if (filename__read_str(path, &buf, &num)) in get_max_num()
307 char path[PATH_MAX]; in set_max_cpu_num() local
319 ret = snprintf(path, PATH_MAX, "%s/devices/system/cpu/possible", mnt); in set_max_cpu_num()
321 pr_err("sysfs path crossed PATH_MAX(%d) size\n", PATH_MAX); in set_max_cpu_num()
325 ret = get_max_num(path, &max_cpu_num); in set_max_cpu_num()
330 ret = snprintf(path, PATH_MA in set_max_cpu_num()
347 char path[PATH_MAX]; set_max_node_num() local
431 char path[PATH_MAX]; cpu__setup_cpunode_map() local
[all...]
/kernel/linux/linux-5.10/fs/cachefiles/
H A Ddaemon.c552 struct path path; in cachefiles_daemon_cull() local
572 get_fs_pwd(current->fs, &path); in cachefiles_daemon_cull()
574 if (!d_can_lookup(path.dentry)) in cachefiles_daemon_cull()
578 ret = cachefiles_cull(cache, path.dentry, args); in cachefiles_daemon_cull()
581 path_put(&path); in cachefiles_daemon_cull()
586 path_put(&path); in cachefiles_daemon_cull()
624 struct path path; in cachefiles_daemon_inuse() local
644 get_fs_pwd(current->fs, &path); in cachefiles_daemon_inuse()
675 struct path path = { cachefiles_has_space() local
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dmove_extent.c17 * get_ext_path() - Find an extent path for designated logical block number.
19 * @lblock: logical block number to find an extent path
20 * @ppath: pointer to an extent path pointer (for output)
29 struct ext4_ext_path *path; in get_ext_path() local
31 path = ext4_find_extent(inode, lblock, ppath, EXT4_EX_NOCACHE); in get_ext_path()
32 if (IS_ERR(path)) in get_ext_path()
33 return PTR_ERR(path); in get_ext_path()
34 if (path[ext_depth(inode)].p_ext == NULL) { in get_ext_path()
35 ext4_free_ext_path(path); in get_ext_path()
39 *ppath = path; in get_ext_path()
93 struct ext4_ext_path *path = NULL; mext_check_coverage() local
562 struct ext4_ext_path *path = NULL; ext4_move_extents() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dfile_table.c47 /* Container for backing file with optional real path */
50 struct path real_path;
58 struct path *backing_file_real_path(struct file *f) in backing_file_real_path()
284 * @path: the (dentry, vfsmount) pair for the new file
288 static struct file *alloc_file(const struct path *path, int flags, in alloc_file() argument
297 file->f_path = *path; in alloc_file()
298 file->f_inode = path->dentry->d_inode; in alloc_file()
299 file->f_mapping = path->dentry->d_inode->i_mapping; in alloc_file()
314 i_readcount_inc(path in alloc_file()
326 struct path path; alloc_file_pseudo() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dlink.c207 const unsigned char *path) in check_mf_symlink()
225 cifs_sb, path, buf, &bytes_read); in check_mf_symlink()
263 struct cifs_sb_info *cifs_sb, const unsigned char *path, in cifs_query_mf_symlink()
280 .path = path, in cifs_query_mf_symlink()
308 struct cifs_sb_info *cifs_sb, const unsigned char *path, in cifs_create_mf_symlink()
323 .path = path, in cifs_create_mf_symlink()
348 struct cifs_sb_info *cifs_sb, const unsigned char *path, in smb3_query_mf_symlink()
363 .path in smb3_query_mf_symlink()
205 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr, const unsigned char *path) check_mf_symlink() argument
262 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_read) cifs_query_mf_symlink() argument
307 cifs_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_written) cifs_create_mf_symlink() argument
347 smb3_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_read) smb3_query_mf_symlink() argument
410 smb3_create_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, struct cifs_sb_info *cifs_sb, const unsigned char *path, char *pbuf, unsigned int *pbytes_written) smb3_create_mf_symlink() argument
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-ps-historical-service-time.c10 * num_paths. If a path is stale and unused, we will send a single
11 * request to probe in case the path has improved. This situation
12 * generally arises if the path is so much worse than others that it
14 * multipath device is unused. If a path is stale and in use, limit the
15 * number of requests it can receive with the assumption that the path
25 #include "dm-path-selector.h"
56 struct dm_path *path; member
188 * be considered different. That is, a path is in hst_create()
190 * is the path with higher service time. A threshold in hst_create()
237 static int hst_status(struct path_selector *ps, struct dm_path *path, in hst_status() argument
267 hst_add_path(struct path_selector *ps, struct dm_path *path, int argc, char **argv, char **error) hst_add_path() argument
319 hst_fail_path(struct path_selector *ps, struct dm_path *path) hst_fail_path() argument
331 hst_reinstate_path(struct path_selector *ps, struct dm_path *path) hst_reinstate_path() argument
461 hst_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) hst_start_io() argument
492 hst_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes, u64 start_time) hst_end_io() argument
[all...]
/third_party/curl/tests/
H A Dsmbserver.py133 smb_config.set("SERVER", "path", SERVER_MAGIC)
141 smb_config.set("TESTS", "path", TESTS_MAGIC)
143 if not options.srcdir or not os.path.isdir(options.srcdir):
146 test_data_dir = os.path.join(options.srcdir, "data")
199 path = self.get_share_path(conn_data,
202 log.info("[SMB] Requested share path: %s", path)
212 # Check to see if the path we were given is actually a
213 # magic path which needs generating on the fly.
214 if path no
[all...]

Completed in 23 milliseconds

1...<<61626364656667686970>>...406