Home | History | Annotate | Download | only in test

Lines Matching defs:String

1340 		X string
1343 X string
1521 s *string
1524 func (u *U) String() *string { // ERROR "leaking param: u to result ~r0 level=1$"
1529 s *string
1534 return &V{u.String()} // ERROR "&V literal escapes to heap$" "NewV u does not escape"
1599 str1 string
1600 str2 string
1625 func quux(sp *string, bp *[]byte) { // ERROR "quux bp does not escape$" "quux sp does not escape$"
1632 s string
1645 // String operations.
1649 s := string(b) // ERROR "slicebytetostring0 string\(b\) does not escape$"
1655 s := string(b) // ERROR "slicebytetostring1 string\(b\) does not escape$"
1662 s := string(b) // ERROR "string\(b\) escapes to heap$"
1669 s := string(b) // ERROR "string\(b\) escapes to heap$"
1692 s := string(b) + s0 // ERROR "addstr2 string\(b\) \+ s0 does not escape$" "addstr2 string\(b\) does not escape$"
1705 // string does not escape
1707 s := string(x) // ERROR "intstring0 string\(x\) does not escape$"
1711 func intstring1() string {
1712 // string does not escape, but the buffer does
1714 s := string(x) // ERROR "string\(x\) escapes to heap$"
1719 // string escapes to heap
1721 s := string(x) // ERROR "moved to heap: s$" "string\(x\) escapes to heap$"
1759 s := string(r) // ERROR "slicerunetostring0 string\(r\) does not escape$"
1763 func slicerunetostring1() string {
1765 return string(r) // ERROR "string\(r\) escapes to heap$"
1770 sink = string(r) // ERROR "string\(r\) escapes to heap$"