Searched refs:token (Results 101 - 125 of 521) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/mi/
H A Dmi-parse.c139 if (parse->token != NULL)
140 xfree (parse->token);
160 /* Find/skip any token and then extract it. */
163 parse->token = xmalloc ((chp - cmd + 1) * sizeof (char *));
164 memcpy (parse->token, cmd, (chp - cmd));
165 parse->token[chp - cmd] = '\0';
195 parse->token, parse->command);
215 parse->token, parse->command, chp);
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_proxy.c554 char *token; local
614 token = strsep(&res, " \t");
616 while (token != NULL) {
620 if (strcmp(token, "type") == 0)
622 else if (strcmp(token, "port") == 0)
624 else if (strcmp(token, "server") == 0)
626 else if (strcmp(token, "rule") == 0)
628 else if (strcmp(token, "delete") == 0)
630 else if (strcmp(token, "proto") == 0)
632 else if (strcmp(token, "sr
[all...]
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_qos_parser_y.y194 %token TK_NUMBER
195 %token TK_DASH
196 %token TK_DOTDOT
197 %token TK_COMMA
198 %token TK_ASTERISK
199 %token TK_TEXT
201 %token TK_QOS_ULPS_START
202 %token TK_QOS_ULPS_END
204 %token TK_PORT_GROUPS_START
205 %token TK_PORT_GROUPS_EN
[all...]
/freebsd-11-stable/usr.bin/at/
H A Dparsetime.c79 const char *name; /* token name */
80 int value; /* token id */
151 static char *sc_token; /* scanner - token buffer */
152 static size_t sc_len; /* scanner - length of token buffer */
153 static int sc_tokid; /* scanner - token id */
154 static int sc_tokplur; /* scanner - is token plural? */
159 * parse a token, checking if it's something special to us
195 * token() fetches a token from the input stream
198 token(voi function
[all...]
/freebsd-11-stable/sys/dev/ppbus/
H A Dppbconf.c175 * Search the first occurrence of a token within a string
178 search_token(char *str, int slen, char *token) argument
188 /* get token's length */
189 tlen = strlen(token);
194 if (strncmp(str + i, token, tlen) == 0)
209 char *token, *class = NULL; local
231 if ((token = search_token(str, len, "MFG")) != NULL ||
232 (token = search_token(str, len, "MANUFACTURER")) != NULL)
234 search_token(token, UNKNOWN_LENGTH, ":") + 1);
238 if ((token
[all...]
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dinit.c203 /* Create a token buffer for the lexer. */
297 <iso646.h>). The value is a token-type enumerator. */
513 const cpp_token *token, *token1; local
517 token = _cpp_lex_direct (pfile);
518 if (token->type == CPP_HASH)
528 _cpp_handle_directive (pfile, token->flags & PREV_WHITE);
544 const cpp_token *hash, *token; local
555 token = _cpp_lex_direct (pfile);
557 if (token->type != CPP_NUMBER)
563 token
[all...]
/freebsd-11-stable/bin/test/
H A Dtest.c78 enum token { enum
121 #define TOKEN_TYPE(token) ((token) & 0xff00)
176 static int aexpr(enum token);
177 static int binop(enum token);
179 static int filstat(char *, enum token);
187 static int nexpr(enum token);
188 static int oexpr(enum token);
190 static int primary(enum token);
192 static enum token t_le
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dllex.c47 static l_noret lexerror (LexState *ls, const char *msg, int token);
73 const char *luaX_token2str (LexState *ls, int token) { argument
74 if (token < FIRST_RESERVED) { /* single-byte symbols? */
75 lua_assert(token == cast(unsigned char, token));
76 return (lisprint(token)) ? luaO_pushfstring(ls->L, LUA_QL("%c"), token) :
77 luaO_pushfstring(ls->L, "char(%d)", token);
80 const char *s = luaX_tokens[token - FIRST_RESERVED];
81 if (token < TK_EO
89 txtToken(LexState *ls, int token) argument
102 lexerror(LexState *ls, const char *msg, int token) argument
[all...]
/freebsd-11-stable/lib/libc/net/
H A Dnsparser.y56 %token NL
57 %token SUCCESS UNAVAIL NOTFOUND TRYAGAIN
58 %token RETURN CONTINUE
59 %token ERRORTOKEN
60 %token <str> STRING
/freebsd-11-stable/sys/arm64/arm64/
H A Ddisassem.c70 * Structure representing single token (operand) inside instruction.
120 * an operand token (in format NAME(length_bits)) are used to retrieve any
188 int token = 0; local
196 token = 0;
225 memset(tab->tokens[token].name, 0,
226 sizeof(tab->tokens[token].name));
229 tab->tokens[token].name[i] = *format;
233 printf("ERROR: token too long in op %s\n",
245 if (token >= ARM64_MAX_TOKEN_CNT) {
253 tab->tokens[token]
286 arm64_disasm_read_token(struct arm64_insn *insn, u_int opcode, const char *token, int *val) argument
303 arm64_disasm_read_token_sign_ext(struct arm64_insn *insn, u_int opcode, const char *token, int *val) argument
[all...]
/freebsd-11-stable/contrib/unbound/sldns/
H A Dparse.c27 sldns_fget_token(FILE *f, char *token, const char *delim, size_t limit) argument
29 return sldns_fget_token_l(f, token, delim, limit, NULL);
33 sldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr) argument
56 t = token;
118 if (c == '\n' && p != 0 && t > token) {
123 if (limit > 0 && (i+1 >= limit || (size_t)(t-token)+1 >= limit)) {
145 if (limit > 0 && (i+1 >= limit || (size_t)(t-token)+1 >= limit)) {
238 sldns_bget_token(sldns_buffer *b, char *token, const char *delim, size_t limit) argument
240 return sldns_bget_token_par(b, token, delim, limit, NULL, NULL);
244 sldns_bget_token_par(sldns_buffer *b, char *token, cons argument
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dc-ppoutput.c35 const cpp_token *prev; /* Previous token. */
36 const cpp_token *source; /* Source token for spacing. */
129 a trick to guarantee that the first token of the file will cause
148 const cpp_token *token = cpp_get_token (pfile); local
150 if (token->type == CPP_PADDING)
155 && token->val.source == NULL))
156 print.source = token->val.source;
160 if (token->type == CPP_EOF)
167 print.source = token;
170 && cpp_avoid_paste (pfile, print.prev, token))
301 cb_line_change(cpp_reader *pfile, const cpp_token *token, int parsing_args) argument
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Djv-exp.y157 %token <typed_val_int> INTEGER_LITERAL
158 %token <typed_val_float> FLOATING_POINT_LITERAL
160 %token <sval> IDENTIFIER
161 %token <sval> STRING_LITERAL
162 %token <lval> BOOLEAN_LITERAL
163 %token <tsym> TYPENAME
171 %token <sval> NAME_OR_INT
173 %token ERROR
177 %token LONG SHORT BYTE INT CHAR BOOLEAN DOUBLE FLOAT
179 %token VARIABL
[all...]
/freebsd-11-stable/contrib/binutils/binutils/
H A Dsysinfo.y43 %token COND
44 %token REPEAT
45 %token '(' ')'
46 %token <s> TYPE
47 %token <s> NAME
48 %token <i> NUMBER UNIT
/freebsd-11-stable/crypto/openssh/
H A Dssh-pkcs11.c46 CK_TOKEN_INFO token; member in struct:pkcs11_slotinfo
256 if ((si->token.flags & CKF_LOGIN_REQUIRED) && !si->logged_in) {
258 error("need pin entry%s", (si->token.flags &
263 if (si->token.flags & CKF_PROTECTED_AUTHENTICATION_PATH)
267 "Enter PIN for '%s': ", si->token.label);
311 /* redirect private key operations for rsa key to pkcs11 token */
368 login_required = p->slotinfo[slotidx].token.flags & CKF_LOGIN_REQUIRED;
395 * lookup public keys for token in slot identified by slotidx,
575 CK_TOKEN_INFO *token; local
645 token
[all...]
/freebsd-11-stable/contrib/byacc/test/
H A Dbtyacc_destroy1.y29 %token <cval> GLOBAL LOCAL
30 %token <tval> REAL INTEGER
31 %token <id> NAME
H A Dbtyacc_destroy2.y29 %token <cval> GLOBAL LOCAL
30 %token <tval> REAL INTEGER
31 %token <id> NAME
H A Dbtyacc_destroy3.y32 %token <cval> GLOBAL LOCAL
33 %token <tval> REAL INTEGER
34 %token <id> NAME
H A Derr_inherit2.y22 %token <cval> GLOBAL LOCAL
23 %token <tval> REAL INTEGER
24 %token <id> NAME
H A Derr_inherit3.y22 %token <cval> GLOBAL LOCAL
23 %token <tval> REAL INTEGER
24 %token <id> NAME
H A Derr_inherit5.y22 %token <cval> GLOBAL LOCAL
23 %token <tval> REAL INTEGER
24 %token <id> NAME
H A Dinherit2.y22 %token <cval> GLOBAL LOCAL
23 %token <tval> REAL INTEGER
24 %token <id> NAME
H A Derr_inherit4.y23 %token <cval> GLOBAL LOCAL
24 %token <tval> REAL INTEGER
25 %token <id> NAME
/freebsd-11-stable/contrib/com_err/
H A Dparse.y59 %token ET INDEX PREFIX EC ID END
60 %token <string> STRING
61 %token <number> NUMBER
/freebsd-11-stable/crypto/heimdal/lib/com_err/
H A Dparse.y59 %token ET INDEX PREFIX EC ID END
60 %token <string> STRING
61 %token <number> NUMBER

Completed in 368 milliseconds

1234567891011>>