OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:casts
(Results
1 - 25
of
572
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaObjC/
illegal-nonarc-bridged-cast.m
19
id obj1 = (__bridge_transfer id)CFCreateSomething(); // expected-warning {{'__bridge_transfer'
casts
have no effect when not using ARC}}
20
id obj2 = (__bridge_transfer NSString*)CFCreateString(); // expected-warning {{'__bridge_transfer'
casts
have no effect when not using ARC}}
21
(__bridge int*)CFCreateSomething(); // expected-warning {{'__bridge'
casts
have no effect when not using ARC}} \
23
id obj3 = (__bridge id)CFGetSomething(); // expected-warning {{'__bridge'
casts
have no effect when not using ARC}}
24
id obj4 = (__bridge NSString*)CFGetString(); // expected-warning {{'__bridge'
casts
have no effect when not using ARC}}
28
CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_retained'
casts
have no effect when not using ARC}}
29
CFStringRef cf2 = (__bridge_retained CFStringRef)CreateNSString(); // expected-warning {{'__bridge_retained'
casts
have no effect when not using ARC}}
30
CFTypeRef cf3 = (__bridge CFTypeRef)CreateSomething(); // expected-warning {{'__bridge'
casts
have no effect when not using ARC}}
31
CFStringRef cf4 = (__bridge CFStringRef)CreateNSString(); // expected-warning {{'__bridge'
casts
have no effect when not using ARC}}
39
#pragma clang diagnostic ignored "-Warc-bridge-
casts
-disallowed-in-nonarc
[
all
...]
comptypes-2.m
20
/* All these
casts
should generate no warnings. */
/external/clang/test/SemaCXX/
address-space-conversion.cpp
80
(void)static_cast<B_ptr>(ap1); // expected-error{{
casts
away qualifiers}}
81
(void)static_cast<B_ptr>(ap2); // expected-error{{
casts
away qualifiers}}
82
(void)static_cast<B_ptr_1>(ap); // expected-error{{
casts
away qualifiers}}
83
(void)static_cast<B_ptr_1>(ap2); // expected-error{{
casts
away qualifiers}}
84
(void)static_cast<B_ptr_2>(ap); // expected-error{{
casts
away qualifiers}}
85
(void)static_cast<B_ptr_2>(ap1); // expected-error{{
casts
away qualifiers}}
94
(void)static_cast<A_ptr>(vp1); // expected-error{{
casts
away qualifiers}}
95
(void)static_cast<A_ptr>(vp2); // expected-error{{
casts
away qualifiers}}
96
(void)static_cast<A_ptr_1>(vp); // expected-error{{
casts
away qualifiers}}
97
(void)static_cast<A_ptr_1>(vp2); // expected-error{{
casts
away qualifiers}
[
all
...]
warn-cast-align.cpp
3
// Simple
casts
.
24
//
Casts
from void* are a special case.
/external/clang/test/CodeGen/
2003-11-03-AddrArrayElement.c
4
// series of
casts
and address arithmetic.
struct.c
110
/* Implicit
casts
(due to typedefs) */
123
/* Implicit
casts
(due to const) */
/external/clang/test/SemaObjCXX/
arc-type-conversion.mm
9
(void)(__autoreleasing id*)arg; // expected-error{{C-style cast from 'id' to '__autoreleasing id *'
casts
away qualifiers}}
10
(void)(id*)arg; // expected-error{{C-style cast from 'id' to '__strong id *'
casts
away qualifiers}}
73
(void)reinterpret_cast<__strong id *>(csip); // expected-error{{reinterpret_cast from '__strong id const *' to '__strong id *'
casts
away qualifiers}}
74
(void)reinterpret_cast<__weak id *>(cwip); // expected-error{{reinterpret_cast from '__weak id const *' to '__weak id *'
casts
away qualifiers}}
75
(void)reinterpret_cast<__weak id *>(csip); // expected-error{{reinterpret_cast from '__strong id const *' to '__weak id *'
casts
away qualifiers}}
76
(void)reinterpret_cast<__strong id *>(cwip); // expected-error{{reinterpret_cast from '__weak id const *' to '__strong id *'
casts
away qualifiers}}
81
// C-style
casts
aren't allowed to change Objective-C ownership
84
(void)(__strong id *)wip; // expected-error{{C-style cast from '__weak id *' to '__strong id *'
casts
away qualifiers}}
85
(void)(__strong id *)cwip; // expected-error{{C-style cast from '__weak id const *' to '__strong id *'
casts
away qualifiers}}
86
(void)(__weak id *)sip; // expected-error{{C-style cast from '__strong id *' to '__weak id *'
casts
away qualifiers}
[
all
...]
/external/llvm/test/Transforms/InstCombine/
apint-zext2.ll
1
; Tests to make sure elimination of
casts
is working correctly
zext.ll
1
; Tests to make sure elimination of
casts
is working correctly
apint-zext1.ll
1
; Tests to make sure elimination of
casts
is working correctly
narrow.ll
6
; test1 - Eliminating the
casts
in this testcase (by narrowing the AND
cast_ptr.ll
1
; Tests to make sure elimination of
casts
is working correctly
20
; These
casts
should be folded away.
30
; These
casts
should also be folded away.
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/src/test/pkg/
WrongCastActivity.java.txt
11
setContentView(R.layout.
casts
);
/external/clang/test/Analysis/
casts.m
3
// Test function pointer
casts
. Currently we track function addresses using
4
// loc::FunctionVal. Because
casts
can be arbitrary, do we need to model
16
// Test
casts
from void* to function pointers. Same issue as above:
OSAtomic_mac.cpp
3
// Test handling of OSAtomicCompareAndSwap when C++ inserts "no-op"
casts
and we
misc-ps.c
29
// This should still ignore the nested
casts
48
// Redundant
casts
can mess things up!
49
// Environment used to skip through NoOp
casts
, but LiveVariables didn't!
/external/clang/test/Sema/
cast-to-union.c
7
f((union u)x); // expected-warning {{C99 forbids
casts
to union type}}
12
union u w = (union u)2; // expected-warning {{C99 forbids
casts
to union type}}
16
union u zz = (union u)i; // expected-error{{initializer element is not a compile-time constant}} expected-warning {{C99 forbids
casts
to union type}}
warn-cast-align.c
3
// Simple
casts
.
10
//
Casts
from void* are a special case.
/external/llvm/test/Assembler/
ConstantExprFoldCast.ll
7
@C = global i32 trunc (i64 42 to i32) ; Integral
casts
/external/replicaisland/src/com/replica/replicaisland/
TObjectPool.java
20
* TObjectPool is a generic version of ObjectPool that automatically
casts
to type T on
/external/chromium/testing/gmock/scripts/generator/cpp/
keywords.py
40
CASTS
= set('static_cast const_cast dynamic_cast reinterpret_cast'.split())
49
ALL = TYPES | TYPE_MODIFIERS | ACCESS |
CASTS
| OTHERS | OTHER_TYPES | CONTROL | EXCEPTION | LOOP
/external/clang/docs/
AnalyzerRegions.html
163
<li>Through explicit or implicit
casts
, e.g.:
182
<h3>Pointer
Casts
</h3>
184
<p>Pointer
casts
allow people to impose different 'views' onto a chunk of
187
<p>Usually we have two kinds of
casts
. One kind of
casts
cast down with in the
189
The other kind of
casts
cast up with in the type hierarchy. It strips away more
192
<p>We simulate the down
casts
by layering another <tt>TypedViewRegion</tt> on
193
top of the original region. We simulate the up
casts
by striping away the top
194
<tt>TypedViewRegion</tt>. Down
casts
is usually simple. For up
casts
, if th
[
all
...]
/external/proguard/src/proguard/classfile/visitor/
package.html
16
on the elements of a list, followed by type
casts
and the proper operations.
23
<code>instanceof</code> tests and type
casts
. Also, implementing a visitor
/cts/tools/signature-tools/src/signature/io/html/
FieldByNameComparator.java
33
// Note:
Casts
are required by javac 1.5.0_16.
/external/dropbear/libtommath/
bn_mp_dr_setup.c
21
/* the
casts
are required if DIGIT_BIT is one less than
Completed in 1182 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>