HomeSort by relevance Sort by last modified time
    Searched refs:ofd (Results 1 - 21 of 21) sorted by null

  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/
sec64k.exp 61 if [catch { set ofd [open $sfile w] } x] {
69 puts $ofd " .global start"
70 puts $ofd "start:"
71 puts $ofd " .global _start"
72 puts $ofd "_start:"
73 puts $ofd " .global __start"
74 puts $ofd "__start:"
75 puts $ofd " .global main"
76 puts $ofd "main:"
77 puts $ofd " .global foo_0
    [all...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-m68k/
m68k-got.exp 36 if [catch { set ofd [open "tmpdir/$testname.s" w] } msg] {
81 puts $ofd "\t.text"
82 puts $ofd "\t.align 2"
83 puts $ofd "\t.globl $func"
84 puts $ofd "\t.type $func,@function"
85 puts $ofd "$func:"
86 puts $ofd "\tlink.w %fp,#0"
87 puts $ofd "\tmove.l %a5,-(%sp)"
88 puts $ofd "\tmove.l #_GLOBAL_OFFSET_TABLE_@GOTPC, %a5"
89 puts $ofd "\tlea (-6, %pc, %a5), %a5
    [all...]
  /external/libnl/lib/
handlers.c 34 static void print_header_content(FILE *ofd, struct nlmsghdr *n)
39 fprintf(ofd, "type=%s length=%u flags=<%s> sequence-nr=%u pid=%u",
47 FILE *ofd = arg ? arg : stdout; local
49 fprintf(ofd, "-- Warning: unhandled valid message: ");
50 print_header_content(ofd, nlmsg_hdr(msg));
51 fprintf(ofd, "\n");
58 FILE *ofd = arg ? arg : stderr; local
60 fprintf(ofd, "-- Error: Invalid message: ");
61 print_header_content(ofd, nlmsg_hdr(msg));
62 fprintf(ofd, "\n")
69 FILE *ofd = arg ? arg : stderr; local
81 FILE *ofd = arg ? arg : stderr; local
94 FILE *ofd = arg ? arg : stderr; local
105 FILE *ofd = arg ? arg : stderr; local
116 FILE *ofd = arg ? arg : stderr; local
126 FILE *ofd = arg ? arg : stderr; local
136 FILE *ofd = arg ? arg : stderr; local
147 FILE *ofd = arg ? arg : stderr; local
    [all...]
msg.c 755 static void prefix_line(FILE *ofd, int prefix)
760 fprintf(ofd, " ");
763 static inline void dump_hex(FILE *ofd, char *start, int len, int prefix)
769 prefix_line(ofd, prefix);
770 fprintf(ofd, " ");
775 fprintf(ofd, "%02x ", v);
779 fprintf(ofd, "%s\n", ascii);
781 prefix_line(ofd, prefix);
782 fprintf(ofd, " ");
791 fprintf(ofd, " ");
    [all...]
  /external/e2fsprogs/util/
copy_sparse.c 93 long lb, i, fd, ofd, bs, block, numblocks; local
135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
136 if (ofd < 0) {
160 if (lseek64(ofd, should_be, SEEK_SET) == (off_t) -1) {
177 lseek(ofd, bs, SEEK_CUR);
182 got2 = write(ofd, buf, got);
190 if (fstat64(ofd, &fileinfo) < 0) {
195 lseek64(ofd, offset-1, SEEK_CUR);
197 write(ofd, buf, 1);
200 close(ofd);
    [all...]
subst.c 326 int fd, ofd = -1; local
377 ofd = open(newfn, O_CREAT|O_TRUNC|O_RDWR, 0644);
378 if (ofd < 0) {
382 out = fdopen(ofd, "w+");
436 if (ofd >= 0)
437 (void) fchmod(ofd, 0444);
444 if (ofd >= 0)
445 (void) fchmod(ofd, 0444);
  /external/ltp/testcases/kernel/syscalls/dup2/
dup202.c 89 int i, ofd; local
103 if ((ofd = creat(testfile, TC[i].mode)) == -1)
107 TEST(dup2(ofd, *TC[i].nfd));
116 if (fstat(ofd, &oldbuf) == -1)
135 if (close(ofd) == -1)
dup201.c 83 int *ofd; member in struct:test_case_t
122 TEST(dup2(*TC[i].ofd, *TC[i].nfd));
  /external/toybox/toys/posix/
uudecode.c 29 int ifd = 0, ofd, idx = 0, m = m; local
44 if (TT.o && !strcmp(TT.o, "-")) ofd = 1;
45 else ofd = xcreate(TT.o ? TT.o : line+idx, O_WRONLY|O_CREAT|O_TRUNC,
101 xwrite(ofd, line, out-line);
106 close(ofd);
  /external/bison/lib/
spawn-pipe.c 125 int ofd[2]; local
142 if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0)
147 * parent -> ofd[1] -> ofd[0] -> child if pipe_stdin
166 if ((!pipe_stdin || dup2 (ofd[0], STDIN_FILENO) >= 0)
185 /* The child process doesn't inherit ifd[0], ifd[1], ofd[0], ofd[1],
227 close (ofd[0]);
238 close (ofd[1]);
246 fd[1] = ofd[1]
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/fs/
LinuxFileSystem.java 71 void copyNonPosixAttributes(int ofd, int nfd) {
72 LinuxUserDefinedFileAttributeView.copyExtendedAttributes(ofd, nfd);
LinuxUserDefinedFileAttributeView.java 294 * @param ofd
299 static void copyExtendedAttributes(int ofd, int nfd) {
308 size = flistxattr(ofd, buffer.address(), size);
343 copyExtendedAttribute(ofd, name, nfd);
358 private static void copyExtendedAttribute(int ofd, byte[] name, int nfd)
361 int size = fgetxattr(ofd, name, 0L, 0);
365 size = fgetxattr(ofd, name, address, size);
  /external/libedit/src/
refresh.c 504 Char *ofd, *ols, *oe, *nfd, *nls, *ne; local
514 ofd = o;
526 while (ofd < o) {
549 if (*ofd == '\0' && *nfd == '\0') {
556 while ((o > ofd) && (n > nfd) && (*--o == *--n))
570 * case 1: insert: scan from nfd to nls looking for *ofd
572 if (*ofd) {
573 for (c = *ofd, n = nfd; n < nls; n++) {
575 for (o = ofd, p = n;
587 osb = ofd;
    [all...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/
sysroot-prefix.exp 134 if [catch { set ofd [open $scriptname w] } x] {
140 puts $ofd "$finalscript"
141 close $ofd
  /external/ppp/pppd/
tty.c 926 start_charshunt(ifd, ofd)
927 int ifd, ofd;
931 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
975 * (We assume ofd >= ifd which is true the way this gets called. :-).
978 charshunt(ifd, ofd, record_file)
979 int ifd, ofd;
1041 if (ifd >= FD_SETSIZE || ofd >= FD_SETSIZE || pty_master >= FD_SETSIZE)
1043 ifd, ofd, pty_master);
1063 if (ofd != ifd) {
1064 flags = fcntl(ofd, F_GETFL)
    [all...]
  /external/openssh/
scp.c 929 int amt, exists, first, ofd; local
1105 if ((ofd = open(np, O_WRONLY|O_CREAT, mode)) < 0) {
1110 if ((bp = allocbuf(&buffer, ofd, COPY_BUFLEN)) == NULL) {
1111 (void) close(ofd);
1142 if (atomicio(vwrite, ofd, bp->buf,
1154 atomicio(vwrite, ofd, bp->buf, count) != count) {
1159 ftruncate(ofd, size) != 0) {
1166 if (fchmod(ofd, omode)) {
1177 if (fchmod(ofd, omode & ~mask)) {
1186 if (close(ofd) == -1)
    [all...]
  /external/blktrace/btreplay/
btreplay.c 100 * @ofd: Output file descriptor
113 int cpu, ifd, ofd, iterations; member in struct:thr_info
736 io_prep_pread(iop, iocbp->tip->ofd, buf, n, off);
739 io_prep_pwrite(iop, iocbp->tip->ofd, buf, n, off);
770 tip->ofd = -1;
937 close(tip->ofd);
    [all...]
  /external/blktrace/
blktrace.c 242 * ofn, ofd, ofp, obuf & mmap_info are used for output file (optionally).
264 int ifd, ofd; member in struct:io_info
1443 ret = sendfile(iop->ofd, iop->ifd, NULL, iop->ready);
1460 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop->ready))
    [all...]
  /external/iproute2/tc/
tc_bpf.c 797 int ret, cfd, ofd, ffd; local
817 ofd = accept(cfd, NULL, 0);
818 if (ofd < 0) {
821 ret = ofd;
840 size = sendfile(ofd, ffd, NULL, stbuff.st_size);
848 size = read(ofd, out, len);
859 close(ofd);
    [all...]
  /external/mksh/src/
main.c     [all...]
  /external/bison/
configure     [all...]

Completed in 635 milliseconds