HomeSort by relevance Sort by last modified time
    Searched full:casts (Results 1 - 25 of 745) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/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}}
27 CFTypeRef cf1 = (__bridge_retained CFTypeRef)CreateSomething(); // expected-warning {{'__bridge_retained' casts have no effect when not using ARC}}
28 CFStringRef cf2 = (__bridge_retained CFStringRef)CreateNSString(); // expected-warning {{'__bridge_retained' casts have no effect when not using ARC}}
38 #pragma clang diagnostic ignored "-Warc-bridge-casts-disallowed-in-nonarc"
comptypes-2.m 21 /* All these casts should generate no warnings. */
  /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/clang/test/Analysis/
casts.m 4 // Test function pointer casts.
15 // Test casts from void* to function pointers.
misc-ps-arm.m 4 // <rdar://problem/11405978> - Handle casts of vectors to structs, and loading
OSAtomic_mac.cpp 4 // Test handling of OSAtomicCompareAndSwap when C++ inserts "no-op" casts and we
  /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.
  /external/clang/test/Sema/
warn-bad-function-cast.c 19 /* Casts to void types are always OK. */
24 /* Casts to the same type or similar types are OK. */
35 /* All following casts issue warning */
warn-cast-align.c 3 // Simple casts.
10 // Casts from void* are a special case.
  /external/chromium_org/ppapi/shared_impl/
platform_file.cc 10 // those casts are ugly.
  /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/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
  /external/junit/src/org/junit/internal/matchers/
TypeSafeMatcher.java 9 * This simply implements the null check, checks the type and then casts.

Completed in 670 milliseconds

1 2 3 4 5 6 7 8 91011>>