Searched refs:token (Results 76 - 100 of 504) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/tcsh/
H A Dgethost.c96 * Return the token number of the given token
115 * Get : delimited token and remove leading/trailing blanks/newlines
118 gettoken(char **pptr, char *token) argument
121 char *tok = token;
134 for (tok--; tok >= token && *tok && ISSPACE(*tok); tok--)
140 return token;
233 int token, state; local
256 switch (token = findtoken(gettoken(&ptr, defs))) {
322 (void) fprintf(stderr, "%s: \"%s\", %d: Unexpected token\
[all...]
/freebsd-13-stable/sbin/devd/
H A Dparse.y47 %token SEMICOLON BEGINBLOCK ENDBLOCK COMMA
48 %token <i> NUMBER
49 %token <str> STRING
50 %token <str> ID
51 %token OPTIONS SET DIRECTORY PID_FILE DEVICE_NAME ACTION MATCH
52 %token ATTACH DETACH NOMATCH NOTIFY MEDIA_TYPE CLASS SUBDEVICE
/freebsd-13-stable/contrib/byacc/test/
H A Derr_inherit1.y22 %token <cval> GLOBAL LOCAL
23 %token <tval> REAL INTEGER
24 %token <id> NAME
H A Dinherit1.y24 %token <cval> GLOBAL LOCAL
25 %token <tval> REAL INTEGER
26 %token <id> NAME
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
/freebsd-13-stable/contrib/llvm-project/lldb/source/Symbol/
H A DPostfixExpression.cpp23 GetBinaryOpType(llvm::StringRef token) { argument
24 if (token.size() != 1)
26 switch (token[0]) {
38 GetUnaryOpType(llvm::StringRef token) { argument
39 if (token == "^")
48 llvm::StringRef token; local
49 while (std::tie(token, expr) = getToken(expr), !token.empty()) {
50 if (auto op_type = GetBinaryOpType(token)) {
51 // token i
[all...]
/freebsd-13-stable/contrib/ldns/ldns/
H A Dparse.h48 * returns a token/char from the stream F.
52 * \param[out] *token the read token is put here
57 ssize_t ldns_fget_token(FILE *f, char *token, const char *delim, size_t limit);
60 * returns a token/char from the stream F.
64 * \param[out] *token the token is put here
70 ssize_t ldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr);
73 * returns a token/char from the buffer b.
77 * \param[out] *token th
[all...]
/freebsd-13-stable/contrib/dma/
H A Daliases_parse.y36 %token <ident> T_IDENT
37 %token T_ERROR
38 %token T_EOF 0
/freebsd-13-stable/contrib/ipfilter/iplang/
H A Diplang_y.y48 extern int state, state, lineNum, token;
161 %token <num> IL_NUMBER
163 %token <str> IL_TOKEN
164 %type <str> token optoken
165 %token IL_HEXDIGIT IL_COLON IL_DOT IL_EOF IL_COMMENT
166 %token IL_INTERFACE IL_IFNAME IL_MTU IL_EADDR
167 %token IL_IPV4 IL_V4PROTO IL_V4SRC IL_V4DST IL_V4OFF IL_V4V IL_V4HL IL_V4TTL
168 %token IL_V4TOS IL_V4SUM IL_V4LEN IL_V4OPT IL_V4ID
169 %token IL_TCP IL_SPORT IL_DPORT IL_TCPFL IL_TCPSEQ IL_TCPACK IL_TCPOFF
170 %token IL_TCPWI
535 token: IL_TOKEN ';' label
[all...]
/freebsd-13-stable/crypto/heimdal/appl/gssmask/
H A Dgssmask.c568 krb5_data token; local
575 retdata(c, token);
581 input_token.length = token.length;
582 input_token.value = token.data;
589 krb5_data_free(&token);
591 token.data = output_token.value;
592 token.length = output_token.length;
595 putdata(c, token);
738 krb5_data token; local
746 retdata(c, token);
779 krb5_data token; local
884 krb5_data token, header, trailer; local
970 krb5_data token, header, trailer; local
[all...]
/freebsd-13-stable/sys/powerpc/powernv/
H A Dopal_flash.c167 int rv, size, token; local
174 token = opal_alloc_async_token();
185 vtophys(data), size, token);
187 rv = opal_wait_completion(&msg, sizeof(msg), token);
197 opal_free_async_token(token);
210 int rv, token; local
217 token = opal_alloc_async_token();
219 rv = opal_call(OPAL_FLASH_ERASE, sc->sc_opal_id, off, count, token);
221 rv = opal_wait_completion(&msg, sizeof(msg), token);
225 opal_free_async_token(token);
240 int rv, size, token; local
[all...]
/freebsd-13-stable/contrib/bsnmp/snmpd/
H A Dconfig.c150 /* lexer values and last token */
154 static int token; variable
492 * Skip any whitespace before the next token
499 return (token = TOK_EOF);
509 return (token = TOK_EOL);
518 return (token = TOK_EOL);
520 return (token = c);
523 return (token = TOK_ASSIGN);
525 return (token = ':');
529 return (token
[all...]
/freebsd-13-stable/contrib/unbound/util/
H A Dconfigparser.y70 %token SPACE LETTER NEWLINE COMMENT COLON ANY ZONESTR
71 %token <str> STRING_ARG
72 %token VAR_FORCE_TOPLEVEL
73 %token VAR_SERVER VAR_VERBOSITY VAR_NUM_THREADS VAR_PORT
74 %token VAR_OUTGOING_RANGE VAR_INTERFACE VAR_PREFER_IP4
75 %token VAR_DO_IP4 VAR_DO_IP6 VAR_PREFER_IP6 VAR_DO_UDP VAR_DO_TCP
76 %token VAR_TCP_MSS VAR_OUTGOING_TCP_MSS VAR_TCP_IDLE_TIMEOUT
77 %token VAR_EDNS_TCP_KEEPALIVE VAR_EDNS_TCP_KEEPALIVE_TIMEOUT
78 %token VAR_CHROOT VAR_USERNAME VAR_DIRECTORY VAR_LOGFILE VAR_PIDFILE
79 %token VAR_MSG_CACHE_SIZ
[all...]
/freebsd-13-stable/sys/netinet/libalias/
H A Dalias_proxy.c545 char *token; local
606 token = strsep(&res, " \t");
608 while (token != NULL) {
612 if (strcmp(token, "type") == 0)
614 else if (strcmp(token, "port") == 0)
616 else if (strcmp(token, "server") == 0)
618 else if (strcmp(token, "rule") == 0)
620 else if (strcmp(token, "delete") == 0)
622 else if (strcmp(token, "proto") == 0)
624 else if (strcmp(token, "sr
[all...]
/freebsd-13-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-13-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-13-stable/sys/dev/ppbus/
H A Dppbconf.c176 * Search the first occurrence of a token within a string
179 search_token(char *str, int slen, char *token) argument
189 /* get token's length */
190 tlen = strlen(token);
195 if (strncmp(str + i, token, tlen) == 0)
210 char *token, *class = NULL; local
232 if ((token = search_token(str, len, "MFG")) != NULL ||
233 (token = search_token(str, len, "MANUFACTURER")) != NULL)
235 search_token(token, UNKNOWN_LENGTH, ":") + 1);
239 if ((token
[all...]
/freebsd-13-stable/bin/test/
H A Dtest.c76 enum token { enum
119 #define TOKEN_TYPE(token) ((token) & 0xff00)
174 static int aexpr(enum token);
175 static int binop(enum token);
177 static int filstat(char *, enum token);
185 static int nexpr(enum token);
186 static int oexpr(enum token);
188 static int primary(enum token);
190 static enum token t_le
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dllex.c46 static l_noret lexerror (LexState *ls, const char *msg, int token);
72 const char *luaX_token2str (LexState *ls, int token) { argument
73 if (token < FIRST_RESERVED) { /* single-byte symbols? */
74 lua_assert(token == cast(unsigned char, token));
75 return (lisprint(token)) ? luaO_pushfstring(ls->L, LUA_QL("%c"), token) :
76 luaO_pushfstring(ls->L, "char(%d)", token);
79 const char *s = luaX_tokens[token - FIRST_RESERVED];
80 if (token < TK_EO
88 txtToken(LexState *ls, int token) argument
101 lexerror(LexState *ls, const char *msg, int token) argument
[all...]
/freebsd-13-stable/lib/libc/net/
H A Dnsparser.y58 %token NL
59 %token SUCCESS UNAVAIL NOTFOUND TRYAGAIN
60 %token RETURN CONTINUE
61 %token ERRORTOKEN
62 %token <str> STRING
/freebsd-13-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-13-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-13-stable/crypto/openssh/
H A Dssh-pkcs11.c47 CK_TOKEN_INFO token; member in struct:pkcs11_slotinfo
258 if ((si->token.flags & CKF_LOGIN_REQUIRED) && !si->logged_in) {
260 error("need pin entry%s", (si->token.flags &
265 if (si->token.flags & CKF_PROTECTED_AUTHENTICATION_PATH)
269 "Enter PIN for '%s': ", si->token.label);
313 /* redirect private key operations for rsa key to pkcs11 token */
375 login_required = p->slotinfo[slotidx].token.flags & CKF_LOGIN_REQUIRED;
402 * lookup public keys for token in slot identified by slotidx,
601 CK_TOKEN_INFO *token; local
671 token
[all...]
/freebsd-13-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 172 milliseconds

1234567891011>>