Home
last modified time | relevance | path

Searched +full:local +full:- +full:dir (Results 1 – 25 of 1014) sorted by relevance

12345678910>>...41

/third_party/rust/rust/tests/ui/closures/
Dlocal-type-mix.stderr1 error[E0573]: expected type, found local variable `x`
2 --> $DIR/local-type-mix.rs:7:17
7 error[E0573]: expected type, found local variable `x`
8 --> $DIR/local-type-mix.rs:8:26
10 LL | let _ = |x: bool| -> x { x };
13 error[E0573]: expected type, found local variable `x`
14 --> $DIR/local-type-mix.rs:9:28
19 error[E0573]: expected type, found local variable `x`
20 --> $DIR/local-type-mix.rs:10:37
22 LL | let _ = async move |x: bool| -> x { x };
[all …]
/third_party/rust/rust/tests/ui/asm/
Dnamed-asm-labels.stderr2 --> $DIR/named-asm-labels.rs:24:15
7 = help: only local labels of the form `<number>:` should be used in inline asm
8 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
12 --> $DIR/named-asm-labels.rs:27:15
17 = help: only local labels of the form `<number>:` should be used in inline asm
18 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
21 --> $DIR/named-asm-labels.rs:30:15
26 = help: only local labels of the form `<number>:` should be used in inline asm
27 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
30 --> $DIR/named-asm-labels.rs:34:15
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/borrow_interior_mutable_const/
Dothers.stderr2 --> $DIR/others.rs:54:5
7 = help: assign this const to a local or static variable, and use the variable here
9 --> $DIR/others.rs:1:9
15 --> $DIR/others.rs:55:16
20 = help: assign this const to a local or static variable, and use the variable here
23 --> $DIR/others.rs:58:22
28 = help: assign this const to a local or static variable, and use the variable here
31 --> $DIR/others.rs:59:25
36 = help: assign this const to a local or static variable, and use the variable here
39 --> $DIR/others.rs:60:27
[all …]
Dtraits.stderr2 --> $DIR/traits.rs:15:18
7 = help: assign this const to a local or static variable, and use the variable here
9 --> $DIR/traits.rs:1:9
15 --> $DIR/traits.rs:26:18
20 = help: assign this const to a local or static variable, and use the variable here
23 --> $DIR/traits.rs:51:18
28 = help: assign this const to a local or static variable, and use the variable here
31 --> $DIR/traits.rs:86:18
36 = help: assign this const to a local or static variable, and use the variable here
39 --> $DIR/traits.rs:87:18
[all …]
Denums.stderr2 --> $DIR/enums.rs:22:14
7 = help: assign this const to a local or static variable, and use the variable here
9 --> $DIR/enums.rs:3:9
15 --> $DIR/enums.rs:37:18
20 = help: assign this const to a local or static variable, and use the variable here
23 --> $DIR/enums.rs:41:18
28 = help: assign this const to a local or static variable, and use the variable here
31 --> $DIR/enums.rs:50:18
36 = help: assign this const to a local or static variable, and use the variable here
39 --> $DIR/enums.rs:52:18
[all …]
/third_party/ltp/testcases/lib/
Dtst_security.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
5 if [ -z "$TST_LIB_LOADED" ]; then
10 [ -n "$TST_SECURITY_LOADED" ] && return 0
15 local cmd
16 local profiles
26 [ -z "$profiles" ] && profiles="none"
39 [ -z "$profiles" ] && profiles="none"
48 local f="/sys/module/apparmor/parameters/enabled"
49 [ -f "$f" ] && [ "$(cat $f)" = "Y" ]
58 [ $# -eq 1 ] || tst_brk TCONF "usage tst_apparmor_used_profile CMD"
[all …]
/third_party/rust/rust/tests/ui/static/
Dthread-local-in-ctfe.stderr1 error[E0625]: thread-local statics cannot be accessed at compile-time
2 --> $DIR/thread-local-in-ctfe.rs:6:17
7 error[E0625]: thread-local statics cannot be accessed at compile-time
8 --> $DIR/thread-local-in-ctfe.rs:9:19
13 error[E0625]: thread-local statics cannot be accessed at compile-time
14 --> $DIR/thread-local-in-ctfe.rs:12:16
19 error[E0625]: thread-local statics cannot be accessed at compile-time
20 --> $DIR/thread-local-in-ctfe.rs:15:18
25 error[E0625]: thread-local statics cannot be accessed at compile-time
26 --> $DIR/thread-local-in-ctfe.rs:19:5
[all …]
/third_party/rust/rust/tests/ui/nll/
Dissue-52534-1.stderr1 error[E0515]: cannot return reference to local variable `x`
2 --> $DIR/issue-52534-1.rs:6:9
7 error[E0515]: cannot return reference to local variable `x`
8 --> $DIR/issue-52534-1.rs:13:5
13 error[E0515]: cannot return value referencing local variable `x`
14 --> $DIR/issue-52534-1.rs:19:5
17 | ^--
23 --> $DIR/issue-52534-1.rs:19:5
26 | ^--
31 error[E0515]: cannot return reference to local variable `x`
[all …]
Dlocal-outlives-static-via-hrtb.stderr1 error[E0597]: `local` does not live long enough
2 --> $DIR/local-outlives-static-via-hrtb.rs:24:28
4 LL | let local = 0;
5 | ----- binding `local` declared here
6 LL | assert_static_via_hrtb(&local);
7 | -----------------------^^^^^^-
10 | argument requires that `local` is borrowed for `'static`
11 LL | assert_static_via_hrtb_with_assoc_type(&&local);
13 | - `local` dropped here while still borrowed
16 --> $DIR/local-outlives-static-via-hrtb.rs:15:53
[all …]
/third_party/rust/rust/tests/ui/borrowck/
Dsuggest-local-var-double-mut.stderr2 --> $DIR/suggest-local-var-double-mut.rs:12:22
5 | ---------^^^^^^^^^^-
11 help: try adding a local storing this argument...
12 --> $DIR/suggest-local-var-double-mut.rs:12:22
16 help: ...and then using that local as the argument to this call
17 --> $DIR/suggest-local-var-double-mut.rs:12:13
23 --> $DIR/suggest-local-var-double-mut.rs:24:39
26 | --------- ---- ^^^^ second mutable borrow occurs here
31 help: try adding a local storing this argument...
32 --> $DIR/suggest-local-var-double-mut.rs:24:29
[all …]
/third_party/ltp/testcases/commands/cp/
Dcp_tests.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
16 local dirname=$1
17 local dircnt=$2
18 local filecnt=$3
21 tst_res TINFO "Filling each dir with $filecnt files".
22 while [ $dircnt -gt 0 ]; do
23 dirname=$dirname/dir$dircnt
24 ROD mkdir -p $dirname
26 local fcnt=0
27 while [ $fcnt -lt $filecnt ]; do
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dlarge_stack_arrays.stderr1 error: allocating a local array larger than 512000 bytes
2 --> $DIR/large_stack_arrays.rs:29:14
8 = note: `-D clippy::large-stack-arrays` implied by `-D warnings`
10 error: allocating a local array larger than 512000 bytes
11 --> $DIR/large_stack_arrays.rs:31:14
18 error: allocating a local array larger than 512000 bytes
19 --> $DIR/large_stack_arrays.rs:36:9
26 error: allocating a local array larger than 512000 bytes
27 --> $DIR/large_stack_arrays.rs:37:9
34 error: allocating a local array larger than 512000 bytes
[all …]
Dredundant_at_rest_pattern.stderr1 error: using a rest pattern to bind an entire slice to a local
2 --> $DIR/redundant_at_rest_pattern.rs:10:12
7 = note: `-D clippy::redundant-at-rest-pattern` implied by `-D warnings`
9 error: using a rest pattern to bind an entire slice to a local
10 --> $DIR/redundant_at_rest_pattern.rs:11:12
15 error: using a rest pattern to bind an entire slice to a local
16 --> $DIR/redundant_at_rest_pattern.rs:12:12
21 error: using a rest pattern to bind an entire slice to a local
22 --> $DIR/redundant_at_rest_pattern.rs:13:12
27 error: using a rest pattern to bind an entire slice to a local
[all …]
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_setup.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz>
25 local algorithm="$1"
26 local file="$2"
27 local digest
29 digest="$(${algorithm}sum $file 2>/dev/null | cut -f1 -d ' ')"
30 if [ -n "$digest" ]; then
35 digest="$(openssl $algorithm $file 2>/dev/null | cut -f2 -d ' ')"
36 if [ -n "$digest" ]; then
42 local arg="$algorithm"
[all …]
/third_party/rust/rust/tests/ui/rust-2018/
Dfuture-proofing-locals.stderr2 --> $DIR/future-proofing-locals.rs:14:9
8 --> $DIR/future-proofing-locals.rs:15:9
14 --> $DIR/future-proofing-locals.rs:16:9
20 --> $DIR/future-proofing-locals.rs:20:9
25 error: imports cannot refer to local variables
26 --> $DIR/future-proofing-locals.rs:26:9
31 error: imports cannot refer to local variables
32 --> $DIR/future-proofing-locals.rs:32:9
37 error: imports cannot refer to local variables
38 --> $DIR/future-proofing-locals.rs:38:17
[all …]
/third_party/ltp/testcases/network/stress/ipsec/
Dipsec_lib.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz>
21 TST_SETUP=${TST_SETUP:-ipsec_lib_setup}
36 echo "r x Num of requests, PING_MAX or netstress' '-r' opt"
84 SPI=${SPI:-1000}
85 VTI_KEY=${VTI_KEY:-10}
90 if [ -n "$IPSEC_MODE" ]; then
91 tst_net_run -q "tst_check_drivers xfrm_user" || \
99 local bits=$1
100 local bytes=$(( $bits / 8))
[all …]
/third_party/rust/rust/tests/ui/imports/
Dlocal-modularized-tricky-fail-1.stderr2 --> $DIR/local-modularized-tricky-fail-1.rs:29:1
7 …= note: ambiguous because of a conflict between a name from a glob import and a macro-expanded nam…
9 --> $DIR/local-modularized-tricky-fail-1.rs:6:5
17 | ------------------ in this macro invocation
19 --> $DIR/local-modularized-tricky-fail-1.rs:23:5
24 … originates in the macro `define_exported` (in Nightly builds, run with -Z macro-backtrace for mor…
27 --> $DIR/local-modularized-tricky-fail-1.rs:36:5
32 …= note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded na…
35 --> $DIR/local-modularized-tricky-fail-1.rs:12:5
43 | --------------- in this macro invocation
[all …]
/third_party/rust/rust/tests/ui/fmt/
Dformat-args-capture-issue-102057.stderr2 --> $DIR/format-args-capture-issue-102057.rs:2:18
8 --> $DIR/format-args-capture-issue-102057.rs:4:18
14 --> $DIR/format-args-capture-issue-102057.rs:9:22
17 | ^ help: a local variable with a similar name exists: `a`
20 --> $DIR/format-args-capture-issue-102057.rs:11:25
23 | ^ help: a local variable with a similar name exists: `a`
26 --> $DIR/format-args-capture-issue-102057.rs:13:25
29 | ^ help: a local variable with a similar name exists: `a`
32 --> $DIR/format-args-capture-issue-102057.rs:15:28
35 | ^ help: a local variable with a similar name exists: `a`
[all …]
/third_party/rust/rust/tests/ui/lint/
Dunaligned_references.stderr2 --> $DIR/unaligned_references.rs:25:13
9 …= help: copy the field contents to a local variable, or replace the reference with a raw pointer a…
12 --> $DIR/unaligned_references.rs:34:17
19 …= help: copy the field contents to a local variable, or replace the reference with a raw pointer a…
22 --> $DIR/unaligned_references.rs:35:17
29 …= help: copy the field contents to a local variable, or replace the reference with a raw pointer a…
32 --> $DIR/unaligned_references.rs:37:17
39 …= help: copy the field contents to a local variable, or replace the reference with a raw pointer a…
42 --> $DIR/unaligned_references.rs:38:27
49 …= help: copy the field contents to a local variable, or replace the reference with a raw pointer a…
[all …]
/third_party/rust/rust/tests/ui/async-await/future-sizes/
Dasync-awaiting-fut.stdout1 print-type-size type: `[async fn body@$DIR/async-awaiting-fut.rs:21:21: 24:2]`: 3078 bytes, alignme…
2 print-type-size discriminant: 1 bytes
3 print-type-size variant `Unresumed`: 0 bytes
4 print-type-size variant `Suspend0`: 3077 bytes
5 print-type-size local `.__awaitee`: 3077 bytes
6 print-type-size variant `Returned`: 0 bytes
7 print-type-size variant `Panicked`: 0 bytes
8 print-type-size type: `[async fn body@$DIR/async-awaiting-fut.rs:10:64: 19:2]`: 3077 bytes, alignme…
9 print-type-size discriminant: 1 bytes
10 print-type-size variant `Unresumed`: 1025 bytes
[all …]
/third_party/rust/rust/tests/ui/suggestions/
Dreturn-bindings.stderr2 --> $DIR/return-bindings.rs:3:17
4 LL | fn a(i: i32) -> i32 {}
5 | - ^^^ expected `i32`, found `()`
9 help: consider returning the local binding `i`
11 LL | fn a(i: i32) -> i32 { i }
15 --> $DIR/return-bindings.rs:7:46
23 help: consider returning the local binding `s`
31 --> $DIR/return-bindings.rs:14:11
33 LL | fn c() -> Option<i32> {
34 | - ^^^^^^^^^^^ expected `Option<i32>`, found `()`
[all …]
/third_party/ltp/testcases/commands/sysctl/
Dsysctl01.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
19 local dir="/proc/sys/kernel/"
20 [ -e "$dir""sched_time_avg_ms" ] && local name="sched_time_avg_ms"
21 [ -e "$dir""sched_time_avg" ] && local name="sched_time_avg"
22 [ -z "$name" ] && tst_brk TCONF \
25 local orig_value=$(cat "$dir""$name")
27 sysctl -w "kernel.""$name"=0 >/dev/null 2>&1
29 local test_value=$(cat "$dir""$name")
31 if [ ${test_value} -eq ${orig_value} ]; then
35 sysctl -w "kernel.""$name"=${orig_value} >/dev/null 2>&1
/third_party/ltp/testcases/commands/ln/
Dln_tests.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
16 ROD mkdir -p dir/subdir
18 ROD touch dir/file
23 local dname="$1"
24 local lname="$2"
41 local fname="$1"
42 local lname="$2"
53 local args="$1"
54 local src="$2"
55 local link="$3"
[all …]
/third_party/skia/m133/third_party/externals/icu/source/test/testdata/
DMakefile.in5 # Copyright (C) 1998-2015, International Business Machines
9 ## Top-level Makefile.in for ICU
28 -include Makefile.local
31 .PHONY : all all-local all-recursive install install-local \
32 install-recursive clean clean-local clean-recursive distclean \
33 distclean-local distclean-recursive doc dist dist-local dist-recursive \
34 check check-local check-recursive build-dir testdata.jar xcheck check-exhaustive
36 xcheck: all-local
38 .NOTPARALLEL: build-dir
44 all: all-local
[all …]
/third_party/icu/icu4c/source/test/testdata/
DMakefile.in5 # Copyright (C) 1998-2015, International Business Machines
9 ## Top-level Makefile.in for ICU
28 -include Makefile.local
31 .PHONY : all all-local all-recursive install install-local \
32 install-recursive clean clean-local clean-recursive distclean \
33 distclean-local distclean-recursive doc dist dist-local dist-recursive \
34 check check-local check-recursive build-dir testdata.jar xcheck check-exhaustive
36 xcheck: all-local
38 .NOTPARALLEL: build-dir
44 all: all-local
[all …]

12345678910>>...41