Home
last modified time | relevance | path

Searched refs:msgvec (Results 1 – 23 of 23) sorted by relevance

/netbsd/usr.bin/mail/
H A Dcmd2.c63 int *msgvec; in next() local
68 msgvec = v; in next()
212 msgvec = salloc((msgCount + 2) * sizeof(*msgvec)); in save1()
237 for (ip = msgvec; *ip && ip - msgvec < msgCount; ip++) { in save1()
355 int *msgvec; in delete() local
357 msgvec = v; in delete()
368 int *msgvec; in deltype() local
372 msgvec = v; in deltype()
397 msgvec = v; in undeletecmd()
399 for (ip = msgvec; *ip && ip-msgvec < msgCount; ip++) { in undeletecmd()
[all …]
H A Dcmd1.c102 int *msgvec; in headers() local
108 msgvec = v; in headers()
189 int *msgvec; in from() local
192 msgvec = v; in from()
207 int *msgvec; in pdot() local
209 msgvec = v; in pdot()
404 msgvec = v; in view()
416 msgvec = v; in View()
429 msgvec = v; in type()
441 msgvec = v; in Type()
[all …]
H A Dcmd3.c410 int *msgvec = v; in respond() local
559 int *msgvec; in bounce() local
565 msgvec = v; in bounce()
596 int *msgvec; in preserve() local
599 msgvec = v; in preserve()
616 int *msgvec; in unread() local
619 msgvec = v; in unread()
632 int *msgvec; in markread() local
635 msgvec = v; in markread()
649 int *msgvec; in messize() local
[all …]
H A Dedit.c153 edit1(int *msgvec, int editortype) in edit1() argument
166 for (i = 0; i < msgCount && msgvec[i]; i++) { in edit1()
174 (void)printf("Edit message %d [ynq]? ", msgvec[i]); in edit1()
183 dot = mp = get_message(msgvec[i]); in edit1()
231 int *msgvec = v; in editor() local
233 return edit1(msgvec, 'e'); in editor()
242 int *msgvec = v; in visual() local
244 return edit1(msgvec, 'v'); in visual()
H A Dcollect.c213 int *msgvec; in interpolate() local
220 msgvec = salloc((get_msgCount() + 1) * sizeof(*msgvec)); in interpolate()
221 if (msgvec == NULL) in interpolate()
223 if (getmsglist(ms, msgvec, 0) < 0) in interpolate()
225 if (*msgvec == 0) { in interpolate()
226 *msgvec = first(0, MMNORM); in interpolate()
227 if (*msgvec == 0) { in interpolate()
231 msgvec[1] = 0; in interpolate()
239 for (/*EMPTY*/; *msgvec != 0; msgvec++) { in interpolate()
243 mp = get_message(*msgvec); in interpolate()
[all …]
H A Dlex.c60 static int *msgvec; variable
192 if (msgvec != 0) in setmsize()
193 free(msgvec); in setmsize()
194 msgvec = ecalloc((size_t) (sz + 1), sizeof(*msgvec)); in setmsize()
720 if (msgvec == 0) { in execute()
728 msgvec[1] = 0; in execute()
730 if (*msgvec == 0) { in execute()
734 e = (*com->c_func)(msgvec); in execute()
742 if (msgvec == 0) { in execute()
746 if (getmsglist(cp, msgvec, com->c_msgflag) < 0) in execute()
[all …]
H A Dthread.c715 int *msgvec; in flattencmd() local
718 msgvec = v; in flattencmd()
721 for (ip = msgvec; *ip; ip++) { in flattencmd()
1054 for (ip = msgvec; *ip != 0; ip++) in tag1()
1096 int *msgvec; in tagbelowcmd() local
1101 msgvec = v; in tagbelowcmd()
1104 mp = get_message(*msgvec); in tagbelowcmd()
1236 int *msgvec = v; in downcmd() local
1238 if ((mp = get_message(*msgvec)) == NULL || in downcmd()
1258 int *msgvec = v; in tsetcmd() local
[all …]
/netbsd/sys/compat/linux/common/
H A Dlinux_socketcall.h259 syscallarg(struct linux_mmsghdr *) msgvec;
269 syscallarg(struct linux_mmsghdr *) msgvec;
H A Dlinux_socket.c1841 error = copyin(SCARG(uap, msgvec) + dg, &lmsg, sizeof(lmsg)); in linux_sys_sendmmsg()
1854 error = copyout(&lmsg, SCARG(uap, msgvec) + dg, sizeof(lmsg)); in linux_sys_sendmmsg()
1925 error = copyin(SCARG(uap, msgvec) + dg, &lmsg, sizeof(lmsg)); in linux_sys_recvmmsg()
1963 error = copyout(&lmsg, SCARG(uap, msgvec) + dg, sizeof(lmsg)); in linux_sys_recvmmsg()
/netbsd/external/bsd/nsd/dist/
H A Dserver.c3483 msgvec[vpos].msg_hdr.msg_iov->iov_base, in nsd_recvmmsg()
3484 msgvec[vpos].msg_hdr.msg_iov->iov_len, in nsd_recvmmsg()
3486 msgvec[vpos].msg_hdr.msg_name, in nsd_recvmmsg()
3487 &msgvec[vpos].msg_hdr.msg_namelen); in nsd_recvmmsg()
3492 msgvec[vpos].msg_len = (unsigned int)rcvd; in nsd_recvmmsg()
3521 assert(msgvec[vpos].msg_hdr.msg_iovlen == 1); in nsd_sendmmsg()
3523 msgvec[vpos].msg_hdr.msg_iov->iov_base, in nsd_sendmmsg()
3524 msgvec[vpos].msg_hdr.msg_iov->iov_len, in nsd_sendmmsg()
3526 msgvec[vpos].msg_hdr.msg_name, in nsd_sendmmsg()
3527 msgvec[vpos].msg_hdr.msg_namelen); in nsd_sendmmsg()
[all …]
/netbsd/sys/compat/linux/arch/aarch64/
H A Dlinux_syscallargs.h974 syscallarg(struct linux_mmsghdr *) msgvec;
999 syscallarg(struct linux_mmsghdr *) msgvec;
H A Dlinux_systrace_args.c1624 uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ in systrace_args()
1655 uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ in systrace_args()
/netbsd/sys/compat/linux/arch/powerpc/
H A Dlinux_syscallargs.h1155 syscallarg(struct linux_mmsghdr *) msgvec;
1172 syscallarg(struct linux_mmsghdr *) msgvec;
/netbsd/sys/compat/linux/arch/amd64/
H A Dlinux_syscallargs.h1148 syscallarg(struct linux_mmsghdr *) msgvec;
1165 syscallarg(struct linux_mmsghdr *) msgvec;
H A Dlinux_systrace_args.c1945 uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ in systrace_args()
1966 uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ in systrace_args()
/netbsd/sys/compat/linux/arch/m68k/
H A Dlinux_syscallargs.h1240 syscallarg(struct linux_mmsghdr *) msgvec;
1249 syscallarg(struct linux_mmsghdr *) msgvec;
/netbsd/sys/compat/linux/arch/mips/
H A Dlinux_syscallargs.h1268 syscallarg(struct linux_mmsghdr *) msgvec;
1285 syscallarg(struct linux_mmsghdr *) msgvec;
/netbsd/sys/compat/linux/arch/alpha/
H A Dlinux_syscallargs.h1180 syscallarg(struct linux_mmsghdr *) msgvec;
1275 syscallarg(struct linux_mmsghdr *) msgvec;
/netbsd/sys/compat/linux/arch/arm/
H A Dlinux_syscallargs.h1214 syscallarg(struct linux_mmsghdr *) msgvec;
1239 syscallarg(struct linux_mmsghdr *) msgvec;
H A Dlinux_systrace_args.c2034 uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ in systrace_args()
2065 uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ in systrace_args()
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2976 int res = REAL(recvmmsg)(fd, msgvec, vlen, flags, timeout);
2980 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
2981 sizeof(msgvec[i].msg_len));
2982 write_msghdr(ctx, &msgvec[i].msg_hdr, msgvec[i].msg_len);
2983 COMMON_INTERCEPTOR_HANDLE_RECVMSG(ctx, &msgvec[i].msg_hdr);
3068 COMMON_INTERCEPTOR_ENTER(ctx, sendmmsg, fd, msgvec, vlen, flags);
3073 int res = REAL(sendmmsg)(fd, msgvec, vlen, flags);
3074 if (res >= 0 && msgvec)
3076 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
3077 sizeof(msgvec[i].msg_len));
[all …]
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3000 int res = REAL(recvmmsg)(fd, msgvec, vlen, flags, timeout);
3004 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
3005 sizeof(msgvec[i].msg_len));
3006 write_msghdr(ctx, &msgvec[i].msg_hdr, msgvec[i].msg_len);
3007 COMMON_INTERCEPTOR_HANDLE_RECVMSG(ctx, &msgvec[i].msg_hdr);
3092 COMMON_INTERCEPTOR_ENTER(ctx, sendmmsg, fd, msgvec, vlen, flags);
3097 int res = REAL(sendmmsg)(fd, msgvec, vlen, flags);
3098 if (res >= 0 && msgvec) {
3100 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
3101 sizeof(msgvec[i].msg_len));
[all …]
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_interceptors.inc3000 int res = REAL(recvmmsg)(fd, msgvec, vlen, flags, timeout);
3004 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
3005 sizeof(msgvec[i].msg_len));
3006 write_msghdr(ctx, &msgvec[i].msg_hdr, msgvec[i].msg_len);
3007 COMMON_INTERCEPTOR_HANDLE_RECVMSG(ctx, &msgvec[i].msg_hdr);
3092 COMMON_INTERCEPTOR_ENTER(ctx, sendmmsg, fd, msgvec, vlen, flags);
3097 int res = REAL(sendmmsg)(fd, msgvec, vlen, flags);
3098 if (res >= 0 && msgvec) {
3100 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, &msgvec[i].msg_len,
3101 sizeof(msgvec[i].msg_len));
[all …]