Home
last modified time | relevance | path

Searched refs:req (Results 1 - 25 of 1843) sorted by relevance

12345678910>>...74

/third_party/backends/backend/
H A Dgt68xx_gt6816.c53 GT68xx_Packet req; in gt6816_check_firmware() local
55 memset (req, 0, sizeof (req)); in gt6816_check_firmware()
56 req[0] = 0x70; in gt6816_check_firmware()
57 req[1] = 0x01; in gt6816_check_firmware()
59 status = gt68xx_device_small_req (dev, req, req); in gt6816_check_firmware()
68 if (req[0] == 0x00 && req[1] == 0x70 && req[ in gt6816_check_firmware()
129 GT68xx_Packet req; gt6816_get_power_status() local
150 GT68xx_Packet req; gt6816_get_ta_status() local
172 GT68xx_Packet req; gt6816_lamp_control() local
191 GT68xx_Packet req; gt6816_is_moving() local
216 GT68xx_Packet req; gt6816_carriage_home() local
229 GT68xx_Packet req; gt6816_stop_scan() local
242 GT68xx_Packet req; gt6816_document_present() local
[all...]
H A Dgt68xx_gt6801.c55 GT68xx_Packet req; in gt6801_check_firmware() local
57 memset (req, 0, sizeof (req)); in gt6801_check_firmware()
58 req[0] = 0x50; in gt6801_check_firmware()
59 req[1] = 0x01; in gt6801_check_firmware()
60 req[2] = 0x80; in gt6801_check_firmware()
62 RIE (gt68xx_device_req (dev, req, req)); in gt6801_check_firmware()
64 if (req[0] == 0x00 && req[ in gt6801_check_firmware()
77 GT68xx_Packet req; gt6801_check_plustek_firmware() local
178 GT68xx_Packet req; gt6801_get_power_status() local
203 GT68xx_Packet req; gt6801_lamp_control() local
234 GT68xx_Packet req; gt6801_carriage_home() local
266 GT68xx_Packet req; gt6801_stop_scan() local
[all...]
H A Dgt68xx_generic.c53 GT68xx_Packet req; in gt68xx_generic_move_relative() local
55 memset (req, 0, sizeof (req)); in gt68xx_generic_move_relative()
57 req[0] = 0x14; in gt68xx_generic_move_relative()
60 req[0] = 0x15; in gt68xx_generic_move_relative()
63 req[1] = 0x01; in gt68xx_generic_move_relative()
64 req[2] = LOBYTE (distance); in gt68xx_generic_move_relative()
65 req[3] = HIBYTE (distance); in gt68xx_generic_move_relative()
67 return gt68xx_device_req (dev, req, req); in gt68xx_generic_move_relative()
73 GT68xx_Packet req; gt68xx_generic_start_scan() local
89 GT68xx_Packet req; gt68xx_generic_read_scanned_data() local
130 GT68xx_Packet req; gt68xx_generic_set_afe() local
152 GT68xx_Packet req; gt68xx_generic_set_exposure_time() local
177 GT68xx_Packet req; gt68xx_generic_get_id() local
197 GT68xx_Packet req; gt68xx_generic_paperfeed() local
545 GT68xx_Packet req; gt68xx_generic_setup_scan() local
646 GT68xx_Packet req; gt68xx_generic_move_paper() local
[all...]
/third_party/libuv/src/win/
H A Dreq-inl.h31 #define SET_REQ_STATUS(req, status) \
32 (req)->u.io.overlapped.Internal = (ULONG_PTR) (status)
34 #define SET_REQ_ERROR(req, error) \
35 SET_REQ_STATUS((req), NTSTATUS_FROM_WIN32((error)))
40 #define SET_REQ_SUCCESS(req) \
41 SET_REQ_STATUS((req), STATUS_SUCCESS)
43 #define GET_REQ_STATUS(req) \
44 ((NTSTATUS) (req)->u.io.overlapped.Internal)
46 #define REQ_SUCCESS(req) \
47 (NT_SUCCESS(GET_REQ_STATUS((req))))
90 uv__insert_pending_req(uv_loop_t* loop, uv_req_t* req) uv__insert_pending_req() argument
142 uv_req_t* req; uv__process_reqs() local
[all...]
H A Dgetnameinfo.c27 #include "req-inl.h"
42 uv_getnameinfo_t* req; in uv__getnameinfo_work() local
48 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work()
49 if (GetNameInfoW((struct sockaddr*)&req->storage, in uv__getnameinfo_work()
50 sizeof(req->storage), in uv__getnameinfo_work()
55 req->flags)) { in uv__getnameinfo_work()
57 req->retcode = uv__getaddrinfo_translate_error(ret); in uv__getnameinfo_work()
61 size = sizeof(req->host); in uv__getnameinfo_work()
62 ret = uv__copy_utf16_to_utf8(host, -1, req->host, &size); in uv__getnameinfo_work()
64 req in uv__getnameinfo_work()
80 uv_getnameinfo_t* req; uv__getnameinfo_done() local
106 uv_getnameinfo(uv_loop_t* loop, uv_getnameinfo_t* req, uv_getnameinfo_cb getnameinfo_cb, const struct sockaddr* addr, int flags) uv_getnameinfo() argument
[all...]
/third_party/node/deps/uv/src/win/
H A Dreq-inl.h31 #define SET_REQ_STATUS(req, status) \
32 (req)->u.io.overlapped.Internal = (ULONG_PTR) (status)
34 #define SET_REQ_ERROR(req, error) \
35 SET_REQ_STATUS((req), NTSTATUS_FROM_WIN32((error)))
40 #define SET_REQ_SUCCESS(req) \
41 SET_REQ_STATUS((req), STATUS_SUCCESS)
43 #define GET_REQ_STATUS(req) \
44 ((NTSTATUS) (req)->u.io.overlapped.Internal)
46 #define REQ_SUCCESS(req) \
47 (NT_SUCCESS(GET_REQ_STATUS((req))))
90 uv__insert_pending_req(uv_loop_t* loop, uv_req_t* req) uv__insert_pending_req() argument
142 uv_req_t* req; uv__process_reqs() local
[all...]
H A Dgetnameinfo.c27 #include "req-inl.h"
42 uv_getnameinfo_t* req; in uv__getnameinfo_work() local
47 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work()
48 if (GetNameInfoW((struct sockaddr*)&req->storage, in uv__getnameinfo_work()
49 sizeof(req->storage), in uv__getnameinfo_work()
54 req->flags)) { in uv__getnameinfo_work()
56 req->retcode = uv__getaddrinfo_translate_error(ret); in uv__getnameinfo_work()
64 req->host, in uv__getnameinfo_work()
65 sizeof(req->host), in uv__getnameinfo_work()
69 req in uv__getnameinfo_work()
91 uv_getnameinfo_t* req; uv__getnameinfo_done() local
117 uv_getnameinfo(uv_loop_t* loop, uv_getnameinfo_t* req, uv_getnameinfo_cb getnameinfo_cb, const struct sockaddr* addr, int flags) uv_getnameinfo() argument
[all...]
/third_party/node/deps/uv/src/unix/
H A Dfs.c26 * getting the errno to the right place (req->result or as the return value.)
103 if (req == NULL) \
105 UV_REQ_INIT(req, UV_FS); \
106 req->fs_type = UV_FS_ ## subtype; \
107 req->result = 0; \
108 req->ptr = NULL; \
109 req->loop = loop; \
110 req->path = NULL; \
111 req->new_path = NULL; \
112 req
181 uv__fs_fsync(uv_fs_t* req) uv__fs_fsync() argument
205 uv__fs_fdatasync(uv_fs_t* req) uv__fs_fdatasync() argument
247 uv__fs_futime(uv_fs_t* req) uv__fs_futime() argument
286 uv__fs_mkdtemp(uv_fs_t* req) uv__fs_mkdtemp() argument
310 uv__fs_mkstemp(uv_fs_t* req) uv__fs_mkstemp() argument
381 uv__fs_open(uv_fs_t* req) uv__fs_open() argument
460 uv__fs_read(uv_fs_t* req) uv__fs_read() argument
547 uv__fs_scandir(uv_fs_t* req) uv__fs_scandir() argument
572 uv__fs_opendir(uv_fs_t* req) uv__fs_opendir() argument
592 uv__fs_readdir(uv_fs_t* req) uv__fs_readdir() argument
638 uv__fs_closedir(uv_fs_t* req) uv__fs_closedir() argument
653 uv__fs_statfs(uv_fs_t* req) uv__fs_statfs() argument
707 uv__fs_readlink(uv_fs_t* req) uv__fs_readlink() argument
766 uv__fs_realpath(uv_fs_t* req) uv__fs_realpath() argument
795 uv__fs_sendfile_emul(uv_fs_t* req) uv__fs_sendfile_emul() argument
1018 uv__fs_sendfile(uv_fs_t* req) uv__fs_sendfile() argument
1139 uv__fs_utime(uv_fs_t* req) uv__fs_utime() argument
1179 uv__fs_lutime(uv_fs_t* req) uv__fs_lutime() argument
1206 uv__fs_write(uv_fs_t* req) uv__fs_write() argument
1266 uv__fs_copyfile(uv_fs_t* req) uv__fs_copyfile() argument
1651 uv__fs_write_all(uv_fs_t* req) uv__fs_write_all() argument
1699 uv_fs_t* req; uv__fs_work() local
1770 uv_fs_t* req; uv__fs_done() local
1784 uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_access() argument
1796 uv_fs_chmod(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_chmod() argument
1808 uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_chown() argument
1822 uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_close() argument
1829 uv_fs_fchmod(uv_loop_t* loop, uv_fs_t* req, uv_file file, int mode, uv_fs_cb cb) uv_fs_fchmod() argument
1841 uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_fchown() argument
1855 uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_lchown() argument
1869 uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_fdatasync() argument
1876 uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_fstat() argument
1883 uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_fsync() argument
1890 uv_fs_ftruncate(uv_loop_t* loop, uv_fs_t* req, uv_file file, int64_t off, uv_fs_cb cb) uv_fs_ftruncate() argument
1902 uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime, double mtime, uv_fs_cb cb) uv_fs_futime() argument
1915 uv_fs_lutime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_lutime() argument
1929 uv_fs_lstat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_lstat() argument
1936 uv_fs_link(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_link() argument
1947 uv_fs_mkdir(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_mkdir() argument
1959 uv_fs_mkdtemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb) uv_fs_mkdtemp() argument
1971 uv_fs_mkstemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb) uv_fs_mkstemp() argument
1983 uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, int mode, uv_fs_cb cb) uv_fs_open() argument
1997 uv_fs_read(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t off, uv_fs_cb cb) uv_fs_read() argument
2025 uv_fs_scandir(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_scandir() argument
2036 uv_fs_opendir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_opendir() argument
2045 uv_fs_readdir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb) uv_fs_readdir() argument
2058 uv_fs_closedir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb) uv_fs_closedir() argument
2071 uv_fs_readlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_readlink() argument
2081 uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char * path, uv_fs_cb cb) uv_fs_realpath() argument
2091 uv_fs_rename(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_rename() argument
2102 uv_fs_rmdir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_rmdir() argument
2109 uv_fs_sendfile(uv_loop_t* loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, int64_t off, size_t len, uv_fs_cb cb) uv_fs_sendfile() argument
2125 uv_fs_stat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_stat() argument
2132 uv_fs_symlink(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_symlink() argument
2145 uv_fs_unlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_unlink() argument
2152 uv_fs_utime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_utime() argument
2166 uv_fs_write(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t off, uv_fs_cb cb) uv_fs_write() argument
2195 uv_fs_req_cleanup(uv_fs_t* req) uv_fs_req_cleanup() argument
2228 uv_fs_copyfile(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_copyfile() argument
2248 uv_fs_statfs(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_statfs() argument
2257 uv_fs_get_system_error(const uv_fs_t* req) uv_fs_get_system_error() argument
[all...]
H A Dgetnameinfo.c32 uv_getnameinfo_t* req; in uv__getnameinfo_work() local
36 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work()
38 if (req->storage.ss_family == AF_INET) in uv__getnameinfo_work()
40 else if (req->storage.ss_family == AF_INET6) in uv__getnameinfo_work()
45 err = getnameinfo((struct sockaddr*) &req->storage, in uv__getnameinfo_work()
47 req->host, in uv__getnameinfo_work()
48 sizeof(req->host), in uv__getnameinfo_work()
49 req->service, in uv__getnameinfo_work()
50 sizeof(req->service), in uv__getnameinfo_work()
51 req in uv__getnameinfo_work()
56 uv_getnameinfo_t* req; uv__getnameinfo_done() local
81 uv_getnameinfo(uv_loop_t* loop, uv_getnameinfo_t* req, uv_getnameinfo_cb getnameinfo_cb, const struct sockaddr* addr, int flags) uv_getnameinfo() argument
[all...]
/third_party/libuv/src/unix/
H A Dfs.c26 * getting the errno to the right place (req->result or as the return value.)
102 if (req == NULL) \
104 UV_REQ_INIT(req, UV_FS); \
105 req->fs_type = UV_FS_ ## subtype; \
106 req->result = 0; \
107 req->ptr = NULL; \
108 req->loop = loop; \
109 req->path = NULL; \
110 req->new_path = NULL; \
111 req
201 uv__fs_fsync(uv_fs_t* req) uv__fs_fsync() argument
225 uv__fs_fdatasync(uv_fs_t* req) uv__fs_fdatasync() argument
267 uv__fs_futime(uv_fs_t* req) uv__fs_futime() argument
305 uv__fs_mkdtemp(uv_fs_t* req) uv__fs_mkdtemp() argument
329 uv__fs_mkstemp(uv_fs_t* req) uv__fs_mkstemp() argument
401 uv__fs_open(uv_fs_t* req) uv__fs_open() argument
430 uv__fs_read(uv_fs_t* req) uv__fs_read() argument
494 uv__fs_scandir(uv_fs_t* req) uv__fs_scandir() argument
519 uv__fs_opendir(uv_fs_t* req) uv__fs_opendir() argument
539 uv__fs_readdir(uv_fs_t* req) uv__fs_readdir() argument
585 uv__fs_closedir(uv_fs_t* req) uv__fs_closedir() argument
600 uv__fs_statfs(uv_fs_t* req) uv__fs_statfs() argument
654 uv__fs_readlink(uv_fs_t* req) uv__fs_readlink() argument
713 uv__fs_realpath(uv_fs_t* req) uv__fs_realpath() argument
742 uv__fs_sendfile_emul(uv_fs_t* req) uv__fs_sendfile_emul() argument
940 uv__fs_sendfile(uv_fs_t* req) uv__fs_sendfile() argument
1049 uv__fs_utime(uv_fs_t* req) uv__fs_utime() argument
1088 uv__fs_lutime(uv_fs_t* req) uv__fs_lutime() argument
1114 uv__fs_write(uv_fs_t* req) uv__fs_write() argument
1143 uv__fs_copyfile(uv_fs_t* req) uv__fs_copyfile() argument
1521 uv__fs_write_all(uv_fs_t* req) uv__fs_write_all() argument
1569 uv_fs_t* req; uv__fs_work() local
1640 uv_fs_t* req; uv__fs_done() local
1654 uv__fs_post(uv_loop_t* loop, uv_fs_t* req) uv__fs_post() argument
1667 uv_fs_access(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_access() argument
1679 uv_fs_chmod(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_chmod() argument
1691 uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_chown() argument
1705 uv_fs_close(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_close() argument
1715 uv_fs_fchmod(uv_loop_t* loop, uv_fs_t* req, uv_file file, int mode, uv_fs_cb cb) uv_fs_fchmod() argument
1727 uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_fchown() argument
1741 uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_lchown() argument
1755 uv_fs_fdatasync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_fdatasync() argument
1765 uv_fs_fstat(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_fstat() argument
1775 uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) uv_fs_fsync() argument
1785 uv_fs_ftruncate(uv_loop_t* loop, uv_fs_t* req, uv_file file, int64_t off, uv_fs_cb cb) uv_fs_ftruncate() argument
1797 uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime, double mtime, uv_fs_cb cb) uv_fs_futime() argument
1810 uv_fs_lutime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_lutime() argument
1824 uv_fs_lstat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_lstat() argument
1834 uv_fs_link(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_link() argument
1848 uv_fs_mkdir(uv_loop_t* loop, uv_fs_t* req, const char* path, int mode, uv_fs_cb cb) uv_fs_mkdir() argument
1863 uv_fs_mkdtemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb) uv_fs_mkdtemp() argument
1875 uv_fs_mkstemp(uv_loop_t* loop, uv_fs_t* req, const char* tpl, uv_fs_cb cb) uv_fs_mkstemp() argument
1887 uv_fs_open(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, int mode, uv_fs_cb cb) uv_fs_open() argument
1904 uv_fs_read(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t off, uv_fs_cb cb) uv_fs_read() argument
1940 uv_fs_scandir(uv_loop_t* loop, uv_fs_t* req, const char* path, int flags, uv_fs_cb cb) uv_fs_scandir() argument
1951 uv_fs_opendir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_opendir() argument
1960 uv_fs_readdir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb) uv_fs_readdir() argument
1973 uv_fs_closedir(uv_loop_t* loop, uv_fs_t* req, uv_dir_t* dir, uv_fs_cb cb) uv_fs_closedir() argument
1986 uv_fs_readlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_readlink() argument
1996 uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char * path, uv_fs_cb cb) uv_fs_realpath() argument
2006 uv_fs_rename(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, uv_fs_cb cb) uv_fs_rename() argument
2020 uv_fs_rmdir(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_rmdir() argument
2027 uv_fs_sendfile(uv_loop_t* loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, int64_t off, size_t len, uv_fs_cb cb) uv_fs_sendfile() argument
2043 uv_fs_stat(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_stat() argument
2053 uv_fs_symlink(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_symlink() argument
2069 uv_fs_unlink(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_unlink() argument
2079 uv_fs_utime(uv_loop_t* loop, uv_fs_t* req, const char* path, double atime, double mtime, uv_fs_cb cb) uv_fs_utime() argument
2093 uv_fs_write(uv_loop_t* loop, uv_fs_t* req, uv_file file, const uv_buf_t bufs[], unsigned int nbufs, int64_t off, uv_fs_cb cb) uv_fs_write() argument
2127 uv_fs_req_cleanup(uv_fs_t* req) uv_fs_req_cleanup() argument
2160 uv_fs_copyfile(uv_loop_t* loop, uv_fs_t* req, const char* path, const char* new_path, int flags, uv_fs_cb cb) uv_fs_copyfile() argument
2180 uv_fs_statfs(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb) uv_fs_statfs() argument
2189 uv_fs_get_system_error(const uv_fs_t* req) uv_fs_get_system_error() argument
[all...]
H A Dgetnameinfo.c32 uv_getnameinfo_t* req; in uv__getnameinfo_work() local
36 req = container_of(w, uv_getnameinfo_t, work_req); in uv__getnameinfo_work()
38 if (req->storage.ss_family == AF_INET) in uv__getnameinfo_work()
40 else if (req->storage.ss_family == AF_INET6) in uv__getnameinfo_work()
45 err = getnameinfo((struct sockaddr*) &req->storage, in uv__getnameinfo_work()
47 req->host, in uv__getnameinfo_work()
48 sizeof(req->host), in uv__getnameinfo_work()
49 req->service, in uv__getnameinfo_work()
50 sizeof(req->service), in uv__getnameinfo_work()
51 req in uv__getnameinfo_work()
56 uv_getnameinfo_t* req; uv__getnameinfo_done() local
81 uv_getnameinfo(uv_loop_t* loop, uv_getnameinfo_t* req, uv_getnameinfo_cb getnameinfo_cb, const struct sockaddr* addr, int flags) uv_getnameinfo() argument
[all...]
/third_party/curl/tests/server/
H A Drtspd.c124 static int ProcessRequest(struct httprequest *req);
206 static int ProcessRequest(struct httprequest *req) in ProcessRequest() argument
208 char *line = &req->reqbuf[req->checkindex]; in ProcessRequest()
217 req->testno, line); in ProcessRequest()
221 if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
233 req->protocol = RPROT_HTTP; in ProcessRequest()
236 req->protocol = RPROT_RTSP; in ProcessRequest()
239 req->protocol = RPROT_NONE; in ProcessRequest()
244 req in ProcessRequest()
656 get_request(curl_socket_t sock, struct httprequest *req) get_request() argument
767 send_doc(curl_socket_t sock, struct httprequest *req) send_doc() argument
1065 struct httprequest req; main() local
[all...]
/third_party/node/lib/
H A D_http_client.js129 constructor(type, req) {
131 this.req = req;
382 req: {
435 function emitAbortNT(req) {
436 req.emit('abort');
449 const req = socket._httpMessage;
455 const res = req.res;
457 req.destroyed = true;
463 req
[all...]
/foundation/communication/netmanager_base/test/netsysbpfstats/unittest/bpf_core_test/
H A DBpfRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_core_test/
H A DNetSysRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_core_test/
H A DVpnRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/http_test/
H A DHttpClientRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/netshare_core_test/
H A DNetShareRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/http_client_test/
H A DHttpClientRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/http_client/
H A DHttpClientRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/websocket_core_test/
H A DWebSocketRequestTest.cpp43 HttpClientRequest req; in HWTEST_F() local
45 string path = req.GetCaPath(); in HWTEST_F()
51 HttpClientRequest req; in HWTEST_F() local
53 req.SetCaPath(""); in HWTEST_F()
54 string path = req.GetCaPath(); in HWTEST_F()
61 HttpClientRequest req; in HWTEST_F() local
63 req.SetCaPath(OTHER_CA_PATH); in HWTEST_F()
64 string path = req.GetCaPath(); in HWTEST_F()
71 HttpClientRequest req; in HWTEST_F() local
73 string urlTest = req in HWTEST_F()
79 HttpClientRequest req; HWTEST_F() local
88 HttpClientRequest req; HWTEST_F() local
96 HttpClientRequest req; HWTEST_F() local
105 HttpClientRequest req; HWTEST_F() local
113 HttpClientRequest req; HWTEST_F() local
122 HttpClientRequest req; HWTEST_F() local
133 HttpClientRequest req; HWTEST_F() local
141 HttpClientRequest req; HWTEST_F() local
149 HttpClientRequest req; HWTEST_F() local
157 HttpClientRequest req; HWTEST_F() local
165 HttpClientRequest req; HWTEST_F() local
173 HttpClientRequest req; HWTEST_F() local
181 HttpClientRequest req; HWTEST_F() local
189 HttpClientRequest req; HWTEST_F() local
199 HttpClientRequest req; HWTEST_F() local
207 HttpClientRequest req; HWTEST_F() local
215 HttpClientRequest req; HWTEST_F() local
223 HttpClientRequest req; HWTEST_F() local
231 HttpClientRequest req; HWTEST_F() local
241 HttpClientRequest req; HWTEST_F() local
251 HttpClientRequest req; HWTEST_F() local
259 HttpClientRequest req; HWTEST_F() local
269 HttpClientRequest req; HWTEST_F() local
276 HttpClientRequest req; HWTEST_F() local
283 HttpClientRequest req; HWTEST_F() local
290 HttpClientRequest req; HWTEST_F() local
[all...]
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_sdk_io_test.c13 static void ReadComplete(uint8_t pipe, struct UsbFnRequest *req) in ReadComplete() argument
16 if ((req == NULL) || (acmDevice == NULL)) { in ReadComplete()
19 if (req->actual) { in ReadComplete()
20 uint8_t *data = (uint8_t *)req->buf; in ReadComplete()
21 data[req->actual] = '\0'; in ReadComplete()
22 dprintf("receive [%d] bytes data: %s\n", req->actual, data); in ReadComplete()
32 struct UsbFnRequest *req = NULL; in UsbFnDviceTestRequestAsync() local
35 ret = UsbFnSubmitRequestAsync(req); in UsbFnDviceTestRequestAsync()
45 struct UsbFnRequest *req = NULL; in UsbFnDviceTestRequestAsync002() local
54 req in UsbFnDviceTestRequestAsync002()
90 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestAsync003() local
131 WriteComplete(uint8_t pipe, struct UsbFnRequest *req) WriteComplete() argument
143 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestAsync004() local
190 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestAsync005() local
238 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync() local
250 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync002() local
283 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync003() local
322 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync004() local
355 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync005() local
391 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync006() local
420 struct UsbFnRequest *req = NULL; UsbFnDviceTestRequestSync007() local
431 TestCancelComplete(uint8_t pipe, struct UsbFnRequest *req) TestCancelComplete() argument
457 struct UsbFnRequest *req = NULL; UsbFnDviceTestCancelRequest002() local
490 struct UsbFnRequest *req = NULL; UsbFnDviceTestCancelRequest003() local
523 struct UsbFnRequest *req = NULL; UsbFnDviceTestCancelRequest004() local
556 struct UsbFnRequest *req = NULL; UsbFnDviceTestCancelRequest005() local
598 TestCancelRequest(struct UsbFnRequest *req, struct UsbFnRequest *req2) TestCancelRequest() argument
632 struct UsbFnRequest *req = NULL; UsbFnDviceTestCancelRequest006() local
[all...]
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/
H A Dfuse_operations.cpp27 static std::shared_ptr<CloudDiskInode> GetCloudDiskInode(fuse_req_t req, fuse_ino_t ino) in GetCloudDiskInode() argument
29 struct CloudDiskFuseData *data = reinterpret_cast<struct CloudDiskFuseData *>(fuse_req_userdata(req)); in GetCloudDiskInode()
33 void FuseOperations::Lookup(fuse_req_t req, fuse_ino_t parent, const char *name) in Lookup() argument
37 opsPtr->Lookup(req, parent, name); in Lookup()
40 auto inoPtr = GetCloudDiskInode(req, parent); in Lookup()
42 fuse_reply_err(req, EINVAL); in Lookup()
46 inoPtr->ops->Lookup(req, parent, name); in Lookup()
49 void FuseOperations::Access(fuse_req_t req, fuse_ino_t ino, int mask) in Access() argument
53 opsPtr->Access(req, ino, mask); in Access()
56 auto inoPtr = GetCloudDiskInode(req, in in Access()
65 GetAttr(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) GetAttr() argument
81 Open(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) Open() argument
97 Forget(fuse_req_t req, fuse_ino_t ino, uint64_t nLookup) Forget() argument
113 ForgetMulti(fuse_req_t req, size_t count, struct fuse_forget_data *forgets) ForgetMulti() argument
127 MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, dev_t rdev) MkNod() argument
144 Create(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode, struct fuse_file_info *fi) Create() argument
161 ReadDir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, struct fuse_file_info *fi) ReadDir() argument
179 SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, const char *value, size_t size, int flags) SetXattr() argument
196 GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, size_t size) GetXattr() argument
213 MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode) MkDir() argument
229 RmDir(fuse_req_t req, fuse_ino_t parent, const char *name) RmDir() argument
245 Unlink(fuse_req_t req, fuse_ino_t parent, const char *name) Unlink() argument
261 Rename(fuse_req_t req, fuse_ino_t parent, const char *name, fuse_ino_t newParent, const char *newName, unsigned int flags) Rename() argument
278 Read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t offset, struct fuse_file_info *fi) Read() argument
295 WriteBuf(fuse_req_t req, fuse_ino_t ino, struct fuse_bufvec *bufv, off_t off, struct fuse_file_info *fi) WriteBuf() argument
312 Release(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) Release() argument
327 SetAttr(fuse_req_t req, fuse_ino_t ino, struct stat *attr, int valid, struct fuse_file_info *fi) SetAttr() argument
343 Lseek(fuse_req_t req, fuse_ino_t ino, off_t off, int whence, struct fuse_file_info *fi) Lseek() argument
[all...]
/third_party/libuv/test/
H A Dtest-fs-copyfile.c41 static void fail_cb(uv_fs_t* req) { in fail_cb() argument
45 static void handle_result(uv_fs_t* req) { in handle_result() argument
51 ASSERT_EQ(req->fs_type, UV_FS_COPYFILE); in handle_result()
52 ASSERT_OK(req->result); in handle_result()
55 r = uv_fs_stat(NULL, &stat_req, req->path, NULL); in handle_result()
65 uv_fs_req_cleanup(req); in handle_result()
72 uv_fs_t req; in touch_file() local
77 r = uv_fs_open(NULL, &req, name, in touch_file()
80 uv_fs_req_cleanup(&req); in touch_file()
88 r = uv_fs_write(NULL, &req, fil in touch_file()
102 uv_fs_t req; TEST_IMPL() local
[all...]
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_sdk_io_test.cpp43 static void ReadComplete(uint8_t pipe, struct UsbFnRequest *req) in ReadComplete() argument
45 EXPECT_NE(nullptr, req); in ReadComplete()
46 if (req->actual) { in ReadComplete()
47 uint8_t *data = (uint8_t *)req->buf; in ReadComplete()
48 data[req->actual] = '\0'; in ReadComplete()
49 printf("receive [%d] bytes data: %s\n", req->actual, data); in ReadComplete()
59 struct UsbFnRequest *req = nullptr; in HWTEST_F() local
65 req = UsbFnAllocRequest( in HWTEST_F()
67 EXPECT_NE(nullptr, req); in HWTEST_F()
68 req in HWTEST_F()
92 struct UsbFnRequest *req = nullptr; HWTEST_F() local
118 WriteComplete(uint8_t pipe, struct UsbFnRequest *req) WriteComplete() argument
128 struct UsbFnRequest *req = nullptr; HWTEST_F() local
154 struct UsbFnRequest *req = nullptr; HWTEST_F() local
188 struct UsbFnRequest *req = nullptr; HWTEST_F() local
209 struct UsbFnRequest *req = nullptr; HWTEST_F() local
238 struct UsbFnRequest *req = nullptr; HWTEST_F() local
259 struct UsbFnRequest *req = nullptr; HWTEST_F() local
281 struct UsbFnRequest *req = nullptr; HWTEST_F() local
297 struct UsbFnRequest *req = nullptr; HWTEST_F() local
409 struct UsbFnRequest *req = nullptr; HWTEST_F() local
436 struct UsbFnRequest *req = nullptr; HWTEST_F() local
453 struct UsbFnRequest *req = nullptr; HWTEST_F() local
468 struct UsbFnRequest *req = nullptr; HWTEST_F() local
499 struct UsbFnRequest *req = nullptr; HWTEST_F() local
[all...]

Completed in 13 milliseconds

12345678910>>...74