Home | History | Annotate | Download | only in libloc_api_50001

Lines Matching refs:fd

63     int fd;
82 fd = open(pipe_name, mode);
83 if (fd <= 0)
87 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
88 return fd;
98 fd - fd for the pipe
110 int loc_eng_dmn_conn_glue_piperemove(const char * pipe_name, int fd)
112 close(fd);
114 LOC_LOGD("fd = %d, %s\n", fd, pipe_name);
124 fd - fd of a pipe
138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz)
142 result = write(fd, buf, sz);
146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */
156 fd - fd for the pipe
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz)
174 len = read(fd, buf, sz);
178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
188 fd - fd for the pipe
200 int loc_eng_dmn_conn_glue_pipeunblock(int fd)
205 // result = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) | O_NDELAY);
208 result = fcntl(fd, F_SETLK, &flock_v);