Home
last modified time | relevance | path

Searched refs:token (Results 51 - 75 of 1977) sorted by relevance

12345678910>>...80

/third_party/ltp/metadata/
H A Dmetaparse.c291 const char *token; in parse_array() local
294 if (!(token = next_token(f, NULL))) in parse_array()
297 if (!strcmp(token, "{")) { in parse_array()
309 if (!strcmp(token, "}")) in parse_array()
312 if (!strcmp(token, ",")) in parse_array()
315 if (!strcmp(token, "NULL")) in parse_array()
318 struct data_node *str = data_node_string(token); in parse_array()
347 const char *token; in parse_get_array_len() local
350 if (!(token = next_token(f, NULL))) in parse_get_array_len()
353 if (strcmp(token, "{")) in parse_get_array_len()
380 const char *token; look_for_array_size() local
409 const char *token; parse_array_size() local
477 char *token; parse_test_struct() local
644 const char *token; parse_include_macros() local
672 const char *token; parse_file() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A Dspace_test.cpp25 pp::Token token; in expectSpace() local
27 mPreprocessor.lex(&token); in expectSpace()
28 EXPECT_EQ(pp::Token::IDENTIFIER, token.type); in expectSpace()
29 EXPECT_EQ("foo", token.text); in expectSpace()
30 // The whitespace character is however recorded with the next token. in expectSpace()
31 EXPECT_TRUE(token.hasLeadingSpace()); in expectSpace()
82 // next token. This test makes sure that a token is not incorrectly marked
89 pp::Token token; in TEST_F() local
90 mPreprocessor.lex(&token); in TEST_F()
[all...]
/third_party/jerryscript/jerry-core/parser/js/
H A Djs-lexer.c230 if (context_p->token.flags & LEXER_NO_SKIP_SPACES) in lexer_skip_spaces()
232 context_p->token.flags &= (uint8_t) ~LEXER_NO_SKIP_SPACES; in lexer_skip_spaces()
236 context_p->token.flags = 0; in lexer_skip_spaces()
265 context_p->token.flags = LEXER_WAS_NEWLINE; in lexer_skip_spaces()
302 context_p->token.line = context_p->line; in lexer_skip_spaces()
303 context_p->token.column = context_p->column; in lexer_skip_spaces()
352 context_p->token.flags = LEXER_WAS_NEWLINE; in lexer_skip_spaces()
414 context_p->token.flags = (uint8_t) (context_p->token.flags | LEXER_NO_SKIP_SPACES); in lexer_skip_empty_statements()
424 lexer_token_type_t type; /**< keyword token typ
3478 lexer_convert_binary_lvalue_token_to_binary(uint8_t token) lexer_convert_binary_lvalue_token_to_binary() argument
[all...]
H A Djs-parser-expr.c151 && (context_p->token.type == LEXER_ASSIGN in parser_check_invalid_new_target()
152 || LEXER_IS_BINARY_LVALUE_TOKEN (context_p->token.type)))); in parser_check_invalid_new_target()
287 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_SQUARE); in parser_parse_array_literal()
294 if (context_p->token.type == LEXER_RIGHT_SQUARE) in parser_parse_array_literal()
305 if (context_p->token.type == LEXER_COMMA) in parser_parse_array_literal()
313 if (context_p->token.type == LEXER_THREE_DOTS) in parser_parse_array_literal()
329 if (context_p->token.type == LEXER_COMMA) in parser_parse_array_literal()
333 else if (context_p->token.type != LEXER_RIGHT_SQUARE) in parser_parse_array_literal()
491 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_parse_class_literal()
531 if (context_p->token in parser_parse_class_literal()
2271 uint8_t token = context_p->stack_top_uint8; parser_process_unary_expression() local
2570 uint8_t token = context_p->stack_top_uint8; parser_process_binary_opcodes() local
2694 lexer_token_t token; /**< token at the end position */ global() member
[all...]
H A Djs-scanner.c38 SCAN_NEXT_TOKEN, /**< get next token after return */
39 SCAN_KEEP_TOKEN, /**< keep the current token after return */
43 * Checks whether token type is "of".
72 * @return SCAN_NEXT_TOKEN to read the next token, or SCAN_KEEP_TOKEN to do nothing
77 lexer_token_type_t type, /**< current token type */ in scanner_scan_primary_expression()
121 if (context_p->token.type == LEXER_LITERAL in scanner_scan_primary_expression()
122 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_scan_primary_expression()
175 if (context_p->token.lit_location.type == LEXER_IDENT_LITERAL in scanner_scan_primary_expression()
189 if (context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_scan_primary_expression()
209 if (context_p->token in scanner_scan_primary_expression()
[all...]
H A Djs-parser-statm.c230 * Lexer token types.
353 if (context_p->token.type != LEXER_LEFT_PAREN) in parser_parse_enclosed_expr()
361 if (context_p->token.type != LEXER_RIGHT_PAREN) in parser_parse_enclosed_expr()
465 JERRY_ASSERT (context_p->token.type == LEXER_KEYW_LET in parser_validate_lexical_context()
466 || context_p->token.type == LEXER_KEYW_CONST in parser_validate_lexical_context()
467 || context_p->token.type == LEXER_KEYW_CLASS); in parser_validate_lexical_context()
482 JERRY_ASSERT (context_p->token.type == LEXER_KEYW_VAR in parser_parse_var_statement()
483 || context_p->token.type == LEXER_KEYW_LET in parser_parse_var_statement()
484 || context_p->token.type == LEXER_KEYW_CONST); in parser_parse_var_statement()
487 uint8_t declaration_type = context_p->token in parser_parse_var_statement()
[all...]
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/
H A Dfsl-mc-uapi.c25 bool token; member
84 .token = true,
90 .token = true,
96 .token = false,
102 .token = true,
109 .token = true,
116 .token = true,
123 .token = true,
130 .token = true,
136 .token
[all...]
/third_party/rust/crates/syn/src/
H A Dlit.rs47 /// A raw token literal not interpreted by Syn.
81 token: Literal,
93 token: Literal,
108 token: Literal,
123 let mut token = Literal::string(value); in new() variables
124 token.set_span(span); in new()
127 token, in new()
134 let repr = self.repr.token.to_string(); in value()
209 .map(|token| respan_token_tree(token, spa in parse_with()
256 pub fn token(&self) -> Literal { token() functions
263 let mut token = Literal::byte_string(value); new() variables
291 pub fn token(&self) -> Literal { token() functions
298 let mut token = Literal::u8_suffixed(value); new() variables
326 pub fn token(&self) -> Literal { token() functions
333 let mut token = Literal::character(value); new() variables
361 pub fn token(&self) -> Literal { token() functions
373 let mut token: Literal = repr.parse().unwrap(); new() variables
432 pub fn token(&self) -> Literal { token() functions
467 let mut token: Literal = repr.parse().unwrap(); new() variables
504 pub fn token(&self) -> Literal { token() functions
549 pub fn token(&self) -> Ident { token() functions
857 let mut token: Literal = repr.parse().unwrap(); parse_negative_lit() variables
872 let mut token: Literal = repr.parse().unwrap(); parse_negative_lit() variables
[all...]
/third_party/selinux/checkpolicy/
H A Dpolicy_parse.y85 %token PATH
86 %token QPATH
87 %token FILENAME
88 %token CLONE
89 %token COMMON
90 %token CLASS
91 %token CONSTRAIN
92 %token VALIDATETRANS
93 %token INHERITS
94 %token SI
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpsw.c27 * @token: Returned token; use in subsequent API calls
32 * This function returns a unique authentication token,
34 * portal; this token must be used in all subsequent commands for
39 int dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) in dpsw_open() argument
58 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open()
67 * @token: Token of DPSW object
74 int dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpsw_close() argument
81 token); in dpsw_close()
91 * @token
95 dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_enable() argument
116 dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_disable() argument
137 dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_reset() argument
165 dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) dpsw_set_irq_enable() argument
199 dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) dpsw_set_irq_mask() argument
229 dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) dpsw_get_irq_status() argument
269 dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) dpsw_clear_irq_status() argument
296 dpsw_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpsw_attr *attr) dpsw_get_attributes() argument
343 dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_link_cfg *cfg) dpsw_if_set_link_cfg() argument
372 dpsw_if_get_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_link_state *state) dpsw_if_get_link_state() argument
411 dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_tci_cfg *cfg) dpsw_if_set_tci() argument
443 dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_tci_cfg *cfg) dpsw_if_get_tci() argument
485 dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_stp_cfg *cfg) dpsw_if_set_stp() argument
515 dpsw_if_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, enum dpsw_counter type, u64 *counter) dpsw_if_get_counter() argument
552 dpsw_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) dpsw_if_enable() argument
577 dpsw_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) dpsw_if_disable() argument
603 dpsw_if_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_if_attr *attr) dpsw_if_get_attributes() argument
644 dpsw_if_set_max_frame_length(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u16 frame_length) dpsw_if_set_max_frame_length() argument
679 dpsw_vlan_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_cfg *cfg) dpsw_vlan_add() argument
712 dpsw_vlan_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_add_if() argument
749 dpsw_vlan_add_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_add_if_untagged() argument
780 dpsw_vlan_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_remove_if() argument
813 dpsw_vlan_remove_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_remove_if_untagged() argument
840 dpsw_vlan_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id) dpsw_vlan_remove() argument
868 dpsw_fdb_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *fdb_id, const struct dpsw_fdb_cfg *cfg) dpsw_fdb_add() argument
902 dpsw_fdb_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id) dpsw_fdb_remove() argument
927 dpsw_fdb_add_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) dpsw_fdb_add_unicast() argument
967 dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, u64 iova_addr, u32 iova_size, u16 *num_entries) dpsw_fdb_dump() argument
1005 dpsw_fdb_remove_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) dpsw_fdb_remove_unicast() argument
1044 dpsw_fdb_add_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg) dpsw_fdb_add_multicast() argument
1083 dpsw_fdb_remove_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg) dpsw_fdb_remove_multicast() argument
1115 dpsw_ctrl_if_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpsw_ctrl_if_attr *attr) dpsw_ctrl_if_get_attributes() argument
1146 dpsw_ctrl_if_set_pools(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpsw_ctrl_if_pools_cfg *cfg) dpsw_ctrl_if_set_pools() argument
1178 dpsw_ctrl_if_set_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpsw_queue_type qtype, const struct dpsw_ctrl_if_queue_cfg *cfg) dpsw_ctrl_if_set_queue() argument
1242 dpsw_if_get_port_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 mac_addr[6]) dpsw_if_get_port_mac_addr() argument
1278 dpsw_ctrl_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_ctrl_if_enable() argument
1296 dpsw_ctrl_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_ctrl_if_disable() argument
1316 dpsw_set_egress_flood(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpsw_egress_flood_cfg *cfg) dpsw_set_egress_flood() argument
1342 dpsw_if_set_learning_mode(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, enum dpsw_learning_mode mode) dpsw_if_set_learning_mode() argument
1371 dpsw_acl_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 *acl_id, const struct dpsw_acl_cfg *cfg) dpsw_acl_add() argument
1402 dpsw_acl_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id) dpsw_acl_remove() argument
1426 dpsw_acl_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_if_cfg *cfg) dpsw_acl_add_if() argument
1452 dpsw_acl_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_if_cfg *cfg) dpsw_acl_remove_if() argument
1528 dpsw_acl_add_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_entry_cfg *cfg) dpsw_acl_add_entry() argument
1560 dpsw_acl_remove_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 acl_id, const struct dpsw_acl_entry_cfg *cfg) dpsw_acl_remove_entry() argument
1594 dpsw_set_reflection_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) dpsw_set_reflection_if() argument
1619 dpsw_if_add_reflection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_reflection_cfg *cfg) dpsw_if_add_reflection() argument
1646 dpsw_if_remove_reflection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_reflection_cfg *cfg) dpsw_if_remove_reflection() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
H A Ddpsw.c29 * @token: Returned token; use in subsequent API calls
34 * This function returns a unique authentication token,
36 * portal; this token must be used in all subsequent commands for
44 u16 *token) in dpsw_open()
63 *token = mc_cmd_hdr_read_token(&cmd); in dpsw_open()
72 * @token: Token of DPSW object
81 u16 token) in dpsw_close()
88 token); in dpsw_close()
98 * @token
41 dpsw_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpsw_id, u16 *token) dpsw_open() argument
79 dpsw_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_close() argument
102 dpsw_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_enable() argument
125 dpsw_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_disable() argument
148 dpsw_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpsw_reset() argument
178 dpsw_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) dpsw_set_irq_enable() argument
215 dpsw_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) dpsw_set_irq_mask() argument
248 dpsw_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) dpsw_get_irq_status() argument
291 dpsw_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) dpsw_clear_irq_status() argument
321 dpsw_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpsw_attr *attr) dpsw_get_attributes() argument
370 dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_link_cfg *cfg) dpsw_if_set_link_cfg() argument
402 dpsw_if_get_link_state(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_link_state *state) dpsw_if_get_link_state() argument
444 dpsw_if_set_flooding(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 en) dpsw_if_set_flooding() argument
475 dpsw_if_set_broadcast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 en) dpsw_if_set_broadcast() argument
506 dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_tci_cfg *cfg) dpsw_if_set_tci() argument
541 dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, struct dpsw_tci_cfg *cfg) dpsw_if_get_tci() argument
586 dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, const struct dpsw_stp_cfg *cfg) dpsw_if_set_stp() argument
619 dpsw_if_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, enum dpsw_counter type, u64 *counter) dpsw_if_get_counter() argument
660 dpsw_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) dpsw_if_enable() argument
688 dpsw_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) dpsw_if_disable() argument
717 dpsw_if_set_max_frame_length(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u16 frame_length) dpsw_if_set_max_frame_length() argument
755 dpsw_vlan_add(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_cfg *cfg) dpsw_vlan_add() argument
791 dpsw_vlan_add_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_add_if() argument
829 dpsw_vlan_add_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_add_if_untagged() argument
863 dpsw_vlan_remove_if(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_remove_if() argument
899 dpsw_vlan_remove_if_untagged(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id, const struct dpsw_vlan_if_cfg *cfg) dpsw_vlan_remove_if_untagged() argument
929 dpsw_vlan_remove(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 vlan_id) dpsw_vlan_remove() argument
958 dpsw_fdb_add_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) dpsw_fdb_add_unicast() argument
1001 dpsw_fdb_dump(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, u64 iova_addr, u32 iova_size, u16 *num_entries) dpsw_fdb_dump() argument
1044 dpsw_fdb_remove_unicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_unicast_cfg *cfg) dpsw_fdb_remove_unicast() argument
1086 dpsw_fdb_add_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg) dpsw_fdb_add_multicast() argument
1128 dpsw_fdb_remove_multicast(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, const struct dpsw_fdb_multicast_cfg *cfg) dpsw_fdb_remove_multicast() argument
1164 dpsw_fdb_set_learning_mode(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 fdb_id, enum dpsw_fdb_learning_mode mode) dpsw_fdb_set_learning_mode() argument
1228 dpsw_if_get_port_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 mac_addr[6]) dpsw_if_get_port_mac_addr() argument
1266 dpsw_if_get_primary_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 mac_addr[6]) dpsw_if_get_primary_mac_addr() argument
1304 dpsw_if_set_primary_mac_addr(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, u8 mac_addr[6]) dpsw_if_set_primary_mac_addr() argument
[all...]
/third_party/bounds_checking_function/src/
H A Dstrtok_s.c27 * Find beginning of token (skip over leading delimiters).
28 * Note that there is no token if this loop sets string to point to the terminal null.
32 char *token = strToken; in SecFindBegin() local
33 while (*token != '\0') { in SecFindBegin()
34 if (SecIsInDelimit(*token, strDelimit) != 0) { in SecFindBegin()
35 ++token; in SecFindBegin()
41 return token; in SecFindBegin()
45 * Find rest of token
49 /* Find the rest of the token. If it is not the end of the string, put a null there */ in SecFindRest()
50 char *token in SecFindRest() local
[all...]
H A Dwcstok_s.c27 * Find beginning of token (skip over leading delimiters).
28 * Note that there is no token if this loop sets string to point to the terminal null.
32 wchar_t *token = strToken; in SecFindBeginW() local
33 while (*token != L'\0') { in SecFindBeginW()
34 if (SecIsInDelimitW(*token, strDelimit) != 0) { in SecFindBeginW()
35 ++token; in SecFindBeginW()
41 return token; in SecFindBeginW()
45 * Find the end of the token. If it is not the end of the string, put a null there.
49 wchar_t *token = strToken; in SecFindRestW() local
50 while (*token ! in SecFindRestW()
[all...]
/third_party/python/Lib/xml/etree/
H A DElementPath.py77 for token in xpath_tokenizer_re.findall(pattern):
78 ttype, tag = token
91 yield token
94 yield token
153 def prepare_child(next, token):
154 tag = token[1]
172 def prepare_star(next, token):
178 def prepare_self(next, token):
183 def prepare_descendant(next, token):
185 token
[all...]
/third_party/typescript/tests/baselines/reference/
H A Dparserindenter.js48 public GetIndentationEdits(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLineIndent: boolean): List_TextEditInfo {
51 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " +
56 var result = this.GetIndentationEditsWorker(token, nextToken, node, sameLineIndent);
68 public GetIndentationEditsWorker(token: TokenSpan, nextToken: TokenSpan, node: ParseNode, sameLineIndent: boolean): List_TextEditInfo {
82 this.AdjustStartOffsetIfNeeded(token, node);
85 if (this.scriptBlockBeginLineNumber == token.lineNumber()) {
90 if (!sameLineIndent && this.IsMultiLineString(token)) {
95 indentationInfo = this.GetSpecialCaseIndentation(token, node);
99 // Get the indentation level only from the node that starts on the same offset as the token
[all...]
/third_party/mesa3d/src/gallium/tools/trace/
H A Dparse.py101 token = XmlToken(ELEMENT_START, name, attributes, line, column)
102 self.tokens.append(token)
107 token = XmlToken(ELEMENT_END, name, None, line, column)
108 self.tokens.append(token)
120 token = XmlToken(CHARACTER_DATA, character_data, None, line, column)
121 self.tokens.append(token)
142 token = XmlToken(EOF, None, None, line, column)
144 token = self.tokens[self.index]
146 return token
171 self.token
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dopal-sensor.c20 int ret, token; in opal_get_sensor_data() local
24 token = opal_async_get_token_interruptible(); in opal_get_sensor_data()
25 if (token < 0) in opal_get_sensor_data()
26 return token; in opal_get_sensor_data()
28 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data()
31 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data()
57 opal_async_release_token(token); in opal_get_sensor_data()
64 int ret, token; in opal_get_sensor_data_u64() local
77 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64()
78 if (token < in opal_get_sensor_data_u64()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dopal-sensor.c22 int ret, token; in opal_get_sensor_data() local
26 token = opal_async_get_token_interruptible(); in opal_get_sensor_data()
27 if (token < 0) in opal_get_sensor_data()
28 return token; in opal_get_sensor_data()
30 ret = opal_sensor_read(sensor_hndl, token, &data); in opal_get_sensor_data()
33 ret = opal_async_wait_response(token, &msg); in opal_get_sensor_data()
59 opal_async_release_token(token); in opal_get_sensor_data()
66 int ret, token; in opal_get_sensor_data_u64() local
79 token = opal_async_get_token_interruptible(); in opal_get_sensor_data_u64()
80 if (token < in opal_get_sensor_data_u64()
[all...]
/third_party/libcoap/src/
H A Dcoap_pdu.c44 assert(pdu->token); in coap_pdu_clear()
88 pdu->token = (uint8_t *)pbuf->payload + pdu->max_hdr_size; in coap_pdu_from_pbuf()
134 pdu->token = (uint8_t *)pdu->pbuf->payload + pdu->max_hdr_size; in coap_pdu_init()
143 pdu->token = buf + pdu->max_hdr_size; in coap_pdu_init()
168 if (pdu->token != NULL) in coap_delete_pdu()
169 coap_free_type(COAP_PDU_BUF, pdu->token - pdu->max_hdr_size); in coap_delete_pdu()
176 * Note: This does not include any data, just the token and options
182 const uint8_t *token, in coap_pdu_duplicate()
203 coap_add_token(pdu, token_length, token); in coap_pdu_duplicate()
210 old_pdu->used_size - (old_pdu->data - old_pdu->token) in coap_pdu_duplicate()
179 coap_pdu_duplicate(const coap_pdu_t *old_pdu, coap_session_t *session, size_t token_length, const uint8_t *token, coap_opt_filter_t *drop_options) coap_pdu_duplicate() argument
[all...]
/kernel/linux/linux-5.10/virt/lib/
H A Dirqbypass.c82 * with any matching token found on the IRQ consumers list.
90 if (!producer->token) in irq_bypass_register_producer()
101 if (tmp->token == producer->token) { in irq_bypass_register_producer()
108 if (consumer->token == producer->token) { in irq_bypass_register_producer()
140 if (!producer->token) in irq_bypass_unregister_producer()
151 if (tmp->token != producer->token) in irq_bypass_unregister_producer()
155 if (consumer->token in irq_bypass_unregister_producer()
[all...]
/kernel/linux/linux-6.6/virt/lib/
H A Dirqbypass.c82 * with any matching token found on the IRQ consumers list.
90 if (!producer->token) in irq_bypass_register_producer()
101 if (tmp->token == producer->token) { in irq_bypass_register_producer()
108 if (consumer->token == producer->token) { in irq_bypass_register_producer()
140 if (!producer->token) in irq_bypass_unregister_producer()
151 if (tmp->token != producer->token) in irq_bypass_unregister_producer()
155 if (consumer->token in irq_bypass_unregister_producer()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DJsonParser.cs146 /// token should be a "start object" token, but wrapper types and nullity can invalidate
148 /// of tokens provided by the tokenizer. This token stream is assumed to be valid JSON, with the
149 /// tokenizer performing that validation - but not every token stream is valid "protobuf JSON".
167 var token = tokenizer.Next(); in Merge()
168 if (token.Type != JsonToken.TokenType.StartObject) in Merge()
180 token = tokenizer.Next(); in Merge()
181 if (token.Type == JsonToken.TokenType.EndObject) in Merge()
185 if (token.Type != JsonToken.TokenType.Name) in Merge()
187 throw new InvalidOperationException("Unexpected token typ in Merge()
618 ParseSingleNumberValue(FieldDescriptor field, JsonToken token) ParseMapKey() argument
801 MergeTimestamp(IMessage message, JsonToken token) MergeTimestamp() argument
877 MergeDuration(IMessage message, JsonToken token) MergeDuration() argument
921 MergeFieldMask(IMessage message, JsonToken token) MergeFieldMask() argument
[all...]
/third_party/python/Lib/lib2to3/
H A Dfixer_util.py5 from .pgen2 import token namespace
17 [keyword, Leaf(token.EQUAL, "="), value])
20 return Leaf(token.LPAR, "(")
23 return Leaf(token.RPAR, ")")
34 target + [Leaf(token.EQUAL, "=", prefix=" ")] + source)
38 return Leaf(token.NAME, name, prefix=prefix)
46 return Leaf(token.COMMA, ",")
50 return Leaf(token.DOT, ".")
68 return Leaf(token.NEWLINE, "\n")
72 return Leaf(token
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_cid.c74 const uint8_t *token) { in ngtcp2_dcid_init()
77 if (token) { in ngtcp2_dcid_init()
78 memcpy(dcid->token, token, NGTCP2_STATELESS_RESET_TOKENLEN); in ngtcp2_dcid_init()
91 void ngtcp2_dcid_set_token(ngtcp2_dcid *dcid, const uint8_t *token) { in ngtcp2_dcid_set_token() argument
92 assert(token); in ngtcp2_dcid_set_token()
95 memcpy(dcid->token, token, NGTCP2_STATELESS_RESET_TOKENLEN); in ngtcp2_dcid_set_token()
104 (src->flags & NGTCP2_DCID_FLAG_TOKEN_PRESENT) ? src->token in ngtcp2_dcid_copy()
120 memcpy(dest->token, sr in ngtcp2_dcid_copy_cid_token()
73 ngtcp2_dcid_init(ngtcp2_dcid *dcid, uint64_t seq, const ngtcp2_cid *cid, const uint8_t *token) ngtcp2_dcid_init() argument
126 ngtcp2_dcid_verify_uniqueness(ngtcp2_dcid *dcid, uint64_t seq, const ngtcp2_cid *cid, const uint8_t *token) ngtcp2_dcid_verify_uniqueness() argument
140 ngtcp2_dcid_verify_stateless_reset_token(const ngtcp2_dcid *dcid, const uint8_t *token) ngtcp2_dcid_verify_stateless_reset_token() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh241 client_token=$(mptcp_lib_evts_get_info token "$client_evts")
244 server_token=$(mptcp_lib_evts_get_info token "$server_evts")
326 local token
332 token=$(mptcp_lib_evts_get_info token "$evt" $e_type)
342 check_expected "type" "token" "addr" "dport" "id"
352 # ADD_ADDR using an invalid token should result in no action
354 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token $invalid_token id\
359 print_test "ADD_ADDR 10.0.2.2 (ns2) => ns1, invalid token"
370 ./pm_nl_ctl ann 10.0.2.2 token "
[all...]

Completed in 16 milliseconds

12345678910>>...80