/kernel/linux/linux-5.10/drivers/net/ |
H A D | xen-netfront.c | 2118 char *path; in write_queue_xenstore_keys() local 2124 path = kzalloc(pathsize, GFP_KERNEL); in write_queue_xenstore_keys() 2125 if (!path) { in write_queue_xenstore_keys() 2130 snprintf(path, pathsize, "%s/queue-%u", in write_queue_xenstore_keys() 2133 path = (char *)dev->nodename; in write_queue_xenstore_keys() 2137 err = xenbus_printf(*xbt, path, "tx-ring-ref", "%u", in write_queue_xenstore_keys() 2144 err = xenbus_printf(*xbt, path, "rx-ring-ref", "%u", in write_queue_xenstore_keys() 2156 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2164 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2171 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | xen-netfront.c | 2085 char *path; in write_queue_xenstore_keys() local 2091 path = kzalloc(pathsize, GFP_KERNEL); in write_queue_xenstore_keys() 2092 if (!path) { in write_queue_xenstore_keys() 2097 snprintf(path, pathsize, "%s/queue-%u", in write_queue_xenstore_keys() 2100 path = (char *)dev->nodename; in write_queue_xenstore_keys() 2104 err = xenbus_printf(*xbt, path, "tx-ring-ref", "%u", in write_queue_xenstore_keys() 2111 err = xenbus_printf(*xbt, path, "rx-ring-ref", "%u", in write_queue_xenstore_keys() 2123 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2131 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2138 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 1034 kfree(uc->guc_fw.file_selected.path); in cleanup_uc() 1035 kfree(uc->huc_fw.file_selected.path); in cleanup_uc() 1036 kfree(uc->guc_fw.file_wanted.path); in cleanup_uc() 1037 kfree(uc->huc_fw.file_wanted.path); in cleanup_uc() 1730 error_uc->guc_fw.file_selected.path = kstrdup(uc->guc.fw.file_selected.path, ALLOW_FAIL); in gt_record_uc() 1731 error_uc->huc_fw.file_selected.path = kstrdup(uc->huc.fw.file_selected.path, ALLOW_FAIL); in gt_record_uc() 1732 error_uc->guc_fw.file_wanted.path = kstrdup(uc->guc.fw.file_wanted.path, ALLOW_FAI in gt_record_uc() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | parse-events.c | 1741 TEST_ASSERT_VAL("Can't get sys path", sys_path); in count_tracepoints() 2516 char path[PATH_MAX]; in test__pmu_events() local 2521 snprintf(path, PATH_MAX, "%s/bus/event_source/devices/%s/events/", in test__pmu_events() 2524 err = stat(path, &st); in test__pmu_events() 2526 pr_debug("skipping PMU %s events tests: %s\n", pmu->name, path); in test__pmu_events() 2530 dir = opendir(path); in test__pmu_events() 2532 pr_debug("can't open pmu event dir: %s\n", path); in test__pmu_events() 2596 char path[PATH_MAX]; in test_alias() local 2606 snprintf(path, PATH_MAX, "%s/bus/event_source/devices/", sysfs); in test_alias() 2607 dir = opendir(path); in test_alias() [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontHost_win.cpp | 570 bool generatePath(SkGlyphID glyph, SkPath* path) override; 1338 SkGDIGeometrySink(SkPath* path) : fPath(path) {} in SkGDIGeometrySink() argument 1341 /** It is possible for the hinted and unhinted versions of the same path to have 1534 bool SkScalerContext_GDI::generatePath(SkGlyphID glyph, SkPath* path) { in generatePath() argument 1535 SkASSERT(path); in generatePath() 1538 path->reset(); in generatePath() 1560 SkGDIGeometrySink sink(path); in generatePath() 1571 SkGDIGeometrySink sinkXBufYIter(path); in generatePath() 1575 // Both path an in generatePath() [all...] |
/third_party/rust/crates/nix/test/sys/ |
H A D | test_socket.rs | 14 use std::path::Path; 171 let path = "/foo/bar"; in test_path_to_sock_addr() 172 let actual = Path::new(path); in test_path_to_sock_addr() 176 slice::from_raw_parts(path.as_ptr() as *const c_char, path.len()) in test_path_to_sock_addr() 180 assert_eq!(addr.path(), Some(actual)); in test_path_to_sock_addr() 191 let path = "/foo/bar"; in test_addr_equality_path() 192 let actual = Path::new(path); in test_addr_equality_path() 241 assert_eq!(addr.path(), None); in test_abstract_uds_addr() 257 assert!(addr.path() in test_unnamed_uds_addr() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | hlsenc.c | 566 const char *path, const char *proto) in hls_delete_file() 574 ret = avf->io_open(avf, &out, path, AVIO_FLAG_WRITE, &opt); in hls_delete_file() 579 } else if (unlink(path) < 0) { in hls_delete_file() 581 path, strerror(errno)); in hls_delete_file() 594 AVBPrint path; in hls_delete_old_segments() local 602 av_bprint_init(&path, 0, AV_BPRINT_SIZE_UNLIMITED); in hls_delete_old_segments() 654 av_bprintf(&path, "%s%c", dirname, SEPARATOR); in hls_delete_old_segments() 655 av_bprintf(&path, "%s", segment->filename); in hls_delete_old_segments() 657 if (!av_bprint_is_complete(&path)) { in hls_delete_old_segments() 663 if (ret = hls_delete_file(hls, vs->avf, path in hls_delete_old_segments() 565 hls_delete_file(HLSContext *hls, AVFormatContext *avf, const char *path, const char *proto) hls_delete_file() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers.c | 173 * @path: Pointer to a dbus object path representing an interface 177 struct wpa_global *global, const char *path) in get_iface_by_dbus_path() 183 os_strcmp(wpa_s->dbus_new_path, path) == 0) in get_iface_by_dbus_path() 689 * Returns: The object path of the new interface object, 772 const char *path = wpa_s->dbus_new_path; in wpas_dbus_handler_create_interface() local 776 &path, DBUS_TYPE_INVALID); in wpas_dbus_handler_create_interface() 815 char *path; in wpas_dbus_handler_remove_interface() local 818 dbus_message_get_args(message, NULL, DBUS_TYPE_OBJECT_PATH, &path, in wpas_dbus_handler_remove_interface() 821 wpa_s = get_iface_by_dbus_path(global, path); in wpas_dbus_handler_remove_interface() 176 get_iface_by_dbus_path( struct wpa_global *global, const char *path) get_iface_by_dbus_path() argument 848 const char *path; wpas_dbus_handler_get_interface() local 1640 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; wpas_dbus_handler_add_cred() local 1909 char path_buf[WPAS_DBUS_OBJECT_PATH_MAX], *path = path_buf; wpas_dbus_handler_add_network() local [all...] |
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/ |
H A D | audio_hdi_common.cpp | 617 int32_t RenderFramePrepare(const std::string &path, char *&frame, uint64_t &readSize) in RenderFramePrepare() argument 631 if (realpath(path.c_str(), absPath) == nullptr) { in RenderFramePrepare() 918 if (realpath(audiopara.path, absPath) == nullptr) { in PlayAudioFile() 979 FILE *file = fopen(audiopara.path, "wb+"); in RecordAudio() 1033 if (realpath(audiopara.path, absPath) == nullptr) { in PlayMapAudioFile() 1066 FILE *fp = fopen(audiopara.path, "wb+"); in RecordMapAudio()
|
/kernel/linux/linux-5.10/fs/ |
H A D | libfs.c | 30 int simple_getattr(const struct path *path, struct kstat *stat, in simple_getattr() argument 33 struct inode *inode = d_inode(path->dentry); in simple_getattr() 1293 * since as an optimization the path lookup code uses any non-NULL ->i_link 1319 static int empty_dir_getattr(const struct path *path, struct kstat *stat, in empty_dir_getattr() argument 1322 struct inode *inode = d_inode(path->dentry); in empty_dir_getattr()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | trace.h | 345 __string(path, full_path) 351 __assign_str(path, full_path); 353 TP_printk("xid=%u sid=0x%llx tid=0x%x path=%s", 355 __get_str(path)) 712 __string(path, full_path) 720 __assign_str(path, full_path); 724 TP_printk("xid=%u sid=0x%llx tid=0x%x path=%s cr_opts=0x%x des_access=0x%x", 725 __entry->xid, __entry->sesid, __entry->tid, __get_str(path),
|
H A D | smb1ops.c | 588 .path = full_path, in cifs_query_path_info() 731 rc = SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file() 836 .path = full_path, in smb_set_file_info() 874 const char *path, struct cifs_sb_info *cifs_sb, in cifs_query_dir_first() 880 rc = CIFSFindFirst(xid, tcon, path, cifs_sb, in cifs_query_dir_first() 983 cifs_tcon_dbg(FYI, "%s: path=%s\n", __func__, full_path); in cifs_query_symlink() 1106 .path = full_path, in cifs_make_node() 873 cifs_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon, const char *path, struct cifs_sb_info *cifs_sb, struct cifs_fid *fid, __u16 search_flags, struct cifs_search_info *srch_inf) cifs_query_dir_first() argument
|
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | pppoe.c | 976 struct net_device_path *path, in pppoe_fill_forward_path() 987 path->type = DEV_PATH_PPPOE; in pppoe_fill_forward_path() 988 path->encap.proto = htons(ETH_P_PPP_SES); in pppoe_fill_forward_path() 989 path->encap.id = be16_to_cpu(po->num); in pppoe_fill_forward_path() 990 memcpy(path->encap.h_dest, po->pppoe_pa.remote, ETH_ALEN); in pppoe_fill_forward_path() 992 path->dev = ctx->dev; in pppoe_fill_forward_path() 975 pppoe_fill_forward_path(struct net_device_path_ctx *ctx, struct net_device_path *path, const struct ppp_channel *chan) pppoe_fill_forward_path() argument
|
/third_party/curl/lib/ |
H A D | smtp.c | 642 /* Null reverse-path, RFC-5321, sect. 3.6.3 */ in smtp_perform_mail() 1367 /* Parse the URL path */ in smtp_connect() 1530 * This function is registered as 'curl_do' function. It decodes the path 1708 * Parse the URL path into separate path components. 1715 const char *path = &data->state.up.path[1]; /* skip leading path */ in smtp_parse_url_path() local 1718 /* Calculate the path if necessary */ in smtp_parse_url_path() 1719 if(!*path) { in smtp_parse_url_path() [all...] |
/third_party/gn/src/gn/ |
H A D | xcode_object.cc | 517 const std::string& path, in PBXFileReference() 519 : name_(name), path_(path), type_(type) {} in PBXFileReference() 555 PrintProperty(out, rules, "path", path_); in Print() 588 PBXGroup::PBXGroup(const std::string& path, const std::string& name) in PBXGroup() argument 589 : name_(name), path_(path) {} in PBXGroup() 608 child_as_file_reference->path() == navigator_path) { in AddSourceFile() 675 PrintProperty(out, rules, "path", path_); in Print() 831 attributes["HEADER_SEARCH_PATHS"] = main_group_->path(); in AddIndexingTarget() 516 PBXFileReference(const std::string& name, const std::string& path, const std::string& type) PBXFileReference() argument
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
H A D | ProgressDialog2.cpp | 188 HRESULT CProgressSync::Set_Status2(const UString &s, const wchar_t *path, bool isDir)
in Set_Status2() argument 193 if (path)
in Set_Status2() 194 _filePath = path;
in Set_Status2() 202 void CProgressSync::Set_FilePath(const wchar_t *path, bool isDir)
in Set_FilePath() argument 205 if (path)
in Set_FilePath() 206 _filePath = path;
in Set_FilePath()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opt_copy_prop_vars.c | 642 nir_deref_instr **deref_p = &deref->path[1]; in specialize_wildcards() 643 nir_deref_instr **guide_p = &guide->path[1]; in specialize_wildcards() 644 nir_deref_instr **spec_p = &specific->path[1]; in specialize_wildcards() 645 nir_deref_instr *ret_tail = deref->path[0]; in specialize_wildcards() 690 nir_deref_instr **entry_p = &entry_dst_path->path[1]; in load_from_deref_entry_value() 691 nir_deref_instr **src_p = &src_path->path[1]; in load_from_deref_entry_value()
|
/third_party/ltp/testcases/kernel/fs/fsx-linux/ |
H A D | fsx-linux.c | 373 char *path; member 443 tf->path = argv[i]; in open_test_files() 444 tf->fd = open(tf->path, O_RDWR | (lite ? 0 : O_CREAT | O_TRUNC), in open_test_files() 447 prterr(tf->path); in open_test_files() 456 prt("fd %d: %s\n", i, tf->path); in open_test_files() 960 tf->fd = open(tf->path, O_RDWR, 0); in docloseopen() 1075 " a different path. Iterate through them in order with 'rotate'\n" in usage()
|
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/ |
H A D | ittnotify_static.h | 338 ITT_STUBV(ITTAPI, void, module_loadA, (void *start_addr, void* end_addr, const char *path), (ITT_FORMAT start_addr, end_addr, path), module_loadA, __itt_group_module, "%p, %p, %p") 339 ITT_STUBV(ITTAPI, void, module_loadW, (void *start_addr, void* end_addr, const wchar_t *path), (ITT_FORMAT start_addr, end_addr, path), module_loadW, __itt_group_module, "%p, %p, %p") 341 ITT_STUBV(ITTAPI, void, module_load, (void *start_addr, void *end_addr, const char *path), (ITT_FORMAT start_addr, end_addr, path), module_load, __itt_group_module, "%p, %p, %p")
|
/third_party/nghttp2/src/ |
H A D | shrpx_client_handler.cc | 362 // There is no downgrade path here. Just drop the connection. in upstream_http2_connhd_read() 1052 StringRef authority, path; in get_downstream_connection() local 1057 path = req.orig_path; in get_downstream_connection() 1071 // CONNECT method does not have path. But we requires path in in get_downstream_connection() 1072 // host-path mapping. As workaround, we assume that path is in get_downstream_connection() 1075 path = req.path; in get_downstream_connection() 1078 // Cache the authority and path use in get_downstream_connection() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv84_video.c | 35 nv84_copy_firmware(const char *path, void *dest, ssize_t len) in nv84_copy_firmware() argument 37 int fd = open(path, O_RDONLY | O_CLOEXEC); in nv84_copy_firmware() 40 fprintf(stderr, "opening firmware file %s failed: %m\n", path); in nv84_copy_firmware() 47 fprintf(stderr, "reading firmware file %s failed: %m\n", path); in nv84_copy_firmware() 55 filesize(const char *path) in filesize() argument 60 ret = stat(path, &statbuf); in filesize()
|
/third_party/littlefs/scripts/ |
H A D | tracebd.py | 44 def openio(path, mode='r', buffering=-1): 46 if path == '-': 52 return open(path, mode, buffering) 564 def main(path='-', *, 835 with openio(path) as f: 856 print("error: file not found %r" % path) 876 'path',
|
/third_party/skia/tests/ |
H A D | SerializationTest.cpp | 70 static void Write(SkWriteBuffer& writer, const SkPath* path) { in Write() 71 writer.writePath(*path); in Write() 73 static void Read(SkReadBuffer& reader, SkPath* path) { in Read() 74 reader.readPath(path); in Read() 558 // Test path serialization in DEF_TEST() 560 SkPath path; in DEF_TEST() local 561 TestObjectSerialization(&path, reporter); in DEF_TEST()
|
/third_party/skia/third_party/externals/icu/source/data/ |
H A D | makedata.mak | 34 !MESSAGE ICU data make path is $(ICUMAKE) 62 !MESSAGE ICU root path is $(ICUP) 119 !MESSAGE ICU data DLL_OUTPUT path is $(DLL_OUTPUT) 143 !MESSAGE ICU tools path is $(ICUTOOLS) 164 # Thus ARM and ARM64 need to use another build of the other tools, so make sure to get an usable CFG path. 183 # The current ICU tools need to be in the path first.
|
/third_party/python/Python/ |
H A D | errors.c | 164 path were visited and checked. */ in _PyErr_SetObject() 988 PyObject *name, PyObject *path) in PyErr_SetImportErrorSubclass() 1013 if (path == NULL) { in PyErr_SetImportErrorSubclass() 1014 path = Py_None; in PyErr_SetImportErrorSubclass() 1024 if (PyDict_SetItemString(kwargs, "path", path) < 0) { in PyErr_SetImportErrorSubclass() 1040 PyErr_SetImportError(PyObject *msg, PyObject *name, PyObject *path) in PyErr_SetImportError() argument 1042 return PyErr_SetImportErrorSubclass(PyExc_ImportError, msg, name, path); in PyErr_SetImportError() 987 PyErr_SetImportErrorSubclass(PyObject *exception, PyObject *msg, PyObject *name, PyObject *path) PyErr_SetImportErrorSubclass() argument
|