Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 536) sorted by relevance

12345678910>>...22

/freebsd-9-stable/usr.bin/csup/
Drcsparse.c56 asserttoken(yyscan_t *sp, int token) in asserttoken() argument
60 t = token; in asserttoken()
62 assert(t == token); in asserttoken()
119 int strict, token; in parse_admin() local
133 token = rcslex(*sp); in parse_admin()
134 if (token == KEYWORD_TWO) { in parse_admin()
140 token = rcslex(*sp); in parse_admin()
144 assert(token == KEYWORD); in parse_admin()
145 token = rcslex(*sp); in parse_admin()
146 while (token == ID) { in parse_admin()
[all …]
/freebsd-9-stable/sbin/dhclient/
Dparse.c66 int brace_count = 0, token; in skip_to_semi() local
70 token = peek_token(&val, cfile); in skip_to_semi()
71 if (token == RBRACE) { in skip_to_semi()
73 token = next_token(&val, cfile); in skip_to_semi()
78 } else if (token == LBRACE) { in skip_to_semi()
80 } else if (token == SEMI && !brace_count) { in skip_to_semi()
81 token = next_token(&val, cfile); in skip_to_semi()
83 } else if (token == '\n') { in skip_to_semi()
90 token = next_token(&val, cfile); in skip_to_semi()
93 token = next_token(&val, cfile); in skip_to_semi()
[all …]
Dclparse.c66 int token; in read_client_conf() local
108 token = peek_token(&val, cfile); in read_client_conf()
109 if (token == EOF) in read_client_conf()
113 token = next_token(&val, cfile); /* Clear the peek buffer */ in read_client_conf()
152 int token; in read_client_leases() local
161 token = next_token(&val, cfile); in read_client_leases()
162 if (token == EOF) in read_client_leases()
164 if (token != LEASE) { in read_client_leases()
198 int token; in parse_client_statement() local
288 token = next_token(&val, cfile); in parse_client_statement()
[all …]
/freebsd-9-stable/contrib/groff/src/preproc/eqn/
Deqn.y40 %token OVER
41 %token SMALLOVER
42 %token SQRT
43 %token SUB
44 %token SUP
45 %token LPILE
46 %token RPILE
47 %token CPILE
48 %token PILE
49 %token LEFT
[all …]
/freebsd-9-stable/contrib/gcc/
Dscan-decls.c64 enum cpp_ttype token = get_a_token (pfile)->type; in skip_to_closing_brace() local
66 if (token == CPP_EOF) in skip_to_closing_brace()
68 if (token == CPP_OPEN_BRACE) in skip_to_closing_brace()
70 if (token == CPP_CLOSE_BRACE && --nesting == 0) in skip_to_closing_brace()
103 const cpp_token *token; in scan_decls() local
106 token = get_a_token (pfile); in scan_decls()
112 if (token->type == CPP_OPEN_BRACE) in scan_decls()
121 if (token->type == CPP_OPEN_BRACE) in scan_decls()
127 if (token->type == CPP_EOF) in scan_decls()
130 if (token->type == CPP_SEMICOLON) in scan_decls()
[all …]
/freebsd-9-stable/sys/contrib/dev/acpica/compiler/
Daslcompiler.y117 %token <i> PARSEOP_ACCESSAS
118 %token <i> PARSEOP_ACCESSATTRIB_BLOCK
119 %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
120 %token <i> PARSEOP_ACCESSATTRIB_BYTE
121 %token <i> PARSEOP_ACCESSATTRIB_WORD_CALL
122 %token <i> PARSEOP_ACCESSATTRIB_QUICK
123 %token <i> PARSEOP_ACCESSATTRIB_SND_RCV
124 %token <i> PARSEOP_ACCESSATTRIB_WORD
125 %token <i> PARSEOP_ACCESSTYPE_ANY
126 %token <i> PARSEOP_ACCESSTYPE_BUF
[all …]
/freebsd-9-stable/crypto/heimdal/lib/gssapi/krb5/
Dcfx.c246 gss_cfx_wrap_token token; in _gssapi_wrap_cfx() local
272 rrc = (conf_req_flag ? sizeof(*token) : 0) + (uint16_t)cksumsize; in _gssapi_wrap_cfx()
283 token = (gss_cfx_wrap_token)p; in _gssapi_wrap_cfx()
284 token->TOK_ID[0] = 0x05; in _gssapi_wrap_cfx()
285 token->TOK_ID[1] = 0x04; in _gssapi_wrap_cfx()
286 token->Flags = 0; in _gssapi_wrap_cfx()
287 token->Filler = 0xFF; in _gssapi_wrap_cfx()
289 token->Flags |= CFXSentByAcceptor; in _gssapi_wrap_cfx()
291 token->Flags |= CFXAcceptorSubkey; in _gssapi_wrap_cfx()
297 token->Flags |= CFXSealed; in _gssapi_wrap_cfx()
[all …]
/freebsd-9-stable/crypto/heimdal/lib/asn1/
Dparse.y80 %token kw_ABSENT
81 %token kw_ABSTRACT_SYNTAX
82 %token kw_ALL
83 %token kw_APPLICATION
84 %token kw_AUTOMATIC
85 %token kw_BEGIN
86 %token kw_BIT
87 %token kw_BMPString
88 %token kw_BOOLEAN
89 %token kw_BY
[all …]
/freebsd-9-stable/contrib/groff/src/roff/troff/
Dtoken.h27 class token {
65 token();
66 ~token();
67 token(const token &);
68 void operator=(const token &);
92 int operator==(const token &); // need this for delimiters, and for conditions
93 int operator!=(const token &); // ditto
105 extern token tok; // the current token
139 inline int token::newline() in newline()
144 inline int token::space() in space()
[all …]
/freebsd-9-stable/sys/geom/vinum/
Dgeom_vinum_share.c76 gv_tokenize(char *cptr, char *token[], int maxtoken) in gv_tokenize() argument
92 token[tokennr] = cptr; /* Point to it. */ in gv_tokenize()
439 gv_new_drive(int max, char *token[]) in gv_new_drive() argument
445 if (token[1] == NULL || *token[1] == '\0') in gv_new_drive()
452 if (!strcmp(token[j], "state")) { in gv_new_drive()
458 d->state = gv_drivestatei(token[j]); in gv_new_drive()
459 } else if (!strcmp(token[j], "device")) { in gv_new_drive()
465 ptr = token[j]; in gv_new_drive()
472 strlcpy(d->name, token[j], sizeof(d->name)); in gv_new_drive()
489 gv_new_volume(int max, char *token[]) in gv_new_volume() argument
[all …]
/freebsd-9-stable/contrib/ntp/libjsmn/
Djsmn.c26 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument
28 token->type = type; in jsmn_fill_token()
29 token->start = start; in jsmn_fill_token()
30 token->end = end; in jsmn_fill_token()
31 token->size = 0; in jsmn_fill_token()
39 jsmntok_t *token; in jsmn_parse_primitive() local
70 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive()
71 if (token == NULL) { in jsmn_parse_primitive()
75 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive()
77 token->parent = parser->toksuper; in jsmn_parse_primitive()
[all …]
/freebsd-9-stable/contrib/groff/src/preproc/pic/
Dpic.y84 %token <str> LABEL
85 %token <str> VARIABLE
86 %token <x> NUMBER
87 %token <lstr> TEXT
88 %token <lstr> COMMAND_LINE
89 %token <str> DELIMITED
90 %token <n> ORDINAL
91 %token TH
92 %token LEFT_ARROW_HEAD
93 %token RIGHT_ARROW_HEAD
[all …]
/freebsd-9-stable/contrib/ntp/scripts/deprecated/
Dhtml2man.in97 while (my $token = $p->get_token) {
98 if($token->[0] eq "T") {
99 my $text = $token->[1];
116 if($token->[0] eq "S") {
117 if($token->[1] eq "h4") {
132 if($token->[1] eq "tt") {
136 if($token->[1] eq "i") {
140 if($token->[1] eq "address") {
144 if($token->[1] eq "dt" || $token->[1] eq "br" && $deflevel > 0) {
148 if($token->[1] eq "dd") {
[all …]
/freebsd-9-stable/contrib/amd/fsinfo/
Dfsi_gram.y66 %token tARCH
67 %token tAS
68 %token tAUTOMOUNT
69 %token tCLUSTER
70 %token tCONFIG
71 %token tDUMPSET
72 %token tEQ
73 %token tNFSEQ
74 %token tEXPORTFS
75 %token tFREQ
[all …]
/freebsd-9-stable/contrib/binutils/binutils/
Darparse.y43 %token NEWLINE
44 %token VERBOSE
45 %token <name> FILENAME
46 %token ADDLIB
47 %token LIST
48 %token ADDMOD
49 %token CLEAR
50 %token CREATE
51 %token DELETE
52 %token DIRECTORY
[all …]
Dmcparse.y54 %token NL
55 %token<ustr> MCIDENT MCFILENAME MCLINE MCCOMMENT
56 %token<tok> MCTOKEN
57 %token MCENDLINE
58 %token MCLANGUAGENAMES MCFACILITYNAMES MCSEVERITYNAMES MCOUTPUTBASE MCMESSAGEIDTYPEDEF
59 %token MCLANGUAGE MCMESSAGEID MCSEVERITY MCFACILITY MCSYMBOLICNAME
60 %token <ival> MCNUMBER
63 %type<ustr> alias_name token lines comments
124 token '=' MCNUMBER alias_name
128 | token '=' error { mc_fatal ("severity number missing"); }
[all …]
/freebsd-9-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
Ddt_grammar.y47 %token DT_TOK_COMMA DT_TOK_ELLIPSIS
48 %token DT_TOK_ASGN DT_TOK_ADD_EQ DT_TOK_SUB_EQ DT_TOK_MUL_EQ
49 %token DT_TOK_DIV_EQ DT_TOK_MOD_EQ DT_TOK_AND_EQ DT_TOK_XOR_EQ DT_TOK_OR_EQ
50 %token DT_TOK_LSH_EQ DT_TOK_RSH_EQ DT_TOK_QUESTION DT_TOK_COLON
51 %token DT_TOK_LOR DT_TOK_LXOR DT_TOK_LAND
52 %token DT_TOK_BOR DT_TOK_XOR DT_TOK_BAND DT_TOK_EQU DT_TOK_NEQ
53 %token DT_TOK_LT DT_TOK_LE DT_TOK_GT DT_TOK_GE DT_TOK_LSH DT_TOK_RSH
54 %token DT_TOK_ADD DT_TOK_SUB DT_TOK_MUL DT_TOK_DIV DT_TOK_MOD
55 %token DT_TOK_LNEG DT_TOK_BNEG DT_TOK_ADDADD DT_TOK_SUBSUB
56 %token DT_TOK_PREINC DT_TOK_POSTINC DT_TOK_PREDEC DT_TOK_POSTDEC
[all …]
/freebsd-9-stable/contrib/libarchive/tar/
Dgetdate.c57 struct token { int token; time_t value; }; struct
63 struct token *tokenp; /* Pointer to next token. */
106 if (gds->tokenp[0].token == tUNUMBER in timephrase()
107 && gds->tokenp[1].token == ':' in timephrase()
108 && gds->tokenp[2].token == tUNUMBER in timephrase()
109 && gds->tokenp[3].token == ':' in timephrase()
110 && gds->tokenp[4].token == tUNUMBER) { in timephrase()
118 else if (gds->tokenp[0].token == tUNUMBER in timephrase()
119 && gds->tokenp[1].token == ':' in timephrase()
120 && gds->tokenp[2].token == tUNUMBER) { in timephrase()
[all …]
/freebsd-9-stable/contrib/gcclibs/libcpp/
Dmacro.c95 cpp_token *token = _cpp_temp_token (pfile); in new_string_token() local
98 token->type = CPP_STRING; in new_string_token()
99 token->val.str.len = len; in new_string_token()
100 token->val.str.text = text; in new_string_token()
101 token->flags = 0; in new_string_token()
102 return token; in new_string_token()
367 const cpp_token *token = arg->first[i]; in stringify_arg() local
369 if (token->type == CPP_PADDING) in stringify_arg()
372 source = token->val.source; in stringify_arg()
376 escape_it = (token->type == CPP_STRING || token->type == CPP_WSTRING in stringify_arg()
[all …]
/freebsd-9-stable/gnu/lib/libregex/
Dregcomp.c62 static int fetch_number (re_string_t *input, re_token_t *token,
66 static int peek_token (re_token_t *token, re_string_t *input,
68 static int peek_token_bracket (re_token_t *token, re_string_t *input,
73 re_token_t *token, reg_syntax_t syntax,
76 re_token_t *token, reg_syntax_t syntax,
79 re_token_t *token, reg_syntax_t syntax,
82 re_token_t *token, reg_syntax_t syntax,
85 re_dfa_t *dfa, re_token_t *token,
88 re_token_t *token, reg_syntax_t syntax,
92 re_token_t *token, int token_len,
[all …]
/freebsd-9-stable/contrib/ntp/libntp/
Dauthreadkeys.c141 char *token; in authreadkeys() local
171 token = nexttok(&line); in authreadkeys()
172 if (token == NULL) in authreadkeys()
178 keyno = atoi(token); in authreadkeys()
182 token); in authreadkeys()
189 token, NTP_MAXKEY); in authreadkeys()
196 token = nexttok(&line); in authreadkeys()
197 if (token == NULL) { in authreadkeys()
218 keytype = keytype_from_text(token, NULL); in authreadkeys()
234 if (!(*token == 'M' || *token == 'm')) { in authreadkeys()
[all …]
/freebsd-9-stable/contrib/ntp/ntpd/
Dkeyword-gen.c34 u_short token; /* Associated Token */ member
345 u_short token; in generate_fsm() local
364 token = ntp_keywords[i].token; in generate_fsm()
365 if (1 > token || token >= COUNTOF(sst)) { in generate_fsm()
371 token); in generate_fsm()
374 sst[token].finishes_token = token; in generate_fsm()
506 u_short token, in create_scan_states() argument
572 sst[my_state].finishes_token = (u_short)token; in create_scan_states()
575 if (sst[token].finishes_token != (u_short)token) { in create_scan_states()
578 token, symbname(token)); in create_scan_states()
[all …]
/freebsd-9-stable/contrib/gcc/cp/
Dparser.c410 cp_token *token) in cp_lexer_get_preprocessor_token() argument
415 token->type in cp_lexer_get_preprocessor_token()
416 = c_lex_with_flags (&token->u.value, &token->location, &token->flags); in cp_lexer_get_preprocessor_token()
417 token->input_file_stack_index = input_file_stack_tick; in cp_lexer_get_preprocessor_token()
418 token->keyword = RID_MAX; in cp_lexer_get_preprocessor_token()
419 token->pragma_kind = PRAGMA_NONE; in cp_lexer_get_preprocessor_token()
420 token->in_system_header = in_system_header; in cp_lexer_get_preprocessor_token()
427 token->implicit_extern_c = is_extern_c > 0; in cp_lexer_get_preprocessor_token()
430 if (token->type == CPP_NAME) in cp_lexer_get_preprocessor_token()
432 if (C_IS_RESERVED_WORD (token->u.value)) in cp_lexer_get_preprocessor_token()
[all …]
/freebsd-9-stable/contrib/bind9/lib/dns/rdata/generic/
Dloc_29.c31 isc_token_t token; in fromtext_loc() local
73 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_number, in fromtext_loc()
75 if (token.value.as_ulong > 90U) in fromtext_loc()
77 d1 = (int)token.value.as_ulong; in fromtext_loc()
81 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string, in fromtext_loc()
83 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
85 if (north || strcasecmp(DNS_AS_STR(token), "S") == 0) in fromtext_loc()
87 m1 = strtol(DNS_AS_STR(token), &e, 10); in fromtext_loc()
98 RETERR(isc_lex_getmastertoken(lexer, &token, isc_tokentype_string, in fromtext_loc()
100 if (strcasecmp(DNS_AS_STR(token), "N") == 0) in fromtext_loc()
[all …]
/freebsd-9-stable/usr.sbin/config/
Dconfig.y7 %token ARCH
8 %token COMMA
9 %token CONFIG
10 %token CPU
11 %token NOCPU
12 %token DEVICE
13 %token NODEVICE
14 %token ENV
15 %token EQUALS
16 %token PLUSEQUALS
[all …]

12345678910>>...22