Searched refs:newpos (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.0-release/usr.bin/fold/
H A Dfold.c61 static int newpos(int, wint_t);
169 if ((col = newpos(col, ch)) > width) {
183 col = newpos(col, buf[i]);
188 col = newpos(col, ch);
207 newpos(int col, wint_t ch) function
/freebsd-10.0-release/usr.bin/bsdiff/bspatch/
H A Dbspatch.c70 off_t oldpos,newpos; local
146 oldpos=0;newpos=0;
147 while(newpos<newsize) {
158 if(newpos+ctrl[0]>newsize)
162 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]);
170 new[newpos+i]+=old[oldpos+i];
173 newpos+=ctrl[0];
177 if(newpos+ctrl[1]>newsize)
181 lenread = BZ2_bzRead(&ebz2err, epfbz2, new + newpos, ctrl[1]);
187 newpos
[all...]
/freebsd-10.0-release/contrib/atf/atf-c++/detail/
H A Dtext.cpp98 std::string::size_type pos = 0, newpos = 0; local
99 while (pos < str.length() && newpos != std::string::npos) {
100 newpos = str.find(delim, pos);
101 if (newpos != pos)
102 words.push_back(str.substr(pos, newpos - pos));
103 pos = newpos + delim.length();
/freebsd-10.0-release/contrib/libc++/src/
H A Dstrstream.cpp270 char* newpos = eback() + newoff; local
272 setg(eback(), newpos, _VSTD::max(newpos, egptr())); local
275 // min(pbase, newpos), newpos, epptr()
276 __off = epptr() - newpos;
277 setp(min(pbase(), newpos), epptr());
300 char* newpos = eback() + newoff; local
302 setg(eback(), newpos, _VSTD::max(newpos, egpt local
[all...]
/freebsd-10.0-release/contrib/flex/
H A Dccl.c59 int ind, len, newpos, i; local
76 newpos = ind + len;
78 if (newpos >= current_max_ccl_tbl_size) {
88 ccltbl[newpos] = ch;
/freebsd-10.0-release/lib/libc/xdr/
H A Dxdr_rec.c368 char *newpos; local
374 newpos = rstrm->out_finger - delta;
375 if ((newpos > (char *)(void *)(rstrm->frag_header)) &&
376 (newpos < rstrm->out_boundry)) {
377 rstrm->out_finger = newpos;
383 newpos = rstrm->in_finger - delta;
385 (newpos <= rstrm->in_boundry) &&
386 (newpos >= rstrm->in_base)) {
387 rstrm->in_finger = newpos;
/freebsd-10.0-release/contrib/gcc/
H A Dgenrecog.c1802 change_state (const char *oldpos, const char *newpos, const char *indent)
1805 int ndepth = strlen (newpos);
1810 for (depth = odepth; strncmp (oldpos, newpos, depth) != 0; --depth)
1818 if (ISUPPER (newpos[new_has_insn]))
1825 if (ISUPPER (newpos[depth]))
1828 indent, newpos[depth] - 'A');
1831 else if (ISLOWER (newpos[depth]))
1833 indent, depth + 1, depth, newpos[depth] - 'a');
1836 indent, depth + 1, depth, newpos[depth]);
1796 change_state(const char *oldpos, const char *newpos, const char *indent) argument

Completed in 97 milliseconds