Home
last modified time | relevance | path

Searched refs:fpos (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__ios/
H A Dfpos.h23 class _LIBCPP_TEMPLATE_VIS fpos {
29 _LIBCPP_HIDE_FROM_ABI fpos(streamoff __off = streamoff()) : __st_(), __off_(__off) {} in __st_()
36 _LIBCPP_HIDE_FROM_ABI fpos& operator+=(streamoff __off) {
41 _LIBCPP_HIDE_FROM_ABI fpos operator+(streamoff __off) const {
42 fpos __t(*this);
47 _LIBCPP_HIDE_FROM_ABI fpos& operator-=(streamoff __off) {
52 _LIBCPP_HIDE_FROM_ABI fpos operator-(streamoff __off) const {
53 fpos __t(*this);
60 inline _LIBCPP_HIDE_FROM_ABI streamoff operator-(const fpos<_StateT>& __x, const fpos<_State
[all...]
/freebsd/contrib/ntp/scripts/monitoring/
H A Dntploopwatch569 local($cnt,$in,$out,$lo,$lf,@fpos) = @_;
606 $fpos[$[] = '' if !defined($fpos[$[]);
821 if ($fpos[$[] eq 'start')
823 if (grep($_ eq $fpos[$[+1],@f))
825 shift(@f) while @f && $f[$[] ne $fpos[$[+1];
829 @fpos = ('start', $f[$[], undef);
834 @fpos = ('start' , $f[$[], undef);
837 if (!defined($fpos[$[+2]))
841 $fpos[$[+2] = 0;
845 $fpos[$[+2] =
[all …]
/freebsd/contrib/dialog/
H A Dtextbox.c55 long fpos; in lseek_obj() local
56 if ((fpos = (long) lseek(obj->fd, (off_t) offset, mode)) == -1) { in lseek_obj()
70 return fpos; in lseek_obj()
234 long fpos; in tabize() local
241 fpos = ftell_obj(obj); in tabize()
243 lseek_set(obj, fpos - obj->fd_bytes_read); in tabize()
270 lseek_set(obj, fpos); in tabize()
288 long fpos = ftell_obj(obj); in get_line() local
290 if (fpos < obj->file_size) { /* Not end of file yet */ in get_line()
333 long fpos; in back_lines() local
[all …]
H A Dtailbox.c107 long fpos = 0; in last_lines() local
110 || (fpos = ftell(fp)) < 0) in last_lines()
113 if (fpos != 0) { in last_lines()
124 if (fpos >= BUFSIZ) { in last_lines()
127 size_to_read = (size_t) fpos; in last_lines()
129 fpos = fpos - (long) size_to_read; in last_lines()
130 if (fseek(fp, fpos, SEEK_SET) == -1) in last_lines()
137 fpos = 0; in last_lines()
153 } else if (fpos == 0) { in last_lines()
159 if (fseek(fp, fpos + offset, SEEK_SET) == -1) in last_lines()
/freebsd/contrib/wpa/src/ap/
H A Dtaxonomy.c87 char *fpos = fstr; in ie_to_string() local
116 *fpos = '\0'; in ie_to_string()
150 ret = os_snprintf(fpos, fend - fpos, in ie_to_string()
219 ret = os_snprintf(fpos, fend - fpos, "%s%d", sep, id); in ie_to_string()
221 if (os_snprintf_error(fend - fpos, ret)) in ie_to_string()
223 fpos += ret; in ie_to_string()
229 ret = os_snprintf(fpos, fend - fpos, "%s%s%s%s%s%s%s%s%s", in ie_to_string()
232 if (os_snprintf_error(fend - fpos, ret)) { in ie_to_string()
/freebsd/contrib/llvm-project/libcxx/include/
H A Diosfwd85 template <class state> class fpos;
86 using streampos = fpos<char_traits<char>::state_type>;
87 using wstreampos = fpos<char_traits<wchar_t>::state_type>;
88 using u8streampos = fpos<char_traits<char8_t>::state_type>; // C++20
89 using u16streampos = fpos<char_traits<char16_t>::state_type>;
90 using u32streampos = fpos<char_traits<char32_t>::state_type>;
132 class _LIBCPP_TEMPLATE_VIS fpos;
133 typedef fpos<mbstate_t> streampos;
135 typedef fpos<mbstate_t> wstreampos;
138 typedef fpos<mbstate_t> u8streampos;
[all …]
H A Dios23 template <class stateT> class fpos;
219 # include <__ios/fpos.h>
H A Dstring25 class fpos
30 fpos(streamoff = streamoff());
37 fpos& operator+=(streamoff);
38 fpos operator+ (streamoff) const;
39 fpos& operator-=(streamoff);
40 fpos operator- (streamoff) const;
43 template <class stateT> streamoff operator-(const fpos<stateT>& x, const fpos<stateT>& y);
45 template <class stateT> bool operator==(const fpos<stateT>& x, const fpos<stateT>& y);
46 template <class stateT> bool operator!=(const fpos<stateT>& x, const fpos<stateT>& y);
600 #include <__ios/fpos.h>
H A Dmodule.modulemap1380 module std_private_ios_fpos [system] { header "__ios/fpos.h" }
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dios.cppm
H A Diosfwd.cppm
H A Diosfwd.inc39 using std::fpos;
/freebsd/contrib/ntp/libntp/
H A Dsnprintf.c1112 int fpos = 0; in fmtflt() local
1291 fpos = convert(fracpart, fconvert, sizeof(fconvert), 10, 0); in fmtflt()
1293 leadfraczeros = precision - fpos; in fmtflt()
1296 if (fpos > 0) /* Omit trailing fractional part zeros. */ in fmtflt()
1297 while (omitcount < fpos && fconvert[omitcount] == '0') in fmtflt()
1366 while (fpos > omitcount) { /* The remaining fractional part. */ in fmtflt()
1367 fpos--; in fmtflt()
1368 OUTCHAR(str, *len, size, fconvert[fpos]); in fmtflt()
/freebsd/contrib/less/
H A Dch.c57 POSITION fpos;
69 #define ch_fpos thisfile->fpos
832 thisfile->fpos = 0; in ch_init()
930 printf(" file %d, flags %x, fpos %x, fsize %x, blk/off %x/%x\n",
931 fs->file, fs->flags, fs->fpos,
64 POSITION fpos; global() member
/freebsd/lib/libsm/
H A DMakefile25 fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c \
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dchar_traits.h184 using pos_type = fpos<mbstate_t>;
/freebsd/lib/libc++/
H A DMakefile814 IOS_HEADERS+= fpos.h
H A Dlibcxx.imp438 { include: [ "<__ios/fpos.h>", "private", "<ios>", "public" ] },
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc1331 SYMBOL(fpos, std::, <ios>)
1332 SYMBOL(fpos, std::, <iostream>)
1333 SYMBOL(fpos, std::, <iosfwd>)
/freebsd/
H A DObsoleteFiles.inc18209 OLD_FILES+=usr/include/c++/3.3/bits/fpos.h