Lines Matching refs:bufferPtr
91 long *ctid = (long *)ctidBuf.bufferPtr();
356 memcpy(result_buf.bufferPtr(), &result, sizeof(result));
383 strncpy((char *)name.bufferPtr(), hostname, name_len);
407 strncpy((char *)buf.bufferPtr(), cwd.c_str(), size);
410 if (getcwd((char *)buf.bufferPtr(), size)) {
411 result = strlen((char *)buf.bufferPtr());
447 result = readlink(path.c_str(), (char *)buf.bufferPtr(), bufsiz);
467 strncpy((char*)buf.bufferPtr(), real_path, bufsiz);
480 (char*)buf.bufferPtr());
919 int *buf_ptr = (int*)tgt_handle.bufferPtr();
1249 auto status = syscall(SYS_NUM, sim_fd, buf_arg.bufferPtr(), count);
1256 DE *buffer = (DE*)((Addr)buf_arg.bufferPtr() + traversed);
1343 (struct sockaddr *)bufSock.bufferPtr(),
1385 (struct sockaddr *)addr.bufferPtr(),
1417 addrLen = *((socklen_t *)addrlenBuf.bufferPtr());
1424 memcpy(&sa, (struct sockaddr *)addrBuf.bufferPtr(),
1430 (void *)bufrBuf.bufferPtr(),
1442 memcpy(addrBuf.bufferPtr(), sap, sizeof(sa));
1449 *(socklen_t *)addrlenBuf.bufferPtr() = addrLen;
1482 memcpy(&sa, (sockaddr*)addrBuf.bufferPtr(), addrLen);
1487 (void *)bufrBuf.bufferPtr(),
1532 struct msghdr *msgHdr = (struct msghdr *)msgBuf.bufferPtr();
1552 /*4*/msgHdr->msg_name = nameBuf->bufferPtr();
1573 if (((struct iovec *)iovBuf->bufferPtr())[i].iov_base) {
1575 (Addr)((struct iovec *)iovBuf->bufferPtr())[i].iov_base;
1577 ((struct iovec *)iovBuf->bufferPtr())[i].iov_len);
1579 /*4*/((struct iovec *)iovBuf->bufferPtr())[i].iov_base =
1580 iovecBuf[i]->bufferPtr();
1583 /*4*/msgHdr->msg_iov = (struct iovec *)iovBuf->bufferPtr();
1595 /*4*/msgHdr->msg_control = controlBuf->bufferPtr();
1611 if (((struct iovec *)iovBuf->bufferPtr())[i].iov_base) {
1614 ((struct iovec *)iovBuf->bufferPtr())[i].iov_base =
1653 struct msghdr msgHdr = *((struct msghdr *)msgBuf.bufferPtr());
1662 struct iovec *iov = (struct iovec *)iovBuf.bufferPtr();
1682 iov[iovIndex].iov_base = bufferArray[iovIndex]->bufferPtr();
1736 memcpy(valBuf.bufferPtr(), &val, sizeof(val));
1741 memcpy(lenBuf.bufferPtr(), &len, sizeof(len));
1767 socklen_t len = *(socklen_t *)lenBuf.bufferPtr();
1777 memcpy(addrBuf.bufferPtr(), &sa, sizeof(sa));
1781 *(socklen_t *)lenBuf.bufferPtr() = len;
1803 BufferArg bufSock(sockAddrPtr, *(unsigned *)bufAddrlen.bufferPtr());
1806 (struct sockaddr *)bufSock.bufferPtr(),
1807 (unsigned *)bufAddrlen.bufferPtr());
1837 (struct sockaddr *)valBuf.bufferPtr(), len);