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 | 95 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */ member 122 static void storerequest(char *reqbuf, size_t totalsize); 329 char *line=&req->reqbuf[req->checkindex]; in ProcessRequest() 534 if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", in ProcessRequest() 626 if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) in ProcessRequest() 639 if(!req->auth && strstr(req->reqbuf, "Authorization:")) { in ProcessRequest() 645 if(!req->digest && strstr(req->reqbuf, "Authorization: Digest")) { in ProcessRequest() 654 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { in ProcessRequest() 664 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { in ProcessRequest() 671 strstr(req->reqbuf, "Authorization: Basic")) { in ProcessRequest() [all …]
|
D | sws.c | 95 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */ member 133 static void storerequest(char *reqbuf, size_t totalsize); 453 char *line=&req->reqbuf[req->checkindex]; in ProcessRequest() 546 if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", in ProcessRequest() 733 if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) in ProcessRequest() 746 if(!req->auth && strstr(req->reqbuf, "Authorization:")) { in ProcessRequest() 752 if(!req->digest && strstr(req->reqbuf, "Authorization: Digest")) { in ProcessRequest() 761 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { in ProcessRequest() 771 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { in ProcessRequest() 778 strstr(req->reqbuf, "Authorization: Basic")) { 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()
|