Home
last modified time | relevance | path

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

12345678910>>...33

/freebsd/sys/contrib/dev/acpica/compiler/
H A Dasltokens.y174 %token <i> PARSEOP_ACCESSAS
175 %token <i> PARSEOP_ACCESSATTRIB_BLOCK
176 %token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
177 %token <i> PARSEOP_ACCESSATTRIB_BYTE
178 %token <i> PARSEOP_ACCESSATTRIB_BYTES
179 %token <i> PARSEOP_ACCESSATTRIB_QUICK
180 %token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
181 %token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS
182 %token <i> PARSEOP_ACCESSATTRIB_SND_RCV
183 %token <i> PARSEOP_ACCESSATTRIB_WORD
[all …]
/freebsd/contrib/libyaml/src/
H A Dparser.c315 yaml_token_t *token; in yaml_parser_parse_stream_start() local
317 token = PEEK_TOKEN(parser); in yaml_parser_parse_stream_start()
318 if (!token) return 0; in yaml_parser_parse_stream_start()
320 if (token->type != YAML_STREAM_START_TOKEN) { in yaml_parser_parse_stream_start()
322 "did not find expected <stream-start>", token->start_mark); in yaml_parser_parse_stream_start()
326 STREAM_START_EVENT_INIT(*event, token->data.stream_start.encoding, in yaml_parser_parse_stream_start()
327 token->start_mark, token->start_mark); in yaml_parser_parse_stream_start()
345 yaml_token_t *token; in yaml_parser_parse_document_start() local
352 token = PEEK_TOKEN(parser); in yaml_parser_parse_document_start()
353 if (!token) return 0; in yaml_parser_parse_document_start()
[all …]
/freebsd/usr.bin/localedef/
H A Dparser.y45 char *token; member
50 %token T_CODE_SET
51 %token T_MB_CUR_MAX
52 %token T_MB_CUR_MIN
53 %token T_COM_CHAR
54 %token T_ESC_CHAR
55 %token T_LT
56 %token T_GT
57 %token T_NL
58 %token T_SEMI
[all …]
/freebsd/sbin/dhclient/
H A Dparse.c68 int brace_count = 0, token; in skip_to_semi() local
72 token = peek_token(&val, cfile); in skip_to_semi()
73 if (token == RBRACE) { in skip_to_semi()
75 token = next_token(&val, cfile); in skip_to_semi()
80 } else if (token == LBRACE) { in skip_to_semi()
82 } else if (token == SEMI && !brace_count) { in skip_to_semi()
83 token = next_token(&val, cfile); in skip_to_semi()
85 } else if (token == '\n') { in skip_to_semi()
92 token = next_token(&val, cfile); in skip_to_semi()
95 token = next_token(&val, cfile); in skip_to_semi()
[all …]
H A Dclparse.c65 int token; in read_client_conf() local
110 token = peek_token(&val, cfile); in read_client_conf()
111 if (token == EOF) in read_client_conf()
115 token = next_token(&val, cfile); /* Clear the peek buffer */ in read_client_conf()
154 int token; in read_client_leases() local
163 token = next_token(&val, cfile); in read_client_leases()
164 if (token == EOF) in read_client_leases()
166 if (token != LEASE) { in read_client_leases()
304 int token; in parse_X() local
308 token = peek_token(&val, cfile); in parse_X()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dasn1parse.y86 %token kw_ABSENT
87 %token kw_ABSTRACT_SYNTAX
88 %token kw_ALL
89 %token kw_APPLICATION
90 %token kw_AUTOMATIC
91 %token kw_BEGIN
92 %token kw_BIT
93 %token kw_BMPString
94 %token kw_BOOLEAN
95 %token kw_B
[all...]
/freebsd/contrib/wpa/src/utils/
H A Djson.c191 static int json_check_tree_state(struct json_token *token) in json_check_tree_state() argument
193 if (!token) in json_check_tree_state()
195 if (json_check_tree_state(token->child) < 0 || in json_check_tree_state()
196 json_check_tree_state(token->sibling) < 0) in json_check_tree_state()
198 if (token->state != JSON_COMPLETED) { in json_check_tree_state()
201 token->state, token->name ? token->name : "N/A", in json_check_tree_state()
202 token->type); in json_check_tree_state()
222 struct json_token *root = NULL, *curr_token = NULL, *token = NULL; in json_parse() local
237 token = json_alloc_token(&tokens); in json_parse()
238 if (!token) in json_parse()
[all …]
/freebsd/contrib/pam-krb5/tests/fakepam/
H A Dconfig.c477 char *line, *group, *token; in parse_options() local
489 token = strtok(NULL, " "); in parse_options()
490 if (token == NULL) in parse_options()
492 if (strcmp(token, "=") != 0) in parse_options()
493 bail("malformed action line near %s", token); in parse_options()
494 token = strtok(NULL, ""); in parse_options()
495 split_options(token, &work->options[type], config); in parse_options()
512 parse_call(char *token, struct action *action) in parse_call() argument
517 flags = strchr(token, '('); in parse_call()
526 action->call = string_to_call(token, &action->group); in parse_call()
[all …]
/freebsd/contrib/ntp/libjsmn/
H A 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/crypto/heimdal/lib/gssapi/krb5/
H A Dcfx.c291 gss_cfx_wrap_token token;
422 token = (gss_cfx_wrap_token)header->buffer.value;
424 token->TOK_ID[0] = 0x05;
425 token->TOK_ID[1] = 0x04;
426 token->Flags = 0;
427 token->Filler = 0xFF;
430 token->Flags |= CFXSentByAcceptor;
433 token->Flags |= CFXAcceptorSubkey;
445 token->Flags |= CFXSealed;
446 token->EC[0] = (ec >> 8) & 0xFF;
[all …]
/freebsd/contrib/ntp/scripts/deprecated/
H A 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/lib/libpmc/pmu-events/
H A Djsmn.c49 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, in jsmn_fill_token() argument
52 token->type = type; in jsmn_fill_token()
53 token->start = start; in jsmn_fill_token()
54 token->end = end; in jsmn_fill_token()
55 token->size = 0; in jsmn_fill_token()
65 jsmntok_t *token; in jsmn_parse_primitive() local
105 token = jsmn_alloc_token(parser, tokens, num_tokens); in jsmn_parse_primitive()
106 if (token == NULL) { in jsmn_parse_primitive()
110 jsmn_fill_token(token, JSMN_PRIMITIVE, start, parser->pos); in jsmn_parse_primitive()
122 jsmntok_t *token; in jsmn_parse_string() local
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_grammar.y50 %token DT_TOK_COMMA DT_TOK_ELLIPSIS
51 %token DT_TOK_ASGN DT_TOK_ADD_EQ DT_TOK_SUB_EQ DT_TOK_MUL_EQ
52 %token DT_TOK_DIV_EQ DT_TOK_MOD_EQ DT_TOK_AND_EQ DT_TOK_XOR_EQ DT_TOK_OR_EQ
53 %token DT_TOK_LSH_EQ DT_TOK_RSH_EQ DT_TOK_QUESTION DT_TOK_COLON
54 %token DT_TOK_LOR DT_TOK_LXOR DT_TOK_LAND
55 %token DT_TOK_BOR DT_TOK_XOR DT_TOK_BAND DT_TOK_EQU DT_TOK_NEQ
56 %token DT_TOK_LT DT_TOK_LE DT_TOK_GT DT_TOK_GE DT_TOK_LSH DT_TOK_RSH
57 %token DT_TOK_ADD DT_TOK_SUB DT_TOK_MUL DT_TOK_DIV DT_TOK_MOD
58 %token DT_TOK_LNEG DT_TOK_BNEG DT_TOK_ADDADD DT_TOK_SUBSUB
59 %token DT_TOK_PREINC DT_TOK_POSTINC DT_TOK_PREDEC DT_TOK_POSTDEC
[all …]
/freebsd/contrib/ldns/
H A Dparse.c25 ldns_fget_token(FILE *f, char *token, const char *delim, size_t limit) in ldns_fget_token() argument
27 return ldns_fget_token_l(f, token, delim, limit, NULL); in ldns_fget_token()
35 ldns_fget_token_l_st_file_type(FILE *f, char **token, size_t *limit, in ldns_fget_token_l_st_file_type() argument
54 if (!token || !limit) in ldns_fget_token_l_st_file_type()
58 if (*token == NULL || *limit == 0) in ldns_fget_token_l_st_file_type()
61 } else if (*token == NULL) { in ldns_fget_token_l_st_file_type()
63 if (!(*token = LDNS_XMALLOC(char, *limit + 1))) in ldns_fget_token_l_st_file_type()
73 t = *token; in ldns_fget_token_l_st_file_type()
138 if (c == '\n' && p != 0 && t > *token) { in ldns_fget_token_l_st_file_type()
144 && (i >= *limit || (size_t)(t - *token) >= *limit)) { in ldns_fget_token_l_st_file_type()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dcontext2.sh56 * Pass a token thru pipes to NTHREADS+1 threads in a circular list.
80 int token;
84 if (read(fds[i][0], &token, sizeof(token)) != sizeof(token))
86 token++;
87 if (write(fds[i+1][1], &token, sizeof(token)) != sizeof(token))
99 int i, r, token;
115 token = 0;
116 if (write(fds[0][1], &token, sizeof(token)) != sizeof(token))
118 if (read(fds[NTHREADS][0], &token, sizeof(token)) !=
119 sizeof(token))
H A Dcontext.sh58 * Pass a token thru pipes to CHILDREN+1 processes in a circular list
88 int token;
106 if (read(fds[i][0], &token, sizeof(token))
107 != sizeof(token))
109 if (write(fds[i+1][1], &token, sizeof(token))
110 != sizeof(token))
118 token = j;
119 if (write(fds[0][1], &token, sizeof(token)) != sizeof(token))
121 if (read(fds[CHILDREN][0], &token, sizeof(token))
122 != sizeof(token))
H A Dpipe2.sh88 int token;
97 token = 0;
98 write(fds[1], &token, sizeof(token));
104 if (read(fds[0], &token, sizeof(token)) != sizeof(token))
109 token++;
110 if (write(fds[1], &token, sizeof(token)) != sizeof(token))
121 if (read(fds[0], &token, sizeof(token)) != sizeof(token))
123 fprintf(stderr, "FINAL read %d from %d\n", token, fds[0]);
/freebsd/crypto/krb5/src/lib/gssapi/mechglue/
H A Dg_imp_cred.c36 val_imp_cred_args(OM_uint32 *minor_status, gss_buffer_t token, in val_imp_cred_args() argument
50 if (token == GSS_C_NO_BUFFER) in val_imp_cred_args()
52 if (GSS_EMPTY_BUFFER(token)) in val_imp_cred_args()
60 get_entry(OM_uint32 *minor_status, gss_buffer_t token, gss_OID mech_oid, in get_entry() argument
66 if (token->length < 4) in get_entry()
68 len = load_32_be(token->value); in get_entry()
69 if (token->length - 4 < len) in get_entry()
72 mech_oid->elements = (char *)token->value + 4; in get_entry()
73 token->value = (char *)token->value + 4 + len; in get_entry()
74 token->length -= 4 + len; in get_entry()
[all …]
/freebsd/sys/powerpc/powernv/
H A Dopal_async.c78 vmem_addr_t token; in opal_alloc_async_token() local
80 vmem_alloc(async_token_pool, 1, M_FIRSTFIT | M_WAITOK, &token); in opal_alloc_async_token()
81 completions[token].completed = false; in opal_alloc_async_token()
83 return (token); in opal_alloc_async_token()
87 opal_free_async_token(int token) in opal_free_async_token() argument
90 vmem_free(async_token_pool, token, 1); in opal_free_async_token()
98 opal_wait_completion(void *buf, uint64_t size, int token) in opal_wait_completion() argument
104 vtophys(buf), size, token); in opal_wait_completion()
106 if (completions[token].completed) { in opal_wait_completion()
108 memcpy(buf, &completions[token].msg, size); in opal_wait_completion()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_parse_date.c53 struct token { int token; time_t value; }; member
59 struct token *tokenp; /* Pointer to next token. */
102 if (gds->tokenp[0].token == tUNUMBER in timephrase()
103 && gds->tokenp[1].token == ':' in timephrase()
104 && gds->tokenp[2].token == tUNUMBER in timephrase()
105 && gds->tokenp[3].token == ':' in timephrase()
106 && gds->tokenp[4].token == tUNUMBER) { in timephrase()
114 else if (gds->tokenp[0].token == tUNUMBER in timephrase()
115 && gds->tokenp[1].token == ':' in timephrase()
116 && gds->tokenp[2].token == tUNUMBER) { in timephrase()
[all …]
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_port.c839 static void cleanup_validation_token(QUIC_VALIDATION_TOKEN *token) in cleanup_validation_token() argument
841 OPENSSL_free(token->remote_addr); in cleanup_validation_token()
856 QUIC_CONN_ID rscid, QUIC_VALIDATION_TOKEN *token, in generate_token() argument
859 token->is_retry = is_retry; in generate_token()
860 token->timestamp = ossl_time_now(); in generate_token()
861 token->remote_addr = NULL; in generate_token()
862 token->odcid = odcid; in generate_token()
863 token->rscid = rscid; in generate_token()
865 if (!BIO_ADDR_rawaddress(peer, NULL, &token->remote_addr_len) in generate_token()
866 || token->remote_addr_len == 0 in generate_token()
[all …]
/freebsd/sys/powerpc/pseries/
H A Drtas_dev.c106 cell_t token; in rtas_gettime() local
109 token = rtas_token_lookup("get-time-of-day"); in rtas_gettime()
110 if (token == -1) in rtas_gettime()
112 error = rtas_call_method(token, 0, 8, &tod[0], &tod[1], &tod[2], in rtas_gettime()
134 cell_t token, status; in rtas_settime() local
137 token = rtas_token_lookup("set-time-of-day"); in rtas_settime()
138 if (token == -1) in rtas_settime()
142 error = rtas_call_method(token, 7, 1, ct.year, ct.mon, ct.day, ct.hour, in rtas_settime()
155 cell_t token, status; in rtas_shutdown() local
158 token = rtas_token_lookup("power-off"); in rtas_shutdown()
[all …]
/freebsd/contrib/byacc/test/
H A Dok_syntax1.y25 %token DIGIT LETTER
27 %token OCT1 '\177'
28 %token HEX1 '\xff'
29 %token HEX2 '\xFF'
30 %token HEX3 '\x7f'
31 %token STR1 "\x7f\177\\\n"
32 %token STR2 "\x7f\
35 %token BELL '\a'
36 %token BS '\b'
37 %token NL '\n'
[all …]
/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
13 %token NODEVICE
14 %token ENV
15 %token ENVVAR
16 %token EQUALS
[all …]
/freebsd/sbin/ipf/iplang/
H A Diplang_y.y46 extern int state, state, lineNum, token;
159 %token <num> IL_NUMBER
161 %token <str> IL_TOKEN
162 %type <str> token optoken
163 %token IL_HEXDIGIT IL_COLON IL_DOT IL_EOF IL_COMMENT
164 %token IL_INTERFACE IL_IFNAME IL_MTU IL_EADDR
165 %token IL_IPV4 IL_V4PROTO IL_V4SRC IL_V4DST IL_V4OFF IL_V4V IL_V4HL IL_V4TTL
166 %token IL_V4TOS IL_V4SUM IL_V4LEN IL_V4OPT IL_V4ID
167 %token IL_TCP IL_SPORT IL_DPORT IL_TCPFL IL_TCPSEQ IL_TCPACK IL_TCPOFF
168 %token IL_TCPWIN IL_TCPSUM IL_TCPURP IL_TCPOPT IL_TCPO_NOP IL_TCPO_EOL
[all …]

12345678910>>...33