/freebsd/usr.sbin/ppp/ |
H A D | timer.c | 102 ticks = RESTVAL(itimer) - TimerList->rest; in timer_Start() 106 if (ticks + t->rest >= tp->load) in timer_Start() 108 ticks += t->rest; in timer_Start() 113 tp->rest = tp->load - ticks; in timer_Start() 117 "timer[%p], delta = %ld\n", tp->name, tp, t->name, t, tp->rest); in timer_Start() 130 t->rest -= tp->rest; in timer_Start() 164 t->next->rest += RESTVAL(itimer); /* t (tp) was the first in the list */ in StopTimerNoBlock() 166 t->next->rest += t->rest; in StopTimerNoBlock() 167 if (!pt && t->next->rest > 0) /* t->next is now the first in the list */ in StopTimerNoBlock() 205 tp->rest = 0; in TimerService() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_mac.cpp | 121 const char *rest = trim; in ParseCommandOutput() 123 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput() 124 if (rest[0] == '\0') { in ParseCommandOutput() 134 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput() 136 if (rest[0] == '(') { in ParseCommandOutput() 138 rest++; in ParseCommandOutput() 139 rest = ExtractTokenUpToDelimiter(rest, " in ParseCommandOutput() 118 const char *rest = trim; ParseCommandOutput() local [all...] |
/freebsd/contrib/kyua/engine/ |
H A D | atf_result.cpp | 108 parse_without_reason(const std::string& status, const std::string& rest) in parse_without_reason() argument 110 if (!rest.empty()) in parse_without_reason() 129 parse_with_reason(const std::string& status, const std::string& rest) in parse_with_reason() argument 133 if (rest.length() < 3 || rest.substr(0, 2) != ": ") in parse_with_reason() 136 const std::string reason = rest.substr(2); in parse_with_reason() 182 parse_with_reason_and_arg(const std::string& status, const std::string& rest) in parse_with_reason_and_arg() argument 186 std::string::size_type delim = rest.find_first_of(":("); in parse_with_reason_and_arg() 191 status % rest); in parse_with_reason_and_arg() 194 if (rest[delim] == '(') { in parse_with_reason_and_arg() 195 const std::string::size_type delim2 = rest.find("):", delim); in parse_with_reason_and_arg() [all …]
|
/freebsd/sys/contrib/openzfs/scripts/ |
H A D | cstyle.pl | 775 my ($pre_tabs, $label, $rest) = ($1, $2, $3); 780 $_ .= ("\t" x (length($label) / 8)).$rest; 863 my $rest = $_; # keeps the remainder of the line 879 $rest =~ s/^$rxp//; 904 if ($rest =~ /^\s*\{?$/) { 908 if ($rest =~ /^\s*;$/) { 927 if ($rest =~ /^$/) { 945 if ($rest =~ /^$/) { 949 if ($rest =~ /^\s*special/) { 957 err("stuff after {") if ($rest =~ /[^\s}]/); [all …]
|
/freebsd/crypto/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 138 my $rest = $2; 140 print STDERR "DEBUG[",$opts{debug_type},"]: Matching '$rest' with '$re'\n" 142 if ($rest =~ m/$re/) { 143 my @rest = split /\|\|/, $rest; 144 shift @rest; 145 foreach (@rest) { 157 my $rest = $2; 159 print STDERR "DEBUG[",$opts{debug_type},"]: Matching '$rest' with '$re'\n" 161 if ($rest =~ m/$re/) { 162 my @rest = split /\&\&/, $rest; [all …]
|
/freebsd/lib/libtacplus/ |
H A D | taclib_private.h | 75 unsigned char rest[1]; member 83 unsigned char rest[1]; member 90 unsigned char rest[1]; member 102 unsigned char rest[1]; member 110 unsigned char rest[1]; member 123 unsigned char rest[1]; member 130 unsigned char rest[1]; member
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bss_bio.c | 112 size_t rest; in bio_read() local 154 rest = size; in bio_read() 156 assert(rest > 0); in bio_read() 160 assert(rest <= peer_b->len); in bio_read() 161 if (peer_b->offset + rest <= peer_b->size) in bio_read() 162 chunk = rest; in bio_read() 179 assert(chunk == rest); in bio_read() 182 rest -= chunk; in bio_read() 184 while (rest); in bio_read() 271 size_t rest; in bio_write() local [all …]
|
/freebsd/contrib/nvi/regex/ |
H A D | engine.c | 300 const RCHAR_T *rest; /* start of rest of string */ in dissect() local 352 rest = slow(m, sp, stp, ss, es); in dissect() 353 assert(rest != NULL); /* it did match */ in dissect() 355 tail = slow(m, rest, stop, es, stopst); in dissect() 359 stp = rest - 1; in dissect() 365 if (slow(m, sp, rest, ssub, esub) != NULL) { in dissect() 366 dp = dissect(m, sp, rest, ssub, esub); in dissect() 367 assert(dp == rest); in dissect() 369 assert(sp == rest); in dissect() 370 sp = rest; in dissect() [all …]
|
/freebsd/lib/libc/regex/ |
H A D | engine.c | 422 const char *rest; /* start of rest of string */ in dissect() local 478 rest = walk(m, sp, stp, ss, es, false); in dissect() 479 assert(rest != NULL); /* it did match */ in dissect() 481 tail = walk(m, rest, stop, es, stopst, false); in dissect() 485 stp = rest - 1; in dissect() 491 if (walk(m, sp, rest, ssub, esub, false) != NULL) { in dissect() 492 dp = dissect(m, sp, rest, ssub, esub); in dissect() 493 assert(dp == rest); in dissect() 495 assert(sp == rest); in dissect() 496 sp = rest; in dissect() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 344 const char *rest; /* start of rest of string */ 345 const char *tail; /* string unmatched by rest of RE */ 395 rest = slow(m, sp, stp, ss, es); 396 assert(rest != NULL); /* it did match */ 397 /* could the rest match the rest? */ 398 tail = slow(m, rest, stop, es, stopst); 402 stp = step_back(m->g, sp, rest, es, stopst); 408 if (slow(m, sp, rest, ssub, esub) != NULL) { 409 const char *dp = dissect(m, sp, rest, ssub, esub); 411 assert(dp == rest); [all …]
|
/freebsd/usr.bin/rctl/ |
H A D | rctl.c | 178 const char *subject, *textid, *rest; in expand_rule() local 195 rest = copy; in expand_rule() 197 rest = ""; in expand_rule() 219 ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest); in expand_rule() 227 ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest); in expand_rule() 229 ret = asprintf(&resolved, "%s:%s:%s", subject, textid, rest); in expand_rule() 252 const char *subject, *textid, *rest; in humanize_ids() local 261 rest = rule; in humanize_ids() 263 rest = ""; in humanize_ids() 282 ret = asprintf(&humanized, "%s:%s:%s", subject, textid, rest); in humanize_ids()
|
/freebsd/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 60 fail(int error, const char *func, const char *socktype, const char *rest) in fail() argument 67 else if (rest == NULL) in fail() 71 printf("# %s(%s, %s): %s\n", func, socktype, rest, in fail() 77 fail_assertion(const char *func, const char *socktype, const char *rest, in fail_assertion() argument 86 else if (rest == NULL) in fail_assertion() 91 socktype, rest, assertion); in fail_assertion()
|
/freebsd/contrib/kyua/utils/fs/ |
H A D | path.cpp | 284 fs::path::operator/(const fs::path& rest) const in operator /() 286 if (rest.is_absolute()) in operator /() 287 throw fs::join_error(_repr, rest._repr, in operator /() 289 return fs::path(_repr + '/' + rest._repr); in operator /()
|
/freebsd/sys/dev/speaker/ |
H A D | spkr.c | 54 static void rest(int centisecs); 98 rest(int centisecs) in rest() function 202 rest(whole * snum / (value * sdenom)); in playtone() 215 rest(silence); in playtone() 469 rest(tp->duration); in spkrioctl() 487 rest(ttp.duration); in spkrioctl()
|
/freebsd/usr.sbin/pmcstudy/ |
H A D | eval_expr.c | 580 struct expression *op, *other_half, *rest; in run_expr() local 600 rest = gather_exp_to_paren_close(other_half->next, &val2); in run_expr() 603 rest = other_half->next; in run_expr() 606 rest = other_half->next; in run_expr() 635 if (rest == NULL) { in run_expr() 641 if ((rest->type == TYPE_PARN_CLOSE) && (initial_call == 0)) { in run_expr() 643 *lastone = rest->next; in run_expr() 654 op = rest; in run_expr()
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-loop-delete.mk | 15 VAR= ${:U:@VAR@@} rest of the value 25 VAR= ${:U:@VAR@@} rest of the value
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | entropy_common.c | 202 U32 const rest = total - weightTotal; in HUF_readStats() local 203 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats() 204 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats() 205 …if (verif != rest) return ERROR(corruption_detected); /* last value must be a clean power of 2 … in HUF_readStats()
|
/freebsd/contrib/ntp/scripts/ |
H A D | plot_summary.in | 69 my ($result, @rest) = @_; 70 map { $result = $_ if ($_ < $result) } @rest; 77 my ($result, @rest) = @_; 78 map { $result = $_ if ($_ > $result) } @rest;
|
/freebsd/contrib/libxo/xolint/ |
H A D | xolint.pl | 635 my($text, $ff, $fc, $rest); 636 for ($in = $format; $in; $in = $rest) { 637 ($text, $ff, $fc, $rest) = 641 ($text, $ff, $rest) = ($in =~ /^([^%]*)(%%)(.*)$/);
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | DriverUtils.cpp | 570 StringRef rest; in parseExport() local 571 std::tie(e.name, rest) = arg.split(","); in parseExport() 592 while (!rest.empty()) { in parseExport() 594 std::tie(tok, rest) = rest.split(","); in parseExport() 614 if (!rest.empty() && !rest.contains(',')) in parseExport() 615 e.exportAs = rest; in parseExport() 617 error("invalid EXPORTAS value: " + rest); in parseExport() 962 SmallVector<const char *, 16> rest; in parseDirectives() local 983 rest.push_back(HasNul ? tok.data() : saver().save(tok).data()); in parseDirectives() 991 result.args = ctx.optTable.ParseArgs(rest, missingIndex, missingCount); in parseDirectives()
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | hdb.c | 278 const char **rest) in find_dynamic_method() argument 294 *rest = filename + len + 1; in find_dynamic_method() 369 find_method (const char *filename, const char **rest) in find_method() argument 375 *rest = filename + strlen(h->prefix); in find_method() 384 *rest = filename; in find_method()
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_rsa_get0_all_params.pod | 39 the I<primes> stack contains I<p>, I<q>, and then the rest of the primes 44 the I<exps> stack contains I<dP>, I<dQ>, and then the rest of the exponents 49 the I<coeffs> stack contains I<qInv>, and then the rest of the coefficients
|
/freebsd/contrib/kyua/os/freebsd/utils/ |
H A D | jail.cpp | 118 std::string rest; in parse_params_string() local 119 std::getline(iss, rest, quote); in parse_params_string() 120 p += rest; in parse_params_string()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | UUID.cpp | 104 llvm::StringRef rest = UUID::DecodeUUIDBytesFromString(p, bytes); in SetFromStringRef() local 108 if (!rest.empty() || bytes.empty()) in SetFromStringRef()
|
/freebsd/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fmemopen.c | 514 off_t len, rest, i; in ATF_TC_BODY() local 522 rest = (off_t)t->n - len; in ATF_TC_BODY() 539 for (i = (off_t)1; i <= rest; ++i) { in ATF_TC_BODY() 575 off_t len, rest, i; in ATF_TC_BODY() local 583 rest = t->n - len; in ATF_TC_BODY() 601 ATF_CHECK(fseeko(fp, rest + 1, SEEK_END) == -1); in ATF_TC_BODY() 609 for (i = 1; i <= rest; ++i) { in ATF_TC_BODY() 688 off_t len, rest, i; in ATF_TC_BODY() local 696 rest = (off_t)t->n - len; in ATF_TC_BODY() 713 ATF_CHECK(fseeko(fp, rest + 1, SEEK_END) == -1); in ATF_TC_BODY() [all …]
|