Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/freebsd-12-stable/sys/dev/nand/
Dnandsim_log.c96 int hdr_len, len, rest; in nandsim_log() local
127 rest = log_size - sc->log_idx - 1; in nandsim_log()
128 if (rest >= hdr_len) { in nandsim_log()
134 bcopy(hdr, &sc->log_buff[sc->log_idx], rest); in nandsim_log()
135 bcopy(&hdr[rest], sc->log_buff, in nandsim_log()
136 hdr_len - rest); in nandsim_log()
137 sc->log_idx = hdr_len - rest; in nandsim_log()
141 rest = log_size - sc->log_idx - 1; in nandsim_log()
142 if (rest >= len) { in nandsim_log()
147 bcopy(tmp, &sc->log_buff[sc->log_idx], rest); in nandsim_log()
[all …]
/freebsd-12-stable/usr.sbin/ppp/
Dtimer.c104 ticks = RESTVAL(itimer) - TimerList->rest; in timer_Start()
108 if (ticks + t->rest >= tp->load) in timer_Start()
110 ticks += t->rest; in timer_Start()
115 tp->rest = tp->load - ticks; in timer_Start()
119 "timer[%p], delta = %ld\n", tp->name, tp, t->name, t, tp->rest); in timer_Start()
132 t->rest -= tp->rest; in timer_Start()
166 t->next->rest += RESTVAL(itimer); /* t (tp) was the first in the list */ in StopTimerNoBlock()
168 t->next->rest += t->rest; in StopTimerNoBlock()
169 if (!pt && t->next->rest > 0) /* t->next is now the first in the list */ in StopTimerNoBlock()
207 tp->rest = 0; in TimerService()
[all …]
/freebsd-12-stable/contrib/gperf/src/
Dkeyword-list.cc56 lastp = &new_cons->rest(); in copy_list()
57 list = list->rest(); in copy_list()
76 Keyword_List *rest = list->rest(); in delete_list() local
78 list = rest; in delete_list()
106 resultp = &list2->rest(); in merge()
114 resultp = &list1->rest(); in merge()
127 if (list == NULL || list->rest() == NULL) in mergesort_list()
134 for (Keyword_List *temp = list->rest();;) in mergesort_list()
136 temp = temp->rest(); in mergesort_list()
139 temp = temp->rest(); in mergesort_list()
[all …]
Dsearch.cc139 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare()
145 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare()
168 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in prepare()
220 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in init_selchars_tuple()
228 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in delete_selchars()
247 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in count_duplicates_tuple()
280 for (KeywordExt_List *l1 = _head; l1 && l1->rest(); l1 = l1->rest()) in find_positions()
283 for (KeywordExt_List *l2 = l1->rest(); l2; l2 = l2->rest()) in find_positions()
537 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in compute_alpha_unify()
578 for (KeywordExt_List *temp = _head; temp; temp = temp->rest()) in init_selchars_multiset()
[all …]
Dmain.cc39 const char *rest);
43 KeywordExt_Factory::create_keyword (const char *allchars, int allchars_length, const char *rest) in create_keyword() argument
45 return new KeywordExt (allchars, allchars_length, rest); in create_keyword()
131 for (KeywordExt_List *ptr = list; ptr; ptr = ptr->rest()) in main()
Dkeyword.h38 const char *rest);
56 const char *rest);
102 const char *rest) = 0;
Dkeyword.icc28 Keyword::Keyword (const char *allchars, int allchars_length, const char *rest)
29 : _allchars (allchars), _allchars_length (allchars_length), _rest (rest)
38 KeywordExt::KeywordExt (const char *allchars, int allchars_length, const char *rest)
39 : Keyword (allchars, allchars_length, rest),
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cpp167 const char *rest = trim; in ParseCommandOutput() local
169 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput()
170 if (rest[0] == '\0') { in ParseCommandOutput()
180 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput()
182 if (rest[0] == '(') { in ParseCommandOutput()
184 rest++; in ParseCommandOutput()
185 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput()
187 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput()
191 } else if (rest[0] == '+') { in ParseCommandOutput()
192 rest += 2; in ParseCommandOutput()
[all …]
/freebsd-12-stable/contrib/amd/scripts/
Damd2sun.in28 $fs = $1; $rest=$2;
31 ($defopts = $rest) =~ s/^.*[\s;]opts:=([^;\s]+)[;\s]*.*$/\1/;
37 if ($rest =~ /opts:=([^;\s]+)[;\s]/) {
43 ($rhost = $rest) =~ s/^.*[\s;]rhost:=([^;\s]+)[;\s]*.*$/\1/;
44 ($rfs = $rest) =~ s/^.*[\s;]rfs:=([^;\s]+)[;\s]*.*$/\1/;
46 if ($rest =~ /sublink:=([^;\s]+)[;\s]/ ) {
Dautomount2amd.in52 ($dir, $options, $machine, $path, $rest) = ($1, $2, $3, $4, $5);
53 print "#$rest\n" if ($rest =~ m/\w/);
/freebsd-12-stable/contrib/subversion/
Dgen-make.py278 rest = Options() variable
291 rest.add(opt, val)
297 rest.add(opt, val)
300 for opt, val in rest.list:
309 rest.add('--with-apr', os.path.join(val, 'srclib', 'apr'),
311 rest.add('--with-apr-util', os.path.join(val, 'srclib', 'apr-util'),
313 rest.add('--with-apr-iconv', os.path.join(val, 'srclib', 'apr-iconv'),
319 for opt, val in rest.list:
326 main(conf, gentype, skip_depends=skip, other_options=rest.list)
/freebsd-12-stable/lib/libtacplus/
Dtaclib_private.h99 unsigned char rest[1]; member
107 unsigned char rest[1]; member
114 unsigned char rest[1]; member
126 unsigned char rest[1]; member
134 unsigned char rest[1]; member
147 unsigned char rest[1]; member
154 unsigned char rest[1]; member
/freebsd-12-stable/crypto/openssl/crypto/bio/
Dbss_bio.c114 size_t rest; in bio_read() local
156 rest = size; in bio_read()
158 assert(rest > 0); in bio_read()
162 assert(rest <= peer_b->len); in bio_read()
163 if (peer_b->offset + rest <= peer_b->size) in bio_read()
164 chunk = rest; in bio_read()
181 assert(chunk == rest); in bio_read()
184 rest -= chunk; in bio_read()
186 while (rest); in bio_read()
273 size_t rest; in bio_write() local
[all …]
/freebsd-12-stable/contrib/nvi/regex/
Dengine.c300 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-12-stable/lib/libc/regex/
Dengine.c427 const char *rest; /* start of rest of string */ in dissect() local
483 rest = walk(m, sp, stp, ss, es, false); in dissect()
484 assert(rest != NULL); /* it did match */ in dissect()
486 tail = walk(m, rest, stop, es, stopst, false); in dissect()
490 stp = rest - 1; in dissect()
496 if (walk(m, sp, rest, ssub, esub, false) != NULL) { in dissect()
497 dp = dissect(m, sp, rest, ssub, esub); in dissect()
498 assert(dp == rest); in dissect()
500 assert(sp == rest); in dissect()
501 sp = rest; in dissect()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
Dregengine.inc303 const char *rest; /* start of rest of string */
304 const char *tail; /* string unmatched by rest of RE */
354 rest = slow(m, sp, stp, ss, es);
355 assert(rest != NULL); /* it did match */
356 /* could the rest match the rest? */
357 tail = slow(m, rest, stop, es, stopst);
361 stp = rest - 1;
367 if (slow(m, sp, rest, ssub, esub) != NULL) {
368 const char *dp = dissect(m, sp, rest, ssub, esub);
370 assert(dp == rest);
[all …]
/freebsd-12-stable/usr.bin/rctl/
Drctl.c184 const char *subject, *textid, *rest; in expand_rule() local
201 rest = copy; in expand_rule()
203 rest = ""; in expand_rule()
225 ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest); in expand_rule()
233 ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest); in expand_rule()
235 ret = asprintf(&resolved, "%s:%s:%s", subject, textid, rest); in expand_rule()
258 const char *subject, *textid, *rest; in humanize_ids() local
267 rest = rule; in humanize_ids()
269 rest = ""; in humanize_ids()
288 ret = asprintf(&humanized, "%s:%s:%s", subject, textid, rest); in humanize_ids()
/freebsd-12-stable/contrib/binutils/bfd/
Dmep-relocs.pl50 if (($pre,$rel,$rest) = /(.*RELOC_NUMBER \()([^,]+), *\d+(.*)/) {
51 $rest =~ s/[\r\n]+$//;
52 print (MEPHO "$pre$rel, $val$rest\n") || die("mep.h.new write: $!");
57 $rest =~ s@.*/\* @@;
58 ($pattern, $sign, $attrs) = $rest =~ m@(.*) ([US]) (.*)\*/@;
/freebsd-12-stable/tools/regression/sockets/kqueue/
Dkqueue.c62 fail(int error, const char *func, const char *socktype, const char *rest) in fail() argument
69 else if (rest == NULL) in fail()
73 printf("# %s(%s, %s): %s\n", func, socktype, rest, in fail()
79 fail_assertion(const char *func, const char *socktype, const char *rest, in fail_assertion() argument
88 else if (rest == NULL) in fail_assertion()
93 socktype, rest, assertion); in fail_assertion()
/freebsd-12-stable/contrib/gdb/gdb/cli/
Dcli-logging.c112 char *rest = args; in set_logging_on() local
113 if (rest && *rest) in set_logging_on()
116 logging_filename = xstrdup (rest); in set_logging_on()
/freebsd-12-stable/sys/dev/speaker/
Dspkr.c57 static void rest(int centisecs);
107 rest(int centisecs) in rest() function
217 rest(whole * snum / (value * sdenom)); in playtone()
230 rest(silence); in playtone()
499 rest(tp->duration);
517 rest(ttp.duration);
/freebsd-12-stable/usr.sbin/pmcstudy/
Deval_expr.c582 struct expression *op, *other_half, *rest; in run_expr() local
602 rest = gather_exp_to_paren_close(other_half->next, &val2); in run_expr()
605 rest = other_half->next; in run_expr()
608 rest = other_half->next; in run_expr()
637 if (rest == NULL) { in run_expr()
643 if ((rest->type == TYPE_PARN_CLOSE) && (initial_call == 0)) { in run_expr()
645 *lastone = rest->next; in run_expr()
656 op = rest; in run_expr()
/freebsd-12-stable/sys/contrib/zstd/lib/common/
Dentropy_common.c207 U32 const rest = total - weightTotal; in HUF_readStats() local
208 U32 const verif = 1 << BIT_highbit32(rest); in HUF_readStats()
209 U32 const lastWeight = BIT_highbit32(rest) + 1; in HUF_readStats()
210 …if (verif != rest) return ERROR(corruption_detected); /* last value must be a clean power of 2 … in HUF_readStats()
/freebsd-12-stable/sys/fs/nandfs/
Dnandfs_dir.c65 uint32_t off, rest; in nandfs_add_dirent() local
91 rest = pdirent->rec_len - in nandfs_add_dirent()
94 rest = blocksize; in nandfs_add_dirent()
96 if (rest < NANDFS_DIR_REC_LEN(namelen)) { in nandfs_add_dirent()
102 filesize += rest; in nandfs_add_dirent()
/freebsd-12-stable/lib/libkvm/
Dkvm_sparc64.c191 int rest; in _sparc64_kvatop() local
208 rest = SPARC64_PAGE_SIZE - pg_off; in _sparc64_kvatop()
209 pa_off = _sparc64_find_off(kd->vmst, pa_off, rest); in _sparc64_kvatop()
213 return (rest); in _sparc64_kvatop()

12345678910>>...17