Searched refs:reqbuf (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_REQBUFS.c | 37 struct v4l2_requestbuffers reqbuf; in do_VIDIOC_REQBUFS_capture_mmap() local 45 memset(&reqbuf, 0xff, sizeof(reqbuf)); in do_VIDIOC_REQBUFS_capture_mmap() 46 reqbuf.count = count; in do_VIDIOC_REQBUFS_capture_mmap() 47 reqbuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in do_VIDIOC_REQBUFS_capture_mmap() 48 reqbuf.memory = V4L2_MEMORY_MMAP; in do_VIDIOC_REQBUFS_capture_mmap() 50 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_REQBUFS_capture_mmap() 65 CU_ASSERT_EQUAL(reqbuf.type, V4L2_BUF_TYPE_VIDEO_CAPTURE); in do_VIDIOC_REQBUFS_capture_mmap() 66 CU_ASSERT_EQUAL(reqbuf.memory, V4L2_MEMORY_MMAP); in do_VIDIOC_REQBUFS_capture_mmap() 67 CU_ASSERT_EQUAL(reqbuf.reserved[0], 0); in do_VIDIOC_REQBUFS_capture_mmap() 68 CU_ASSERT_EQUAL(reqbuf.reserved[1], 0); in do_VIDIOC_REQBUFS_capture_mmap() [all …]
|
D | test_VIDIOC_QUERYBUF.c | 37 struct v4l2_requestbuffers reqbuf; in do_VIDIOC_QUERYBUF() local 60 memset(&reqbuf, 0, sizeof(reqbuf)); in do_VIDIOC_QUERYBUF() 61 reqbuf.count = count; in do_VIDIOC_QUERYBUF() 62 reqbuf.type = type; in do_VIDIOC_QUERYBUF() 63 reqbuf.memory = memory; in do_VIDIOC_QUERYBUF() 65 ret_req = ioctl(get_video_fd(), VIDIOC_REQBUFS, &reqbuf); in do_VIDIOC_QUERYBUF() 80 show_v4l2_requestbuffers(&reqbuf); in do_VIDIOC_QUERYBUF() 84 reqbuf.count = 0; in do_VIDIOC_QUERYBUF() 87 for (i = 0; i < reqbuf.count; i++) { in do_VIDIOC_QUERYBUF() 135 for (i = 0; i < reqbuf.count; i++) { in do_VIDIOC_QUERYBUF() [all …]
|
D | v4l2_show.c | 32 void show_v4l2_requestbuffers(struct v4l2_requestbuffers *reqbuf) in show_v4l2_requestbuffers() argument 40 reqbuf->count, in show_v4l2_requestbuffers() 41 reqbuf->type, in show_v4l2_requestbuffers() 42 reqbuf->memory, reqbuf->reserved[0], reqbuf->reserved[1] in show_v4l2_requestbuffers()
|
D | v4l2_show.h | 14 void show_v4l2_requestbuffers(struct v4l2_requestbuffers *reqbuf);
|
/external/curl/tests/server/ |
D | rtspd.c | 98 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */ member 125 static void storerequest(char *reqbuf, size_t totalsize); 338 char *line = &req->reqbuf[req->checkindex]; in ProcessRequest() 541 if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", in ProcessRequest() 633 if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) in ProcessRequest() 646 if(!req->auth && strstr(req->reqbuf, "Authorization:")) { in ProcessRequest() 652 if(!req->digest && strstr(req->reqbuf, "Authorization: Digest")) { in ProcessRequest() 661 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { in ProcessRequest() 671 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { in ProcessRequest() 678 strstr(req->reqbuf, "Authorization: Basic")) { in ProcessRequest() [all …]
|
D | sws.c | 98 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */ member 138 static void storerequest(const char *reqbuf, size_t totalsize); 474 char *line = &req->reqbuf[req->checkindex]; in ProcessRequest() 567 if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", in ProcessRequest() 763 if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) { in ProcessRequest() 767 else if(strstr(req->reqbuf, "\r\n0\r\n")) { in ProcessRequest() 768 char *last_crlf_char = strstr(req->reqbuf, "\r\n\r\n"); in ProcessRequest() 775 last_crlf_char > strstr(req->reqbuf, "\r\n0\r\n")) in ProcessRequest() 780 else if(already_recv_zeroed_chunk && strstr(req->reqbuf, "\r\n\r\n")) in ProcessRequest() 792 if(!req->auth && strstr(req->reqbuf, "Authorization:")) { in ProcessRequest() [all …]
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 115 char reqbuf[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))]; in nl_sendreq() local 123 memset(&reqbuf, 0, sizeof(reqbuf)); in nl_sendreq() 124 req_hdr = (struct nlmsghdr *) reqbuf; in nl_sendreq()
|