/third_party/icu/icu4c/source/tools/genrb/ |
H A D | read.c | 47 struct UString *token, 50 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UErrorCode *status); 51 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status); 52 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status); 60 /* Read and return the next token from the stream. If the token is of 61 type eString, fill in the token parameter with the token. If the 62 token is eError, then the status parameter will contain the 70 struct UString *token, in getNextToken() 69 getNextToken(UCHARBUF* buf, struct UString *token, uint32_t *linenumber, struct UString *comment, UErrorCode *status) getNextToken() argument 123 getStringToken(UCHARBUF* buf, UChar32 initialChar, struct UString *token, UErrorCode *status) getStringToken() argument 324 getNextChar(UCHARBUF* buf, UBool skipwhite, struct UString *token, UErrorCode *status) getNextChar() argument 381 seekUntilNewline(UCHARBUF* buf, struct UString *token, UErrorCode *status) seekUntilNewline() argument 399 seekUntilEndOfComment(UCHARBUF *buf, struct UString *token, UErrorCode *status) seekUntilEndOfComment() argument [all...] |
/third_party/python/Lib/ |
H A D | shlex.py | 51 self.token = '' 73 "Push a token onto the stack popped by the get_token method" 75 print("shlex: pushing token " + repr(tok)) 102 "Get a token from the input stream (or from stack if it's nonempty)" 106 print("shlex: popping token " + repr(tok)) 108 # No pushback. Get a token. 128 print("shlex: token=" + repr(raw)) 130 print("shlex: token=EOF") 147 self.token = '' # past end of file 156 if self.token o [all...] |
H A D | tokenize.py | 11 the token type (see token.py) 12 the token (a string) 13 the starting (row, column) indices of the token (a 2-tuple of ints) 14 the ending (row, column) indices of the token (a 2-tuple of ints) 19 operators. Additionally, all token lists start with an ENCODING token 35 from token import * 36 from token import EXACT_TOKEN_TYPES 41 import token namespace [all...] |
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | read.c | 45 struct UString *token, 48 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UErrorCode *status); 49 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status); 50 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status); 58 /* Read and return the next token from the stream. If the token is of 59 type eString, fill in the token parameter with the token. If the 60 token is eError, then the status parameter will contain the 68 struct UString *token, in getNextToken() 67 getNextToken(UCHARBUF* buf, struct UString *token, uint32_t *linenumber, struct UString *comment, UErrorCode *status) getNextToken() argument 121 getStringToken(UCHARBUF* buf, UChar32 initialChar, struct UString *token, UErrorCode *status) getStringToken() argument 322 getNextChar(UCHARBUF* buf, UBool skipwhite, struct UString *token, UErrorCode *status) getNextChar() argument 379 seekUntilNewline(UCHARBUF* buf, struct UString *token, UErrorCode *status) seekUntilNewline() argument 397 seekUntilEndOfComment(UCHARBUF *buf, struct UString *token, UErrorCode *status) seekUntilEndOfComment() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
H A D | dpseci.h | 31 u16 *token); 33 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 58 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 60 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 62 int dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 64 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 82 int dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 155 int dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 174 int dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 187 int dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | dpseci.h | 31 u16 *token); 33 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 58 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 60 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 62 int dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 64 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 82 int dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 155 int dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 174 int dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 187 int dpseci_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | profile-data-reader.cc | 55 std::string token; in EnsureInitProfileData() local 57 if (!std::getline(line_stream, token, ',')) continue; in EnsureInitProfileData() 58 if (token == ProfileDataFromFileConstants::kBlockCounterMarker) { in EnsureInitProfileData() 64 CHECK(std::getline(line_stream, token, ',')); in EnsureInitProfileData() 66 uint32_t id = static_cast<uint32_t>(strtoul(token.c_str(), &end, 0)); in EnsureInitProfileData() 67 CHECK(errno == 0 && end != token.c_str()); in EnsureInitProfileData() 68 std::getline(line_stream, token, ','); in EnsureInitProfileData() 70 double count = strtod(token.c_str(), &end); in EnsureInitProfileData() 71 CHECK(errno == 0 && end != token.c_str()); in EnsureInitProfileData() 77 } else if (token in EnsureInitProfileData() [all...] |
/third_party/jerryscript/jerry-core/parser/js/ |
H A D | js-scanner-ops.c | 69 if (context_p->token.type != LEXER_LEFT_BRACE) in scanner_check_arrow_body() 92 if (context_p->token.type != LEXER_ARROW in scanner_check_arrow() 93 || (context_p->token.flags & LEXER_WAS_NEWLINE)) in scanner_check_arrow() 158 /* Skip the => token, which size is two. */ in scanner_scan_simple_arrow() 161 context_p->token.flags = (uint8_t) (context_p->token.flags & ~LEXER_NO_SKIP_SPACES); in scanner_scan_simple_arrow() 180 if (context_p->token.type == LEXER_THREE_DOTS) in scanner_check_arrow_arg() 185 if (context_p->token.type == LEXER_LITERAL in scanner_check_arrow_arg() 186 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_check_arrow_arg() 202 if (context_p->token in scanner_check_arrow_arg() [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | parser.y | 46 %token <string> T_HELPTEXT 47 %token <string> T_WORD 48 %token <string> T_WORD_QUOTE 49 %token T_BOOL 50 %token T_CHOICE 51 %token T_CLOSE_PAREN 52 %token T_COLON_EQUAL 53 %token T_COMMENT 54 %token T_CONFIG 55 %token T_DEFAUL [all...] |
/kernel/linux/linux-5.10/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpdmai.c | 56 * @token: Returned token; use in subsequent API calls 61 * This function returns a unique authentication token, 63 * portal; this token must be used in all subsequent commands for 69 int dpdmai_id, u16 *token) in dpdmai_open() 88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open() 98 * @token: Token of DPDMAI object 105 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_close() argument 111 cmd_flags, token); in dpdmai_close() 123 * @token 68 dpdmai_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpdmai_id, u16 *token) dpdmai_open() argument 140 dpdmai_create(struct fsl_mc_io *mc_io, u32 cmd_flags, const struct dpdmai_cfg *cfg, u16 *token) dpdmai_create() argument 170 dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_destroy() argument 191 dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_enable() argument 212 dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_disable() argument 233 dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_reset() argument 255 dpdmai_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpdmai_attr *attr) dpdmai_get_attributes() argument 293 dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, const struct dpdmai_rx_queue_cfg *cfg) dpdmai_set_rx_queue() argument 327 dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, struct dpdmai_rx_queue_attr *attr) dpdmai_get_rx_queue() argument 368 dpdmai_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, u32 *fqid) dpdmai_get_tx_queue() argument [all...] |
/kernel/linux/linux-6.6/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpdmai.c | 56 * @token: Returned token; use in subsequent API calls 61 * This function returns a unique authentication token, 63 * portal; this token must be used in all subsequent commands for 69 int dpdmai_id, u16 *token) in dpdmai_open() 88 *token = mc_cmd_hdr_read_token(&cmd); in dpdmai_open() 98 * @token: Token of DPDMAI object 105 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) in dpdmai_close() argument 111 cmd_flags, token); in dpdmai_close() 123 * @token 68 dpdmai_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int dpdmai_id, u16 *token) dpdmai_open() argument 140 dpdmai_create(struct fsl_mc_io *mc_io, u32 cmd_flags, const struct dpdmai_cfg *cfg, u16 *token) dpdmai_create() argument 170 dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_destroy() argument 191 dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_enable() argument 212 dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_disable() argument 233 dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dpdmai_reset() argument 255 dpdmai_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpdmai_attr *attr) dpdmai_get_attributes() argument 293 dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, const struct dpdmai_rx_queue_cfg *cfg) dpdmai_set_rx_queue() argument 327 dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, struct dpdmai_rx_queue_attr *attr) dpdmai_get_rx_queue() argument 368 dpdmai_get_tx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 priority, u32 *fqid) dpdmai_get_tx_queue() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | rtas.c | 94 * is why the token is hard-coded to 10. 140 * work, you can hard code the token values for your firmware here and 377 err_args.token = cpu_to_be32(rtas_last_error_token); in __fetch_rtas_last_error() 417 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument 422 args->token = cpu_to_be32(token); in va_rtas_call_unlocked() 436 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument 441 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked() 445 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument 454 if (!rtas.entry || token in rtas_call() 553 int token = rtas_token("get-power-level"); rtas_get_power_level() local 570 int token = rtas_token("set-power-level"); rtas_set_power_level() local 588 int token = rtas_token("get-sensor-state"); rtas_get_sensor() local 606 int token = rtas_token("get-sensor-state"); rtas_get_sensor_fast() local 621 rtas_indicator_present(int token, int *maxindex) rtas_indicator_present() argument 625 __be32 token; rtas_indicator_present() member 649 int token = rtas_token("set-indicator"); rtas_set_indicator() local 671 int token = rtas_token("set-indicator"); rtas_set_indicator_fast() local 923 rtas_call_reentrant(int token, int nargs, int nret, int *outputs, ...) rtas_call_reentrant() argument 1021 int token; global() member 1073 block_rtas_call(int token, int nargs, struct rtas_args *args) block_rtas_call() argument 1142 block_rtas_call(int token, int nargs, struct rtas_args *args) block_rtas_call() argument 1156 int nargs, nret, token; SYSCALL_DEFINE1() local [all...] |
/third_party/jinja2/ |
H A D | parser.py | 167 token = self.stream.current 168 if token.type != "name": 169 self.fail("tag name expected", token.lineno) 170 self._tag_stack.append(token.value) 173 if token.value in _statement_keywords: 176 if token.value == "call": 178 if token.value == "filter": 180 ext = self.extensions.get(token.value) 184 # did not work out, remove the token we pushed by accident 189 self.fail_unknown_tag(token [all...] |
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | parser.py | 134 token = self.stream.current 135 if token.type != "name": 136 self.fail("tag name expected", token.lineno) 137 self._tag_stack.append(token.value) 140 if token.value in _statement_keywords: 142 if token.value == "call": 144 if token.value == "filter": 146 ext = self.extensions.get(token.value) 150 # did not work out, remove the token we pushed by accident 155 self.fail_unknown_tag(token [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | parser.py | 134 token = self.stream.current 135 if token.type != "name": 136 self.fail("tag name expected", token.lineno) 137 self._tag_stack.append(token.value) 140 if token.value in _statement_keywords: 142 if token.value == "call": 144 if token.value == "filter": 146 ext = self.extensions.get(token.value) 150 # did not work out, remove the token we pushed by accident 155 self.fail_unknown_tag(token [all...] |
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/examples/ |
H A D | negate.js | 21 .filter((token) => token.kind === 'option') 22 .forEach((token) => { 23 if (token.name.startsWith('no-')) { 25 const positiveName = token.name.slice(3); 27 delete values[token.name]; 30 values[token.name] = token.value ?? true;
|
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/ |
H A D | dprc.c | 24 * @token: Returned token of DPRC object 33 u16 *token) in dprc_open() 51 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open() 61 * @token: Token of DPRC object 70 u16 token) in dprc_close() 76 token); in dprc_close() 87 * @token: Token of DPRC object 114 u16 token, in dprc_reset_container() 144 cmd.header = mc_encode_cmd_header(cmdid, cmd_flags, token); in dprc_reset_container() 30 dprc_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int container_id, u16 *token) dprc_open() argument 68 dprc_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dprc_close() argument 112 dprc_reset_container(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int child_container_id, u32 options) dprc_reset_container() argument 164 dprc_set_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, struct dprc_irq_cfg *irq_cfg) dprc_set_irq() argument 202 dprc_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) dprc_set_irq_enable() argument 238 dprc_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) dprc_set_irq_mask() argument 270 dprc_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) dprc_get_irq_status() argument 312 dprc_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) dprc_clear_irq_status() argument 341 dprc_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dprc_attributes *attr) dprc_get_attributes() argument 379 dprc_get_obj_count(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *obj_count) dprc_get_obj_count() argument 420 dprc_get_obj(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int obj_index, struct fsl_mc_obj_desc *obj_desc) dprc_get_obj() argument 473 dprc_set_obj_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 irq_index, struct dprc_irq_cfg *irq_cfg) dprc_set_obj_irq() argument 514 dprc_get_obj_region(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 region_index, struct dprc_region_desc *region_desc) dprc_get_obj_region() argument 666 dprc_get_connection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dprc_endpoint *endpoint1, struct dprc_endpoint *endpoint2, int *state) dprc_get_connection() argument [all...] |
/kernel/linux/linux-6.6/drivers/bus/fsl-mc/ |
H A D | dprc.c | 24 * @token: Returned token of DPRC object 33 u16 *token) in dprc_open() 51 *token = mc_cmd_hdr_read_token(&cmd); in dprc_open() 61 * @token: Token of DPRC object 70 u16 token) in dprc_close() 76 token); in dprc_close() 87 * @token: Token of DPRC object 114 u16 token, in dprc_reset_container() 144 cmd.header = mc_encode_cmd_header(cmdid, cmd_flags, token); in dprc_reset_container() 30 dprc_open(struct fsl_mc_io *mc_io, u32 cmd_flags, int container_id, u16 *token) dprc_open() argument 68 dprc_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token) dprc_close() argument 112 dprc_reset_container(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int child_container_id, u32 options) dprc_reset_container() argument 164 dprc_set_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, struct dprc_irq_cfg *irq_cfg) dprc_set_irq() argument 202 dprc_set_irq_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u8 en) dprc_set_irq_enable() argument 238 dprc_set_irq_mask(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 mask) dprc_set_irq_mask() argument 270 dprc_get_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 *status) dprc_get_irq_status() argument 312 dprc_clear_irq_status(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, u32 status) dprc_clear_irq_status() argument 341 dprc_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dprc_attributes *attr) dprc_get_attributes() argument 379 dprc_get_obj_count(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int *obj_count) dprc_get_obj_count() argument 420 dprc_get_obj(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int obj_index, struct fsl_mc_obj_desc *obj_desc) dprc_get_obj() argument 473 dprc_set_obj_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 irq_index, struct dprc_irq_cfg *irq_cfg) dprc_set_obj_irq() argument 514 dprc_get_obj_region(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 region_index, struct dprc_region_desc *region_desc) dprc_get_obj_region() argument 668 dprc_get_connection(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dprc_endpoint *endpoint1, struct dprc_endpoint *endpoint2, int *state) dprc_get_connection() argument [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | parser.py | 123 token = self.stream.current 124 if token.type != 'name': 125 self.fail('tag name expected', token.lineno) 126 self._tag_stack.append(token.value) 129 if token.value in _statement_keywords: 131 if token.value == 'call': 133 if token.value == 'filter': 135 ext = self.extensions.get(token.value) 139 # did not work out, remove the token we pushed by accident 144 self.fail_unknown_tag(token [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | opal-psr.c | 30 int psr, ret, token; in psr_show() local 32 token = opal_async_get_token_interruptible(); in psr_show() 33 if (token < 0) { in psr_show() 34 pr_devel("Failed to get token\n"); in psr_show() 35 return token; in psr_show() 42 ret = opal_get_power_shift_ratio(psr_attr->handle, token, in psr_show() 46 ret = opal_async_wait_response(token, &msg); in psr_show() 71 opal_async_release_token(token); in psr_show() 80 int psr, ret, token; in psr_store() local 86 token in psr_store() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | opal-psr.c | 30 int psr, ret, token; in psr_show() local 32 token = opal_async_get_token_interruptible(); in psr_show() 33 if (token < 0) { in psr_show() 34 pr_devel("Failed to get token\n"); in psr_show() 35 return token; in psr_show() 42 ret = opal_get_power_shift_ratio(psr_attr->handle, token, in psr_show() 46 ret = opal_async_wait_response(token, &msg); in psr_show() 71 opal_async_release_token(token); in psr_show() 80 int psr, ret, token; in psr_store() local 86 token in psr_store() [all...] |
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | token_test.c | 25 KUNIT_EXPECT_NE(test, 0, (int)req->token); in mptcp_token_test_req_basic() 26 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, req->token)); in mptcp_token_test_req_basic() 77 KUNIT_EXPECT_NE(test, 0, (int)ctx->token); in mptcp_token_test_msk_basic() 78 KUNIT_EXPECT_EQ(test, ctx->token, msk->token); in mptcp_token_test_msk_basic() 79 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic() 83 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic() 93 msk->token = req->token; in mptcp_token_test_accept() 95 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept() [all...] |
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | token_test.c | 25 KUNIT_EXPECT_NE(test, 0, (int)req->token); in mptcp_token_test_req_basic() 26 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, req->token)); in mptcp_token_test_req_basic() 61 /* be sure the token helpers can dereference sk->sk_prot */ in build_msk() 80 KUNIT_EXPECT_NE(test, 0, (int)ctx->token); in mptcp_token_test_msk_basic() 81 KUNIT_EXPECT_EQ(test, ctx->token, msk->token); in mptcp_token_test_msk_basic() 82 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic() 86 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic() 96 msk->token = req->token; in mptcp_token_test_accept() [all...] |
/third_party/skia/src/sksl/lex/ |
H A D | Main.cpp | 18 * file is a text file with one token definition per line. Each line is of the form: 34 static void writeH(const DFA& dfa, const char* lexer, const char* token, in writeH() argument 46 out << "struct " << token << " {\n"; in writeH() local 55 )" << token << "() {}"; in writeH() local 57 out << token << R"((Kind kind, int32_t offset, int32_t length, int32_t line) in writeH() 77 )" << token << R"( next(); in writeH() 104 static void writeCPP(const DFA& dfa, const char* lexer, const char* token, const char* include, in writeCPP() argument 143 out << token << " " << lexer << "::next() {"; in writeCPP() 146 // where a token has a prefix which is not itself a valid token in writeCPP() 184 process(const char* inPath, const char* lexer, const char* token, const char* hPath, const char* cppPath) process() argument [all...] |
/kernel/linux/linux-5.10/drivers/accesstokenid/ |
H A D | access_tokenid.c | 31 return copy_to_user(uarg, ¤t->token, in access_tokenid_get_tokenid() 32 sizeof(current->token)) ? -EFAULT : 0; in access_tokenid_get_tokenid() 66 current->token = tmp; in access_tokenid_set_tokenid() 143 static void find_node_by_token(struct token_perm_node *root_node, uint32_t token, in find_node_by_token() argument 150 if (current_node->perm_data.token == token) { in find_node_by_token() 155 if (current_node->perm_data.token > token) { in find_node_by_token() 171 find_node_by_token(*root_node, node->perm_data.token, &target_node, &parent_node); in add_node_to_tree() 177 pr_err("%s: the number of token node in add_node_to_tree() 191 remove_node_by_token(struct token_perm_node **root_node, uint32_t token) remove_node_by_token() argument [all...] |