Home
last modified time | relevance | path

Searched refs:sofar (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Durl.c644 int sofar = 0; in desc2str() local
682 sofar = sprintf( s, "%s://%s%s%s:%d", u->lud_scheme, in desc2str()
687 len -= sofar; in desc2str()
690 sofar = sprintf( s, "%s://", u->lud_scheme ); in desc2str()
691 len -= sofar; in desc2str()
694 s[sofar++] = '['; in desc2str()
697 i = hex_escape( &s[sofar], len, u->lud_host, URLESC_SLASH ); in desc2str()
698 sofar += i; in desc2str()
701 s[sofar++] = ']'; in desc2str()
713 s[sofar++] = '/'; in desc2str()
[all …]
/netbsd-src/usr.bin/split/
H A Dsplit.c375 size_t sofar = 0; in bigwrite() local
380 return sofar; in bigwrite()
383 sofar += w; in bigwrite()
385 return sofar; in bigwrite()
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dzlib.c175 int zstatus, sofar, status; in compress_buffer_input() local
202 sofar = size - cb->zstr.avail_out; in compress_buffer_input()
209 if (sofar > 0) break; in compress_buffer_input()
219 if (sofar > 0 && sofar >= need) in compress_buffer_input()
246 if (sofar > 0) break; in compress_buffer_input()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcoffcode.h2958 file_ptr sofar = bfd_coff_filhsz (abfd); in coff_compute_section_file_positions() local
3033 sofar += bfd_coff_aoutsz (abfd); in coff_compute_section_file_positions()
3036 sofar += bfd_coff_aoutsz (abfd); in coff_compute_section_file_positions()
3038 sofar += SMALL_AOUTSZ; in coff_compute_section_file_positions()
3041 sofar += abfd->section_count * bfd_coff_scnhsz (abfd); in coff_compute_section_file_positions()
3048 sofar += bfd_coff_scnhsz (abfd); in coff_compute_section_file_positions()
3187 old_sofar = sofar; in coff_compute_section_file_positions()
3190 sofar = BFD_ALIGN (sofar, page_size); in coff_compute_section_file_positions()
3192 sofar = BFD_ALIGN (sofar, 1 << current->alignment_power); in coff_compute_section_file_positions()
3223 bfd_vma sofar_off = sofar % align; in coff_compute_section_file_positions()
[all …]
H A Dsrec.c716 bfd_size_type sofar = 0; in srec_read_section() local
763 if (sofar != section->size) in srec_read_section()
785 if (address != section->vma + sofar) in srec_read_section()
788 if (sofar != section->size) in srec_read_section()
799 contents[sofar] = HEX (data); in srec_read_section()
801 ++sofar; in srec_read_section()
811 if (sofar != section->size) in srec_read_section()
H A Decoff.c1952 file_ptr sofar, file_sofar; in ecoff_compute_section_file_positions() local
1962 sofar = _bfd_ecoff_sizeof_headers (abfd, NULL); in ecoff_compute_section_file_positions()
1963 file_sofar = sofar; in ecoff_compute_section_file_positions()
2033 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()
2043 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()
2054 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()
2060 sofar = BFD_ALIGN (sofar, 1 << alignment_power); in ecoff_compute_section_file_positions()
2067 sofar += (current->vma - sofar) % round; in ecoff_compute_section_file_positions()
2075 sofar += current->size; in ecoff_compute_section_file_positions()
2080 old_sofar = sofar; in ecoff_compute_section_file_positions()
[all …]
H A Dxcofflink.c7052 file_ptr sofar; in _bfd_xcoff_bfd_final_link() local
7100 sofar = bfd_coff_filhsz (abfd); in _bfd_xcoff_bfd_final_link()
7101 sofar += bfd_coff_aoutsz (abfd); in _bfd_xcoff_bfd_final_link()
7102 sofar += abfd->section_count * bfd_coff_scnhsz (abfd); in _bfd_xcoff_bfd_final_link()
7109 sofar += bfd_coff_scnhsz (abfd); in _bfd_xcoff_bfd_final_link()
7118 pageoff = sofar & (file_align - 1); in _bfd_xcoff_bfd_final_link()
7122 sofar += file_align - pageoff; in _bfd_xcoff_bfd_final_link()
7129 sofar += BFD_ALIGN (o->size, in _bfd_xcoff_bfd_final_link()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcoffcode.h2981 file_ptr sofar = bfd_coff_filhsz (abfd); in coff_compute_section_file_positions() local
3056 sofar += bfd_coff_aoutsz (abfd); in coff_compute_section_file_positions()
3059 sofar += bfd_coff_aoutsz (abfd); in coff_compute_section_file_positions()
3061 sofar += SMALL_AOUTSZ; in coff_compute_section_file_positions()
3064 sofar += abfd->section_count * bfd_coff_scnhsz (abfd); in coff_compute_section_file_positions()
3071 sofar += bfd_coff_scnhsz (abfd); in coff_compute_section_file_positions()
3213 old_sofar = sofar; in coff_compute_section_file_positions()
3216 sofar = BFD_ALIGN (sofar, page_size); in coff_compute_section_file_positions()
3218 sofar = BFD_ALIGN (sofar, (bfd_vma) 1 << current->alignment_power); in coff_compute_section_file_positions()
3250 bfd_vma sofar_off = sofar % align; in coff_compute_section_file_positions()
[all …]
H A Dsrec.c716 bfd_size_type sofar = 0; in srec_read_section() local
763 if (sofar != section->size) in srec_read_section()
785 if (address != section->vma + sofar) in srec_read_section()
788 if (sofar != section->size) in srec_read_section()
799 contents[sofar] = HEX (data); in srec_read_section()
801 ++sofar; in srec_read_section()
811 if (sofar != section->size) in srec_read_section()
H A Decoff.c2032 file_ptr sofar, file_sofar; in ecoff_compute_section_file_positions() local
2042 sofar = _bfd_ecoff_sizeof_headers (abfd, NULL); in ecoff_compute_section_file_positions()
2043 file_sofar = sofar; in ecoff_compute_section_file_positions()
2113 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()
2123 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()
2134 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()
2140 sofar = BFD_ALIGN (sofar, 1 << alignment_power); in ecoff_compute_section_file_positions()
2147 sofar += (current->vma - sofar) % round; in ecoff_compute_section_file_positions()
2155 sofar += current->size; in ecoff_compute_section_file_positions()
2160 old_sofar = sofar; in ecoff_compute_section_file_positions()
[all …]
H A Dxcofflink.c7043 file_ptr sofar; in _bfd_xcoff_bfd_final_link() local
7093 sofar = bfd_coff_filhsz (abfd); in _bfd_xcoff_bfd_final_link()
7094 sofar += bfd_coff_aoutsz (abfd); in _bfd_xcoff_bfd_final_link()
7095 sofar += abfd->section_count * bfd_coff_scnhsz (abfd); in _bfd_xcoff_bfd_final_link()
7102 sofar += bfd_coff_scnhsz (abfd); in _bfd_xcoff_bfd_final_link()
7111 pageoff = sofar & (file_align - 1); in _bfd_xcoff_bfd_final_link()
7115 sofar += file_align - pageoff; in _bfd_xcoff_bfd_final_link()
7122 sofar += BFD_ALIGN (o->size, in _bfd_xcoff_bfd_final_link()
H A DChangeLog-96973312 * coffcode.h (coff_compute_section_file_positions): Adjust sofar
5467 producing a final executable, don't consider sofar when aligning
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d275 ptrdiff_t sofar = biguintToDecimal(buff, data.dup); in toDecimalString() local
276 return buff[sofar-frontExtraBytes..$]; in toDecimalString()
378 uint part, sofar, partcount; member
409 tmp[sofar] = part;
410 ++sofar;
418 tmp[sofar] = part;
419 ++sofar;
421 if (sofar == 0)
424 data = trustedAssumeUnique(tmp[0 .. sofar]);
1661 ptrdiff_t sofar = buff.length; in biguintToDecimal() local
[all …]
/netbsd-src/bin/csh/
H A Ddol.c219 int dolflg, done, sofar; in Dword() local
223 sofar = 0; in Dword()
231 if (sofar == 0) in Dword()
288 sofar = 1; in Dword()
309 sofar = 1; in Dword()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d418 ptrdiff_t sofar = biguintToDecimal(buff, data.dup);
419 return buff[sofar-frontExtraBytes..$];
521 uint part, sofar, partcount;
552 tmp[sofar] = part;
553 ++sofar;
561 tmp[sofar] = part;
562 ++sofar;
564 if (sofar == 0)
567 data = trustedAssumeUnique(tmp[0 .. sofar]);
2014 ptrdiff_t sofar = buff.length;
[all …]
/netbsd-src/external/bsd/ekermit/dist/
H A Dkermit.c124 r->sofar = 0L; /* No bytes transferred yet */ in kermit()
544 r->sofar = 0L; in kermit()
634 r->sofar = 0L; /* Or bytes transferred yet */ in kermit()
665 r->sofar = 0L; in kermit()
685 r->sofar = 0L; /* Open and close the file */ in kermit()
719 r->sofar += k->obufpos; in kermit()
1228 r->sofar += k->obuflen; in decode()
1454 r->sofar++; in getpkt()
1484 r->sofar++; /* count this byte */ in getpkt()
H A Dkermit.h400 long sofar; /* Bytes transferred so far */ member
H A Dmain.c436 debug(DB_LOG,"SOFAR",0,r.sofar); in main()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dutils.c955 int sofar = -1, in lutil_parse_time() local
985 if ( what - time_unit <= sofar ) { in lutil_parse_time()
989 sofar = what - time_unit; in lutil_parse_time()
990 t += u * scale[ sofar ]; in lutil_parse_time()
/netbsd-src/usr.sbin/sunlabel/
H A Dsunlabel.c924 print_ascii(struct field *f, int sofar) in print_ascii() argument
935 print_int(struct field *f, int sofar) in print_int() argument
937 if (sofar >= 60) { in print_int()
939 sofar = 0; in print_int()
943 return sofar + 16; in print_int()
/netbsd-src/external/ibm-public/postfix/dist/proto/
H A Dstop.spell-cc1274 sofar
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dread.c1681 ptrdiff_t sofar; in read_symbol_name() local
1683 sofar = name - start; in read_symbol_name()
1687 name = start + sofar; in read_symbol_name()
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dread.c1654 ptrdiff_t sofar; in read_symbol_name() local
1656 sofar = name - start; in read_symbol_name()
1660 name = start + sofar; in read_symbol_name()
/netbsd-src/external/gpl3/gdb/dist/bfd/
H A DChangeLog-96973312 * coffcode.h (coff_compute_section_file_positions): Adjust sofar
5467 producing a final executable, don't consider sofar when aligning
/netbsd-src/external/gpl3/gdb.old/dist/bfd/
H A DChangeLog-96973312 * coffcode.h (coff_compute_section_file_positions): Adjust sofar
5467 producing a final executable, don't consider sofar when aligning

12