/third_party/python/Lib/test/ |
H A D | test_compileall.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 61 self.source_path2 = os.path.join(self.directory, '_test2.py') 64 self.subdirectory = os.path.join(self.directory, '_subdir') 66 self.source_path3 = os.path.join(self.subdirectory, '_test3.py') 73 self.bad_source_path = os.path.join(self.directory, '_test_bad.py') 139 self.assertTrue(os.path.isfile(self.bc_path) and 140 not os.path.isfile(self.bc_path2)) 144 self.assertTrue(os.path.isfile(self.bc_path) and 145 os.path.isfile(self.bc_path2)) 156 self.assertFalse(os.path [all...] |
/kernel/linux/linux-5.10/net/iucv/ |
H A D | iucv.c | 117 * The work element to deliver path pending interrupts. 649 * @pathid: path identification number. 652 * Sever an iucv path to free up the pathid. Used internally. 680 * Function called after a path has been severed to find all remaining 689 * When a path is severed, the pathid can be reused immediately in iucv_cleanup_queue() 806 * @path: address of iucv path structure 809 * @private: private data passed to interrupt handlers for this path 812 * external interrupt and now wishes to complete the IUCV communication path. 816 int iucv_path_accept(struct iucv_path *path, struc argument 863 iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler, u8 *userid, u8 *system, u8 *userdata, void *private) iucv_path_connect() argument 926 iucv_path_quiesce(struct iucv_path *path, u8 *userdata) iucv_path_quiesce() argument 958 iucv_path_resume(struct iucv_path *path, u8 *userdata) iucv_path_resume() argument 988 iucv_path_sever(struct iucv_path *path, u8 *userdata) iucv_path_sever() argument 1020 iucv_message_purge(struct iucv_path *path, struct iucv_message *msg, u32 srccls) iucv_message_purge() argument 1060 iucv_message_receive_iprmdata(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) iucv_message_receive_iprmdata() argument 1110 __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) __iucv_message_receive() argument 1158 iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) iucv_message_receive() argument 1184 iucv_message_reject(struct iucv_path *path, struct iucv_message *msg) iucv_message_reject() argument 1222 iucv_message_reply(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *reply, size_t size) iucv_message_reply() argument 1273 __iucv_message_send(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size) __iucv_message_send() argument 1327 iucv_message_send(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size) iucv_message_send() argument 1358 iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size, void *answer, size_t asize, size_t *residual) iucv_message_send2way() argument 1425 struct iucv_path *path; iucv_path_pending() local 1485 struct iucv_path *path = iucv_path_table[ipc->ippathid]; iucv_path_complete() local 1515 struct iucv_path *path = iucv_path_table[ips->ippathid]; iucv_path_severed() local 1551 struct iucv_path *path = iucv_path_table[ipq->ippathid]; iucv_path_quiesced() local 1579 struct iucv_path *path = iucv_path_table[ipr->ippathid]; iucv_path_resumed() local 1610 struct iucv_path *path = iucv_path_table[imc->ippathid]; iucv_message_complete() local 1655 struct iucv_path *path = iucv_path_table[imp->ippathid]; iucv_message_pending() local [all...] |
/kernel/linux/linux-6.6/net/iucv/ |
H A D | iucv.c | 117 * The work element to deliver path pending interrupts. 651 * @pathid: path identification number. 654 * Sever an iucv path to free up the pathid. Used internally. 682 * Function called after a path has been severed to find all remaining 691 * When a path is severed, the pathid can be reused immediately in iucv_cleanup_queue() 808 * @path: address of iucv path structure 811 * @private: private data passed to interrupt handlers for this path 814 * external interrupt and now wishes to complete the IUCV communication path. 818 int iucv_path_accept(struct iucv_path *path, struc argument 865 iucv_path_connect(struct iucv_path *path, struct iucv_handler *handler, u8 *userid, u8 *system, u8 *userdata, void *private) iucv_path_connect() argument 928 iucv_path_quiesce(struct iucv_path *path, u8 *userdata) iucv_path_quiesce() argument 960 iucv_path_resume(struct iucv_path *path, u8 *userdata) iucv_path_resume() argument 990 iucv_path_sever(struct iucv_path *path, u8 *userdata) iucv_path_sever() argument 1022 iucv_message_purge(struct iucv_path *path, struct iucv_message *msg, u32 srccls) iucv_message_purge() argument 1062 iucv_message_receive_iprmdata(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) iucv_message_receive_iprmdata() argument 1112 __iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) __iucv_message_receive() argument 1160 iucv_message_receive(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *buffer, size_t size, size_t *residual) iucv_message_receive() argument 1186 iucv_message_reject(struct iucv_path *path, struct iucv_message *msg) iucv_message_reject() argument 1224 iucv_message_reply(struct iucv_path *path, struct iucv_message *msg, u8 flags, void *reply, size_t size) iucv_message_reply() argument 1275 __iucv_message_send(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size) __iucv_message_send() argument 1329 iucv_message_send(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size) iucv_message_send() argument 1361 iucv_message_send2way(struct iucv_path *path, struct iucv_message *msg, u8 flags, u32 srccls, void *buffer, size_t size, void *answer, size_t asize, size_t *residual) iucv_message_send2way() argument 1428 struct iucv_path *path; iucv_path_pending() local 1488 struct iucv_path *path = iucv_path_table[ipc->ippathid]; iucv_path_complete() local 1518 struct iucv_path *path = iucv_path_table[ips->ippathid]; iucv_path_severed() local 1554 struct iucv_path *path = iucv_path_table[ipq->ippathid]; iucv_path_quiesced() local 1582 struct iucv_path *path = iucv_path_table[ipr->ippathid]; iucv_path_resumed() local 1613 struct iucv_path *path = iucv_path_table[imc->ippathid]; iucv_message_complete() local 1660 struct iucv_path *path = iucv_path_table[imp->ippathid]; iucv_message_pending() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/ |
H A D | rs_cpu_overdraw_canvas_listener.cpp | 60 Drawing::Path path; in DrawLine() local 61 path.MoveTo(startPt.GetX(), startPt.GetY()); in DrawLine() 62 path.LineTo(endPt.GetX(), endPt.GetY()); in DrawLine() 63 AppendRegion(path); in DrawLine() 68 Drawing::Path path; in DrawRect() local 69 path.AddRect(rect); in DrawRect() 70 AppendRegion(path); in DrawRect() 75 Drawing::Path path; in DrawRoundRect() local 76 path.AddRoundRect(roundRect); in DrawRoundRect() 77 AppendRegion(path); in DrawRoundRect() 82 Drawing::Path path; DrawNestedRoundRect() local 91 Drawing::Path path; DrawArc() local 99 Drawing::Path path; DrawPie() local 106 Drawing::Path path; DrawOval() local 113 Drawing::Path path; DrawCircle() local 118 DrawPath(const Drawing::Path& path) DrawPath() argument 129 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 136 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 194 AppendRegion(Drawing::Path& path) AppendRegion() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | d_path.c | 27 * With RCU path tracing, it may race with d_move(). Use READ_ONCE() to 59 * prepend_path - Prepend path string to a buffer 60 * @path: the dentry/vfsmount to report 75 static int prepend_path(const struct path *path, in prepend_path() argument 76 const struct path *root, in prepend_path() 96 dentry = path->dentry; in prepend_path() 97 vfsmnt = path->mnt; in prepend_path() 165 * __d_path - return the path of a dentry 166 * @path 180 __d_path(const struct path *path, const struct path *root, char *buf, int buflen) __d_path() argument 197 d_absolute_path(const struct path *path, char *buf, int buflen) d_absolute_path() argument 217 path_with_deleted(const struct path *path, const struct path *root, char **buf, int *buflen) path_with_deleted() argument 262 d_path(const struct path *path, char *buf, int buflen) d_path() argument [all...] |
/third_party/ltp/lib/ |
H A D | safe_file_ops.c | 70 const char *path, const char *fmt, ...) in file_scanf() 76 f = fopen(path, "r"); in file_scanf() 80 path); in file_scanf() 92 "The FILE '%s' ended prematurely", path); in file_scanf() 99 exp_convs, ret, path); in file_scanf() 105 path); in file_scanf() 114 path); in file_scanf() 122 const char *path, const char *fmt, ...) in safe_file_scanf() 128 f = fopen(path, "r"); in safe_file_scanf() 132 "Failed to open FILE '%s' for reading", path); in safe_file_scanf() 69 file_scanf(const char *file, const int lineno, const char *path, const char *fmt, ...) file_scanf() argument 120 safe_file_scanf(const char *file, const int lineno, void (*cleanup_fn) (void), const char *path, const char *fmt, ...) safe_file_scanf() argument 168 file_lines_scanf(const char *file, const int lineno, void (*cleanup_fn)(void), int strict, const char *path, const char *fmt, ...) file_lines_scanf() argument 212 file_printf(const char *file, const int lineno, const char *path, const char *fmt, ...) file_printf() argument 253 safe_file_vprintf(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *fmt, va_list va) safe_file_vprintf() argument 280 safe_file_printf(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *fmt, ...) safe_file_printf() argument 290 safe_try_file_printf(const char *file, const int lineno, void (*cleanup_fn)(void), const char *path, const char *fmt, ...) safe_try_file_printf() argument [all...] |
/test/testfwk/developer_test/local_coverage/code_coverage/ |
H A D | multiprocess_code_coverage.py | 46 sys.localcoverage_path = os.path.join(current_path, "..") 47 sys.path.insert(0, sys.localcoverage_path) 67 coverage_log_path = os.path.join( 80 subsystem_config_filepath = os.path.join(CODEPATH, SYSTEM_JSON) 81 if os.path.exists(subsystem_config_filepath): 92 subsystem_path = value.get('path') 95 for path in subsystem_path: 96 subsystem_rootpath.append(os.path.join(CODEPATH, path)) 110 if os.path [all...] |
/third_party/ltp/testcases/kernel/security/prot_hsymlinks/ |
H A D | prot_hsymlinks.c | 73 char path[MAX_PATH]; member 89 char path[MAX_PATH]; member 102 char path[MAX_PATH]; member 132 /* full length of the test tmpdir path in /tmp */ 159 static void create_link_path(char *buffer, int size, const char *path); 177 static void ufiles_add(int usr, char *path, int type); 334 static void create_sub_dir(const char *path, in create_sub_dir() argument 337 snprintf(bdir->path, MAX_PATH, "%s/tmp_%s", in create_sub_dir() 338 path, users[bdir->owner].name); in create_sub_dir() 339 SAFE_MKDIR(cleanup, bdir->path, mod in create_sub_dir() 380 char path[MAX_PATH]; init_files_dirs() local 406 ufiles_add(int usr, char *path, int type) ufiles_add() argument 426 create_link_path(char *buffer, int size, const char *path) create_link_path() argument [all...] |
/third_party/python/Lib/unittest/ |
H A D | loader.py | 60 def _jython_aware_splitext(path): 61 if path.lower().endswith('$py.class'): 62 return path[:-9] 63 return os.path.splitext(path)[0] 199 # static methods follow a different path 278 top_level_dir = os.path.abspath(top_level_dir) 280 if not top_level_dir in sys.path: 283 # in sys.path to minimise likelihood of conflicts between installed 285 sys.path [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | test.c | 846 struct tb_path *path; in tb_test_path_not_connected() local 856 path = tb_path_alloc(NULL, down, 8, up, 8, 0, "PCIe Down"); in tb_test_path_not_connected() 857 KUNIT_ASSERT_NULL(test, path); in tb_test_path_not_connected() 858 path = tb_path_alloc(NULL, down, 8, up, 8, 1, "PCIe Down"); in tb_test_path_not_connected() 859 KUNIT_ASSERT_NULL(test, path); in tb_test_path_not_connected() 873 * PCIe path from host to device using lane 0. in tb_test_path_not_bonded_lane0() 898 struct tb_path *path; in tb_test_path_not_bonded_lane0() local 907 path = tb_path_alloc(NULL, down, 8, up, 8, 0, "PCIe Down"); in tb_test_path_not_bonded_lane0() 908 KUNIT_ASSERT_NOT_NULL(test, path); in tb_test_path_not_bonded_lane0() 909 KUNIT_ASSERT_EQ(test, path in tb_test_path_not_bonded_lane0() 960 struct tb_path *path; tb_test_path_not_bonded_lane1() local 1038 struct tb_path *path; tb_test_path_not_bonded_lane1_chain() local 1118 struct tb_path *path; tb_test_path_not_bonded_lane1_chain_reverse() local 1209 struct tb_path *path; tb_test_path_mixed_chain() local 1301 struct tb_path *path; tb_test_path_mixed_chain_reverse() local 2028 struct tb_path *path; tb_test_credit_alloc_legacy_not_bonded() local 2061 struct tb_path *path; tb_test_credit_alloc_legacy_bonded() local 2094 struct tb_path *path; tb_test_credit_alloc_pcie() local 2127 struct tb_path *path; tb_test_credit_alloc_without_dp() local 2177 struct tb_path *path; tb_test_credit_alloc_dp() local 2221 struct tb_path *path; tb_test_credit_alloc_usb3() local 2254 struct tb_path *path; tb_test_credit_alloc_dma() local 2290 struct tb_path *path; tb_test_credit_alloc_dma_multiple() local 2387 struct tb_path *path; TB_TEST_PCIE_TUNNEL() local 2417 struct tb_path *path; TB_TEST_DP_TUNNEL1() local 2454 struct tb_path *path; TB_TEST_DP_TUNNEL2() local 2491 struct tb_path *path; TB_TEST_USB3_TUNNEL() local 2521 struct tb_path *path; TB_TEST_DMA_TUNNEL1() local 2551 struct tb_path *path; TB_TEST_DMA_TUNNEL2() local [all...] |
/test/xts/hats/kernel/syscalls/ns/setns/ |
H A D | SetnsApiTest.cpp | 66 char path[PATH_MAX_SIZE] = { 0 }; in HWTEST_F() local 70 int ret = sprintf_s(path, PATH_MAX_SIZE - 1, "/proc/%d/ns/ipc", pid); in HWTEST_F() 72 int fd = open(path, O_RDONLY); in HWTEST_F() 80 memset_s(path, PATH_MAX_SIZE, 0, sizeof(path)); in HWTEST_F() 81 ret = sprintf_s(path, PATH_MAX_SIZE - 1, "/proc/%d/ns/net", pid); in HWTEST_F() 83 fd = open(path, O_RDONLY); in HWTEST_F() 91 memset_s(path, PATH_MAX_SIZE, 0, sizeof(path)); in HWTEST_F() 92 ret = sprintf_s(path, PATH_MAX_SIZ in HWTEST_F() [all...] |
/third_party/mesa3d/ohos/ |
H A D | build_mesa3d.py | 26 import os.path namespace 33 # input /path/to/openharmony/out/rk3568 37 mesa3d_install_dir = os.path.join(out_dir, 'packages', 'phone', 'mesa3d') 38 product = os.path.basename(out_dir) 39 project_dir = os.path.dirname(os.path.dirname(out_dir)) 40 project_dir = os.path.abspath(project_dir) 41 mesa3d_dir = os.path.dirname(os.path.dirname(__file__)) 42 mesa3d_dir = os.path [all...] |
/third_party/mesa3d/bin/ |
H A D | install_megadrivers.py | 36 if os.path.isabs(args.libdir): 39 to = os.path.join(destdir, args.libdir[1:]) 43 to = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.libdir) 45 master = os.path.join(to, os.path.basename(args.megadriver)) 47 if not os.path.exists(to): 48 if os.path.lexists(to): 53 abs_driver = os.path.join(to, driver) 55 if os.path.lexists(abs_driver): 64 name, ext = os.path [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | update_chrome_angle.py | 21 script_dir = os.path.dirname(sys.argv[0]) 22 os.chdir(os.path.join(script_dir, "..")) 29 # Default Canary installation path. 30 chrome_folder = os.path.join(os.environ['LOCALAPPDATA'], 'Google', 'Chrome SxS', 'Application') 46 for path in source_paths: 47 binary_path = os.path.join(path, binary_name) 48 if os.path.exists(binary_path): 49 binary_mtime = os.path.getmtime(binary_path) 51 newest_folder = path [all...] |
/third_party/vk-gl-cts/external/openglcts/scripts/ |
H A D | verify_kc_cts_rev.py | 29 sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..")) 32 sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")) 36 EXTERNAL_DIR = os.path.realpath(os.path.normpath(os.path.join(os.path [all...] |
/third_party/rust/crates/syn/tests/repo/ |
H A D | mod.rs | 12 use std::path::{Path, PathBuf}; 250 let mut path = entry.unwrap().into_path(); in for_each_rust_file() variables 251 if path.extension() == Some(OsStr::new("stderr")) { in for_each_rust_file() 253 rs_files.remove(&path.with_extension("rs")); in for_each_rust_file() 254 path = path.with_extension(""); in for_each_rust_file() 255 if path.extension().is_none() { in for_each_rust_file() 267 let path = entry.path(); in base_dir_filter() 269 let mut path_string = path in base_dir_filter() [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | ctree.c | 19 *root, struct btrfs_path *path, int level); 21 const struct btrfs_key *ins_key, struct btrfs_path *path, 29 static void del_ptr(struct btrfs_root *root, struct btrfs_path *path, 81 /* this also releases the path */ 91 * path release drops references on the extent buffers in the path 92 * and it drops any locks held by this path 1268 tree_mod_log_rewind(struct btrfs_fs_info *fs_info, struct btrfs_path *path, in tree_mod_log_rewind() argument 1284 btrfs_set_path_blocking(path); in tree_mod_log_rewind() 1846 struct btrfs_path *path, in in balance_level() 1844 balance_level(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) balance_level() argument 2075 push_nodes_for_insert(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) push_nodes_for_insert() argument 2217 reada_for_search(struct btrfs_fs_info *fs_info, struct btrfs_path *path, int level, int slot, u64 objectid) reada_for_search() argument 2280 reada_for_balance(struct btrfs_fs_info *fs_info, struct btrfs_path *path, int level) reada_for_balance() argument 2340 unlock_up(struct btrfs_path *path, int level, int lowest_unlock, int min_write_lock_level, int *write_lock_level) unlock_up() argument 2551 btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, u64 iobjectid, u64 ioff, u8 key_type, struct btrfs_key *found_key) btrfs_find_item() argument 3145 fixup_low_keys(struct btrfs_path *path, struct btrfs_disk_key *key, int level) fixup_low_keys() argument 3174 btrfs_set_item_key_safe(struct btrfs_fs_info *fs_info, struct btrfs_path *path, const struct btrfs_key *new_key) btrfs_set_item_key_safe() argument 3430 insert_new_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) insert_new_root() argument 3492 insert_ptr(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_disk_key *key, u64 bytenr, int slot, int level) insert_ptr() argument 3540 split_node(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level) split_node() argument 3675 __push_leaf_right(struct btrfs_path *path, int data_size, int empty, struct extent_buffer *right, int free_space, u32 left_nritems, u32 min_slot) __push_leaf_right() argument 3823 push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int min_data_size, int data_size, int empty, u32 min_slot) push_leaf_right() argument 3911 __push_leaf_left(struct btrfs_path *path, int data_size, int empty, struct extent_buffer *left, int free_space, u32 right_nritems, u32 max_slot) __push_leaf_left() argument 4063 push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int min_data_size, int data_size, int empty, u32 max_slot) push_leaf_left() argument 4138 copy_for_split(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct extent_buffer *l, struct extent_buffer *right, int slot, int mid, int nritems) copy_for_split() argument 4207 push_for_double_split(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int data_size) push_for_double_split() argument 4267 split_leaf(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *ins_key, struct btrfs_path *path, int data_size, int extend) split_leaf() argument 4437 setup_leaf_for_split(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int ins_len) setup_leaf_for_split() argument 4504 split_item(struct btrfs_path *path, const struct btrfs_key *new_key, unsigned long split_offset) split_item() argument 4588 btrfs_split_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *new_key, unsigned long split_offset) btrfs_split_item() argument 4612 btrfs_duplicate_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *new_key) btrfs_duplicate_item() argument 4644 btrfs_truncate_item(struct btrfs_path *path, u32 new_size, int from_end) btrfs_truncate_item() argument 4740 btrfs_extend_item(struct btrfs_path *path, u32 data_size) btrfs_extend_item() argument 4813 setup_items_for_insert(struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *cpu_key, u32 *data_size, int nr) setup_items_for_insert() argument 4910 btrfs_insert_empty_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct btrfs_key *cpu_key, u32 *data_size, int nr) btrfs_insert_empty_items() argument 4948 struct btrfs_path *path; btrfs_insert_item() local 4972 del_ptr(struct btrfs_root *root, struct btrfs_path *path, int level, int slot) del_ptr() argument 5022 btrfs_del_leaf(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct extent_buffer *leaf) btrfs_del_leaf() argument 5046 btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int slot, int nr) btrfs_del_items() argument 5164 btrfs_prev_leaf(struct btrfs_root *root, struct btrfs_path *path) btrfs_prev_leaf() argument 5255 btrfs_search_forward(struct btrfs_root *root, struct btrfs_key *min_key, struct btrfs_path *path, u64 min_trans) btrfs_search_forward() argument 5372 btrfs_find_next_key(struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *key, int level, u64 min_trans) btrfs_find_next_key() argument 5442 btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path) btrfs_next_leaf() argument 5447 btrfs_next_old_leaf(struct btrfs_root *root, struct btrfs_path *path, u64 time_seq) btrfs_next_old_leaf() argument 5626 btrfs_previous_item(struct btrfs_root *root, struct btrfs_path *path, u64 min_objectid, int type) btrfs_previous_item() argument 5669 btrfs_previous_extent_item(struct btrfs_root *root, struct btrfs_path *path, u64 min_objectid) btrfs_previous_extent_item() argument [all...] |
/base/update/updater/interfaces/kits/misc_info/ |
H A D | misc_info.cpp | 24 bool WriteUpdaterMessage(const std::string &path, const UpdateMessage &boot)
in WriteUpdaterMessage() argument 26 char *realPath = realpath(path.c_str(), NULL);
in WriteUpdaterMessage() 56 bool ReadUpdaterMessage(const std::string &path, UpdateMessage &boot)
in ReadUpdaterMessage() argument 58 char *realPath = realpath(path.c_str(), NULL);
in ReadUpdaterMessage() 92 auto path = GetBlockDeviceByMountPoint(MISC_PATH);
in WriteUpdaterMiscMsg() local 93 if (path.empty()) {
in WriteUpdaterMiscMsg() 95 path = MISC_FILE;
in WriteUpdaterMiscMsg() 97 LOG(INFO) << "WriteUpdaterMiscMsg::misc path : " << path;
in WriteUpdaterMiscMsg() 98 return WriteUpdaterMessage(path, boo in WriteUpdaterMiscMsg() 103 auto path = GetBlockDeviceByMountPoint(MISC_PATH); ReadUpdaterMiscMsg() local 113 auto path = GetBlockDeviceByMountPoint(MISC_PATH); WriteUpdaterParaMisc() local 155 auto path = GetBlockDeviceByMountPoint(MISC_PATH); ReadUpdaterParaMisc() local [all...] |
/kernel/linux/linux-5.10/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 44 output_help = ('path to the output command database (defaults to ' + 65 os.path.abspath(args.directory), 80 The path to a .cmd file. 88 yield os.path.join(dirpath, filename) 91 def to_cmdfile(path): 92 """Return the path of .cmd file used for the given build artifact 95 Path: file path 98 The path to .cmd file 100 dir, base = os.path.split(path) [all...] |
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | cryptlib.h | 233 static ossl_inline int ossl_ends_with_dirsep(const char *path) in ossl_ends_with_dirsep() argument 235 if (*path != '\0') in ossl_ends_with_dirsep() 236 path += strlen(path) - 1; in ossl_ends_with_dirsep() 238 if (*path == ']' || *path == '>' || *path == ':') in ossl_ends_with_dirsep() 241 if (*path == '\\') in ossl_ends_with_dirsep() 244 return *path == '/'; in ossl_ends_with_dirsep() 247 static ossl_inline int ossl_is_absolute_path(const char *path) in ossl_is_absolute_path() argument [all...] |
/third_party/openssl/include/internal/ |
H A D | cryptlib.h | 233 static ossl_inline int ossl_ends_with_dirsep(const char *path) in ossl_ends_with_dirsep() argument 235 if (*path != '\0') in ossl_ends_with_dirsep() 236 path += strlen(path) - 1; in ossl_ends_with_dirsep() 238 if (*path == ']' || *path == '>' || *path == ':') in ossl_ends_with_dirsep() 241 if (*path == '\\') in ossl_ends_with_dirsep() 244 return *path == '/'; in ossl_ends_with_dirsep() 247 static ossl_inline int ossl_is_absolute_path(const char *path) in ossl_is_absolute_path() argument [all...] |
/third_party/skia/infra/bots/assets/skp/ |
H A D | create.py | 21 FILE_DIR = os.path.dirname(os.path.abspath(__file__)) 22 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 23 sys.path.insert(0, INFRA_BOTS_DIR) 32 SKIA_TOOLS = os.path.join(INFRA_BOTS_DIR, os.pardir, os.pardir, 'tools') 57 original_file_name = os.path.splitext(f)[0] 61 os.rename(os.path.join('skps', f), 62 os.path.join('skps', new_file_name + '.skp')) 83 browser_executable = os.path [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/ |
H A D | draw_path_test.cpp | 25 Drawing::Path path; in OnTestFunctionCpu() local 26 path.MoveTo(0, 0); // from (0, 0) in OnTestFunctionCpu() 27 path.LineTo(300, 300); // to (300, 300) in OnTestFunctionCpu() 28 canvas->DrawPath(path); in OnTestFunctionCpu() 33 Drawing::Path path; in OnTestFunctionGpuUpScreen() local 34 path.MoveTo(200, 200); // from (200, 200) in OnTestFunctionGpuUpScreen() 35 path.LineTo(500, 500); // to (500, 500) in OnTestFunctionGpuUpScreen() 36 canvas->DrawPath(path); in OnTestFunctionGpuUpScreen() 44 Drawing::Path path; in OnTestPerformance() local 45 path in OnTestPerformance() [all...] |
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
H A D | cert_manager_file_operator.h | 33 uint32_t CmFileRead(const char *path, const char *fileName, uint32_t offset, uint8_t *buf, uint32_t len); 35 int32_t CmFileWrite(const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len); 38 const char *path, const char *fileName, uint32_t offset, const uint8_t *buf, uint32_t len); 40 int32_t CmFileRemove(const char *path, const char *fileName); 42 uint32_t CmFileSize(const char *path, const char *fileName); 44 int32_t CmIsFileExist(const char *path, const char *fileName); 46 int32_t CmMakeDir(const char *path); 51 * @param[in] path Directory absolute path 58 int32_t CmUserBakupMakeDir(const char *path, cons [all...] |
/third_party/node/tools/ |
H A D | gyp_node.py | 6 script_dir = os.path.dirname(__file__) 7 node_root = os.path.normpath(os.path.join(script_dir, os.pardir)) 9 sys.path.insert(0, os.path.join(node_root, 'tools', 'gyp', 'pylib')) 14 output_dir = os.path.join(os.path.abspath(node_root), 'out') 18 # On msvs it will crash if it gets an absolute path. 19 # On Mac/make it will crash if it doesn't get an absolute path. 20 a_path = node_root if sys.platform == 'win32' else os.path [all...] |