Searched refs:newpos (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/usr.bin/fold/ |
H A D | fold.c | 61 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-11-stable/contrib/atf/atf-c++/detail/ |
H A D | text.cpp | 94 std::string::size_type pos = 0, newpos = 0; local 95 while (pos < str.length() && newpos != std::string::npos) { 96 newpos = str.find(delim, pos); 97 if (newpos != pos) 98 words.push_back(str.substr(pos, newpos - pos)); 99 pos = newpos + delim.length();
|
/freebsd-11-stable/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 120 off_t oldpos, newpos; local 246 newpos = 0; 247 while (newpos < newsize) { 263 if (add_off_t(newpos, ctrl[0]) > newsize) 267 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]); 275 new[newpos + i] += old[oldpos + i]; 278 newpos = add_off_t(newpos, ctrl[0]); 282 if (add_off_t(newpos, ctrl[1]) > newsize) 286 lenread = BZ2_bzRead(&ebz2err, epfbz2, new + newpos, ctr [all...] |
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | strstream.cpp | 276 char* newpos = eback() + newoff; local 278 setg(eback(), newpos, _VSTD::max(newpos, egptr())); local 281 // min(pbase, newpos), newpos, epptr() 282 __off = epptr() - newpos; 283 setp(min(pbase(), newpos), epptr()); 306 char* newpos = eback() + newoff; local 308 setg(eback(), newpos, _VSTD::max(newpos, egpt local [all...] |
/freebsd-11-stable/contrib/flex/ |
H A D | ccl.c | 59 int ind, len, newpos, i; local 76 newpos = ind + len; 78 if (newpos >= current_max_ccl_tbl_size) { 88 ccltbl[newpos] = ch;
|
/freebsd-11-stable/lib/libc/xdr/ |
H A D | xdr_rec.c | 358 char *newpos; local 364 newpos = rstrm->out_finger - delta; 365 if ((newpos > (char *)(void *)(rstrm->frag_header)) && 366 (newpos < rstrm->out_boundry)) { 367 rstrm->out_finger = newpos; 373 newpos = rstrm->in_finger - delta; 375 (newpos <= rstrm->in_boundry) && 376 (newpos >= rstrm->in_base)) { 377 rstrm->in_finger = newpos;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | genrecog.c | 1802 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
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | buffer.c | 2594 const size_t newpos = pos->pos - howfar; local 2596 * chains until we hit newpos. */ 2597 return evbuffer_ptr_set(buf, pos, newpos, EVBUFFER_PTR_SET);
|
Completed in 100 milliseconds