/haiku-fatelf/src/bin/ |
H A D | badblocks.cpp | 47 int got; local 50 got = pread(fd, buffer, len, at); 51 if (got == len) 53 if (got >= 0) { 55 fprintf(stderr, "block %Ld (offset %Ld): got %d < %zd\n", 56 block, at, got, len); 59 if (got < 0) { 70 got = pread(fd, buffer, blockSize, at + blockSize * i); 71 if (got == blockSize) 73 if (got < blockSiz [all...] |
H A D | unchop.c | 123 ssize_t got; local 126 got = read(fdin, Block, BLOCKSIZE); 127 if (got <= 0) 130 write(fdout, Block, got);
|
H A D | hd.c | 122 size_t got; local 126 while ((got = fread(data, 1, 16, fp)) == 16) { 131 if (got > 0) { 132 memset(data+got, ' ', 16-got);
|
H A D | chop.c | 187 ssize_t got; // size of the current data block -- i.e. from the last read() local 202 got = read(fdin, Block, BLOCKSIZE); 203 if (got <= 0) 207 end = Block + got - 1;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/googlefs/ |
H A D | ringbuff.c | 85 size_t index, toread, got; local 98 got = len; 103 memcpy(((char *)data)+got, ((char *)rb->data)+index, len); 106 got += len; 109 return got; 121 int got, tow; local 123 while ((got = read(0, buffer, 10))) { 125 len = rb_write(&myrb.rb, buffer, got);
|
/haiku-fatelf/src/add-ons/kernel/debugger/hangman/ |
H A D | hangman.c | 120 size_t sz, got; local 147 got = read(fd, bigbuffer, BIGBUFFSZ - 2); 149 for (beg = 0; beg < got && isalpha(bigbuffer[beg]); beg++); 150 for (; beg < got && !isalpha(bigbuffer[beg]); beg++); 151 if (beg + 1 < got && isalpha(bigbuffer[beg])) { 152 for (end = beg; end < got && isalpha(bigbuffer[end]); end++); 153 if (end < got && !isalpha(bigbuffer[end]) && beg + MIN_LETTERS < end) { 154 /* got one */ 176 size_t sz, got; local 193 got [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | compress.c | 831 u32 got; local 837 got = 0; 848 if ((to_read - got) < count) 849 count = to_read - got; 852 got += count; 858 } while ((xgot == (int)count) && (got < to_read)); 859 return (got); 1432 u32 got; local 1447 got = read_clusters(na->ni->vol, rl, offs, 1449 if ((got 1523 s64 got; local 1717 s64 got; local [all...] |
/haiku-fatelf/src/libs/ncurses/tack/ |
H A D | sysdep.c | 388 int got, ask, i, l; local 402 if ((got = read(fileno(stdin), s, (unsigned) ask))) { 403 s += got; 407 max -= got;
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | elf32-cris.c | 555 0, 0, 0, 0, /* Replaced with address of .got + 4. */ 558 0, 0, 0, 0, /* Replaced with address of .got + 8. */ 568 0, 0, 0, 0, /* Replaced with address of this symbol in .got. */ 592 0, 0, 0, 0, /* Replaced with offset of this symbol in .got. */ 644 this with gotplt_refcount in a union, like the got and plt unions in 824 sgot = bfd_get_section_by_name (dynobj, ".got"); 944 calculate it as we do when filling it in for the .got.plt 950 = bfd_get_section_by_name (dynobj, ".got.plt"); 973 && (h->got.offset == (bfd_vma) -1 980 ((h->got [all...] |
H A D | elf64-ppc.c | 2372 asection *got; 2379 /* TLS local dynamic got entry handling. Suppose for multiple GOT 3028 than one got entry per symbol. */ 3053 } got; 3282 asection *got; 3698 /* Create .got and .rela.got sections in ABFD, and .got in dynobj if 3704 asection *got, *relgot; 3708 if (!htab->got) 2370 asection *got; member in struct:ppc64_elf_obj_tdata 3049 } got; member in struct:got_entry 3278 asection *got; member in struct:ppc_link_hash_table 3700 asection *got, *relgot; local 9314 asection *got; local [all...] |
H A D | elf32-ppc.c | 197 asection *got; 212 /* TLS local dynamic got entry handling. */ 2776 /* The powerpc .got has a blrl instruction in it. Mark it executable. */ 2789 htab->got = s = bfd_get_section_by_name (abfd, ".got"); 2798 htab->relgot = bfd_make_section (abfd, ".rela.got"); 2823 if (htab->got == NULL 3120 if (eh->elf.got.refcount > 0) 3133 eh->elf.got.offset = (bfd_vma) -1; 3137 eh->elf.got 196 asection *got; member in struct:ppc_elf_link_hash_table [all...] |
H A D | elf32-vax.c | 363 0, 0, 0, 0, /* offset to .plt.got + 4 */ 365 0, 0, 0, 0, /* offset to .plt.got + 8 */ 617 /* Create the .got section. */ 625 sgot = bfd_get_section_by_name (dynobj, ".got"); 632 srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); 635 srelgot = bfd_make_section (dynobj, ".rela.got"); 654 if (h->got.refcount == -1) 656 h->got.refcount = 1; 661 h->got.refcount++; 883 /* Update the got entr [all...] |
H A D | elf32-i386.c | 481 0, 0, 0, 0, /* replaced with address of .got + 4. */ 483 0, 0, 0, 0, /* replaced with address of .got + 8. */ 493 0, 0, 0, 0, /* replaced with address of this symbol in .got. */ 514 0, 0, 0, 0, /* replaced with offset of this symbol in .got. */ 566 /* tls_type for each local got entry. */ 677 /* Create .got, .gotplt, and .rel.got sections in DYNOBJ, and set up 689 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); 690 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt"); 694 htab->srelgot = bfd_make_section (dynobj, ".rel.got"); [all...] |
H A D | elf64-x86-64.c | 294 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */ 345 /* tls_type for each local got entry. */ 446 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up 458 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); 459 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt"); 463 htab->srelgot = bfd_make_section (dynobj, ".rela.got"); 474 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, [all...] |
H A D | elf32-m68k.c | 203 0, 0, 0, 0, /* replaced with offset to .got + 4. */ 205 0, 0, 0, 0, /* replaced with offset to .got + 8. */ 214 0, 0, 0, 0, /* replaced with offset to symbol's .got entry. */ 228 0, 0, 0, 0, /* replaced with offset to .got + 4. */ 230 0, 0, 0, 0, /* replace with offset to .got +8. */ 239 0, 0, 0, 0, /* replaced with offset to symbol's .got entry. */ 472 /* Create the .got section. */ 480 sgot = bfd_get_section_by_name (dynobj, ".got"); 487 srelgot = bfd_get_section_by_name (dynobj, ".rela.got"); 490 srelgot = bfd_make_section (dynobj, ".rela.got"); [all...] |
H A D | elf32-s390.c | 601 .long got # address of GOT */ 663 /* tls_type for each local got entry. */ 786 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up 800 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); 801 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt"); 805 htab->srelgot = bfd_make_section (dynobj, ".rela.got"); 816 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, [all...] |
H A D | elf64-s390.c | 616 /* tls_type for each local got entry. */ 739 /* Create .got, .gotplt, and .rela.got sections in DYNOBJ, and set up 753 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); 754 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt"); 758 htab->srelgot = bfd_make_section (dynobj, ".rela.got"); 769 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, .dynbss, and 847 && dir->got [all...] |
H A D | elf32-sparc.c | 607 /* tls_type for each local got entry. */ 722 /* Create .got and .rela.got sections in DYNOBJ, and set up 736 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); 740 htab->srelgot = bfd_make_section (dynobj, ".rela.got"); 751 /* Create .plt, .rela.plt, .got, .rela.got, .dynbss, and 829 && dir->got.refcount <= 0) 1005 h->got.refcount += 1; 1324 /* Update the got entr [all...] |
/haiku-fatelf/src/libs/zlib/ |
H A D | gzread.c | 312 if (state->have) /* got some data from gz_head() */ 367 unsigned got, n; local 400 got = 0; 444 got += n; 449 return (int)got; 576 if (buf == str) /* got bupkus */ 578 break; /* got something -- return it */
|
H A D | inflate.c | 1327 unsigned got; 1330 got = *have; 1332 while (next < len && got < 4) { 1333 if ((int)(buf[next]) == (got < 2 ? 0 : 0xff)) 1334 got++; 1336 got = 0; 1338 got = 4 - got; 1341 *have = got;
|
H A D | gzwrite.c | 63 int ret, got; local 79 if (have && ((got = write(state->fd, state->next, have)) < 0 || 80 (unsigned)got != have)) {
|
/haiku-fatelf/src/bin/gdb/gdb/gdbserver/ |
H A D | gdbreplay.c | 76 sync_error (FILE *fp, char *desc, int expect, int got) argument 79 fprintf (stderr, "At logfile offset %ld, expected '0x%x' got '0x%x'\n", 80 ftell (fp), expect, got);
|
/haiku-fatelf/src/bin/network/wget/tests/ |
H A D | HTTPServer.pm | 179 $msg = "Expected auth type $url_rec->{'auth_method'} but got " 207 my ($got) = $authhdr =~ /^Basic (.*)$/; 208 if ($got eq $expected) { 211 $$msgref = "Wanted ${expected} got ${got}";
|
/haiku-fatelf/src/system/libroot/posix/glibc/include/arch/ppc/ |
H A D | sysdep.h | 130 lwz r0,0b@got(r11); \
|
/haiku-fatelf/src/bin/gdb/gdb/nlm/ |
H A D | gdbserve.c | 172 LONG got; local 177 err = AIOReadData (AIOhandle, (char *) &ret, 1, &got); 185 while (got == 0);
|