Home
last modified time | relevance | path

Searched refs:mystr (Results 1 – 3 of 3) 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/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/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