Home
last modified time | relevance | path

Searched refs:mystr (Results 1 – 18 of 18) sorted by relevance

/external/clang/test/Analysis/
Dout-of-bounds.c17 const char *mystr = "mary had a little lamb"; in test1_strings_underrun() local
18 return mystr[-1]; // expected-warning{{Out of bound memory access}} in test1_strings_underrun()
22 const char *mystr = "mary had a little lamb"; in test1_strings_overrun() local
23 return mystr[1000]; // expected-warning{{Out of bound memory access}} in test1_strings_overrun()
27 const char *mystr = "mary had a little lamb"; in test1_strings_ok() local
28 return mystr[5]; // no-warning in test1_strings_ok()
/external/llvm-project/clang/test/Analysis/
Dout-of-bounds.c19 const char *mystr = "mary had a little lamb"; in test1_strings_underrun() local
20 return mystr[-1]; // expected-warning{{Out of bound memory access}} in test1_strings_underrun()
24 const char *mystr = "mary had a little lamb"; in test1_strings_overrun() local
25 return mystr[1000]; // expected-warning{{Out of bound memory access}} in test1_strings_overrun()
29 const char *mystr = "mary had a little lamb"; in test1_strings_ok() local
30 return mystr[5]; // no-warning in test1_strings_ok()
/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dtest.pass.cpp25 std::wostream mystr(&mybuf); in main() local
26 mystr << L"Hello" << std::endl; in main()
31 std::wistream mystr(&mybuf); in main() local
33 mystr >> ws; in main()
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dtest.pass.cpp24 std::wostream mystr(&mybuf); in main() local
25 mystr << L"Hello" << std::endl; in main()
30 std::wistream mystr(&mybuf); in main() local
32 mystr >> ws; in main()
/external/llvm-project/llvm/test/tools/llvm-objdump/ELF/AArch64/
Delf-aarch64-mapping-symbols.test12 adrp x1,mystr
13 mystr:
15 .size mystr, 4
28 # CHECK: <mystr>:
/external/llvm/test/tools/llvm-objdump/AArch64/
Delf-aarch64-mapping-symbols.test12 adrp x1,mystr
13 mystr:
15 .size mystr, 4
28 # CHECK: mystr:
/external/llvm-project/llvm/test/Transforms/SCCP/
D2009-09-24-byval-ptr.ll5 @mystr = internal global %struct.MYstr zeroinitializer ; <%struct.MYstr*> [#uses=3]
24 ; CHECK: %struct.MYstr* @mystr, i{{..}} 0, i32 1
27 ; CHECK: %struct.MYstr* @mystr, i{{..}} 0, i32 0
35 call void @vfu1(%struct.MYstr* byval(%struct.MYstr) align 4 @mystr) nounwind
36 %result = call i32 @vfu2(%struct.MYstr* byval(%struct.MYstr) align 4 @mystr) nounwind
/external/llvm/test/Transforms/IPConstantProp/
D2009-09-24-byval-ptr.ll5 @mystr = internal global %struct.MYstr zeroinitializer ; <%struct.MYstr*> [#uses=3]
24 ; CHECK: load i32, i32* getelementptr inbounds (%struct.MYstr, %struct.MYstr* @mystr, i32 0, i32 1)
27 ; CHECK: load i8, i8* getelementptr inbounds (%struct.MYstr, %struct.MYstr* @mystr, i32 0, i32 0)
35 call void @vfu1(%struct.MYstr* byval align 4 @mystr) nounwind
36 %result = call i32 @vfu2(%struct.MYstr* byval align 4 @mystr) nounwind
/external/llvm-project/llvm/test/Transforms/Attributor/IPConstantProp/
D2009-09-24-byval-ptr.ll10 @mystr = internal global %struct.MYstr zeroinitializer ; <%struct.MYstr*> [#uses=3]
57 ; IS__TUNIT_OPM-NEXT: [[TMP0:%.*]] = getelementptr [[STRUCT_MYSTR:%.*]], %struct.MYstr* @mystr, …
59 ; IS__TUNIT_OPM-NEXT: [[TMP2:%.*]] = getelementptr [[STRUCT_MYSTR]], %struct.MYstr* @mystr, i32 …
74 ; IS__TUNIT_NPM-NEXT: [[TMP2:%.*]] = getelementptr [[STRUCT_MYSTR]], %struct.MYstr* @mystr, i32 …
76 ; IS__TUNIT_NPM-NEXT: [[TMP4:%.*]] = getelementptr [[STRUCT_MYSTR]], %struct.MYstr* @mystr, i32 …
86 ; IS__CGSCC____-NEXT: [[TMP0:%.*]] = getelementptr [[STRUCT_MYSTR:%.*]], %struct.MYstr* @mystr, …
88 ; IS__CGSCC____-NEXT: [[TMP2:%.*]] = getelementptr [[STRUCT_MYSTR]], %struct.MYstr* @mystr, i32 …
109 …e nofree noundef nonnull readonly byval(%struct.MYstr) align 8 dereferenceable(8) @mystr) [[ATTR0]]
116 ; IS__TUNIT_NPM-NEXT: [[MYSTR_CAST:%.*]] = bitcast %struct.MYstr* @mystr to i8*
118 …EXT: [[MYSTR_0_1:%.*]] = getelementptr [[STRUCT_MYSTR:%.*]], %struct.MYstr* @mystr, i32 0, i32 1
[all …]
/external/llvm-project/lld/test/ELF/
Daarch64-relocs.s23 adrp x1,mystr
24 mystr: label
26 .size mystr, 4
39 .size mystr, 4
53 .size mystr, 3
106 .size mystr, 3
121 .size mystr, 3
136 .size mystr, 3
155 .size mystr, 4
/external/llvm-project/llvm/test/CodeGen/SPARC/
Dobj-relocs.ll19 ; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 .L.mystr 0x0
20 ; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 .L.mystr 0x0
26 @.mystr = private unnamed_addr constant [6 x i8] c"hello\00", align 1
32 %2 = call i64 @bar(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.mystr, i32 0, i32 0), i64 %1)
/external/llvm/test/CodeGen/SPARC/
Dobj-relocs.ll19 ; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 .L.mystr 0x0
20 ; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 .L.mystr 0x0
26 @.mystr = private unnamed_addr constant [6 x i8] c"hello\00", align 1
32 %2 = call i64 @bar(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.mystr, i32 0, i32 0), i64 %1)
/external/python/cpython2/Lib/test/
Dtest_hmac.py394 class mystr(str): class
398 a, b = mystr("foobar"), mystr("foobar")
400 a, b = mystr("foobar"), "foobar"
402 a, b = mystr("foobar"), mystr("foobaz")
Dtest_cfgparser.py281 class mystr(str): class
284 cf.set("sect", "option1", mystr("splat"))
286 cf.set("sect", "option2", mystr("splat"))
/external/llvm-project/llvm/test/Instrumentation/AddressSanitizer/
Dglobal_metadata_windows.ll13 $mystr = comdat any
27 @mystr = linkonce_odr unnamed_addr constant [5 x i8] c"main\00", comdat, align 1
35 %call = tail call i32 @puts(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @mystr, i64 0, i64 0))
/external/python/cpython3/Lib/test/
Dtest_hmac.py609 class mystr(str): class
613 a, b = mystr("foobar"), mystr("foobar")
615 a, b = mystr("foobar"), "foobar"
617 a, b = mystr("foobar"), mystr("foobaz")
Dtest_configparser.py701 class mystr(str): class
704 cf.set("sect", "option1", mystr("splat"))
706 cf.set("sect", "option2", mystr("splat"))
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheck_ops_test.py131 mystr = "hello"
133 check_ops.assert_proper_iterable(mystr)