Home
last modified time | relevance | path

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

12345678910>>...19

/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dasltokens.y192 %token <i> PARSEOP_ADD
200 %token <i> PARSEOP_AND
251 %token <i> PARSEOP_DMA
288 %token <i> PARSEOP_IF
301 %token <i> PARSEOP_IO
308 %token <i> PARSEOP_IRQ
330 %token <i> PARSEOP_LOR
349 %token <i> PARSEOP_MID
352 %token <i> PARSEOP_MOD
360 %token <i> PARSEOP_NOR
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dexpression.c155 token = token->next; in builtin_types_compatible_p_expr()
159 token = token->next; in builtin_types_compatible_p_expr()
164 token = token->next; in builtin_types_compatible_p_expr()
169 token = token->next; in builtin_types_compatible_p_expr()
183 token = token->next; in builtin_offsetof_expr()
187 token = token->next; in builtin_offsetof_expr()
212 token = token->next; in builtin_offsetof_expr()
220 token = token->next; in builtin_offsetof_expr()
223 token = token->next; in builtin_offsetof_expr()
383 token = token->next; in primary_expression()
[all …]
H A Dparse.c739 token = token->next; in struct_union_enum_specifier()
1007 token = token->next; in parse_enum_declaration()
1249 token = token->next; in attribute_mode()
1267 token = token->next; in attribute_context()
1308 token = token->next; in recover_unknown_attribute()
1338 token = token->next; in attribute_specifier()
1708 token = token->next; in skip_attribute()
2133 token = token->next; in parse_asm_statement()
2471 token = token->next; in parse_goto_statement()
2487 token = token->next; in parse_context_statement()
[all …]
H A Dpre-process.c250 token = token->next; in scan_next()
440 token = token->next; in show_token_sequence()
616 struct token *token; in copy() local
807 token = token->next; in token_name_sequence()
943 token = token->next; in free_preprocessor_line()
1996 token = token->next; in handle_add_include()
2010 token = token->next; in handle_add_isystem()
2024 token = token->next; in handle_add_system()
2055 token = token->next; in handle_add_dirafter()
2334 struct token * preprocess(struct token *token) in preprocess() argument
[all …]
H A Dsmatch_project.c75 struct token *token; in register_no_return_funcs() local
86 token = token->next; in register_no_return_funcs()
92 token = token->next; in register_no_return_funcs()
99 struct token *token; in register_ignored_macros() local
113 token = token->next; in register_ignored_macros()
119 token = token->next; in register_ignored_macros()
126 struct token *token; in register_skipped_functions() local
142 token = token->next; in register_skipped_functions()
155 struct token *token; in register_silenced_functions() local
171 token = token->next; in register_silenced_functions()
[all …]
H A Dtoken_store.c35 struct token *token; member
42 static struct token *copy_token(struct token *token) in copy_token() argument
47 memcpy(new, token, sizeof(*token)); in copy_token()
96 token = copy_token(token); in store_token()
103 cursor->token = token; in store_token()
112 cursor->token = token; in store_token()
125 cursor->token = token; in store_token()
132 token = token->next; in store_all_tokens()
153 struct token *token; in pos_get_token() local
161 token = token->next; in pos_get_token()
[all …]
H A Dcheck_wrong_size_arg.c43 struct token *token; in register_funcs_from_file() local
51 token = get_tokens_file(name); in register_funcs_from_file()
52 if (!token) in register_funcs_from_file()
56 token = token->next; in register_funcs_from_file()
60 func = show_ident(token->ident); in register_funcs_from_file()
62 token = token->next; in register_funcs_from_file()
65 size = atoi(token->number); in register_funcs_from_file()
67 token = token->next; in register_funcs_from_file()
69 if (token->special != '-') in register_funcs_from_file()
71 token = token->next; in register_funcs_from_file()
[all …]
H A Dtokenize.c55 struct token *token; member
471 struct token *token = stream->token; in add_token() local
538 struct token *token; in get_one_number() local
568 token = stream->token; in get_one_number()
580 struct token *token = stream->token; in eat_string() local
638 token = stream->token; in eat_string()
742 struct token *token; in get_one_special() local
784 token = stream->token; in get_one_special()
902 struct token *token; in built_in_token() local
913 struct token *token; in get_one_identifier() local
[all …]
H A Dtoken.h61 struct token *ifndef;
62 struct token *top_if;
187 struct token { struct
189 struct token *next; argument
203 static inline struct token *containing_token(struct token **p) in containing_token() argument
235 extern struct token *preprocess(struct token *);
237 extern void store_all_tokens(struct token *token);
246 static inline int match_op(struct token *token, unsigned int op) in match_op() argument
248 return token->pos.type == TOKEN_SPECIAL && token->special == op; in match_op()
251 static inline int match_ident(struct token *token, struct ident *id) in match_ident() argument
[all …]
H A Dcheck_unreachable.c83 struct token *token; in prev_line_was_endif() local
90 if (token && token_type(token) == TOKEN_IDENT && in prev_line_was_endif()
96 if (token && token_type(token) == TOKEN_IDENT && in prev_line_was_endif()
231 struct token *token; in register_turn_off_macros() local
241 if (!token) in register_turn_off_macros()
245 token = token->next; in register_turn_off_macros()
251 token = token->next; in register_turn_off_macros()
258 struct token *token; in register_ignored_macros() local
268 if (!token) in register_ignored_macros()
272 token = token->next; in register_ignored_macros()
[all …]
H A Dexpression.h278 struct token *parse_expression(struct token *token, struct expression **tree);
279 struct token *conditional_expression(struct token *token, struct expression **tree);
280 struct token *primary_expression(struct token *token, struct expression **tree);
281 struct token *parens_expression(struct token *token, struct expression **expr, const char *where);
282 struct token *assignment_expression(struct token *token, struct expression **tree);
312 struct token *typename(struct token *, struct symbol **, int *);
314 static inline int lookup_type(struct token *token) in lookup_type() argument
316 if (token->pos.type == TOKEN_IDENT) { in lookup_type()
325 struct token *initializer(struct expression **tree, struct token *token);
326 struct token *compound_statement(struct token *, struct statement *);
[all …]
H A Dcheck_memcpy_overflow.c281 struct token *token; in register_funcs_from_file() local
289 if (!token) in register_funcs_from_file()
293 token = token->next; in register_funcs_from_file()
299 token = token->next; in register_funcs_from_file()
304 token = token->next; in register_funcs_from_file()
308 token = token->next; in register_funcs_from_file()
311 token = token->next; in register_funcs_from_file()
325 token = token->next; in register_funcs_from_file()
335 struct token *token; in register_ignored_structs_from_file() local
345 token = token->next; in register_ignored_structs_from_file()
[all …]
H A Dchar.c69 void get_char_constant(struct token *token, unsigned long long *val) in get_char_constant() argument
73 int type = token_type(token); in get_char_constant()
77 p = token->string->data; in get_char_constant()
78 end = p + token->string->length - 1; in get_char_constant()
89 warning(token->pos, in get_char_constant()
94 struct token *get_string_constant(struct token *token, struct expression *expr) in get_string_constant() argument
97 struct token *next = token->next, *done = NULL; in get_string_constant()
98 int stringtype = token_type(token); in get_string_constant()
117 while (token != done) { in get_string_constant()
129 token = token->next; in get_string_constant()
[all …]
H A Dsmatch_expressions.c181 struct token *token, *prev, *end; in get_expression_from_base_and_str() local
190 if (!token) in get_expression_from_base_and_str()
194 token = token->next; in get_expression_from_base_and_str()
199 prev = token; in get_expression_from_base_and_str()
200 token = token->next; in get_expression_from_base_and_str()
214 token = token->next; in get_expression_from_base_and_str()
257 struct token *token, *prev, *end; in gen_expression_from_key() local
273 if (!token) in gen_expression_from_key()
277 token = token->next; in gen_expression_from_key()
283 token = token->next; in gen_expression_from_key()
[all …]
H A Dcheck_dma_on_stack.c54 struct token *token; in register_funcs_from_file() local
58 token = get_tokens_file("kernel.dma_funcs"); in register_funcs_from_file()
59 if (!token) in register_funcs_from_file()
61 if (token_type(token) != TOKEN_STREAMBEGIN) in register_funcs_from_file()
63 token = token->next; in register_funcs_from_file()
65 if (token_type(token) != TOKEN_IDENT) in register_funcs_from_file()
67 func = show_ident(token->ident); in register_funcs_from_file()
68 token = token->next; in register_funcs_from_file()
69 if (token_type(token) != TOKEN_NUMBER) in register_funcs_from_file()
71 arg = atoi(token->number); in register_funcs_from_file()
[all …]
H A Dcheck_freeing_devm.c45 struct token *token; in register_funcs_from_file() local
50 if (!token) in register_funcs_from_file()
52 if (token_type(token) != TOKEN_STREAMBEGIN) in register_funcs_from_file()
54 token = token->next; in register_funcs_from_file()
55 while (token_type(token) != TOKEN_STREAMEND) { in register_funcs_from_file()
56 if (token_type(token) != TOKEN_IDENT) in register_funcs_from_file()
58 func = show_ident(token->ident); in register_funcs_from_file()
59 token = token->next; in register_funcs_from_file()
60 if (token_type(token) != TOKEN_NUMBER) in register_funcs_from_file()
62 arg = atoi(token->number); in register_funcs_from_file()
[all …]
/illumos-gate/usr/src/cmd/localedef/
H A Dparser.y31 char *token; member
41 %token T_LT
42 %token T_GT
43 %token T_NL
44 %token T_SEMI
50 %token T_NULL
51 %token T_WS
52 %token T_END
53 %token T_COPY
135 %token <token> T_NAME
[all …]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_logon.c78 if (!token || !sib) in smb_token_idmap()
275 if (token != NULL) { in smb_token_destroy()
286 free(token); in smb_token_destroy()
311 token->tkn_owner.i_sid = smb_sid_dup(token->tkn_user.i_sid); in smb_token_set_owner()
398 token->tkn_privileges = smb_token_create_privs(token); in smb_token_setup_common()
404 token->tkn_domain_name, token->tkn_account_name); in smb_token_setup_common()
409 token->tkn_posix_grps = smb_token_create_pxgrps(token->tkn_user.i_id); in smb_token_setup_common()
819 return ((token) ? token->tkn_user.i_sid : NULL); in smb_token_user_sid()
897 if (token == NULL) in smb_token_log()
901 (token->tkn_domain_name) ? token->tkn_domain_name : "-NULL-", in smb_token_log()
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dau_to.c64 free(token); in get_token()
69 return (token); in get_token()
110 return (token); in au_to_header()
172 return (token); in au_to_header_ex()
197 return (token); in au_to_trailer()
226 return (token); in au_to_arg32()
255 return (token); in au_to_arg64()
301 return (token); in au_to_attr()
372 return (token); in au_to_data()
421 return (token); in au_to_privset()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/
H A Dversions.c177 if (token == NULL || *token != '#') { in comment()
193 token ? token : "<NULL>"); in arch_name()
206 *token); in arch_name()
244 (token) ? token : "<NULL>"); in set_list()
272 (token) ? token : "<NULL>"); in set()
393 (token) ? token : "<NULL>"); in set_parents()
414 while (token && *token != '}') { in set_parents()
472 (token) ? token : "<NULL>", expected); in accept_token()
484 (token) ? token : "<NULL>", expected); in accept_token()
496 while (token && !eq(token, target)) { in skip_to()
[all …]
/illumos-gate/usr/src/cmd/iconv/
H A Dparser.y28 char *token; member
38 %token T_LT
39 %token T_GT
40 %token T_NL
41 %token T_SEMI
42 %token T_COMMA
46 %token T_QUOTE
47 %token T_NULL
48 %token T_END
53 %token <token> T_NAME
[all …]
/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Dudat_sr_parser.c1083 *token = top->token; in dat_sr_get_token()
1108 top->token = *token; in dat_sr_put_token()
1217 token, in dat_sr_read_token()
1224 token, in dat_sr_read_token()
1238 ((DAT_SR_TOKEN_STRING == token->type) ? token->value : "")); in dat_sr_read_token()
1257 if (NULL == (token->value = dat_os_alloc(token->value_len))) { in dat_sr_read_str()
1262 dat_os_free(token->value, token->value_len); in dat_sr_read_str()
1268 token->value[token->value_len - 1] = '\0'; in dat_sr_read_str()
1300 if (NULL == (token->value = dat_os_alloc(token->value_len))) { in dat_sr_read_quoted_str()
1334 token->value[token->value_len - 1] = '\0'; in dat_sr_read_quoted_str()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5unseal.c364 xfree_wrap(token.value, token.length);
392 xfree_wrap(token.value, token.length);
411 xfree_wrap(token.value, token.length);
440 xfree_wrap(token.value, token.length);
458 xfree_wrap(token.value, token.length);
472 token.value, token.length);
490 xfree_wrap(token.value, token.length);
522 xfree_wrap(token.value, token.length);
555 xfree_wrap(token.value, token.length);
580 xfree_wrap(token.value, token.length);
[all …]
/illumos-gate/usr/src/tools/sgs/sgsmsg/
H A Dsgsmsg.c225 token++; in getmesgid()
229 token++; in getmesgid()
232 token++; in getmesgid()
236 token++; in getmesgid()
239 token++; in getmesgid()
240 *token = 0; in getmesgid()
748 token++; in file()
750 token++; in file()
753 token++; in file()
757 token++; in file()
[all …]
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c148 *token = NULL; in get_token()
540 free(token); in cvt_metal_kernel()
544 free(token); in cvt_metal_kernel()
548 free(token); in cvt_metal_kernel()
553 free(token); in cvt_metal_kernel()
583 free(token); in cvt_hyper_kernel()
587 free(token); in cvt_hyper_kernel()
592 free(token); in cvt_hyper_kernel()
597 free(token); in cvt_hyper_kernel()
637 free(token); in cvt_hyper_module()
[all …]

12345678910>>...19