Home
last modified time | relevance | path

Searched refs:toks (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/rust/macros/
H A Dpinned_drop.rs6 let mut toks = input.into_iter().collect::<Vec<_>>(); variables
7 assert!(!toks.is_empty());
9 assert!(matches!(&toks[0], TokenTree::Ident(i) if i.to_string() == "impl"));
13 for (i, tt) in toks.iter().enumerate() {
38 toks.splice(idx..idx, quote!(::kernel::init::));
40 if let Some(TokenTree::Group(last)) = toks.pop() {
43 @impl_sig(#(#toks)*),
47 TokenStream::from_iter(toks)
H A Dhelpers.rs90 let mut toks = input.into_iter(); variables
93 for tt in &mut toks {
147 rest.extend(toks);
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtarget.cc511 std::vector<std::string> toks = StringSplit(str, ":;"); in ProcessQueryPacket() local
512 if (toks[0] == "WasmCallStack") { in ProcessQueryPacket()
526 if (toks[0] == "WasmGlobal") { in ProcessQueryPacket()
527 if (toks.size() == 3) { in ProcessQueryPacket()
529 static_cast<uint32_t>(strtol(toks[1].data(), nullptr, 10)); in ProcessQueryPacket()
531 static_cast<uint32_t>(strtol(toks[2].data(), nullptr, 10)); in ProcessQueryPacket()
547 if (toks[0] == "WasmLocal") { in ProcessQueryPacket()
548 if (toks.size() == 3) { in ProcessQueryPacket()
550 static_cast<uint32_t>(strtol(toks[1].data(), nullptr, 10)); in ProcessQueryPacket()
552 static_cast<uint32_t>(strtol(toks[ in ProcessQueryPacket()
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/parser/
H A Dparser.go173 toks []*Token // all the lexed tokens
239 l.toks = append(l.toks, tok)
279 l.toks = append(l.toks, tok)
296 l.toks = append(l.toks, tok)
315 l.toks = append(l.toks, tok)
335 l.toks
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/
H A Dparser.go173 toks []*Token // all the lexed tokens
239 l.toks = append(l.toks, tok)
279 l.toks = append(l.toks, tok)
296 l.toks = append(l.toks, tok)
315 l.toks = append(l.toks, tok)
335 l.toks
[all...]
/third_party/spirv-tools/utils/vscode/src/parser/
H A Dparser.go173 toks []*Token // all the lexed tokens
239 l.toks = append(l.toks, tok)
279 l.toks = append(l.toks, tok)
296 l.toks = append(l.toks, tok)
315 l.toks = append(l.toks, tok)
335 l.toks
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_cmdline.c103 struct tgsi_token toks[65536]; in main() local
150 if (!tgsi_text_translate(ptr, toks, ARRAY_SIZE(toks))) in main()
153 tgsi_parse_init(&parse, toks); in main()
156 s.tokens = toks; in main()
/kernel/linux/linux-5.10/net/sched/
H A Dact_police.c235 s64 now, toks, ptoks = 0; in tcf_police_act() local
260 toks = min_t(s64, now - police->tcfp_t_c, p->tcfp_burst); in tcf_police_act()
262 ptoks = toks + police->tcfp_ptoks; in tcf_police_act()
268 toks += police->tcfp_toks; in tcf_police_act()
269 if (toks > p->tcfp_burst) in tcf_police_act()
270 toks = p->tcfp_burst; in tcf_police_act()
271 toks -= (s64)psched_l2t_ns(&p->rate, qdisc_pkt_len(skb)); in tcf_police_act()
272 if ((toks|ptoks) >= 0) { in tcf_police_act()
274 police->tcfp_toks = toks; in tcf_police_act()
H A Dsch_tbf.c263 s64 toks; in tbf_dequeue() local
268 toks = min_t(s64, now - q->t_c, q->buffer); in tbf_dequeue()
271 ptoks = toks + q->ptokens; in tbf_dequeue()
276 toks += q->tokens; in tbf_dequeue()
277 if (toks > q->buffer) in tbf_dequeue()
278 toks = q->buffer; in tbf_dequeue()
279 toks -= (s64) psched_l2t_ns(&q->rate, len); in tbf_dequeue()
281 if ((toks|ptoks) >= 0) { in tbf_dequeue()
287 q->tokens = toks; in tbf_dequeue()
296 now + max_t(long, -toks, in tbf_dequeue()
[all...]
H A Dsch_htb.c505 s64 toks; in htb_class_mode() local
507 if ((toks = (cl->ctokens + *diff)) < htb_lowater(cl)) { in htb_class_mode()
508 *diff = -toks; in htb_class_mode()
512 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode()
515 *diff = -toks; in htb_class_mode()
623 s64 toks = diff + cl->tokens; in htb_accnt_tokens() local
625 if (toks > cl->buffer) in htb_accnt_tokens()
626 toks = cl->buffer; in htb_accnt_tokens()
627 toks -= (s64) psched_l2t_ns(&cl->rate, bytes); in htb_accnt_tokens()
628 if (toks < in htb_accnt_tokens()
636 s64 toks = diff + cl->ctokens; htb_accnt_ctokens() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dsch_tbf.c278 s64 toks; in tbf_dequeue() local
283 toks = min_t(s64, now - q->t_c, q->buffer); in tbf_dequeue()
286 ptoks = toks + q->ptokens; in tbf_dequeue()
291 toks += q->tokens; in tbf_dequeue()
292 if (toks > q->buffer) in tbf_dequeue()
293 toks = q->buffer; in tbf_dequeue()
294 toks -= (s64) psched_l2t_ns(&q->rate, len); in tbf_dequeue()
296 if ((toks|ptoks) >= 0) { in tbf_dequeue()
302 q->tokens = toks; in tbf_dequeue()
311 now + max_t(long, -toks, in tbf_dequeue()
[all...]
H A Dact_police.c252 s64 now, toks, ppstoks = 0, ptoks = 0; in tcf_police_act() local
278 toks = min_t(s64, now - police->tcfp_t_c, p->tcfp_burst); in tcf_police_act()
280 ptoks = toks + police->tcfp_ptoks; in tcf_police_act()
287 toks += police->tcfp_toks; in tcf_police_act()
288 if (toks > p->tcfp_burst) in tcf_police_act()
289 toks = p->tcfp_burst; in tcf_police_act()
290 toks -= (s64)psched_l2t_ns(&p->rate, qdisc_pkt_len(skb)); in tcf_police_act()
298 if ((toks | ptoks | ppstoks) >= 0) { in tcf_police_act()
300 police->tcfp_toks = toks; in tcf_police_act()
H A Dsch_htb.c534 s64 toks; in htb_class_mode() local
536 if ((toks = (cl->ctokens + *diff)) < htb_lowater(cl)) { in htb_class_mode()
537 *diff = -toks; in htb_class_mode()
541 if ((toks = (cl->tokens + *diff)) >= htb_hiwater(cl)) in htb_class_mode()
544 *diff = -toks; in htb_class_mode()
659 s64 toks = diff + cl->tokens; in htb_accnt_tokens() local
661 if (toks > cl->buffer) in htb_accnt_tokens()
662 toks = cl->buffer; in htb_accnt_tokens()
663 toks -= (s64) psched_l2t_ns(&cl->rate, bytes); in htb_accnt_tokens()
664 if (toks < in htb_accnt_tokens()
672 s64 toks = diff + cl->ctokens; htb_accnt_ctokens() local
[all...]
/third_party/skia/third_party/externals/swiftshader/tests/regres/deqp/
H A Ddeqp.go402 toks := deqpRE.FindStringSubmatch(out)
403 if len(toks) < 3 {
409 switch toks[1] {
420 if toks[2] != "Fail" {
421 err = toks[2]
426 if toks[2] != "InternalError" {
427 err = toks[2]
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_cmdline.c378 struct tgsi_token toks[65536]; in main() local
391 if (!tgsi_text_translate(ptr, toks, ARRAY_SIZE(toks))) in main()
395 tgsi_dump(toks, 0); in main()
397 nir = tgsi_to_nir_noscreen(toks, nir_options); in main()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_program.c115 struct tgsi_token toks[32]; in assemble_tgsi() local
117 .tokens = toks, in assemble_tgsi()
120 bool ret = tgsi_text_translate(src, toks, ARRAY_SIZE(toks)); in assemble_tgsi()
/third_party/ffmpeg/libavcodec/
H A Dtruemotion2.c289 int len, toks, pos; in tm2_read_stream() local
311 toks = bytestream2_get_be32(&gb); in tm2_read_stream()
312 if (toks & 1) { in tm2_read_stream()
343 toks >>= 1; in tm2_read_stream()
345 if ((toks < 0) || (toks > 0xFFFFFF)) { in tm2_read_stream()
346 av_log(ctx->avctx, AV_LOG_ERROR, "Incorrect number of tokens: %i\n", toks); in tm2_read_stream()
350 ret = av_reallocp_array(&ctx->tokens[stream_id], toks, sizeof(int)); in tm2_read_stream()
355 ctx->tok_lens[stream_id] = toks; in tm2_read_stream()
364 for (i = 0; i < toks; in tm2_read_stream()
[all...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/
H A Dlangsvr.go111 toks := f.res.Tokens
113 i := sort.Search(len(toks), func(i int) bool { return p.LessThan(toks[i].Range.End) })
114 if i == len(toks) {
117 if toks[i].Range.Contains(p) {
118 return toks[i]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
H A Dlangsvr.go111 toks := f.res.Tokens
113 i := sort.Search(len(toks), func(i int) bool { return p.LessThan(toks[i].Range.End) })
114 if i == len(toks) {
117 if toks[i].Range.Contains(p) {
118 return toks[i]
/third_party/selinux/libselinux/src/
H A Davc.c598 static unsigned long toks = 10 * 5 * HZ;
605 toks += now - last_msg;
607 if (toks > AVC_MSG_BURST)
608 toks = AVC_MSG_BURST;
609 if (toks >= AVC_MSG_COST) {
612 toks -= AVC_MSG_COST;
/third_party/spirv-tools/utils/vscode/src/
H A Dlangsvr.go111 toks := f.res.Tokens
113 i := sort.Search(len(toks), func(i int) bool { return p.LessThan(toks[i].Range.End) })
114 if i == len(toks) {
117 if toks[i].Range.Contains(p) {
118 return toks[i]
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dimpl_debug.rs29 for (i, (fstring, toks)) in processed_fields.enumerate() { in gen_debug_impl()
33 tokens.extend(toks); in gen_debug_impl()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dparse_dependency.py105 def push_first(toks):
108 - toks - first element is the token to push"""
110 exprStack.append(toks[0])
/third_party/vulkan-headers/registry/
H A Dparse_dependency.py105 def push_first(toks):
108 - toks - first element is the token to push"""
110 exprStack.append(toks[0])
/kernel/linux/linux-5.10/block/
H A Dsed-opal.c47 * On the parsed response, we don't store again the toks that are already
73 struct opal_resp_tok toks[MAX_TOKS]; member
747 tok = &resp->toks[n]; in response_get_token()
886 iter = resp->toks; in response_parse()

Completed in 44 milliseconds

12