Home
last modified time | relevance | path

Searched refs:tempBuf (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/camera/usbcamcore/src/
DQualcommUsbCamera.cpp1184 struct v4l2_buffer tempBuf; in initV4L2mmap() local
1217 memset(&tempBuf, 0, sizeof(tempBuf)); in initV4L2mmap()
1219 tempBuf.index = camHal->n_buffers; in initV4L2mmap()
1220 tempBuf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in initV4L2mmap()
1221 tempBuf.memory = V4L2_MEMORY_MMAP; in initV4L2mmap()
1223 if (-1 == ioctlLoop(camHal->fd, VIDIOC_QUERYBUF, &tempBuf)) in initV4L2mmap()
1228 camHal->buffers[camHal->n_buffers].len = tempBuf.length; in initV4L2mmap()
1231 tempBuf.length, in initV4L2mmap()
1234 camHal->fd, tempBuf.m.offset); in initV4L2mmap()
1400 struct v4l2_buffer tempBuf; in startUsbCamCapture() local
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dnan_req.cpp916 u8* tempBuf = (u8*)malloc(tlv_len); in putNanBeaconSdfPayload() local
917 if (tempBuf == NULL) { in putNanBeaconSdfPayload()
923 memset(tempBuf, 0, tlv_len); in putNanBeaconSdfPayload()
924 memcpy(tempBuf, &temp, sizeof(u32)); in putNanBeaconSdfPayload()
925 memcpy((tempBuf + sizeof(u32)), pReq->vsa.vsa, pReq->vsa.vsa_len); in putNanBeaconSdfPayload()
931 (const u8*)tempBuf, tlvs); in putNanBeaconSdfPayload()
932 free(tempBuf); in putNanBeaconSdfPayload()