Home
last modified time | relevance | path

Searched refs:ntok (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/mdocml/
HDman_macro.c158 rew_block(enum mant ntok, enum man_type type, const struct man_node *n) in rew_block() argument
161 if (type == MAN_BLOCK && ntok == n->parent->tok && in rew_block()
164 return(ntok == n->tok ? REW_HALT : REW_NOHALT); in rew_block()
279 enum mant ntok; in blk_close() local
287 ntok = MAN_RS; in blk_close()
291 if (nn->tok == ntok && nn->type == MAN_BLOCK) in blk_close()
307 ntok = MAN_UR; in blk_close()
315 if (nn->tok == ntok && nn->type == MAN_BLOCK && ! --nrew) in blk_close()
325 ntok = man->last->tok; in blk_close()
330 if (ntok == MAN_LP || ntok == MAN_PP || ntok == MAN_P) { in blk_close()
[all …]
HDmdoc_macro.c455 enum mdoct ntok; in macro_or_word() local
458 ntok = MDOC_MAX; in macro_or_word()
462 ntok = lookup(mdoc, tok, line, ppos, p); in macro_or_word()
464 if (ntok == MDOC_MAX) { in macro_or_word()
471 mdoc_macro(mdoc, ntok, line, ppos, pos, buf); in macro_or_word()
492 enum mdoct atok, ntok; in blk_exp_close() local
638 ntok = ac == ARGS_QWORD ? MDOC_MAX : in blk_exp_close()
641 if (ntok == MDOC_MAX) { in blk_exp_close()
652 mdoc_macro(mdoc, ntok, line, lastarg, pos, buf); in blk_exp_close()
666 enum mdoct ntok; in in_line() local
[all …]
/NextBSD/contrib/binutils/gas/config/
HDtc-alpha.c724 debug_exp (expressionS tok[], int ntok) in debug_exp() argument
728 fprintf (stderr, "debug_exp: %d tokens", ntok); in debug_exp()
729 for (i = 0; i < ntok; i++) in debug_exp()
809 int ntok) in tokenize_arguments() argument
811 expressionS *end_tok = tok + ntok; in tokenize_arguments()
825 memset (tok, 0, sizeof (*tok) * ntok); in tokenize_arguments()
968 debug_exp (orig_tok, ntok - (end_tok - tok)); in tokenize_arguments()
974 return ntok - (end_tok - tok); in tokenize_arguments()
1001 int ntok = *pntok; in find_opcode_match() local
1024 if (tokidx >= ntok) in find_opcode_match()
[all …]
/NextBSD/contrib/ntp/ntpdc/
HDntpdc.c1121 int ntok; in docmd() local
1135 tokenize(cmdline, tokens, &ntok); in docmd()
1136 if (ntok == 0) in docmd()
1161 if ((i+ti) >= ntok) { in docmd()
1183 if ((i+ti) >= ntok) in docmd()
1197 if (i < ntok && *tokens[i] == '>') { in docmd()
1202 else if ((i+1) < ntok) in docmd()
1239 int *ntok in tokenize() argument
1248 for (*ntok = 0; *ntok < MAXTOKENS; (*ntok)++) { in tokenize()
1249 tokens[*ntok] = sp; in tokenize()
/NextBSD/contrib/ntp/ntpq/
HDntpq.c1492 int ntok; in docmd() local
1499 tokenize(cmdline, tokens, &ntok); in docmd()
1500 if (ntok == 0) in docmd()
1518 for (i = MAXARGS + 1; i < ntok ; ++i) { in docmd()
1529 if ((i+1) >= ntok) { in docmd()
1544 if (i < ntok && *tokens[i] == '>') { in docmd()
1549 else if ((i+1) < ntok) in docmd()
1595 int *ntok in tokenize() argument
1604 for (*ntok = 0; *ntok < MAXTOKENS; (*ntok)++) { in tokenize()
1605 tokens[*ntok] = sp; in tokenize()
[all …]
/NextBSD/contrib/ntp/ntpd/
HDrefclock_gpsdjson.c102 int ntok; member
1150 if (tid >= 0 && tid < ctx->ntok) { in json_token_skip()
1175 if (tid > ctx->ntok) /* Impossible? Paranoia rulez. */ in json_token_skip()
1176 tid = ctx->ntok; in json_token_skip()
1192 if (tid < 0 || tid >= ctx->ntok || in json_object_lookup()
1197 for (++tid; len && tid+1 < ctx->ntok; --len) { in json_object_lookup()
1378 ctx->ntok = rc; in json_parse_record()
1387 for (idx = 0; idx < ctx->ntok; ++idx) in json_parse_record()
HDntp_config.c4850 int ntok = 1; in gettokens_netinfo() local
4857 for (ntok = 1; ntok < MAXTOKENS; ntok++) { in gettokens_netinfo()
4858 tokenlist[ntok] = tokens; in gettokens_netinfo()
4874 if (ntok == MAXTOKENS) { in gettokens_netinfo()
4880 *ntokens = ntok + 1; in gettokens_netinfo()
/NextBSD/lib/libedit/TEST/
HDwtc1.c248 Tokenizer *ntok = tok_init(NULL); in main() local
251 tok_str(ntok, my_wcstombs(line), &nargc, &nav); in main()
/NextBSD/contrib/libpcap/
HDpcap-usb-linux.c726 int ntok; in usb_stats_linux() local
729 ntok = sscanf(ptr, "%s%n", token, &cnt); in usb_stats_linux()
730 if ((ntok < 1) || (cnt < 0)) in usb_stats_linux()
738 if (ntok != 1) in usb_stats_linux()
/NextBSD/usr.bin/xlint/lint1/
HDtree.c287 getnnode(sym_t *sym, int ntok) in getnnode() argument
294 if (ntok == T_LPARN) { in getnnode()