Home
last modified time | relevance | path

Searched +full:type +full:- +full:check (Results 1 – 25 of 1106) sorted by relevance

12345678910>>...45

/third_party/rust/rust/tests/debuginfo/
Dnumeric-types.rs1 // compile-flags:-g
3 // min-gdb-version: 8.1
4 // ignore-windows-gnu // emit_debug_gdb_scripts is disabled on Windows
10 // cdb-command: g
12 // cdb-command: dx nz_i8
13 // cdb-check:nz_i8 : 11 [Type: core::num::nonzero::NonZeroI8]
14 // cdb-check: [<Raw View>] [Type: core::num::nonzero::NonZeroI8]
16 // cdb-command: dx nz_i16
17 // cdb-check:nz_i16 : 22 [Type: core::num::nonzero::NonZeroI16]
18 // cdb-check: [<Raw View>] [Type: core::num::nonzero::NonZeroI16]
[all …]
Dpretty-std.rs1 // ignore-freebsd: gdb package too new
2 // only-cdb // "Temporarily" ignored on GDB/LLDB due to debuginfo tests being disabled, see PR 47155
3 // ignore-android: FIXME(#10381)
4 // compile-flags:-g
5 // min-gdb-version: 7.7
6 // min-lldb-version: 310
7 // min-cdb-version: 10.0.18317.1001
11 // gdb-command: run
13 // gdb-command: print slice
14 // gdb-check:$1 = &[i32](len: 4) = {0, 1, 2, 3}
[all …]
Drc_arc.rs1 // ignore-windows-gnu: pretty-printers are not loaded
2 // compile-flags:-g
4 // min-gdb-version: 8.1
5 // min-cdb-version: 10.0.18317.1001
9 // gdb-command:run
11 // gdb-command:print rc
12 // gdb-check:[...]$1 = Rc(strong=11, weak=1) = {value = 111, strong = 11, weak = 1}
13 // gdb-command:print arc
14 // gdb-check:[...]$2 = Arc(strong=21, weak=1) = {value = 222, strong = 21, weak = 1}
18 // lldb-command:run
[all …]
Dmsvc-pretty-enums.rs1 // only-cdb
2 // compile-flags:-g
4 // cdb-command: g
6 // cdb-command: dx a
7 // cdb-check:a : Some [Type: enum2$<core::option::Option<msvc_pretty_enums::CStyleEn…
8 // cdb-check: [+0x000] __0 : Low (0x2) [Type: msvc_pretty_enums::CStyleEnum]
10 // cdb-command: dx b
11 // cdb-check:b : None [Type: enum2$<core::option::Option<msvc_pretty_enums::CStyleEn…
13 // cdb-command: dx c
14 // cdb-check:c : Tag1 [Type: enum2$<msvc_pretty_enums::NicheLayoutEnum>]
[all …]
Dbasic-types-metadata.rs1 // min-lldb-version: 310
2 // ignore-gdb // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155
4 // compile-flags:-g
5 // gdb-command:run
6 // gdb-command:whatis unit
7 // gdb-check:type = ()
8 // gdb-command:whatis b
9 // gdb-check:type = bool
10 // gdb-command:whatis i
11 // gdb-check:type = isize
[all …]
Dpretty-std-collections-hash.rs2 // https://github.com/rust-lang/rust/issues/76352#issuecomment-687640746
3 // min-cdb-version: 10.0.18362.1
5 // cdb-only
6 // compile-flags:-g
10 // cdb-command: g
12 // cdb-command: dx hash_set,d
13 // cdb-check:hash_set,d [...] : { len=15 } [Type: [...]::HashSet<u64,[...]>]
14 // cdb-check: [len] : 15 [Type: [...]]
15 // cdb-check: [capacity] : [...]
16 // cdb-check: [[...]] [...] : 0 [Type: u64]
[all …]
Dtuple-in-tuple.rs1 // min-lldb-version: 310
3 // compile-flags:-g
7 // gdb-command:run
9 // gdb-command:print no_padding1
10 // gdbg-check:$1 = {__0 = {__0 = 0, __1 = 1}, __1 = 2, __2 = 3}
11 // gdbr-check:$1 = ((0, 1), 2, 3)
12 // gdb-command:print no_padding2
13 // gdbg-check:$2 = {__0 = 4, __1 = {__0 = 5, __1 = 6}, __2 = 7}
14 // gdbr-check:$2 = (4, (5, 6), 7)
15 // gdb-command:print no_padding3
[all …]
Dmutable-locs.rs3 // cdb-only
4 // min-cdb-version: 10.0.18317.1001
5 // compile-flags:-g
9 // cdb-command: g
11 // cdb-command:dx static_c,d
12 // cdb-check:static_c,d : 10 [Type: core::cell::Cell<i32>]
13 // cdb-check: [<Raw View>] [Type: core::cell::Cell<i32>]
15 // cdb-command: dx static_c.value,d
16 // cdb-check:static_c.value,d : 10 [Type: core::cell::UnsafeCell<i32>]
17 // cdb-check: [<Raw View>] [Type: core::cell::UnsafeCell<i32>]
[all …]
Dvar-captured-in-nested-closure.rs1 // min-lldb-version: 310
3 // compile-flags:-g
7 // gdb-command:run
9 // gdb-command:print variable
10 // gdb-check:$1 = 1
11 // gdb-command:print constant
12 // gdb-check:$2 = 2
13 // gdb-command:print a_struct
14 // gdbg-check:$3 = {a = -3, b = 4.5, c = 5}
15 // gdbr-check:$3 = var_captured_in_nested_closure::Struct {a: -3, b: 4.5, c: 5}
[all …]
Dtype-names.rs1 // ignore-lldb
4 // min-gdb-version: 9.2
6 // compile-flags:-g
10 // gdb-command:run
13 // gdb-command:whatis simple_struct
14 // gdb-check:type = type_names::Struct1
16 // gdb-command:whatis generic_struct1
17 // gdb-check:type = type_names::GenericStruct<type_names::mod1::Struct2, type_names::mod1::mod2::St…
19 // gdb-command:whatis generic_struct2
20 // gdb-check:type = type_names::GenericStruct<type_names::Struct1, extern "fastcall" fn(isize) -> u…
[all …]
Dvar-captured-in-stack-closure.rs1 // min-lldb-version: 310
3 // compile-flags:-g
7 // gdb-command:run
9 // gdb-command:print variable
10 // gdb-check:$1 = 1
11 // gdb-command:print constant
12 // gdb-check:$2 = 2
13 // gdb-command:print a_struct
14 // gdbg-check:$3 = {a = -3, b = 4.5, c = 5}
15 // gdbr-check:$3 = var_captured_in_stack_closure::Struct {a: -3, b: 4.5, c: 5}
[all …]
Dmsvc-scalarpair-params.rs1 // only-cdb
2 // compile-flags: -g
4 // cdb-command: g
6 // cdb-command: dx r1
7 // cdb-check:r1 : (0xa..0xc) [Type: core::ops::range::Range<u32>]
8 // cdb-command: dx r2
9 // cdb-check:r2 : (0x14..0x1e) [Type: core::ops::range::Range<u64>]
11 // cdb-command: g
13 // cdb-command: dx r1
14 // cdb-check:r1 : (0x9..0x64) [Type: core::ops::range::Range<u32>]
[all …]
Dsimple-tuple.rs1 // min-lldb-version: 310
2 // ignore-gdb // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155
4 // compile-flags:-g
8 // gdbg-command:print/d 'simple_tuple::NO_PADDING_8'
9 // gdbr-command:print simple_tuple::NO_PADDING_8
10 // gdbg-check:$1 = {__0 = -50, __1 = 50}
11 // gdbr-check:$1 = (-50, 50)
12 // gdbg-command:print 'simple_tuple::NO_PADDING_16'
13 // gdbr-command:print simple_tuple::NO_PADDING_16
14 // gdbg-check:$2 = {__0 = -1, __1 = 2, __2 = 3}
[all …]
Dbasic-types.rs1 // Caveats - gdb prints any 8-bit value (meaning rust i8 and u8 values)
4 // about UTF-32 character encoding and will print a rust char as only
7 // min-lldb-version: 310
9 // This fails on lldb 6.0.1 on x86-64 Fedora 28; so ignore Linux for now.
10 // ignore-linux
12 // compile-flags:-g
16 // gdb-command:run
17 // gdb-command:print b
18 // gdb-check:$1 = false
19 // gdb-command:print i
[all …]
Dembedded-visualizer.rs1 // compile-flags:-g
2 // min-gdb-version: 8.1
3 // ignore-lldb
4 // ignore-windows-gnu // emit_debug_gdb_scripts is disabled on Windows
8 // cdb-command: g
13 // cdb-command: .nvlist
14 // cdb-check: [...].exe (embedded NatVis "[...]embedded_visualizer-0.natvis")
16 // cdb-command: .nvlist
17 // cdb-check: [...].exe (embedded NatVis "[...]embedded_visualizer-1.natvis")
19 // cdb-command: .nvlist
[all …]
Dunsized.rs1 // compile-flags:-g
2 // ignore-gdb-version: 13.1 - 99.0
7 // gdb-command:run
9 // gdb-command:print a
10 // gdbg-check:$1 = {data_ptr = [...], length = 4}
11 // gdbr-check:$1 = &unsized::Foo<[u8]> {data_ptr: [...], length: 4}
13 // gdb-command:print b
14 // gdbg-check:$2 = {data_ptr = [...], length = 4}
15 // gdbr-check:$2 = &unsized::Foo<unsized::Foo<[u8]>> {data_ptr: [...], length: 4}
17 // gdb-command:print c
[all …]
/third_party/rust/rust/tests/codegen/
Dsanitizer-cfi-emit-type-metadata-id-itanium-cxx-abi.rs1 // Verifies that type metadata identifiers for functions are emitted correctly.
3 // needs-sanitizer-cfi
4 // compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi
16 // User-defined type (structure)
21 // User-defined type (enum)
26 // User-defined type (union)
31 // Extern type
33 pub type type1;
51 // impl Trait type aliases for helping with defining other types (see below)
52 pub type Type1 = impl Send;
[all …]
Dsanitizer-cfi-normalize-integers.rs3 // needs-sanitizer-cfi
4 // compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi -Zsani…
12 // CHECK: define{{.*}}foo0{{.*}}!type ![[TYPE0:[0-9]+]] !type !{{[0-9]+}}
14 // CHECK: define{{.*}}foo1{{.*}}!type ![[TYPE1:[0-9]+]] !type !{{[0-9]+}}
16 // CHECK: define{{.*}}foo2{{.*}}!type ![[TYPE2:[0-9]+]] !type !{{[0-9]+}}
18 // CHECK: define{{.*}}foo3{{.*}}!type ![[TYPE3:[0-9]+]] !type !{{[0-9]+}}
20 // CHECK: define{{.*}}foo4{{.*}}!type ![[TYPE4:[0-9]+]] !type !{{[0-9]+}}
22 // CHECK: define{{.*}}foo5{{.*}}!type ![[TYPE5:[0-9]+]] !type !{{[0-9]+}}
24 // CHECK: define{{.*}}foo6{{.*}}!type ![[TYPE6:[0-9]+]] !type !{{[0-9]+}}
26 // CHECK: define{{.*}}foo7{{.*}}!type ![[TYPE7:[0-9]+]] !type !{{[0-9]+}}
[all …]
Dsanitizer-cfi-generalize-pointers.rs3 // needs-sanitizer-cfi
4 // compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi -Zsani…
11 // CHECK: define{{.*}}foo0{{.*}}!type ![[TYPE0:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
13 // CHECK: define{{.*}}foo1{{.*}}!type ![[TYPE1:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
15 // CHECK: define{{.*}}foo2{{.*}}!type ![[TYPE2:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
17 // CHECK: define{{.*}}foo3{{.*}}!type ![[TYPE3:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
19 // CHECK: define{{.*}}foo4{{.*}}!type ![[TYPE4:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
21 // CHECK: define{{.*}}foo5{{.*}}!type ![[TYPE5:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
23 // CHECK: define{{.*}}foo6{{.*}}!type ![[TYPE6:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
25 // CHECK: define{{.*}}foo7{{.*}}!type ![[TYPE7:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}}
[all …]
Dsanitizer-cfi-emit-type-metadata-attr-cfi-encoding.rs1 // Verifies that user-defined CFI encoding for types are emitted.
3 // needs-sanitizer-cfi
4 // compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi
14 type Type2;
22 // CHECK: define{{.*}}foo0{{.*}}!type ![[TYPE0:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !…
24 // CHECK: define{{.*}}foo1{{.*}}!type ![[TYPE1:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !…
26 // CHECK: define{{.*}}foo2{{.*}}!type ![[TYPE2:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !…
28 // CHECK: define{{.*}}foo3{{.*}}!type ![[TYPE3:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !…
30 // CHECK: define{{.*}}foo4{{.*}}!type ![[TYPE4:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !…
32 // CHECK: define{{.*}}foo5{{.*}}!type ![[TYPE5:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !…
[all …]
Dsanitizer-cfi-emit-type-metadata-itanium-cxx-abi.rs1 // Verifies that type metadata for functions are emitted.
3 // needs-sanitizer-cfi
4 // compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi
8 pub fn foo(f: fn(i32) -> i32, arg: i32) -> i32 { in foo()
9 // CHECK-LABEL: define{{.*}}foo in foo()
10 …// CHECK-SAME: {{.*}}!type ![[TYPE1:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !{{[0-9]+}} in foo()
11 // CHECK: call i1 @llvm.type.test({{i8\*|ptr}} {{%f|%0}}, metadata !"_ZTSFu3i32S_E") in foo()
15 pub fn bar(f: fn(i32, i32) -> i32, arg1: i32, arg2: i32) -> i32 { in bar()
16 // CHECK-LABEL: define{{.*}}bar in bar()
17 …// CHECK-SAME: {{.*}}!type ![[TYPE2:[0-9]+]] !type !{{[0-9]+}} !type !{{[0-9]+}} !type !{{[0-9]+}} in bar()
[all …]
/third_party/spirv-tools/test/opt/
Damd_ext_to_khr.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
32 ; CHECK: OpCapability Shader in GetTest()
33 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in GetTest()
34 ; CHECK: OpFunction in GetTest()
35 ; CHECK-NEXT: OpLabel in GetTest()
36 ; CHECK-NEXT: [[undef:%\w+]] = OpUndef % in GetTest()
37 ; CHECK-NEXT: )" + new_op_code + in GetTest()
108 ; CHECK: OpCapability Shader in TEST_F()
109 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in TEST_F()
110 ; CHECK-NOT: OpExtInstImport "SPV_AMD_shader_ballot" in TEST_F()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Damd_ext_to_khr.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
31 ; CHECK: OpCapability Shader in GetTest()
32 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in GetTest()
33 ; CHECK: OpFunction in GetTest()
34 ; CHECK-NEXT: OpLabel in GetTest()
35 ; CHECK-NEXT: [[undef:%\w+]] = OpUndef %uint in GetTest()
36 ; CHECK-NEXT: )" + new_op_code + in GetTest()
103 ; CHECK: OpCapability Shader in TEST_F()
104 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in TEST_F()
105 ; CHECK-NOT: OpExtInstImport "SPV_AMD_shader_ballot" in TEST_F()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Damd_ext_to_khr.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
31 ; CHECK: OpCapability Shader in GetTest()
32 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in GetTest()
33 ; CHECK: OpFunction in GetTest()
34 ; CHECK-NEXT: OpLabel in GetTest()
35 ; CHECK-NEXT: [[undef:%\w+]] = OpUndef %uint in GetTest()
36 ; CHECK-NEXT: )" + new_op_code + in GetTest()
103 ; CHECK: OpCapability Shader in TEST_F()
104 ; CHECK-NOT: OpExtension "SPV_AMD_shader_ballot" in TEST_F()
105 ; CHECK-NOT: OpExtInstImport "SPV_AMD_shader_ballot" in TEST_F()
[all …]
/third_party/libcoap/examples/
Detsi_testcases.sh6 …tcpdumpcmd="$tcpdump -i $INTERFACE host $SERVERADDRESS and (udp port $SERVERPORT or icmp) -s0 -n -
16 if [ ! -e $logfile ] ; then
37 if [ -z $1 ]; then
45 echo -e "\nOutput of client:"
47 if [[ ! -z $2 ]]; then
52 …($timeoutcmd $clienttimeout cat $testfifo | if read -n 1 char; then echo "output: $char" ; fi) 2>/…
72 # client sends GET request with Type=0(CON) and Code=1(GET)
74 # check if sent request contains Type value indicating 0 and Code
77 # check if server sends response containing Code = 69(2.05 Content),
78 # the same Message ID as that of previous request, content type option
[all …]

12345678910>>...45