/dragonfly/contrib/tcp_wrappers/ |
H A D | misc.c | 31 int got; local 35 got = strlen(ptr); 36 if (got >= 1 && ptr[got - 1] == '\n') { 38 if (got >= 2 && ptr[got - 2] == '\\') { 39 got -= 2; 44 ptr += got; 45 len -= got;
|
/dragonfly/sbin/dump/ |
H A D | tape.c | 223 int i, blks, got; in flushtape() local 241 if (atomic_read(slp->fd, &got, sizeof got) in flushtape() 242 != sizeof got) { in flushtape() 259 &got, sizeof got) in flushtape() 302 int got; in trewind() local 314 if (atomic_read(slaves[f].fd, &got, sizeof got) in trewind() 471 if (atomic_read(slp->fd, &got, sizeof got) in rollforward() 849 while ((got = read(fd, buf, need)) > 0 && (need -= got) > 0) in atomic_read() 851 return (got < 0 ? got : count - need); in atomic_read() 859 while ((got = write(fd, buf, need)) > 0 && (need -= got) > 0) in atomic_write() [all …]
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | socket-client.c | 63 size_t *got) in socket_buffer_input() argument 77 *got = 0; in socket_buffer_input() 92 nbytes = recv (sb->socket, data + *got, size - *got, 0); in socket_buffer_input() 102 if (*got == 0) in socket_buffer_input() 107 *got += nbytes; in socket_buffer_input() 109 while (*got < need); in socket_buffer_input()
|
/dragonfly/stand/boot/pc32/libi386/ |
H A D | i386_copy.c | 72 ssize_t got; in i386_readin() local 82 for (resid = len; resid > 0; resid -= got, dest += got) { in i386_readin() 84 got = read(fd, buf, get); in i386_readin() 85 if (got <= 0) in i386_readin() 87 bcopy(buf, PTOV(dest), (size_t)got); in i386_readin()
|
/dragonfly/sbin/camcontrol/ |
H A D | util.c | 68 if (h->got >= h->argc) in iget() 74 arg = strtol(h->argv[h->got], 0, 0); in iget() 75 h->got++; in iget() 91 if (h->got >= h->argc) in cget() 97 arg = h->argv[h->got]; in cget() 98 h->got++; in cget()
|
/dragonfly/sys/netgraph7/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 172 sc->got = 0; in ng_h4_open() 357 sc->got = 0; in ng_h4_input() 375 sc->got = 0; in ng_h4_input() 389 sc->got); in ng_h4_input() 395 sc->got = 0; in ng_h4_input() 450 sc->got = 0; in ng_h4_input() 519 sc->got = 0; in ng_h4_input() 551 sc->got = 0; in ng_h4_input() 739 sc->got = 0; 873 sc->got, [all …]
|
/dragonfly/usr.sbin/ppp/ |
H A D | defs.c | 79 size_t got, total; in fullread() local 81 for (total = 0; total < n; total += got) in fullread() 82 switch ((got = read(fd, (char *)v + total, n - total))) { in fullread() 87 got = 0; in fullread() 124 int m, got, len; in Nam2mode() local 127 got = -1; in Nam2mode() 132 if (got != -1) in Nam2mode() 134 got = m; in Nam2mode() 137 return got == -1 ? 0 : modes[got].mode; in Nam2mode()
|
H A D | sig.c | 99 int got; in sig_Handle() local 108 got = 0; in sig_Handle() 112 got++; in sig_Handle() 116 } while (got); in sig_Handle()
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | elf-ifunc.c | 183 if (h->plt.refcount <= 0 && h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 185 h->got = htab->init_got_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 196 || h->got.refcount > 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 198 h->got = htab->init_got_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 312 && (h->got.refcount <= 0 in _bfd_elf_allocate_ifunc_dyn_relocs() 322 h->got.offset = (bfd_vma) -1; in _bfd_elf_allocate_ifunc_dyn_relocs() 331 if (h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 335 h->got.offset = (bfd_vma) -1; in _bfd_elf_allocate_ifunc_dyn_relocs() 339 h->got.offset = htab->sgot->size; in _bfd_elf_allocate_ifunc_dyn_relocs()
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | elfcomm.c | 467 size_t got; in process_archive_index_and_symbols() local 516 if (got != sizeof_ar_index) in process_archive_index_and_symbols() 544 if (got != arch->index_num) in process_archive_index_and_symbols() 585 got = fread (arch->sym_table, 1, size, arch->file); in process_archive_index_and_symbols() 586 if (got != size) in process_archive_index_and_symbols() 596 if (got != sizeof arch->arhdr && got != 0) in process_archive_index_and_symbols() 613 size_t got; in setup_archive() local 635 if (got != sizeof arch->arhdr) in setup_archive() 637 if (got == 0) in setup_archive() 857 size_t got; in get_archive_member_name_at() local [all …]
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | elfcomm.c | 459 size_t got; in process_archive_index_and_symbols() local 504 if (got != sizeof_ar_index) in process_archive_index_and_symbols() 532 if (got != arch->index_num) in process_archive_index_and_symbols() 573 got = fread (arch->sym_table, 1, size, arch->file); in process_archive_index_and_symbols() 574 if (got != size) in process_archive_index_and_symbols() 584 if (got != sizeof arch->arhdr && got != 0) in process_archive_index_and_symbols() 601 size_t got; in setup_archive() local 623 if (got != sizeof arch->arhdr) in setup_archive() 625 if (got == 0) in setup_archive() 838 size_t got; in get_archive_member_name_at() local [all …]
|
/dragonfly/libexec/getty/ |
H A D | chat.c | 327 char * got; in chat_expect() local 329 if ((got = malloc(len + 1)) == NULL) in chat_expect() 333 memset(got, 0, len+1); in chat_expect() 350 got[i++] = ch; in chat_expect() 357 while (j < i && memcmp(got + j, str, i - j) != 0) in chat_expect() 360 memcpy(got, got + j, i - j); in chat_expect() 370 free(got); in chat_expect()
|
/dragonfly/tools/regression/p1003_1b/ |
H A D | yield.c | 71 struct sched_param set, got; in yield() local 105 (void)sched_is(__LINE__, &got, SCHED_FIFO); in yield() 106 if (got.sched_priority != set.sched_priority) { in yield() 121 (void)sched_is(__LINE__, &got, SCHED_FIFO); in yield() 123 if (got.sched_priority != set.sched_priority) { in yield()
|
/dragonfly/usr.sbin/makefs/msdos/ |
H A D | msdosfs_fat.c | 75 u_long *got); 92 u_long *got); 683 u_long fillwith, u_long *retcluster, u_long *got) in chainalloc() argument 708 if (got) in chainalloc() 709 *got = count; in chainalloc() 726 u_long fillwith, u_long *retcluster, u_long *got) in clusteralloc() argument 736 u_long fillwith, u_long *retcluster, u_long *got) in clusteralloc1() argument 956 u_long cn, got; in m_extendfile() local 1005 count -= got; in m_extendfile() 1034 fc_setcache(dep, FC_LASTFC, frcn + got - 1, cn + got - 1); in m_extendfile() [all …]
|
/dragonfly/contrib/binutils-2.34/gold/ |
H A D | x86_64.cc | 94 Output_data_got<64, false>* got, in Output_data_plt_x86_64() argument 104 Output_data_got<64, false>* got, in Output_data_plt_x86_64() argument 227 got() const in got() function in __anon260770b90111::Output_data_plt_x86_64 451 got, got_plt, got_irelative, in Output_data_plt_x86_64_bnd() 1751 got = this->got_plt_; in add_entry() 2668 Output_data_got<64, false>* got = this->got(); in do_write() local 2763 Output_data_got<64, false>* got = this->got(); in do_write() local 3287 got->add_constant(0); in got_mod_index_entry() 3734 object, r_sym, r_type, got, in local() 3816 got->add_constant(0); in local() [all …]
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | elf-ifunc.c | 191 if (h->plt.refcount <= 0 && h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 207 h->got = htab->init_got_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 218 || h->got.refcount > 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 220 h->got = htab->init_got_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 302 if (h->got.refcount <= 0 in _bfd_elf_allocate_ifunc_dyn_relocs() 312 h->got.offset = (bfd_vma) -1; in _bfd_elf_allocate_ifunc_dyn_relocs() 316 h->got.offset = htab->sgot->size; in _bfd_elf_allocate_ifunc_dyn_relocs()
|
/dragonfly/sys/vfs/msdosfs/ |
H A D | msdosfs_fat.c | 73 u_long *got); 709 if (got) in chainalloc() 710 *got = count; in chainalloc() 752 retcluster, got)); in clusteralloc1() 767 retcluster, got)); in clusteralloc1() 785 retcluster, got)); in clusteralloc1() 803 got)); in clusteralloc1() 978 u_long cn, got; in extendfile() local 1025 count -= got; in extendfile() 1054 fc_setcache(dep, FC_LASTFC, frcn + got - 1, cn + got - 1); in extendfile() [all …]
|
/dragonfly/contrib/lvm2/dist/daemons/clvmd/ |
H A D | tcp-comms.c | 244 int got, offset; in really_read() local 246 got = offset = 0; in really_read() 249 got = read(fd, buf+offset, len-offset); in really_read() 250 DEBUGLOG("really_read. got %d bytes\n", got); in really_read() 251 offset += got; in really_read() 252 } while (got > 0 && offset < len); in really_read() 254 if (got < 0) in really_read() 255 return got; in really_read()
|
/dragonfly/contrib/file/src/ |
H A D | is_json.c | 278 int got = 0; in json_parse_number() local 289 got = 1; in json_parse_number() 298 got = 1; in json_parse_number() 302 if (got && (*uc == 'e' || *uc == 'E')) { in json_parse_number() 304 got = 0; in json_parse_number() 312 got = 1; in json_parse_number() 316 if (!got) in json_parse_number() 321 return got; in json_parse_number()
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | elf-ifunc.c | 178 if (h->plt.refcount <= 0 && h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 180 h->got = htab->init_got_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 191 || h->got.refcount > 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 193 h->got = htab->init_got_offset; in _bfd_elf_allocate_ifunc_dyn_relocs() 307 && (h->got.refcount <= 0 in _bfd_elf_allocate_ifunc_dyn_relocs() 317 h->got.offset = (bfd_vma) -1; in _bfd_elf_allocate_ifunc_dyn_relocs() 326 if (h->got.refcount <= 0) in _bfd_elf_allocate_ifunc_dyn_relocs() 330 h->got.offset = (bfd_vma) -1; in _bfd_elf_allocate_ifunc_dyn_relocs() 334 h->got.offset = htab->sgot->size; in _bfd_elf_allocate_ifunc_dyn_relocs()
|
/dragonfly/tools/regression/bin/sh/expansion/ |
H A D | export1.0 | 7 [ "$v" = "@" ] || echo "Expected @ got $v" 8 [ "$vv" = "6" ] || echo "Expected 6 got $vv" 13 [ "$v" = \~ ] || echo "Expected ~ got $v"
|
H A D | export2.0 | 5 [ "$v" = "$w" ] || echo "Expected $w got $v" 13 [ "$v" = ~ ] || echo "Expected $HOME got $v" 20 [ "$v" = "x:$HOME" ] || echo "Expected x:$HOME got $v"
|
H A D | local1.0 | 6 [ "$v" = "$w" ] || echo "Expected $w got $v" 14 [ "$v" = ~ ] || echo "Expected $HOME got $v" 21 [ "$v" = "x:$HOME" ] || echo "Expected x:$HOME got $v"
|
/dragonfly/games/cribbage/ |
H A D | score.c | 285 bool got[RANKS]; in pegscore() local 307 got[i] = false; in pegscore() 308 got[crd.rank] = true; in pegscore() 311 if (got[tbl[i].rank]) in pegscore() 313 got[tbl[i].rank] = true; in pegscore() 319 if (!got[j]) in pegscore()
|
/dragonfly/contrib/binutils-2.27/gold/ |
H A D | x86_64.cc | 94 Output_data_got<64, false>* got, in Output_data_plt_x86_64() argument 104 Output_data_got<64, false>* got, in Output_data_plt_x86_64() argument 337 got, got_plt, got_irelative) in Output_data_plt_x86_64_standard() 346 got, got_plt, got_irelative, in Output_data_plt_x86_64_standard() 1351 Output_section_data_build* got; in add_entry() local 1365 got = this->got_plt_; in add_entry() 2178 got->add_constant(0); in got_mod_index_entry() 2625 object, r_sym, r_type, got, in local() 2707 got->add_constant(0); in local() 2717 got, got_offset, 0); in local() [all …]
|