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() 543 if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", in ProcessRequest() 635 if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) in ProcessRequest() 648 if(!req->auth && strstr(req->reqbuf, "Authorization:")) { in ProcessRequest() 654 if(!req->digest && strstr(req->reqbuf, "Authorization: Digest")) { in ProcessRequest() 663 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { in ProcessRequest() 673 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { in ProcessRequest() 680 strstr(req->reqbuf, "Authorization: Basic")) { in ProcessRequest() [all …]
|
D | sws.c | 98 char reqbuf[REQBUFSIZ]; /* buffer area for the incoming request */ member 136 static void storerequest(const char *reqbuf, size_t totalsize); 462 char *line = &req->reqbuf[req->checkindex]; in ProcessRequest() 555 if(sscanf(req->reqbuf, "CONNECT %" MAXDOCNAMELEN_TXT "s HTTP/%d.%d", in ProcessRequest() 750 if(strstr(req->reqbuf, "\r\n0\r\n\r\n")) in ProcessRequest() 763 if(!req->auth && strstr(req->reqbuf, "Authorization:")) { in ProcessRequest() 769 if(strstr(req->reqbuf, "Authorization: Negotiate")) { in ProcessRequest() 782 else if(!req->digest && strstr(req->reqbuf, "Authorization: Digest")) { in ProcessRequest() 791 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAD")) { in ProcessRequest() 801 strstr(req->reqbuf, "Authorization: NTLM TlRMTVNTUAAB")) { 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()
|