Home
last modified time | relevance | path

Searched refs:token (Results 26 – 50 of 703) sorted by relevance

12345678910>>...29

/freebsd/usr.sbin/config/
H A Dconfig.y7 %token ARCH
8 %token COMMA
9 %token CONFIG
10 %token CPU
11 %token NOCPU
12 %token DEVICE
14 %token ENV
15 %token ENVVAR
16 %token EQUALS
18 %token HINTS
[all …]
/freebsd/contrib/ntp/libntp/
H A 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()
197 if (token == NULL) { in authreadkeys()
222 token, keyno); in authreadkeys()
228 token, keyno); in authreadkeys()
254 if (token == NULL) { in authreadkeys()
[all …]
/freebsd/sys/dev/ispfw/
H A Dispfw.c84 #define RMACRO(token) do { \ argument
85 if (token##_loaded) \
87 if (firmware_register(#token, token##_risc_code, \
88 token##_risc_code[3] * sizeof(token##_risc_code[3]), \
91 token##_loaded++; \
94 #define UMACRO(token) do { \ argument
95 if (!token##_loaded) \
97 if (firmware_unregister(#token) != 0) { \
101 token##_loaded--; \
/freebsd/usr.bin/localedef/
H A Dscanner.c64 static char *token = NULL; variable
83 static struct token { struct
359 if ((token = realloc(token, toksz)) == NULL) { in add_tok()
368 token[tokidx] = 0; in add_tok()
535 if (token == NULL) { in get_symbol()
572 yylval.token = strdup(token); in get_symbol()
573 token = NULL; in get_symbol()
598 if (token == NULL) in consume_token()
634 if (isdigit(*token) || (*token == '-' && isdigit(token[1]))) { in consume_token()
652 yylval.token = strdup(token); in consume_token()
[all …]
/freebsd/contrib/unbound/sldns/
H A Dstr2wire.c200 if(token[0]=='@' && token[1]=='\0') { in rrinternal_get_owner()
409 p-token); in rrinternal_spool_hex()
412 p-token); in rrinternal_spool_hex()
416 p-token); in rrinternal_spool_hex()
570 (token[0] == '"' || token[0] == '\'') && in sldns_parse_rdf_token()
571 (token[slen-1] == '"' || token[slen-1] == '\'')) { in sldns_parse_rdf_token()
573 memmove(token, token+1, slen-2); in sldns_parse_rdf_token()
579 (token[0] == '"' || token[0] == '\'')) { in sldns_parse_rdf_token()
582 memmove(token, token+1, slen-1); in sldns_parse_rdf_token()
915 origin_len, prev, prev_len, token, sizeof(token))) != 0) in sldns_str2wire_rr_buf_internal()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword()
26 return keywords.contains(token); in isKeyword()
55 if (token.is(tok::comment)) { in determineClangStyle()
59 } else if (in_pp_directive || token.getKind() == tok::hash) { in determineClangStyle()
64 } else if (tok::isStringLiteral(token.getKind())) in determineClangStyle()
66 else if (tok::isLiteral(token.getKind())) in determineClangStyle()
71 switch (token.getKind()) { in determineClangStyle()
194 Token token; in Highlight() local
198 exit = lex.LexFromRawLexer(token); in Highlight()
220 if (token.isAnnotation()) in Highlight()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmt7615_trace.h22 #define TOKEN_ENTRY __field(u16, token)
23 #define TOKEN_ASSIGN __entry->token = token
25 #define TOKEN_PR_ARG __entry->token
28 TP_PROTO(struct mt7615_dev *dev, u16 token),
29 TP_ARGS(dev, token),
45 TP_PROTO(struct mt7615_dev *dev, u16 token),
46 TP_ARGS(dev, token)
/freebsd/bin/sh/
H A Darith_yacc.c171 switch (token) { in primary()
185 token = op; in primary()
209 int token; in binop2() local
211 token = yylex(); in binop2()
246 arith_t a = binop(token, val, op, noeval); in and()
253 token = yylex(); in and()
256 b = and(token, val, yylex(), noeval | !a); in and()
263 arith_t a = and(token, val, op, noeval); in or()
270 token = yylex(); in or()
280 arith_t a = or(token, val, op, noeval); in cond()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_scanner.c71 int token in keyword() argument
80 switch (token) { in keyword()
450 int token; in is_keyword() local
454 token = 0; in is_keyword()
466 token = curr_s; in is_keyword()
474 return token; in is_keyword()
704 token = T_EOC; in yylex()
711 token = T_EOC; in yylex()
716 token = ch; in yylex()
800 if (token) { in yylex()
[all …]
/freebsd/contrib/unbound/util/
H A Dconfigparser.y73 %token <str> STRING_ARG
74 %token VAR_FORCE_TOPLEVEL
80 %token VAR_SOCK_QUEUE_TIMEOUT
128 %token VAR_NAT64_PREFIX
142 %token VAR_IP_DSCP
143 %token VAR_DISABLE_DNSSEC_LAME_CHECK
156 %token VAR_CACHE_MIN_NEGATIVE_TTL
171 %token VAR_DNSCRYPT_PROVIDER_CERT_ROTATED
174 %token VAR_DNSCRYPT_NONCE_CACHE_SIZE
175 %token VAR_DNSCRYPT_NONCE_CACHE_SLABS
[all …]
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_cmds.c120 ng_l2cap_l2ca_con_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup()
131 ng_l2cap_l2ca_con_rsp_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup()
143 ng_l2cap_l2ca_cfg_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup()
156 ng_l2cap_l2ca_cfg_rsp_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup()
164 ng_l2cap_l2ca_discon_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup()
176 ng_l2cap_l2ca_ping_rsp(con, cmd->token, in ng_l2cap_con_wakeup()
188 ng_l2cap_l2ca_get_info_rsp(con, cmd->token, in ng_l2cap_con_wakeup()
212 ng_l2cap_l2ca_write_rsp(cmd->ch, cmd->token, in ng_l2cap_con_wakeup()
292 ng_l2cap_l2ca_discon_rsp(cmd->ch, cmd->token, in ng_l2cap_con_fail()
297 ng_l2cap_l2ca_ping_rsp(cmd->con, cmd->token, in ng_l2cap_con_fail()
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dsel-gram.y50 %token kw_TRUE
51 %token kw_FALSE
52 %token kw_AND
53 %token kw_OR
54 %token kw_IN
55 %token kw_TAILMATCH
65 %token <string> NUMBER
66 %token <string> STRING
67 %token <string> IDENTIFIER
/freebsd/contrib/bsnmp/snmpd/
H A Dconfig.c154 static int token; variable
520 return (token = c); in _gettoken()
654 if (isascii(token) && isprint(token)) in gettoken()
657 switch (token) { in gettoken()
679 return (token); in gettoken()
752 if (token != TOK_STR) in parse_section()
1023 if (token != '=') in parse_assign()
1029 while (token != TOK_EOL && token != TOK_EOF) in parse_assign()
1098 int t = token; in parse_define()
1158 token = TOK_EOL; in parse_define()
[all …]
/freebsd/sys/netinet/libalias/
H A Dalias_proxy.c543 char *token; in LibAliasProxyRule() local
604 token = strsep(&res, " \t"); in LibAliasProxyRule()
606 while (token != NULL) { in LibAliasProxyRule()
610 if (strcmp(token, "type") == 0) in LibAliasProxyRule()
647 strcpy(str_port, token); in LibAliasProxyRule()
656 p = token; in LibAliasProxyRule()
717 if (strcmp(token, "tcp") == 0) in LibAliasProxyRule()
735 p = token; in LibAliasProxyRule()
741 err = IpAddr(token, &addr); in LibAliasProxyRule()
789 token = strsep(&res, " \t"); in LibAliasProxyRule()
[all …]
/freebsd/sys/contrib/openzfs/module/lua/
H A Dllex.c71 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str() argument
73 lua_assert(token == cast(unsigned char, token)); in luaX_token2str()
74 return (lisprint(token)) ? luaO_pushfstring(ls->L, LUA_QL("%c"), token) : in luaX_token2str()
78 const char *s = luaX_tokens[token - FIRST_RESERVED]; in luaX_token2str()
87 static const char *txtToken (LexState *ls, int token) { in txtToken() argument
88 switch (token) { in txtToken()
95 return luaX_token2str(ls, token); in txtToken()
104 if (token) in lexerror()
111 lexerror(ls, msg, ls->t.token); in luaX_syntaxerror()
526 lua_assert(ls->lookahead.token == TK_EOS); in luaX_lookahead()
[all …]
/freebsd/contrib/byacc/test/
H A Dquote_calc2.y15 %token OP_ADD "ADD"
16 %token OP_SUB "SUB"
17 %token OP_MUL "MUL"
18 %token OP_DIV "DIV"
19 %token OP_MOD "MOD"
20 %token OP_AND "AND"
22 %token DIGIT LETTER
H A Dquote_calc4.y15 %token OP_ADD "ADD-operator"
16 %token OP_SUB "SUB-operator"
17 %token OP_MUL "MUL-operator"
18 %token OP_DIV "DIV-operator"
19 %token OP_MOD "MOD-operator"
20 %token OP_AND "AND-operator"
22 %token DIGIT LETTER
H A Dquote_calc.y15 %token OP_ADD "ADD"
16 %token OP_SUB "SUB"
17 %token OP_MUL "MUL"
18 %token OP_DIV "DIV"
19 %token OP_MOD "MOD"
20 %token OP_AND "AND"
22 %token DIGIT LETTER
H A Dquote_calc3.y15 %token OP_ADD "ADD-operator"
16 %token OP_SUB "SUB-operator"
17 %token OP_MUL "MUL-operator"
18 %token OP_DIV "DIV-operator"
19 %token OP_MOD "MOD-operator"
20 %token OP_AND "AND-operator"
22 %token DIGIT LETTER
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_qos_parser_y.y194 %token TK_NUMBER
195 %token TK_DASH
197 %token TK_COMMA
199 %token TK_TEXT
231 %token TK_NAME
232 %token TK_USE
237 %token TK_GROUP
242 %token TK_TO
243 %token TK_FROM
247 %token TK_SL
[all …]
/freebsd/usr.sbin/apmd/
H A Dapmdparse.y56 %token BEGINBLOCK ENDBLOCK
57 %token COMMA SEMICOLON
58 %token APMEVENT
59 %token APMBATT
60 %token BATTCHARGE BATTDISCHARGE
61 %token <i> BATTTIME BATTPERCENT
62 %token EXECCMD REJECTCMD
63 %token <ev> EVENT
64 %token <str> STRING UNKNOWN
/freebsd/sys/dev/ppbus/
H A Dppbconf.c178 search_token(char *str, int slen, char *token) in search_token() argument
189 tlen = strlen(token); in search_token()
194 if (strncmp(str + i, token, tlen) == 0) in search_token()
209 char *token, *class = NULL; in ppb_pnp_detect() local
234 search_token(token, UNKNOWN_LENGTH, ":") + 1); in ppb_pnp_detect()
239 (token = search_token(str, len, "MODEL")) != NULL) in ppb_pnp_detect()
241 search_token(token, UNKNOWN_LENGTH, ":") + 1); in ppb_pnp_detect()
245 if ((token = search_token(str, len, "VER")) != NULL) in ppb_pnp_detect()
247 search_token(token, UNKNOWN_LENGTH, ":") + 1); in ppb_pnp_detect()
251 search_token(token, UNKNOWN_LENGTH, ":") + 1); in ppb_pnp_detect()
[all …]
/freebsd/crypto/heimdal/appl/gssmask/
H A Dgssmask.c568 krb5_data token; in HandleOP() local
575 retdata(c, token); in HandleOP()
738 krb5_data token; in HandleOP() local
779 krb5_data token; in HandleOP() local
808 token.data = NULL; in HandleOP()
809 token.length = 0; in HandleOP()
942 token.data = malloc(token.length); in HandleOP()
944 p = token.data; in HandleOP()
961 free(token.data); in HandleOP()
1023 token.data = NULL; in HandleOP()
[all …]
/freebsd/contrib/lua/src/
H A Dllex.c82 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str() argument
84 if (lisprint(token)) in luaX_token2str()
85 return luaO_pushfstring(ls->L, "'%c'", token); in luaX_token2str()
99 static const char *txtToken (LexState *ls, int token) { in txtToken() argument
100 switch (token) { in txtToken()
106 return luaX_token2str(ls, token); in txtToken()
113 if (token) in lexerror()
120 lexerror(ls, msg, ls->t.token); in luaX_syntaxerror()
169 ls->t.token = 0; in luaX_setinput()
577 lua_assert(ls->lookahead.token == TK_EOS); in luaX_lookahead()
[all …]
/freebsd/sys/powerpc/powernv/
H A Dopal_flash.c162 int rv, size, token; in opalflash_read() local
169 token = opal_alloc_async_token(); in opalflash_read()
180 vtophys(data), size, token); in opalflash_read()
192 opal_free_async_token(token); in opalflash_read()
205 int rv, token; in opalflash_erase() local
212 token = opal_alloc_async_token(); in opalflash_erase()
220 opal_free_async_token(token); in opalflash_erase()
235 int rv, size, token; in opalflash_write() local
249 token = opal_alloc_async_token(); in opalflash_write()
259 vtophys(data), size, token); in opalflash_write()
[all …]

12345678910>>...29