/prebuilts/go/darwin-x86/test/ |
escape_level.go | 14 i := 0 // ERROR "moved to heap: i" 15 p0 := &i // ERROR "moved to heap: p0" "&i escapes to heap" 16 p1 := &p0 // ERROR "moved to heap: p1" "&p0 escapes to heap" 17 p2 := &p1 // ERROR "moved to heap: p2" "&p1 escapes to heap" 18 sink = &p2 // ERROR "&p2 escapes to heap" 22 i := 0 // ERROR "moved to heap: i" 23 p0 := &i // ERROR "moved to heap: p0" "&i escapes to heap" 24 p1 := &p0 // ERROR "moved to heap: p1" "&p0 escapes to heap" 25 p2 := &p1 // ERROR "&p1 escapes to heap" 26 sink = p2 // ERROR "p2 escapes to heap [all...] |
nilcheck.go | 43 _ = *intp // ERROR "nil check" 44 _ = *arrayp // ERROR "nil check" 45 _ = *array0p // ERROR "nil check" 46 _ = *array0p // ERROR "nil check" 47 _ = *intp // ERROR "nil check" 48 _ = *arrayp // ERROR "nil check" 49 _ = *structp // ERROR "nil check" 50 _ = *emptyp // ERROR "nil check" 51 _ = *arrayp // ERROR "nil check" 66 _ = *intp // ERROR "nil check [all...] |
shift1.go | 20 u = 1.0 << s // ERROR "invalid operation|shift of non-integer operand" 21 v float32 = 1 << s // ERROR "invalid" "as type float32" 26 e1 = g(2.0 << s) // ERROR "invalid|shift of non-integer operand" "as type interface" 27 f1 = h(2 << s) // ERROR "invalid" "as type float64" 28 g1 int64 = 1.1 << s // ERROR "truncated" 35 a2 int = 1.0 << c // ERROR "overflow" 36 b2 = 1.0 << c // ERROR "overflow" 37 d2 = f(1.0 << c) // ERROR "overflow" 42 a3 = 1.0<<s + 0 // ERROR "invalid|shift of non-integer operand" 44 b3 = 1<<s + 1 + 1.0 // ERROR "invalid|shift of non-integer operand [all...] |
escape_param.go | 17 func param0(p *int) *int { // ERROR "leaking param: p to result ~r1" 23 _ = param0(&i) // ERROR "caller0a &i does not escape$" 27 i := 0 // ERROR "moved to heap: i$" 28 sink = param0(&i) // ERROR "&i escapes to heap$" "param0\(&i\) escapes to heap" 32 func param1(p1, p2 *int) (*int, *int) { // ERROR "leaking param: p1 to result ~r2" "leaking param: p2 to result ~r3" 37 i := 0 // ERROR "moved to heap: i$" 39 sink, _ = param1(&i, &j) // ERROR "&i escapes to heap$" "caller1 &j does not escape$" 43 func param2(p1 *int, p2 **int) { // ERROR "leaking param: p1$" "param2 p2 does not escape$" 48 i := 0 // ERROR "moved to heap: i$" 50 param2(&i, &p) // ERROR "&i escapes to heap$" "caller2a &p does not escape$ [all...] |
escape_closure.go | 14 x := 0 // ERROR "moved to heap: x" 15 func(p *int) { // ERROR "p does not escape" "func literal does not escape" 18 }(&x) // ERROR "&x escapes to heap" 22 x := 0 // ERROR "moved to heap: x" 24 func(p *int) { // ERROR "p does not escape" "func literal does not escape" 27 }(&x) // ERROR "&x escapes to heap" 34 x := 0 // ERROR "moved to heap: x" 35 func(p *int) { // ERROR "p does not escape" "func literal does not escape" 37 }(&x) // ERROR "&x escapes to heap" 42 x := 0 // ERROR "moved to heap: x [all...] |
loopbce.go | 8 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$" 9 x += a[i] // ERROR "Found redundant IsInBounds$" 16 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$" 17 b := a[i:] // ERROR "Found redundant IsSliceInBounds$" 25 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$" 26 b := a[:i+1] // ERROR "Found redundant IsSliceInBounds \(len promoted to cap\)$" 34 for _, i := range a { // ERROR "Induction variable with minimum 0 and increment 1" 42 for i := 1; i < len(a); i++ { // ERROR "Induction variable with minimum 1 and increment 1$" 43 x += a[i] // ERROR "Found redundant IsInBounds$" 50 for i := 0; i < len(a); i += 2 { // ERROR "Induction variable with minimum 0 and increment 2$ [all...] |
/prebuilts/go/linux-x86/test/ |
escape_level.go | 14 i := 0 // ERROR "moved to heap: i" 15 p0 := &i // ERROR "moved to heap: p0" "&i escapes to heap" 16 p1 := &p0 // ERROR "moved to heap: p1" "&p0 escapes to heap" 17 p2 := &p1 // ERROR "moved to heap: p2" "&p1 escapes to heap" 18 sink = &p2 // ERROR "&p2 escapes to heap" 22 i := 0 // ERROR "moved to heap: i" 23 p0 := &i // ERROR "moved to heap: p0" "&i escapes to heap" 24 p1 := &p0 // ERROR "moved to heap: p1" "&p0 escapes to heap" 25 p2 := &p1 // ERROR "&p1 escapes to heap" 26 sink = p2 // ERROR "p2 escapes to heap [all...] |
nilcheck.go | 43 _ = *intp // ERROR "nil check" 44 _ = *arrayp // ERROR "nil check" 45 _ = *array0p // ERROR "nil check" 46 _ = *array0p // ERROR "nil check" 47 _ = *intp // ERROR "nil check" 48 _ = *arrayp // ERROR "nil check" 49 _ = *structp // ERROR "nil check" 50 _ = *emptyp // ERROR "nil check" 51 _ = *arrayp // ERROR "nil check" 66 _ = *intp // ERROR "nil check [all...] |
shift1.go | 20 u = 1.0 << s // ERROR "invalid operation|shift of non-integer operand" 21 v float32 = 1 << s // ERROR "invalid" "as type float32" 26 e1 = g(2.0 << s) // ERROR "invalid|shift of non-integer operand" "as type interface" 27 f1 = h(2 << s) // ERROR "invalid" "as type float64" 28 g1 int64 = 1.1 << s // ERROR "truncated" 35 a2 int = 1.0 << c // ERROR "overflow" 36 b2 = 1.0 << c // ERROR "overflow" 37 d2 = f(1.0 << c) // ERROR "overflow" 42 a3 = 1.0<<s + 0 // ERROR "invalid|shift of non-integer operand" 44 b3 = 1<<s + 1 + 1.0 // ERROR "invalid|shift of non-integer operand [all...] |
escape_param.go | 17 func param0(p *int) *int { // ERROR "leaking param: p to result ~r1" 23 _ = param0(&i) // ERROR "caller0a &i does not escape$" 27 i := 0 // ERROR "moved to heap: i$" 28 sink = param0(&i) // ERROR "&i escapes to heap$" "param0\(&i\) escapes to heap" 32 func param1(p1, p2 *int) (*int, *int) { // ERROR "leaking param: p1 to result ~r2" "leaking param: p2 to result ~r3" 37 i := 0 // ERROR "moved to heap: i$" 39 sink, _ = param1(&i, &j) // ERROR "&i escapes to heap$" "caller1 &j does not escape$" 43 func param2(p1 *int, p2 **int) { // ERROR "leaking param: p1$" "param2 p2 does not escape$" 48 i := 0 // ERROR "moved to heap: i$" 50 param2(&i, &p) // ERROR "&i escapes to heap$" "caller2a &p does not escape$ [all...] |
escape_closure.go | 14 x := 0 // ERROR "moved to heap: x" 15 func(p *int) { // ERROR "p does not escape" "func literal does not escape" 18 }(&x) // ERROR "&x escapes to heap" 22 x := 0 // ERROR "moved to heap: x" 24 func(p *int) { // ERROR "p does not escape" "func literal does not escape" 27 }(&x) // ERROR "&x escapes to heap" 34 x := 0 // ERROR "moved to heap: x" 35 func(p *int) { // ERROR "p does not escape" "func literal does not escape" 37 }(&x) // ERROR "&x escapes to heap" 42 x := 0 // ERROR "moved to heap: x [all...] |
loopbce.go | 8 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$" 9 x += a[i] // ERROR "Found redundant IsInBounds$" 16 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$" 17 b := a[i:] // ERROR "Found redundant IsSliceInBounds$" 25 for i := range a { // ERROR "Induction variable with minimum 0 and increment 1$" 26 b := a[:i+1] // ERROR "Found redundant IsSliceInBounds \(len promoted to cap\)$" 34 for _, i := range a { // ERROR "Induction variable with minimum 0 and increment 1" 42 for i := 1; i < len(a); i++ { // ERROR "Induction variable with minimum 1 and increment 1$" 43 x += a[i] // ERROR "Found redundant IsInBounds$" 50 for i := 0; i < len(a); i += 2 { // ERROR "Induction variable with minimum 0 and increment 2$ [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue4463.go | 20 append(a, 0) // ERROR "not used" 21 cap(a) // ERROR "not used" 22 complex(1, 2) // ERROR "not used" 23 imag(1i) // ERROR "not used" 24 len(a) // ERROR "not used" 25 make([]int, 10) // ERROR "not used" 26 new(int) // ERROR "not used" 27 real(1i) // ERROR "not used" 28 unsafe.Alignof(a) // ERROR "not used" 29 unsafe.Offsetof(s.f) // ERROR "not used [all...] |
issue13471.go | 12 const _ int64 = 1e646456992 // ERROR "integer too large" 13 const _ int32 = 1e64645699 // ERROR "integer too large" 14 const _ int16 = 1e6464569 // ERROR "integer too large" 15 const _ int8 = 1e646456 // ERROR "integer too large" 16 const _ int = 1e64645 // ERROR "integer too large" 18 const _ uint64 = 1e646456992 // ERROR "integer too large" 19 const _ uint32 = 1e64645699 // ERROR "integer too large" 20 const _ uint16 = 1e6464569 // ERROR "integer too large" 21 const _ uint8 = 1e646456 // ERROR "integer too large" 22 const _ uint = 1e64645 // ERROR "integer too large [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue4463.go | 20 append(a, 0) // ERROR "not used" 21 cap(a) // ERROR "not used" 22 complex(1, 2) // ERROR "not used" 23 imag(1i) // ERROR "not used" 24 len(a) // ERROR "not used" 25 make([]int, 10) // ERROR "not used" 26 new(int) // ERROR "not used" 27 real(1i) // ERROR "not used" 28 unsafe.Alignof(a) // ERROR "not used" 29 unsafe.Offsetof(s.f) // ERROR "not used [all...] |
issue13471.go | 12 const _ int64 = 1e646456992 // ERROR "integer too large" 13 const _ int32 = 1e64645699 // ERROR "integer too large" 14 const _ int16 = 1e6464569 // ERROR "integer too large" 15 const _ int8 = 1e646456 // ERROR "integer too large" 16 const _ int = 1e64645 // ERROR "integer too large" 18 const _ uint64 = 1e646456992 // ERROR "integer too large" 19 const _ uint32 = 1e64645699 // ERROR "integer too large" 20 const _ uint16 = 1e6464569 // ERROR "integer too large" 21 const _ uint8 = 1e646456 // ERROR "integer too large" 22 const _ uint = 1e64645 // ERROR "integer too large [all...] |
/prebuilts/go/darwin-x86/misc/cgo/errors/src/ |
issue18889.go | 6 _ = C.malloc // ERROR HERE
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue16133.dir/ |
c.go | 9 X: a.NewX(), // ERROR `cannot use "a1"\.NewX\(\)`
|
/prebuilts/go/linux-x86/misc/cgo/errors/src/ |
issue18889.go | 6 _ = C.malloc // ERROR HERE
|
/prebuilts/go/linux-x86/test/fixedbugs/issue16133.dir/ |
c.go | 9 X: a.NewX(), // ERROR `cannot use "a1"\.NewX\(\)`
|
/art/dexdump/ |
dexdump_main.cc | 21 * to the original for correct DEX files. Error messages may differ, however. 41 LOG(ERROR) << "Copyright (C) 2007 The Android Open Source Project\n"; 42 LOG(ERROR) << gProgName << ": [-a] [-c] [-d] [-e] [-f] [-h] [-i] [-j] [-l layout] [-o outfile]" 44 LOG(ERROR) << " -a : display annotations"; 45 LOG(ERROR) << " -c : verify checksum and exit"; 46 LOG(ERROR) << " -d : disassemble code sections"; 47 LOG(ERROR) << " -e : display exported items only"; 48 LOG(ERROR) << " -f : display summary information from file header"; 49 LOG(ERROR) << " -g : display CFG for dex"; 50 LOG(ERROR) << " -h : display file header details" [all...] |
/external/libtextclassifier/util/base/ |
logging_levels.h | 25 ERROR,
|
/toolchain/binutils/binutils-2.27/bfd/ |
cpu-i960.c | 126 #define ERROR 0 139 { ERROR, CORE, KA, KB, MC, XA, CA, JX, HX }, 141 { KA, KA, KA, KB, MC, XA, ERROR, ERROR, ERROR}, 142 { KB, KB, KB, KB, MC, XA, ERROR, ERROR, ERROR}, 143 { MC, MC, MC, MC, MC, XA, ERROR, ERROR, ERROR} [all...] |
/cts/tools/dasm/src/java_cup/ |
parse_action.java | 5 * Full entries will either be SHIFT(state_num), REDUCE(production), or ERROR. 6 * Objects of this base class will default to ERROR, while the other two 32 /** Constant for action type -- error action. */ 33 public static final int ERROR = 0; 49 /** Quick access to the type -- base class defaults to error. */ 50 public int kind() {return ERROR;} 57 /* we match all error actions */ 58 return other != null && other.kind() == ERROR; 83 public String toString() {return "ERROR";}
|
/external/puffin/src/ |
set_errors.h | 19 LOG(ERROR) << #_x " failed."; \ 27 LOG(ERROR) << #_x " failed."; \ 35 (*error) = (_error); \ 36 LOG(ERROR) << #_x " failed."; \
|