Home
last modified time | relevance | path

Searched refs:iov (Results 151 - 175 of 211) sorted by relevance

123456789

/third_party/nghttp2/src/
H A Dshrpx_api_downstream_connection.cc285 auto iov = make_byte_ref(balloc, len + 1); in error_method_not_allowed() local
286 auto p = iov.base; in error_method_not_allowed()
298 resp.fs.add_header_token(StringRef::from_lit("allow"), StringRef{iov.base, p}, in error_method_not_allowed()
H A Dhttp2.cc667 auto iov = make_byte_ref(balloc, len + 1); in rewrite_location_uri() local
668 auto p = iov.base; in rewrite_location_uri()
693 return StringRef{iov.base, p}; in rewrite_location_uri()
1661 auto iov = make_byte_ref(balloc, len + 1);
1662 auto p = iov.base;
1670 authority = StringRef{iov.base, p};
1935 auto iov = make_byte_ref(balloc, src.size() + 1);
1936 auto p = iov.base;
1939 util::inp_strlower(iov.base, p);
1940 return StringRef{iov
[all...]
H A Dshrpx_config.cc776 auto iov = make_byte_ref( in parse_log_format() local
778 auto p = iov.base; in parse_log_format()
780 for (auto cp = iov.base; cp != p; ++cp) { in parse_log_format()
786 res.emplace_back(type, StringRef{iov.base, p}); in parse_log_format()
1231 auto iov = make_byte_ref(downstreamconf.balloc, raw_pattern.size() + 2); in parse_mapping() local
1232 auto p = iov.base; in parse_mapping()
1234 util::inp_strlower(iov.base, p); in parse_mapping()
1237 pattern = StringRef{iov.base, p}; in parse_mapping()
1242 auto iov = make_byte_ref(downstreamconf.balloc, in parse_mapping() local
1245 auto p = iov in parse_mapping()
1381 auto iov = make_byte_ref(downstreamconf.balloc, host.size() + 1); parse_mapping() local
[all...]
H A Dshrpx_http2_upstream.h87 virtual int response_riovec(struct iovec *iov, int iovcnt) const;
H A Dshrpx_https_upstream.h82 virtual int response_riovec(struct iovec *iov, int iovcnt) const;
H A Dshrpx_memcached_connection.h121 size_t fill_request_buffer(struct iovec *iov, size_t iovlen);
H A Dshrpx_connection.h142 ssize_t writev_clear(struct iovec *iov, int iovcnt);
H A Dshrpx_http2_session.cc2045 std::array<struct iovec, MAX_WR_IOVCNT> iov; in write_clear() local
2049 auto iovcnt = wb_.riovec(iov.data(), iov.size()); in write_clear()
2050 auto nwrite = conn_.writev_clear(iov.data(), iovcnt); in write_clear()
2151 struct iovec iov; in write_tls() local
2155 auto iovcnt = wb_.riovec(&iov, 1); in write_tls()
2160 auto nwrite = conn_.write_tls(iov.iov_base, iov.iov_len); in write_tls()
H A Dshrpx_log.cc557 auto iov = make_byte_ref(balloc, len + 1); in construct_absolute_request_uri() local
558 auto p = iov.base; in construct_absolute_request_uri()
572 return StringRef{iov.base, p}; in construct_absolute_request_uri()
H A Dutil.h460 auto iov = make_byte_ref(balloc, NGHTTP2_MAX_UINT64_DIGITS + 1); in make_string_ref_uint() local
461 auto p = iov.base; in make_string_ref_uint()
464 return StringRef{iov.base, p}; in make_string_ref_uint()
H A Dh2load.cc1291 std::array<struct iovec, 2> iov; in write_clear() local
1298 auto iovcnt = wb.riovec(iov.data(), iov.size()); in write_clear()
1305 while ((nwrite = writev(fd, iov.data(), iovcnt)) == -1 && errno == EINTR) in write_clear()
1411 struct iovec iov; in write_tls() local
1418 auto iovcnt = wb.riovec(&iov, 1); in write_tls()
1424 auto rv = SSL_write(ssl, iov.iov_base, iov.iov_len); in write_tls()
H A Dnghttp.cc821 std::array<struct iovec, 2> iov; in write_clear() local
828 auto iovcnt = wb.riovec(iov.data(), iov.size()); in write_clear()
835 while ((nwrite = writev(fd, iov.data(), iovcnt)) == -1 && errno == EINTR) in write_clear()
1393 struct iovec iov; in write_tls() local
1400 auto iovcnt = wb.riovec(&iov, 1); in write_tls()
1406 auto rv = SSL_write(ssl, iov.iov_base, iov.iov_len); in write_tls()
H A Dshrpx_http3_upstream.h78 virtual int response_riovec(struct iovec *iov, int iovcnt) const;
/third_party/libfuse/include/
H A Dfuse_lowlevel.h131 ssize_t (*writev)(int fd, struct iovec *iov, int count, void *userdata);
1474 * @param iov the vector containing the data
1478 int fuse_reply_iov(fuse_req_t req, const struct iovec *iov, int count);
1613 * Reply to finish ioctl with iov buffer
1620 * @param iov the vector containing the data
1623 int fuse_reply_ioctl_iov(fuse_req_t req, int result, const struct iovec *iov,
/third_party/libcoap/src/
H A Dcoap_io.c904 struct iovec iov[1]; local
909 memcpy(&iov[0].iov_base, &data, sizeof(iov[0].iov_base));
910 iov[0].iov_len = (iov_len_t)datalen;
920 mhdr.msg_iov = iov;
1125 struct iovec iov[1]; local
1127 iov[0].iov_base = packet->payload;
1128 iov[0].iov_len = (iov_len_t)COAP_RXBUFFER_SIZE;
1135 mhdr.msg_iov = iov;
/third_party/libfuse/lib/
H A Dfuse_i.h168 int fuse_send_reply_iov_nofree(fuse_req_t req, int error, struct iovec *iov,
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/
H A Drandomaccessfile_n_exporter.cpp50 uv_buf_t iov = uv_buf_init(static_cast<char *>(buf), len); in DoReadRAF() local
51 int ret = uv_fs_read(nullptr, read_req.get(), fd, &iov, 1, offset, nullptr); in DoReadRAF()
63 uv_buf_t iov = uv_buf_init(static_cast<char *>(buf), len); in DoWriteRAF() local
64 int ret = uv_fs_write(nullptr, write_req.get(), fd, &iov, 1, offset, nullptr); in DoWriteRAF()
/third_party/lwip/test/unit/api/
H A Dtest_sockets.c265 break; /* iov not fully consumed */ in test_sockets_msgapi_update_iovs()
553 struct iovec iov; in test_sockets_msgapi_cmsg() local
578 iov.iov_base = rcv_buf; in test_sockets_msgapi_cmsg()
579 iov.iov_len = sizeof(rcv_buf); in test_sockets_msgapi_cmsg()
583 msg.msg_iov = &iov; in test_sockets_msgapi_cmsg()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
H A Dsockets.h2077 * by iov to the file associated with the file descriptor s.
2080 * @param[in] iov Indicates buffers of data.
2128 int lwip_writev(int s, const struct iovec *iov, int iovcnt);
2498 #define writev(s, iov, iovcnt) lwip_writev(s, iov, iovcnt)
/third_party/python/Modules/
H A Dposixmodule.c9643 iov_setup(struct iovec **iov, Py_buffer **buf, PyObject *seq, Py_ssize_t cnt, int type) in iov_setup() argument
9647 *iov = PyMem_New(struct iovec, cnt); in iov_setup()
9648 if (*iov == NULL) { in iov_setup()
9655 PyMem_Free(*iov); in iov_setup()
9669 (*iov)[i].iov_base = (*buf)[i].buf; in iov_setup()
9670 (*iov)[i].iov_len = (*buf)[i].len; in iov_setup()
9675 PyMem_Free(*iov); in iov_setup()
9684 iov_cleanup(struct iovec *iov, Py_buffer *buf, int cnt) in iov_cleanup() argument
9687 PyMem_Free(iov); in iov_cleanup()
9721 struct iovec *iov; in os_readv_impl() local
9838 struct iovec *iov; os_preadv_impl() local
10376 struct iovec *iov; os_writev_impl() local
10480 struct iovec *iov; os_pwritev_impl() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpinc.h175 * @param[in] iov A pointer which points to an array of iovec structures.
176 * @param[in] iovCount buffer count of data described by iov.
179 extern FILLP_INT DLL_API FtWritev(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount);
188 * @param[in] iov A pointer which points to an array of iovec structures.
189 * @param[in] iovCount buffers of data described by iov.
193 extern FILLP_INT DLL_API FtReadv(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount);
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/
H A Dmod.rs352 iov: *const ::iovec, in pwritev()
358 iov: *const ::iovec, in preadv()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_nl80211_monitor.c459 struct iovec iov[2] = { in nl80211_send_monitor() local
472 .msg_iov = iov, in nl80211_send_monitor()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211_monitor.c462 struct iovec iov[2] = { in nl80211_send_monitor() local
475 .msg_iov = iov, in nl80211_send_monitor()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dapi.c167 * iov: A pointer which points to an array of iovec structures.
168 * iovCount: buffer count of data described by iov.
172 FILLP_INT DLL_API FtWritev(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount) in FtWritev() argument
174 return SockWritev(fd, iov, iovCount); in FtWritev()
180 * iov: A pointer which points to an array of iovec structures.
181 * iovCount: buffer count of data described by iov.
185 FILLP_INT DLL_API FtReadv(FILLP_INT fd, const struct iovec *iov, FILLP_INT iovCount) in FtReadv() argument
187 return SockReadv(fd, iov, iovCount); in FtReadv()

Completed in 49 milliseconds

123456789