Home
last modified time | relevance | path

Searched refs:warning (Results 1 – 25 of 1289) sorted by relevance

12345678910>>...52

/external/stlport/src/
Dwarning_disable.h8 # pragma warning( disable : 4097 ) /* typedef-name used as based class of (...) */
9 # pragma warning( disable : 4251 ) /* DLL interface needed */
10 # pragma warning( disable : 4284 ) /* for -> operator */
11 # pragma warning( disable : 4503 ) /* decorated name length exceeded, name was truncated */
12 # pragma warning( disable : 4514 ) /* unreferenced inline function has been removed */
13 # pragma warning( disable : 4660 ) /* template-class specialization '...' is already instantiate…
14 # pragma warning( disable : 4701 ) /* local variable 'base' may be used without having been init…
15 # pragma warning( disable : 4710 ) /* function (...) not inlined */
16 # pragma warning( disable : 4786 ) /* identifier truncated to 255 characters */
20 # pragma warning( disable : 4511 ) /* copy constructor cannot be generated */
[all …]
/external/stlport/stlport/stl/config/
D_warnings_off.h12 # pragma warning ( disable : 4251 ) // ignore template classes being exported in .dll's
16 # pragma warning( disable : 4097 ) // typedef-name used as based class of (...)
17 # pragma warning( disable : 4231 ) // non standard extension : 'extern' before template instanci…
18 # pragma warning( disable : 4244 ) // implicit conversion: possible loss of data
19 # pragma warning( disable : 4284 ) // for -> operator
21 # pragma warning( disable : 4290 ) // c++ exception specification ignored
22 # pragma warning( disable : 4514 ) // unreferenced inline function has been removed
23 # pragma warning( disable : 4660 ) // template-class specialization '...' is already instantiated
24 # pragma warning( disable : 4701 ) // local variable '...' may be used without having been initi…
25 # pragma warning( disable : 4710 ) // function (...) not inlined
[all …]
/external/clang/test/Analysis/
Divars.m15 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{TRUE}}
18 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{UNKNOWN}}
28 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{TRUE}}
31 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{UNKNOWN}}
61 clang_analyzer_eval(s.a == 1); // expected-warning{{TRUE}}
62 clang_analyzer_eval(s.b == 2); // expected-warning{{TRUE}}
63 clang_analyzer_eval(c == 3); // expected-warning{{TRUE}}
64 clang_analyzer_eval(d == 4); // expected-warning{{TRUE}}
68 clang_analyzer_eval(s.a == 1); // expected-warning{{TRUE}}
69 clang_analyzer_eval(s.b == 2); // expected-warning{{TRUE}}
[all …]
Dsecurity-syntax-checks.m21 …for (float x = 0.1f; x <= 1.0f; x += 0.1f) {} // expected-warning{{Variable 'x' with floating poin…
22 …for (float x = 100000001.0f; x <= 100000010.0f; x += 1.0f) {} // expected-warning{{Variable 'x' wi…
23 …for (float x = 100000001.0f; x <= 100000010.0f; x++ ) {} // expected-warning{{Variable 'x' with fl…
24 …for (double x = 100000001.0; x <= 100000010.0; x++ ) {} // expected-warning{{Variable 'x' with flo…
25 …for (double x = 100000001.0; ((x)) <= 100000010.0; ((x))++ ) {} // expected-warning{{Variable 'x' …
27 …for (double x = 100000001.0; 100000010.0 >= x; x = x + 1.0 ) {} // expected-warning{{Variable 'x' …
30 …for (double x = 100000001.0; ((x)) <= 100000010.0; ((x))++, ++i ) {} // expected-warning{{Variable…
33 …for (FooType x = 100000001.0f; x <= 100000010.0f; x++ ) {} // expected-warning{{Variable 'x' with …
42 …gets(buff); // expected-warning{{Call to function 'gets' is extremely insecure as it can always re…
49 …getpw(2, buff); // expected-warning{{The getpw() function is dangerous as it may overflow the prov…
[all …]
Drefcnt_naming.m41 …NSURL *url = (NSURL *)CFURLCreateWithString(0, (CFStringRef)inString, 0); // expected-warning{{lea…
49 return url; // no-warning
54 …NSURL *url = (NSURL *)CFURLCreateWithString(0, (CFStringRef)inString, 0); // expected-warning{{lea…
60 [x copyPhoto]; // expected-warning{{leak}}
61 [x mutableCopyPhoto]; // expected-warning{{leak}}
62 [x mutable]; // no-warning
63 [x mutableCopying]; // no-warning
64 [x photocopy]; // no-warning
65 [x photoCopy]; // no-warning
66 [x __blebPRCopy]; // no-warning
[all …]
Dobjc-arc.m53 *p = 0xDEADBEEF; // expected-warning {{null}}
63 return b; // no-warning
67 return ^{ testblock_bar(x); }; // no-warning
73 global_block = ^{ testblock_bar(x); }; // no-warning
82 *p = 0xDEADBEEF; // no-warning
87 [NSObject alloc]; // no-warning
93 CFDateRef date = CFDateCreate(0, t); // expected-warning {{Potential leak}}
110 cell = [[RDar9424890_A alloc] initWithCleaner:0 mop:WhizFiz]; // no-warning
118 …id x = [NSObject alloc]; // expected-warning {{Value stored to 'x' during its initialization is ne…
138 id obj1 = (__bridge_transfer id)CFCreateSomething(); // expected-warning{{never read}}
[all …]
Dretain-release-region-store.m103 // FIXME: We should be warning about a use-after-free here, but we
114 CFDateGetAbsoluteTime(date); // no-warning
118 t = CFDateGetAbsoluteTime(date); // no-warning
133 CFDateRef date = CFDateCreate(0, t); // no-warning
149 s.x = CFDateCreate(0, t); // no-warning
157 s.x = CFDateCreate(0, t); // no-warning
163 [[NSNumber alloc] initWithInt:1], // no-warning
164 [[NSNumber alloc] initWithInt:2], // no-warning
165 [[NSNumber alloc] initWithInt:3], // no-warning
166 [[NSNumber alloc] initWithInt:4], // no-warning
[all …]
Dobjc-subscript.m31 NSObject *string1 = [[NSObject alloc] init]; // expected-warning {{Potential leak}}
42 return [self[self] autorelease]; // expected-warning{{Object sent -autorelease too many times}}
44 return [self[0] autorelease]; // expected-warning{{Object sent -autorelease too many times}}
51 if (o[self]) // expected-warning {{Subscript access on an uninitialized object pointer}}
52 return o; // no-warning (sink)
54 if (o[0]) // expected-warning {{Subscript access on an uninitialized object pointer}}
55 return o; // no-warning (sink)
66 self[0] = o; // expected-warning {{Argument for subscript setter is an uninitialized value}}
69 self[i] = input; // expected-warning {{Subscript index is an uninitialized value}}
72 (void)self[i]; // expected-warning {{Subscript index is an uninitialized value}}
[all …]
/external/clang/test/Parser/
Dobjc-messaging-1.m7 [a ii]; // expected-warning{{not found}}
8 [a if: 1 :2]; // expected-warning{{not found}}
9 [a inout: 1 :2 another:(2,3,4)]; // expected-warning{{not found}} \
10 // expected-warning 2{{expression result unused}}
11 [a inout: 1 :2 another:(2,3,4), 6,6,8]; // expected-warning{{not found}} \
12 // expected-warning 2{{expression result unused}}
13 [a inout: 1 :2 another:(2,3,4), (6,4,5),6,8]; // expected-warning{{not found}} \
14 // expected-warning 4{{expression result unused}}
15 [a inout: 1 :2 another:(i+10), (i,j-1,5),6,8]; // expected-warning{{not found}} \
16 // expected-warning 2{{expression result unused}}
[all …]
/external/clang/test/SemaObjC/
Dcomptypes-7.m27 …obj = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id' from '…
28 obj = j; // expected-warning {{incompatible pointer types assigning to 'id' from 'int *'}}
30 …obj_p = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'id<MyPro…
31 …obj_p = j; // expected-warning {{incompatible pointer types assigning to 'id<MyProtocol>' from 'in…
33 …obj_c = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'MyClass …
34 …obj_c = j; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'int *'}}
36 …obj_C = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'Class' f…
37 obj_C = j; // expected-warning {{incompatible pointer types assigning to 'Class' from 'int *'}}
39 …i = obj; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
40 …i = obj_p; // expected-warning {{incompatible pointer to integer conversion assigning to 'int' fro…
[all …]
Dattr-deprecated.m13 [self F]; // no warning, since the caller is also deprecated.
18 X++; // expected-warning{{'X' is deprecated}}
19 self->X++; // expected-warning{{'X' is deprecated}}
20 [self f]; // expected-warning{{'f' is deprecated}}
25 [self f]; // no warning, the caller is deprecated in its interface.
35 [super F]; // expected-warning{{'F' is deprecated}}
40 [super f]; // // expected-warning{{'f' is deprecated}}
50 [A F]; // expected-warning{{'F' is deprecated}}
51 [a f]; // expected-warning{{'f' is deprecated}}
61 [a f]; // expected-warning{{'f' is deprecated}}
[all …]
Darc-non-pod-memaccess.m24 …memcpy(sip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to owne…
25 // expected-note{{explicitly cast the pointer to silence this warning}}
26 …memcpy(wip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to owne…
27 // expected-note{{explicitly cast the pointer to silence this warning}}
28 …memcpy(aip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to owne…
29 // expected-note{{explicitly cast the pointer to silence this warning}}
32 …memcpy(ptr, sip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
33 // expected-note{{explicitly cast the pointer to silence this warning}}
34 …memcpy(ptr, wip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-…
35 // expected-note{{explicitly cast the pointer to silence this warning}}
[all …]
Dobjc-literal-comparison.m5 // (test the warning flag as well)
35 …if (obj == @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
36 …if (obj != @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
37 …if (@"" == obj) return; // expected-warning{{direct comparison of a string literal has undefined b…
38 …if (@"" == @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
40 …if (@[] == obj) return; // expected-warning{{direct comparison of an array literal has undefined b…
41 …if (@{} == obj) return; // expected-warning{{direct comparison of a dictionary literal has undefin…
42 …if (@12 == obj) return; // expected-warning{{direct comparison of a numeric literal has undefined …
43 …if (@1.0 == obj) return; // expected-warning{{direct comparison of a numeric literal has undefined…
44 …if (@__objc_yes == obj) return; // expected-warning{{direct comparison of a numeric literal has un…
[all …]
Dnonnull.m8 int f1(int x); // no warning
13 int f6(NSObject *x) __attribute__ ((nonnull (1))); // no-warning
14 int f7(NSObject *x) __attribute__ ((nonnull)); // no-warning
33 …func1(0, cp2, i1); // expected-warning {{null passed to a callee which requires a non-null argume…
34 …func1(cp1, 0, i1); // expected-warning {{null passed to a callee which requires a non-null argume…
38 …func3(0, i2, cp3, i3); // expected-warning {{null passed to a callee which requires a non-null arg…
39 …func3(cp3, i2, 0, i3); // expected-warning {{null passed to a callee which requires a non-null ar…
41 func4(0, cp1); // expected-warning {{null passed to a callee which requires a non-null argument}}
42 func4(cp1, 0); // expected-warning {{null passed to a callee which requires a non-null argument}}
46 func6((NSObject*) 0); // no-warning
[all …]
Dcomptypes-3.m29 …obj_a = obj_b; // expected-warning {{assigning to 'id<MyProtocolA>' from incompatible type 'id<My…
33 …obj_b = obj_a; // expected-warning {{assigning to 'id<MyProtocolB>' from incompatible type 'id<My…
35 …obj_b = obj_ac; // expected-warning {{assigning to 'id<MyProtocolB>' from incompatible type 'id<My…
37 …obj_ab = obj_a; // expected-warning {{assigning to 'id<MyProtocolAB>' from incompatible type 'id<…
38 …obj_ab = obj_b; // expected-warning {{assigning to 'id<MyProtocolAB>' from incompatible type 'id<…
39 …obj_ab = obj_ac; // expected-warning {{assigning to 'id<MyProtocolAB>' from incompatible type 'id<…
41 …obj_ac = obj_a; // expected-warning {{assigning to 'id<MyProtocolAC>' from incompatible type 'id<…
42 …obj_ac = obj_b; // expected-warning {{assigning to 'id<MyProtocolAC>' from incompatible type 'id<…
43 …obj_ac = obj_ab; // expected-warning {{assigning to 'id<MyProtocolAC>' from incompatible type 'id<…
45 …if (obj_a == obj_b) foo (); // expected-warning {{comparison of distinct pointer types ('id<MyProt…
[all …]
Dformat-strings-objc.m48 NSLog(@"%d%%", k); // no-warning
49 NSLog(@"%s%lb%d", "unix", 10,20); // expected-warning {{invalid conversion specifier 'b'}}
59 …printf("%i ",test); // expected-warning{{format specifies type 'int' but the argument has type 'lo…
60 …NSLog(@"%i ",test); // expected-warning{{format specifies type 'int' but the argument has type 'lo…
61 …CFStringCreateWithFormat(CFSTR("%i"),test); // expected-warning{{format specifies type 'int' but t…
66 NSLog(@"%@!"); // expected-warning{{more '%' conversions than data arguments}}
72 printf("%p", x); // no-warning
73 printf("%p", y); // no-warning
81 MyNSLog(@"%@"); // expected-warning {{more '%' conversions than data arguments}}
82 …MyCFStringCreateWithFormat(CFSTR("%@")); // expected-warning {{more '%' conversions than data argu…
[all …]
Dillegal-nonarc-bridged-cast.m19 …id obj1 = (__bridge_transfer id)CFCreateSomething(); // expected-warning {{'__bridge_transfer' cas…
20 …id obj2 = (__bridge_transfer NSString*)CFCreateString(); // expected-warning {{'__bridge_transfer'…
21 …(__bridge int*)CFCreateSomething(); // expected-warning {{'__bridge' casts have no effect when no…
22 // expected-warning {{expression result unused}}
23 …id obj3 = (__bridge id)CFGetSomething(); // expected-warning {{'__bridge' casts have no effect whe…
24 …id obj4 = (__bridge NSString*)CFGetString(); // expected-warning {{'__bridge' casts have no effect…
28 …CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_re…
29 …CFStringRef cf2 = (__bridge_retained CFStringRef)CreateNSString(); // expected-warning {{'__bridge…
30 …CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // expected-warning {{'__bridge' casts have…
31 …CFStringRef cf4 = (__bridge CFStringRef)CreateNSString(); // expected-warning {{'__bridge' casts h…
[all …]
/external/libvorbis/symbian/
Dconfig.h40 #pragma warning(disable: 4100) /* unreferenced formal parameter */
41 #pragma warning(disable: 4127) /* conditional expression is constant */
42 #pragma warning(disable: 4189) /* local variable is initialized but not referenced */
43 #pragma warning(disable: 4244) /* conversion from '...' to '...', possible loss of data */
44 #pragma warning(disable: 4305) /* truncation from '...' to '...' */
45 #pragma warning(disable: 4505) /* unreferenced local function has been removed */
46 #pragma warning(disable: 4514) /* unreferenced inline function has been removed */
47 #pragma warning(disable: 4702) /* unreachable code */
48 #pragma warning(disable: 4701) /* local variable may be be used without having been initialized */
49 #pragma warning(disable: 4706) /* assignment within conditional expression */
[all …]
/external/clang/test/FixIt/
Dformat.m9 printf("%d", x); // no-warning
10 …printf("%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'in…
11 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
15 NSLog(@"%d", x); // no-warning
16 …NSLog(@"%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'in…
17 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
18 NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has type 'int'}}
25 …printf("%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'char …
26 printf("%s", x); // no-warning
27 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'c…
[all …]
Dformat-darwin.m32 …printf("%s", getNSInteger()); // expected-warning{{values of type 'NSInteger' should not be used a…
33 …printf("%s", getNSUInteger()); // expected-warning{{values of type 'NSUInteger' should not be used…
34 …printf("%s", getSInt32()); // expected-warning{{values of type 'SInt32' should not be used as form…
35 …printf("%s", getUInt32()); // expected-warning{{values of type 'UInt32' should not be used as form…
69 …printf("%s", arr[0]); // expected-warning{{values of type 'NSInteger' should not be used as forma…
70 …printf("%s", getNSInteger()); // expected-warning{{values of type 'NSInteger' should not be used …
71 …printf("%s", i); // expected-warning{{values of type 'NSInteger' should not be used as format arg…
72 …printf("%s", obj->_value); // expected-warning{{values of type 'NSInteger' should not be used as …
73 …printf("%s", [obj getInteger]); // expected-warning{{values of type 'NSInteger' should not be use…
74 …printf("%s", obj.value); // expected-warning{{values of type 'NSInteger' should not be used as fo…
[all …]
/external/bison/tests/
Dreduce.at92 [[input.y: warning: 9 useless nonterminals
93 input.y:4.8-15: warning: useless nonterminal: useless1
94 input.y:5.8-15: warning: useless nonterminal: useless2
95 input.y:6.8-15: warning: useless nonterminal: useless3
96 input.y:7.8-15: warning: useless nonterminal: useless4
97 input.y:8.8-15: warning: useless nonterminal: useless5
98 input.y:9.8-15: warning: useless nonterminal: useless6
99 input.y:10.8-15: warning: useless nonterminal: useless7
100 input.y:11.8-15: warning: useless nonterminal: useless8
101 input.y:12.8-15: warning: useless nonterminal: useless9
[all …]
/external/eclipse-windowbuilder/propertysheet/.settings/
Dorg.eclipse.jdt.core.prefs15 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
18 org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
19 org.eclipse.jdt.core.compiler.problem.deadCode=warning
20 org.eclipse.jdt.core.compiler.problem.deprecation=warning
23 org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
27 org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
29 org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
30 org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
31 org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
33 org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DWarningParser.java53 public WarningParser(String warning) { in WarningParser() argument
54 super(warning); in WarningParser()
83 Warning warning = new Warning(); in parse() local
84 warning.setHeaderName(SIPHeaderNames.WARNING); in parse()
91 warning.setCode(code); in parse()
107 warning.setAgent(token.getTokenValue() + ":" in parse()
110 warning.setAgent(token.getTokenValue()); in parse()
117 warning.setText(text); in parse()
120 warningList.add(warning); in parse()
126 warning = new Warning(); in parse()
[all …]
/external/clang/test/Sema/
Dwarn-documentation.m5 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
8 // expected-warning@+2 {{empty paragraph passed to '\brief' command}}
16 // expected-warning@+2 {{parameter 'aab' not found in the function declaration}} expected-note@+2 {…
22 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
26 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
31 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
36 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
50 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
55 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
58 // expected-warning@+1 {{empty paragraph passed to '\brief' command}}
[all …]
/external/neven/Embedded/common/src/b_BasicEm/
DConfig.h54 #pragma warning( disable : 4100 )
57 #pragma warning( disable : 4127 )
60 #pragma warning( disable : 4244 )
64 #pragma warning( disable : 4702 )
67 #pragma warning( disable : 4710 )
70 #pragma warning( disable : 4711 )
73 #pragma warning( disable : 4514 )

12345678910>>...52