/third_party/rust/crates/serde/serde_derive/src/ |
H A D | ser.rs | 196 let path = match transparent_field.attrs.serialize_with() { in serialize_transparent() 197 Some(path) => quote!(#path), in serialize_transparent() 205 #path(&#self_var.#member, __serializer) in serialize_transparent() 241 if let Some(path) = field.attrs.serialize_with() { in serialize_newtype_struct() 242 field_expr = wrap_serialize_field_with(params, field.ty, path, &field_expr); in serialize_newtype_struct() 273 Some(path) => { in serialize_tuple_struct() 279 quote!(if #path(#field_expr) { 0 } else { 1 }) in serialize_tuple_struct() 337 Some(path) => { in serialize_struct_as_struct() 339 quote!(if #path(#field_exp in serialize_struct_as_struct() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuCommandLine.cpp | 255 << Option<VkLibraryPath> (DE_NULL, "deqp-vk-library-path", "Path to Vulkan library (e.g. loader library vulkan-1.dll)", "") in registerOptions() 469 static int getCurrentComponentLen (const char* path) in getCurrentComponentLen() argument 472 for (; path[ndx] != 0 && path[ndx] != '.'; ++ndx); in getCurrentComponentLen() 476 static const CaseTreeNode* findNode (const CaseTreeNode* root, const char* path) in findNode() argument 479 const char* curPath = path; in findNode() 697 static CaseTreeNode* parseCaseList (std::istream& in, const tcu::Archive& archive, const char* path = DE_NULL) in parseCaseList() 713 if (path) in parseCaseList() 770 // Match a single path component against a pattern component that may contain *-wildcards. 778 string::const_iterator path in matchWildcards() local 820 vector<string>::const_iterator path = pathStart; patternMatches() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUResourceBundle.java | 247 * Given a tree path and keyword, return a string enumeration of all possible values for that keyword. 293 * @param path The path to the required resource key 297 public ICUResourceBundle getWithFallback(String path) throws MissingResourceException { in getWithFallback() argument 301 ICUResourceBundle result = findResourceWithFallback(path, actualBundle, null); in getWithFallback() 307 path, getKey()); in getWithFallback() 311 throw new MissingResourceException("Encountered NO_INHERITANCE_MARKER", path, getKey()); in getWithFallback() 342 * @param path the path to the resource 345 public ICUResourceBundle findWithFallback(String path) { in findWithFallback() argument 348 findStringWithFallback(String path) findStringWithFallback() argument 353 getStringWithFallback(String path) getStringWithFallback() argument 371 getValueWithFallback(String path) getValueWithFallback() argument 391 getAllItemsWithFallbackNoFail(String path, UResource.Sink sink) getAllItemsWithFallbackNoFail() argument 406 getAllItemsWithFallback(String path, UResource.Sink sink) getAllItemsWithFallback() argument 444 getAllChildrenWithFallback(final String path, final UResource.Sink sink) getAllChildrenWithFallback() argument 933 findResourceWithFallback(String path, UResourceBundle actualBundle, UResourceBundle requested) findResourceWithFallback() argument 995 findStringWithFallback(String path, UResourceBundle actualBundle, UResourceBundle requested) findStringWithFallback() argument 1116 countPathKeys(String path) countPathKeys() argument 1137 getResPathKeys(String path, int num, String[] keys, int start) getResPathKeys() argument [all...] |
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
H A D | vhci_driver.c | 192 char path[PATH_MAX+1]; in read_record() local 202 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in read_record() 204 file = fopen(path, "r"); in read_record() 362 const char *path; in usbip_vhci_attach_device2() local 369 path = udev_device_get_syspath(vhci_driver->hc_device); in usbip_vhci_attach_device2() 371 path, attr_attach); in usbip_vhci_attach_device2() 372 dbg("attach attribute path: %s", attach_attr_path); in usbip_vhci_attach_device2() 404 const char *path; in usbip_vhci_detach_device() local 410 path = udev_device_get_syspath(vhci_driver->hc_device); in usbip_vhci_detach_device() 412 path, attr_detac in usbip_vhci_detach_device() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | fib.sh | 109 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 117 log_test "IPv4 error path - add" 131 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 138 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 141 log_test "IPv4 error path - replay" 146 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 227 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 235 log_test "IPv6 error path - add single" 252 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 261 log_test "IPv6 error path [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | smtdef.c | 165 int path ; in smt_init_mib() local 233 for (path = 0 ; path < NUMPATHS ; path++) { in smt_init_mib() 234 mib->a[path].fddiPATHIndex = INDEX_PATH + path ; in smt_init_mib() 236 mib->a[path].fddiPATHTVXLowerBound = in smt_init_mib() 238 mib->a[path].fddiPATHT_MaxLowerBound = in smt_init_mib() 240 mib->a[path].fddiPATHMaxT_Req = in smt_init_mib()
|
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H A D | help.c | 168 const char *path, in list_commands_in_dir() 172 DIR *dir = opendir(path); in list_commands_in_dir() 182 astrcatf(&buf, "%s/", path); in list_commands_in_dir() 219 char *paths, *path, *colon; in load_command_list() local 220 path = paths = strdup(env_path); in load_command_list() 222 if ((colon = strchr(path, ':'))) in load_command_list() 224 if (!exec_path || strcmp(path, exec_path)) in load_command_list() 225 list_commands_in_dir(other_cmds, path, prefix); in load_command_list() 229 path = colon + 1; in load_command_list() 167 list_commands_in_dir(struct cmdnames *cmds, const char *path, const char *prefix) list_commands_in_dir() argument
|
/kernel/linux/linux-5.10/kernel/ |
H A D | umh.c | 110 retval = kernel_execve(sub_info->path, in call_usermodehelper_exec_async() 335 * @path: path to usermode executable 356 struct subprocess_info *call_usermodehelper_setup(const char *path, char **argv, in call_usermodehelper_setup() argument 370 sub_info->path = CONFIG_STATIC_USERMODEHELPER_PATH; in call_usermodehelper_setup() 372 sub_info->path = path; in call_usermodehelper_setup() 407 if (!sub_info->path) { in call_usermodehelper_exec() 422 if (strlen(sub_info->path) == 0) in call_usermodehelper_exec() 461 * @path 472 call_usermodehelper(const char *path, char **argv, char **envp, int wait) call_usermodehelper() argument [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | alloc.h | 108 struct ocfs2_path *path, 265 * Structures which describe a path through a btree, and functions to 291 void ocfs2_reinit_path(struct ocfs2_path *path, int keep_root); 292 void ocfs2_free_path(struct ocfs2_path *path); 294 struct ocfs2_path *path, 296 struct ocfs2_path *ocfs2_new_path_from_path(struct ocfs2_path *path); 300 struct ocfs2_path *path, 304 struct ocfs2_path *path); 306 struct ocfs2_path *path, u32 *cpos); 308 struct ocfs2_path *path, u3 [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | firmware.c | 212 char *path; in intel_gvt_load_firmware() local 216 path = kmalloc(PATH_MAX, GFP_KERNEL); in intel_gvt_load_firmware() 217 if (!path) in intel_gvt_load_firmware() 222 kfree(path); in intel_gvt_load_firmware() 230 kfree(path); in intel_gvt_load_firmware() 237 sprintf(path, "%s/vid_0x%04x_did_0x%04x_rid_0x%02x.golden_hw_state", in intel_gvt_load_firmware() 241 gvt_dbg_core("request hw state firmware %s...\n", path); in intel_gvt_load_firmware() 243 ret = request_firmware(&fw, path, &gvt->gt->i915->drm.pdev->dev); in intel_gvt_load_firmware() 244 kfree(path); in intel_gvt_load_firmware()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | alloc.h | 106 struct ocfs2_path *path, 263 * Structures which describe a path through a btree, and functions to 289 void ocfs2_reinit_path(struct ocfs2_path *path, int keep_root); 290 void ocfs2_free_path(struct ocfs2_path *path); 292 struct ocfs2_path *path, 294 struct ocfs2_path *ocfs2_new_path_from_path(struct ocfs2_path *path); 298 struct ocfs2_path *path, 302 struct ocfs2_path *path); 304 struct ocfs2_path *path, u32 *cpos); 306 struct ocfs2_path *path, u3 [all...] |
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | smtdef.c | 161 int path ; in smt_init_mib() local 229 for (path = 0 ; path < NUMPATHS ; path++) { in smt_init_mib() 230 mib->a[path].fddiPATHIndex = INDEX_PATH + path ; in smt_init_mib() 232 mib->a[path].fddiPATHTVXLowerBound = in smt_init_mib() 234 mib->a[path].fddiPATHT_MaxLowerBound = in smt_init_mib() 236 mib->a[path].fddiPATHMaxT_Req = in smt_init_mib()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | firmware.c | 205 char *path; in intel_gvt_load_firmware() local 209 path = kmalloc(PATH_MAX, GFP_KERNEL); in intel_gvt_load_firmware() 210 if (!path) in intel_gvt_load_firmware() 215 kfree(path); in intel_gvt_load_firmware() 223 kfree(path); in intel_gvt_load_firmware() 230 sprintf(path, "%s/vid_0x%04x_did_0x%04x_rid_0x%02x.golden_hw_state", in intel_gvt_load_firmware() 234 gvt_dbg_core("request hw state firmware %s...\n", path); in intel_gvt_load_firmware() 236 ret = request_firmware(&fw, path, gvt->gt->i915->drm.dev); in intel_gvt_load_firmware() 237 kfree(path); in intel_gvt_load_firmware()
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | help.c | 180 const char *path, in list_commands_in_dir() 184 DIR *dir = opendir(path); in list_commands_in_dir() 194 astrcatf(&buf, "%s/", path); in list_commands_in_dir() 231 char *paths, *path, *colon; in load_command_list() local 232 path = paths = strdup(env_path); in load_command_list() 234 if ((colon = strchr(path, ':'))) in load_command_list() 236 if (!exec_path || strcmp(path, exec_path)) in load_command_list() 237 list_commands_in_dir(other_cmds, path, prefix); in load_command_list() 241 path = colon + 1; in load_command_list() 179 list_commands_in_dir(struct cmdnames *cmds, const char *path, const char *prefix) list_commands_in_dir() argument
|
/kernel/linux/linux-6.6/tools/usb/usbip/libsrc/ |
H A D | vhci_driver.c | 192 char path[PATH_MAX+1]; in read_record() local 202 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in read_record() 204 file = fopen(path, "r"); in read_record() 362 const char *path; in usbip_vhci_attach_device2() local 369 path = udev_device_get_syspath(vhci_driver->hc_device); in usbip_vhci_attach_device2() 371 path, attr_attach); in usbip_vhci_attach_device2() 372 dbg("attach attribute path: %s", attach_attr_path); in usbip_vhci_attach_device2() 404 const char *path; in usbip_vhci_detach_device() local 410 path = udev_device_get_syspath(vhci_driver->hc_device); in usbip_vhci_detach_device() 412 path, attr_detac in usbip_vhci_detach_device() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | fib.sh | 114 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 122 log_test "IPv4 error path - add" 136 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 143 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10 146 log_test "IPv4 error path - replay" 151 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100 253 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 261 log_test "IPv6 error path - add single" 278 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10 287 log_test "IPv6 error path [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | umh.c | 110 retval = kernel_execve(sub_info->path, in call_usermodehelper_exec_async() 335 * @path: path to usermode executable 356 struct subprocess_info *call_usermodehelper_setup(const char *path, char **argv, in call_usermodehelper_setup() argument 370 sub_info->path = CONFIG_STATIC_USERMODEHELPER_PATH; in call_usermodehelper_setup() 372 sub_info->path = path; in call_usermodehelper_setup() 408 if (!sub_info->path) { in call_usermodehelper_exec() 423 if (strlen(sub_info->path) == 0) in call_usermodehelper_exec() 472 * @path 483 call_usermodehelper(const char *path, char **argv, char **envp, int wait) call_usermodehelper() argument [all...] |
/third_party/libuv/src/ |
H A D | fs-poll.c | 48 char path[1]; /* variable length */ member 68 const char* path, in uv_fs_poll_start() 79 len = strlen(path); in uv_fs_poll_start() 90 memcpy(ctx->path, path, len + 1); in uv_fs_poll_start() 99 err = uv_fs_stat(loop, &ctx->fs_req, ctx->path, poll_cb); in uv_fs_poll_start() 150 required_len = strlen(ctx->path); in uv_fs_poll_getpath() 156 memcpy(buffer, ctx->path, required_len); in uv_fs_poll_getpath() 180 if (uv_fs_stat(ctx->loop, &ctx->fs_req, ctx->path, poll_cb)) in timer_cb() 66 uv_fs_poll_start(uv_fs_poll_t* handle, uv_fs_poll_cb cb, const char* path, unsigned int interval) uv_fs_poll_start() argument
|
/third_party/jerryscript/tools/ |
H A D | srcmerger.py | 67 normalized_path = repr(os.path.normpath(filename))[1:-1] 77 if os.path.basename(filename) in self._processed: 160 self._processed.append(os.path.basename(filename)) 181 for path, _, files in os.walk(base_dir): 184 yield os.path.join(path, name) 194 :returns dictionary: a dictionary file base name -> file path mapping 198 name = os.path.basename(fname) 225 input_name = os.path.basename(input_file) 240 help='', default=os.path [all...] |
/third_party/littlefs/ |
H A D | lfs.h | 489 int lfs_remove(lfs_t *lfs, const char *path); 506 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info); 520 lfs_ssize_t lfs_getattr(lfs_t *lfs, const char *path, 531 int lfs_setattr(lfs_t *lfs, const char *path, 541 int lfs_removeattr(lfs_t *lfs, const char *path, uint8_t type); 555 const char *path, int flags); 572 const char *path, int flags, 646 int lfs_mkdir(lfs_t *lfs, const char *path); 653 int lfs_dir_open(lfs_t *lfs, lfs_dir_t *dir, const char *path); 718 // the expensive block allocation scan to a less time-critical code path [all...] |
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/ |
H A D | cgroup_xattr.c | 117 * @path: start directory 120 static int cgrp_files_walking(const char *path, 387 static int cgrp_files_walking(const char *path, in cgrp_files_walking() argument 392 DIR *dir = opendir(path); in cgrp_files_walking() 400 SAFE_CHDIR(cleanup, path); in cgrp_files_walking() 402 tst_resm(TINFO, "In dir %s", path); in cgrp_files_walking() 415 tst_resm(TINFO, "In dir %s", path); in cgrp_files_walking() 423 "Error while reading dir '%s'", path); in cgrp_files_walking() 426 tst_brkm(TWARN, cleanup, "Failed to close dir '%s'", path); in cgrp_files_walking() 430 if (strcmp(path, " in cgrp_files_walking() [all...] |
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | command.py | 19 BASE_DIR = os.path.normpath( 20 os.path.join(os.path.dirname(os.path.abspath(__file__)), '..' , '..', '..')) 269 self.shell_name = os.path.basename(shell) 270 self.shell_dir = os.path.dirname(shell) 299 abs_dir = os.path.dirname(abs_file) 300 file_name = os.path.basename(abs_file) 301 rel_dir = os.path.relpath(abs_dir, BASE_DIR)
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
H A D | random_gen.py | 38 def createFile(self,path,n): 41 u = subprocess.getoutput('touch ' + path + '/'+ fName) 89 def getFileList(self,path): 90 u = subprocess.getoutput('ls ' + path) 209 def randomOp(self,path): 215 u = subprocess.getoutput('setfacl -m u:' + user + ':' + mode + " " + path + "/" + file) 219 u = subprocess.getoutput('setfacl -m g:' + group + ':' + mode + " " + path + "/" + file) 223 u = subprocess.getoutput('setfacl -x u:' + user + " " + path + "/" + file) 227 u = subprocess.getoutput('setfacl -x g:' + group + " " + path + "/" + file) 232 print 'setfacl -x g:' + group + " " + path [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | provider_conf.c | 207 const char *path = NULL; in provider_conf_load() local 241 path = confvalue; in provider_conf_load() 278 if (path != NULL) in provider_conf_load() 279 ossl_provider_set_module_path(prov, path); in provider_conf_load() 323 if (ok && path != NULL) { in provider_conf_load() 324 entry.path = OPENSSL_strdup(path); in provider_conf_load() 325 if (entry.path == NULL) { in provider_conf_load() 332 if (ok >= 1 && (entry.path != NULL || entry.parameters != NULL)) { in provider_conf_load()
|
/third_party/node/deps/uv/src/ |
H A D | fs-poll.c | 48 char path[1]; /* variable length */ member 68 const char* path, in uv_fs_poll_start() 79 len = strlen(path); in uv_fs_poll_start() 90 memcpy(ctx->path, path, len + 1); in uv_fs_poll_start() 99 err = uv_fs_stat(loop, &ctx->fs_req, ctx->path, poll_cb); in uv_fs_poll_start() 150 required_len = strlen(ctx->path); in uv_fs_poll_getpath() 156 memcpy(buffer, ctx->path, required_len); in uv_fs_poll_getpath() 180 if (uv_fs_stat(ctx->loop, &ctx->fs_req, ctx->path, poll_cb)) in timer_cb() 66 uv_fs_poll_start(uv_fs_poll_t* handle, uv_fs_poll_cb cb, const char* path, unsigned int interval) uv_fs_poll_start() argument
|