Home
last modified time | relevance | path

Searched refs:token (Results 126 - 150 of 1977) sorted by relevance

12345678910>>...80

/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/
H A Dindex.js76 * @param {object} token - from tokens as available from parseArgs
78 function checkOptionLikeValue(token) {
79 if (!token.inlineValue && isOptionLikeValue(token.value)) {
81 const example = StringPrototypeStartsWith(token.rawName, '--') ?
82 `'${token.rawName}=-XYZ'` :
83 `'--${token.name}=-XYZ' or '${token.rawName}-XYZ'`;
84 const errorMessage = `Option '${token.rawName}' argument is ambiguous.
85 Did you forget to specify the option argument for '${token
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dlib.c40 #include "token.h"
250 static struct token *pre_buffer_begin = NULL;
251 static struct token **pre_buffer_next = &pre_buffer_begin;
257 struct token *begin, *end; in add_pre_buffer()
297 static struct symbol_list *sparse_tokenstream(struct token *token) in sparse_tokenstream() argument
299 int builtin = token && !token->pos.stream; in sparse_tokenstream()
302 token = preprocess(token); in sparse_tokenstream()
341 struct token *token; sparse_file() local
[all...]
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgPrettyPrinter.cpp123 inline const char* PrettyPrinter::getSimpleTokenStr (Token::Type token) in getSimpleTokenStr() argument
125 DE_ASSERT(de::inBounds<int>(token, 0, (int)DE_LENGTH_OF_ARRAY(s_tokenStr))); in getSimpleTokenStr()
126 return s_tokenStr[token]; in getSimpleTokenStr()
140 void PrettyPrinter::processToken (const Token& token) in processToken() argument
144 switch (token.getType()) in processToken()
149 m_line += token.getIdentifier(); in processToken()
154 std::string f = de::toString(token.getFloat()); in processToken()
162 m_line += de::toString(token.getInt()); in processToken()
166 m_line += (token.getBool() ? "true" : "false"); in processToken()
189 const char* tokenStr = getSimpleTokenStr(token in processToken()
[all...]
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
H A Ddpbp.c16 * @token: Returned token; use in subsequent API calls
21 * This function returns a unique authentication token,
23 * portal; this token must be used in all subsequent commands for
31 u16 *token) in dpbp_open()
49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
59 * @token: Token of DPBP object
68 u16 token) in dpbp_close()
74 token); in dpbp_close()
85 * @token
28 dpbp_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpbp_id, u16 *token) dpbp_open() argument
66 dpbp_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_close() argument
89 dpbp_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_enable() argument
112 dpbp_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_disable() argument
135 dpbp_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_reset() argument
160 dpbp_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpbp_attr *attr) dpbp_get_attributes() argument
[all...]
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/
H A Ddpbp.c16 * @token: Returned token; use in subsequent API calls
21 * This function returns a unique authentication token,
23 * portal; this token must be used in all subsequent commands for
31 u16 *token) in dpbp_open()
49 *token = mc_cmd_hdr_read_token(&cmd); in dpbp_open()
59 * @token: Token of DPBP object
68 u16 token) in dpbp_close()
74 token); in dpbp_close()
85 * @token
28 dpbp_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpbp_id, u16 *token) dpbp_open() argument
66 dpbp_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_close() argument
89 dpbp_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_enable() argument
112 dpbp_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_disable() argument
135 dpbp_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpbp_reset() argument
160 dpbp_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpbp_attr *attr) dpbp_get_attributes() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dopal-sysparam.c33 int token; in opal_get_sys_param() local
35 token = opal_async_get_token_interruptible(); in opal_get_sys_param()
36 if (token < 0) { in opal_get_sys_param()
37 if (token != -ERESTARTSYS) in opal_get_sys_param()
38 pr_err("%s: Couldn't get the token, returning\n", in opal_get_sys_param()
40 ret = token; in opal_get_sys_param()
44 ret = opal_get_param(token, param_id, (u64)buffer, length); in opal_get_sys_param()
50 ret = opal_async_wait_response(token, &msg); in opal_get_sys_param()
60 opal_async_release_token(token); in opal_get_sys_param()
68 int ret, token; in opal_set_sys_param() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dopal-sysparam.c33 int token; in opal_get_sys_param() local
35 token = opal_async_get_token_interruptible(); in opal_get_sys_param()
36 if (token < 0) { in opal_get_sys_param()
37 if (token != -ERESTARTSYS) in opal_get_sys_param()
38 pr_err("%s: Couldn't get the token, returning\n", in opal_get_sys_param()
40 ret = token; in opal_get_sys_param()
44 ret = opal_get_param(token, param_id, (u64)buffer, length); in opal_get_sys_param()
50 ret = opal_async_wait_response(token, &msg); in opal_get_sys_param()
60 opal_async_release_token(token); in opal_get_sys_param()
68 int ret, token; in opal_set_sys_param() local
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-opal.c118 int rc, token; in opal_get_tpo_time() local
122 token = opal_async_get_token_interruptible(); in opal_get_tpo_time()
123 if (token < 0) { in opal_get_tpo_time()
124 if (token != -ERESTARTSYS) in opal_get_tpo_time()
125 pr_err("Failed to get the async token\n"); in opal_get_tpo_time()
127 return token; in opal_get_tpo_time()
130 rc = opal_tpo_read(token, &__y_m_d, &__h_m); in opal_get_tpo_time()
136 rc = opal_async_wait_response(token, &msg); in opal_get_tpo_time()
163 opal_async_release_token(token); in opal_get_tpo_time()
173 int token, r in opal_set_tpo_time() local
[all...]
/third_party/python/Tools/scripts/
H A Dcleanfuture.py165 type, token, (srow, scol), (erow, ecol), line = get()
169 type, token, (srow, scol), (erow, ecol), line = get()
173 type, token, (srow, scol), (erow, ecol), line = get()
179 type, token, (srow, scol), (erow, ecol), line = get()
181 if not (type is NAME and token == "from"):
184 type, token, (srow, scol), (erow, ecol), line = get()
186 if not (type is NAME and token == "__future__"):
188 type, token, (srow, scol), (erow, ecol), line = get()
190 if not (type is NAME and token == "import"):
192 type, token, (sro
[all...]
/third_party/python/Lib/lib2to3/
H A Dpatcomp.py17 from .pgen2 import driver, literals, token, tokenize, parse, grammar namespace
30 skip = {token.NEWLINE, token.INDENT, token.DEDENT}
101 if len(nodes) >= 3 and nodes[1].type == token.EQUAL:
116 if child.type == token.STAR:
119 elif child.type == token.PLUS:
122 elif child.type == token.LBRACE:
123 assert children[-1].type == token.RBRACE
142 if node.type == token
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmt7615_trace.h22 #define TOKEN_ENTRY __field(u16, token)
23 #define TOKEN_ASSIGN __entry->token = token
25 #define TOKEN_PR_ARG __entry->token
28 TP_PROTO(struct mt7615_dev *dev, u16 token),
29 TP_ARGS(dev, token),
45 TP_PROTO(struct mt7615_dev *dev, u16 token),
46 TP_ARGS(dev, token)
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmt7615_trace.h22 #define TOKEN_ENTRY __field(u16, token)
23 #define TOKEN_ASSIGN __entry->token = token
25 #define TOKEN_PR_ARG __entry->token
28 TP_PROTO(struct mt7615_dev *dev, u16 token),
29 TP_ARGS(dev, token),
45 TP_PROTO(struct mt7615_dev *dev, u16 token),
46 TP_ARGS(dev, token)
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A Dcomment_test.cpp20 pp::Token token; in TEST_P() local
21 lexSingleToken(str, &token); in TEST_P()
22 EXPECT_EQ(pp::Token::LAST, token.type); in TEST_P()
49 pp::Token token; in TEST_F() local
50 lexSingleToken(str, &token); in TEST_F()
51 EXPECT_EQ(pp::Token::IDENTIFIER, token.type); in TEST_F()
52 EXPECT_EQ("bar", token.text); in TEST_F()
53 EXPECT_TRUE(token.hasLeadingSpace()); in TEST_F()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_seal.c73 setup_token(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token() argument
79 token->len = g_token_size(&ctx->mech_used, body_size); in setup_token()
81 ptr = (u16 *)token->data; in setup_token()
99 setup_token_v2(struct krb5_ctx *ctx, struct xdr_netobj *token) in setup_token_v2() argument
111 * just start the token */ in setup_token_v2()
112 krb5_hdr = ptr = (u16 *)token->data; in setup_token_v2()
122 token->len = GSS_KRB5_TOK_HDR_LEN + ctx->gk5e->cksumlength; in setup_token_v2()
128 struct xdr_netobj *token) in gss_get_mic_v1()
143 ptr = setup_token(ctx, token); in gss_get_mic_v1()
167 struct xdr_netobj *token) in gss_get_mic_v2()
127 gss_get_mic_v1(struct krb5_ctx *ctx, struct xdr_buf *text, struct xdr_netobj *token) gss_get_mic_v1() argument
166 gss_get_mic_v2(struct krb5_ctx *ctx, struct xdr_buf *text, struct xdr_netobj *token) gss_get_mic_v2() argument
207 gss_get_mic_kerberos(struct gss_ctx *gss_ctx, struct xdr_buf *text, struct xdr_netobj *token) gss_get_mic_kerberos() argument
[all...]
/kernel/linux/linux-6.6/net/rxrpc/
H A Dsecurity.c71 struct rxrpc_key_token *token; in rxrpc_init_client_call_security() local
82 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_init_client_call_security()
83 sec = rxrpc_security_lookup(token->security_index); in rxrpc_init_client_call_security()
100 struct rxrpc_key_token *token; in rxrpc_init_client_conn_security() local
106 for (token = key->payload.data[0]; token; token in rxrpc_init_client_conn_security()
[all...]
/third_party/python/Tools/clinic/
H A Dcpp.py50 return " && ".join(condition for token, condition in self.stack)
75 self.fail("#" + token + " without matching #if / #ifdef / #ifndef!")
141 token = fields[0].lower()
144 if token in {'if', 'ifdef', 'ifndef', 'elif'}:
146 self.fail("Invalid format for #" + token + " line: no argument!")
147 if token in {'if', 'elif'}:
150 if token == 'elif':
156 self.fail("Invalid format for #" + token + " line: should be exactly one argument!")
159 if token == 'ifndef':
161 token
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken.go19 "go/token"
22 // Range represents a source code range in token.Pos form.
26 FileSet *token.FileSet
27 Start token.Pos
28 End token.Pos
31 // TokenConverter is a Converter backed by a token file set and file.
35 fset *token.FileSet
36 file *token.File
41 func NewRange(fset *token.FileSet, start, end token
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
H A Dtoken.go19 "go/token"
22 // Range represents a source code range in token.Pos form.
26 FileSet *token.FileSet
27 Start token.Pos
28 End token.Pos
31 // TokenConverter is a Converter backed by a token file set and file.
35 fset *token.FileSet
36 file *token.File
41 func NewRange(fset *token.FileSet, start, end token
[all...]
/third_party/spirv-tools/utils/vscode/src/lsp/span/
H A Dtoken.go19 "go/token"
22 // Range represents a source code range in token.Pos form.
26 FileSet *token.FileSet
27 Start token.Pos
28 End token.Pos
31 // TokenConverter is a Converter backed by a token file set and file.
35 fset *token.FileSet
36 file *token.File
41 func NewRange(fset *token.FileSet, start, end token
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c1085 char *sptr, *token; in ath6kl_regwrite_write() local
1096 token = strsep(&sptr, "="); in ath6kl_regwrite_write()
1097 if (!token) in ath6kl_regwrite_write()
1100 if (kstrtou32(token, 0, &reg_addr)) in ath6kl_regwrite_write()
1400 char *sptr, *token; in ath6kl_create_qos_write() local
1415 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1416 if (!token) in ath6kl_create_qos_write()
1418 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write()
1421 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1422 if (!token) in ath6kl_create_qos_write()
1578 char *sptr, *token; ath6kl_delete_qos_write() local
1722 char *sptr, *token; ath6kl_power_params_write() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c1085 char *sptr, *token; in ath6kl_regwrite_write() local
1096 token = strsep(&sptr, "="); in ath6kl_regwrite_write()
1097 if (!token) in ath6kl_regwrite_write()
1100 if (kstrtou32(token, 0, &reg_addr)) in ath6kl_regwrite_write()
1400 char *sptr, *token; in ath6kl_create_qos_write() local
1415 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1416 if (!token) in ath6kl_create_qos_write()
1418 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write()
1421 token = strsep(&sptr, " "); in ath6kl_create_qos_write()
1422 if (!token) in ath6kl_create_qos_write()
1578 char *sptr, *token; ath6kl_delete_qos_write() local
1722 char *sptr, *token; ath6kl_power_params_write() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Dtopology.c28 * Scan provided block of tuples for the specified token. If found,
29 * @offset is updated with position at which first matching token is
36 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup()
48 if (le32_to_cpu(tuple->token) == token) { in avs_tplg_vendor_array_lookup()
67 * several vendor tuples and a specific token marks the beginning of
72 u32 block_size, u32 token, u32 *offset) in avs_tplg_vendor_array_lookup_next()
83 ret = avs_tplg_vendor_array_lookup(tuples, block_size, token, offset); in avs_tplg_vendor_array_lookup_next()
90 * Scan provided block of tuples for the specified token which marks
93 * matching token ha
35 avs_tplg_vendor_array_lookup(struct snd_soc_tplg_vendor_array *tuples, u32 block_size, u32 token, u32 *offset) avs_tplg_vendor_array_lookup() argument
71 avs_tplg_vendor_array_lookup_next(struct snd_soc_tplg_vendor_array *tuples, u32 block_size, u32 token, u32 *offset) avs_tplg_vendor_array_lookup_next() argument
123 enum avs_tplg_token token; global() member
[all...]
/third_party/jerryscript/jerry-core/parser/js/
H A Djs-parser-module.c356 JERRY_ASSERT (context_p->token.type == LEXER_LEFT_BRACE); in parser_module_parse_export_clause()
361 if (context_p->token.type == LEXER_RIGHT_BRACE) in parser_module_parse_export_clause()
368 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_export_clause()
369 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL in parser_module_parse_export_clause()
370 || context_p->token.keyword_type >= LEXER_FIRST_FUTURE_STRICT_RESERVED_WORD) in parser_module_parse_export_clause()
378 lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL); in parser_module_parse_export_clause()
388 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_export_clause()
389 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_export_clause()
394 lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL); in parser_module_parse_export_clause()
426 if (context_p->token in parser_module_parse_export_clause()
[all...]
/third_party/libcoap/tests/
H A Dtest_pdu.c54 CU_ASSERT(memcmp(pdu->token, teststr + 4, 5) == 0); in t_parse_pdu2()
69 /* illegal token length (token only 8 bytes) */ in t_parse_pdu4()
78 /* illegal token length */ in t_parse_pdu4()
101 CU_ASSERT(memcmp(pdu->token, teststr + 4, 5) == 0); in t_parse_pdu5()
136 CU_ASSERT(memcmp(pdu->token, teststr + 4, 5) == 0); in t_parse_pdu7()
140 CU_ASSERT(pdu->data == pdu->token + 9); in t_parse_pdu7()
164 CU_ASSERT(pdu->data == pdu->token + 1); in t_parse_pdu8()
289 * To test Issue #214 which allows the token size to be set larger than the
345 result = coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_encode_pdu1()
924 uint8_t token[] = { 't' }; t_encode_pdu17() local
1078 uint8_t token[] = { 't' }; t_encode_pdu19() local
1141 uint8_t token[] = { 't' }; t_encode_pdu20() local
1217 uint8_t token[] = { 't' }; t_encode_pdu21() local
1289 uint8_t token[] = { 't' }; t_encode_pdu22() local
1370 uint8_t token[] = { 't' }; t_encode_pdu23() local
1417 uint8_t token[] = { 't' }; t_encode_pdu24() local
[all...]
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dfabrics.c631 int token, ret = 0; in nvmf_parse_options() local
656 token = match_token(p, opt_tokens, args); in nvmf_parse_options()
657 opts->mask |= token; in nvmf_parse_options()
658 switch (token) { in nvmf_parse_options()
706 if (match_int(args, &token)) { in nvmf_parse_options()
710 if (token < NVMF_MIN_QUEUE_SIZE || in nvmf_parse_options()
711 token > NVMF_MAX_QUEUE_SIZE) { in nvmf_parse_options()
712 pr_err("Invalid queue_size %d\n", token); in nvmf_parse_options()
716 opts->queue_size = token; in nvmf_parse_options()
719 if (match_int(args, &token)) { in nvmf_parse_options()
[all...]

Completed in 16 milliseconds

12345678910>>...80