Searched refs:fd (Results 151 - 175 of 283) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/usr/eclipseclp/Kernel/src/
H A Dio.c104 * and basically means that the fd is not positioned at offset.
397 static int _isafifo(int fd),
528 else /* connect to fd 0,1,2 */
583 /* stdin and others are done on the fd owner */
669 /* same as above, but the stream type is derived from the fd (unit) */
762 int fd; local
782 if ((fd = ec_open(buf, smode, 0666)) < 0) {
787 io_type = isatty(fd) ? &ec_tty : &ec_file;
791 init_stream(nst, fd, mode|io_type->io_type, enter_dict(name, 0), NO_PROMPT, NO_STREAM, 0);
2311 /* check the fd directl
2461 _set_raw_tty(int fd, int min, int time, struct termios *tbuf) argument
2521 _unset_raw_tty(int fd, struct termios *tbuf) argument
2795 pushback_char(int fd, char *p) argument
2848 set_sigio(int fd) argument
2892 reset_sigio(int fd) argument
2928 _isafifo(int fd) argument
2978 _dummy_close(int fd) argument
2984 _dummy_io(int fd, char *buf, int n) argument
3003 _close_fd(int fd) argument
3019 _write_fd(int fd, char *buf, int n) argument
3046 _read_fd(int fd, char *buf, int n) argument
[all...]
H A Dbip_load.c437 int fd; local
461 res = _load_once(buf, loader, end, name, temp, &size, &tsize, &fd);
469 if(size != read(fd, end, size)) /* read in the code */
471 (void) close(fd);
476 (void) close(fd); /* that is all */
488 int *size, long *tsize, int *fd)
536 if((*fd = open(temp, O_RDWR)) < 0) { /* try to open temp */
543 (void) read(*fd, (char *) &filehdr, sizeof(filehdr));
544 (void) read(*fd, (char *) &hr, sizeof(hr));
545 (void) lseek(*fd, (lon
487 _load_once(char buf[], char *loader, char *end, char *vstr, char *temp, int *size, long *tsize, int *fd) argument
[all...]
H A Dbip_io.c177 int fd[2]; member in struct:pipe_desc
188 #define EXEC_PIPE_LAST 16 /* end marker, last fd used */
327 d_fd = in_dict("fd", 0);
328 d_fd1 = in_dict("fd", 1);
890 * - fd(+FileDesc) to open (a duplicate of) an existing UNIX fd
904 * open(dup(FD), M, S) is the same as open(fd(FD), M, S)
921 int fd = NO_UNIT; local
990 * fd(Integer)
1021 fd
3312 ec_write_socket(uword fd, char *buf, int n) argument
3343 ec_read_socket(uword fd, char *buf, int n) argument
3367 ec_close_socket(uword fd) argument
3551 ec_close_socket(uword fd) argument
3558 ec_read_socket(uword fd, char *buf, int n) argument
3565 ec_write_socket(uword fd, char *buf, int n) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Shm/src/
H A Dshared_mem.c375 shared_mem_save(struct heap_descriptor *hd, int fd) argument
382 return write(fd, hd->shared_header->start,
387 shared_mem_restore(struct heap_descriptor *hd, int fd) argument
412 if (read(fd, start, sizeof(struct shm_desc)) != sizeof(struct shm_desc))
453 return read(fd, start + sizeof(struct shm_desc),
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dclnt_vc.c106 int ct_fd; /* connection's fd */
121 * This machinery implements per-fd locks for MT-safety. It is not
123 * user may create more than one CLIENT handle with the same fd behind
126 * similarly protected. Vc_fd_lock[fd] == 1 => a call is activte on some
127 * CLIENT handle created for that fd.
134 #define release_fd_lock(fd, mask) { \
136 vc_fd_locks[fd] = 0; \
139 cond_signal(&vc_cv[fd]); \
151 * NB: fd is copied into a private area.
155 * fd shoul
165 clnt_vc_create(int fd, const struct netbuf *raddr, const rpcprog_t prog, const rpcvers_t vers, u_int sendsz, u_int recvsz) argument
681 struct pollfd fd; local
[all...]
H A Dsvc_vc.c125 svc_vc_create(int fd, u_int sendsize, u_int recvsize) argument
133 if (!__rpc_fd2sockinfo(fd, &si))
153 xprt->xp_fd = fd;
156 if (_getsockname(fd, (struct sockaddr *)(void *)&sslocal, &slen) < 0) {
185 svc_fd_create(int fd, u_int sendsize, u_int recvsize) argument
191 assert(fd != -1);
193 ret = makefd_xprt(fd, sendsize, recvsize);
198 if (_getsockname(fd, (struct sockaddr *)(void *)&ss, &slen) < 0) {
211 if (_getpeername(fd, (struct sockaddr *)(void *)&ss, &slen) < 0) {
239 makefd_xprt(int fd, u_in argument
[all...]
H A Dsvc.c595 int bit, fd; local
606 fd = sock + bit - 1;
607 svc_getreq_common(fd);
613 svc_getreq_common(int fd) argument
629 xprt = __svc_xports[fd];
693 if (xprt != __svc_xports[fd]) {
717 /* fd has input waiting */
732 FD_CLR(p->fd, &svc_fdset);
735 svc_getreq_common(p->fd);
H A Drpc_generic.c460 * one succeeds in finding the netconf for the given fd.
463 __rpcgettp(int fd) argument
468 if (!__rpc_fd2sockinfo(fd, &si))
479 __rpc_fd2sockinfo(int fd, struct __rpc_sockinfo *sip) argument
486 if (_getsockname(fd, (struct sockaddr *)(void *)&ss, &len) < 0)
491 if (_getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &len) < 0)
809 __rpc_sockisbound(int fd) argument
815 if (_getsockname(fd, (struct sockaddr *)(void *)&ss, &slen) < 0)
/barrelfish-2018-10-04/usr/eclipseclp/icparc_solvers/
H A Dmake_overlap_bivs.pl25 :- lib(fd).
71 BivSum->fd:min,
75 BivSum->fd:max,
122 fd:dom(R2,R2DomList), label
123 fd:(Biv::[0|R2DomList]), label
134 The following predicates use fd to check for overlaps.
H A Dvbs_router.pl29 %:- lib(fd). % finite domain solver only
32 :- lib(fdplex). % fd/cplex cooperation
33 %:- use_module(fdplex). % fd/cplex cooperation
34 %:- use_module(mip). % fd/cplex cooperation
191 %%% insert_suspension(Var,S, min of fd,fd)
H A Dshadow_cons.pl28 % :- lib(fd).
67 [eclipse]: lib(fd).
70 X = X{fd:[1..4], shadow_cons:[fred-4]}
92 X = X{fd:[1..10], shadow_cons:[fred - ShadowVar{[3..10]}]}
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/bio/
H A Dbss_fd.c111 BIO *BIO_new_fd(int fd,int close_flag) argument
116 BIO_set_fd(ret,fd,close_flag);
H A Dbss_sock.c101 BIO *BIO_new_socket(int fd, int close_flag) argument
107 BIO_set_fd(ret,fd,close_flag);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/demos/tunala/
H A Dtunala.h134 int buffer_from_fd(buffer_t *buf, int fd);
135 int buffer_to_fd(buffer_t *buf, int fd);
/barrelfish-2018-10-04/usr/eclipseclp/Kernel/lib/
H A Dfd_util.pl78 dvar_domain_list(_{fd:(fd with domain:D)}, List) :-
H A Dfd_arith.pl513 conv_expr_var(Var{fd:(fd with [])}, Val, _, K) -->
1237 fd_re(Var{fd:(fd with [])}, Value) :-
1288 fd_eqe(A{fd:(fd with domain:dom([0, 1], 2))}, B, 1) :-
1311 eq_ent_test(A{fd:(fd with domain:D)}, B, Bool) :-
1323 eq_ent_dom(A, B{fd:(fd wit
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/
H A Duverbs.h155 int is_async, int *fd);
156 struct ib_uverbs_event_file *ib_uverbs_lookup_comp_file(int fd);
/barrelfish-2018-10-04/lib/libc/db/btree/
H A Dbt_open.c162 t->bt_fd = -1; /* Don't close unopened fd on error. */
178 dbp->fd = __bt_fd;
391 int fd, len; local
406 if ((fd = mkostemp(path, O_CLOEXEC)) != -1)
409 return(fd);
/barrelfish-2018-10-04/tools/usbboot/
H A Dusbboot.c264 int fd= open(file, O_RDONLY); local
265 if(fd < 0) fail_errno("open");
268 if(fstat(fd, &stat)) fail_errno("fstat");
278 size_t bytes_read= read(fd, elfdata, to_read);
/barrelfish-2018-10-04/lib/libc/include/
H A Dlibc_private.h384 int __fcntl_compat(int fd, int cmd, ...);
386 int __sys_futimens(int fd, const struct timespec *times) __hidden;
387 int __sys_utimensat(int fd, const char *path,
/barrelfish-2018-10-04/lib/cpio/
H A Dcpiobin.c606 int fd = open(argv[1], O_RDONLY); local
608 if (0 > fd)
614 fstat(fd, &st);
618 read_bytes = read(fd, read_data, max_bytes);
648 close(fd);
/barrelfish-2018-10-04/lib/libc/locale/
H A Dcollate.c118 int fd; local
131 if ((fd = _open(buf, O_RDONLY)) < 0) {
136 if (_fstat(fd, &sbuf) < 0) {
137 (void) _close(fd);
141 (void) _close(fd);
145 map = mmap(NULL, sbuf.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
146 (void) _close(fd);
/barrelfish-2018-10-04/usr/eclipseclp/documents/libman/
H A Drepair.tex71 'fd', 'ic', 'fd_sets' or 'conjunto' solvers. This is
110 [eclipse 3]: fd:(X::1..5), X tent_set 3.
111 X = X{fd:[1..5], repair:3}
116 [eclipse 3]: fd:(X::1..5), X tent_set 7.
117 X = X{fd:[1..5], repair:7}
122 [eclipse 3]: fd:(X::1..5), X tent_set 7, X tent_set 3.
123 X = X{fd:[1..5], repair:3}
228 fd:(Capacity >= sum(Weights)) r_conflict cap_cstr
419 fd-constraints (using the {\bf r_conflict_prop} annotation) and
424 [eclipse 1]: lib(repair), lib(fd)
[all...]
/barrelfish-2018-10-04/lib/zlib/
H A Dgzio.c76 local gzFile gz_open OF((const char *path, const char *mode, int fd));
87 or path name (if fd == -1).
93 local gzFile gz_open (path, mode, fd)
96 int fd;
181 s->file = fd < 0 ? F_OPEN(path, fmode) : (FILE*)fdopen(fd, fmode);
216 Associate a gzFile with the file descriptor fd. fd is not dup'ed here
219 gzFile ZEXPORT gzdopen (fd, mode)
220 int fd;
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/Contrib/
H A Dcardinal_minmax.pl41 :- lib(fd).
55 [Set->cardinal:bounded,CardSet->fd:min], SuspMB),
56 suspend_and_call(check_lower_min(MinVar,Set), 4, MinVar->fd:min, SuspCLM),
139 [Set->cardinal:bounded,CardSet->fd:min], SuspMB),
140 suspend_and_call(check_upper_max(MaxVar,Set), 4, MaxVar->fd:max, SuspCUM),

Completed in 229 milliseconds

1234567891011>>