Home
last modified time | relevance | path

Searched refs:mystr (Results 1 – 8 of 8) 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/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/swiftshader/third_party/LLVM/test/Transforms/IPConstantProp/
D2009-09-24-byval-ptr.ll5 @mystr = internal global %struct.MYstr zeroinitializer ; <%struct.MYstr*> [#uses=3]
24 ; CHECK: load i32* getelementptr inbounds (%struct.MYstr* @mystr, i32 0, i32 1)
27 ; CHECK: load i8* getelementptr inbounds (%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/test/tools/llvm-objdump/AArch64/
Delf-aarch64-mapping-symbols.test12 adrp x1,mystr
13 mystr:
15 .size mystr, 4
28 # CHECK: mystr:
/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/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"))