/external/clang/test/SemaObjCXX/ |
D | arc-objc-lifetime.mm | 1 …iple x86_64-apple-darwin11 -fsyntax-only -fobjc-arc -fblocks -Wexplicit-ownership-type -verify -Wn… 19 … (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas… 22 …oreleasing PNSString) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas… 26 …__strong NSString *)) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas… 36 …trong test1; // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} 37 …rong test2); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} 38 …ng (test3)); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} 50 …-warning {{method parameter of type 'NSObject<P> *__autoreleasing &' with no explicit ownership}} \ 51 … expected-warning {{method parameter of type '__autoreleasing id<P> &' with no explicit ownership}} 53 …ted-warning {{method parameter of type 'NSObject *__autoreleasing *' with no explicit ownership}} \ [all …]
|
D | arc-overloading.mm | 3 // Simple ownership conversions + diagnostics. 4 … not viable: 1st argument ('__weak id *') has __weak ownership, but parameter has __strong ownersh… 49 // Prefer non-ownership conversions to ownership conversions. 58 …unsafe_unretained id *') has __unsafe_unretained ownership, but parameter has __autoreleasing owne… 119 …on not viable: 1st argument ('__weak id') has __weak ownership, but parameter has __strong ownersh… 120 … argument ('__autoreleasing id') has __autoreleasing ownership, but parameter has __strong ownersh… 121 …t ('__unsafe_unretained id') has __unsafe_unretained ownership, but parameter has __strong ownersh…
|
D | gc-attributes.mm | 6 … not viable: 1st argument ('A *__weak *') has __weak ownership, but parameter has __strong ownersh… 15 …t viable: 1st argument ('A *__strong *') has __strong ownership, but parameter has __weak ownershi…
|
D | arc-unavailable-for-weakref.mm | 19 … // expected-error {{explicit ownership qualifier on cast result has no effect}} 35 … // expected-error {{explicit ownership qualifier on cast result has no effect}} 48 … // expected-error {{explicit ownership qualifier on cast result has no effect}}
|
/external/clang/test/SemaObjC/ |
D | arc-non-pod-memaccess.m | 24 …// expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}}… 26 …// expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}}… 28 …// expected-warning{{destination for this 'memcpy' call is a pointer to ownership-qualified type}}… 32 …memcpy(ptr, sip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-… 34 …memcpy(ptr, wip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-… 36 …memcpy(ptr, aip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to ownership-… 40 …/ expected-warning{{destination for this 'memmove' call is a pointer to ownership-qualified type}}… 42 …/ expected-warning{{destination for this 'memmove' call is a pointer to ownership-qualified type}}… 44 …/ expected-warning{{destination for this 'memmove' call is a pointer to ownership-qualified type}}… 48 …17); // expected-warning{{source of this 'memmove' call is a pointer to ownership-qualified type}}… [all …]
|
D | arc-objc-lifetime.m | 1 …11 -fsyntax-only -fobjc-arc -fblocks -fobjc-runtime-has-weak -Wexplicit-ownership-type -verify -W… 2 …11 -fsyntax-only -fobjc-arc -fblocks -fobjc-runtime-has-weak -Wexplicit-ownership-type -verify -Wn… 20 … (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas… 23 …oreleasing PNSString) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas… 27 …__strong NSString *)) CFBridgingRelease(); // expected-error {{explicit ownership qualifier on cas… 37 …trong test1; // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} 38 …rong test2); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} 39 …ng (test3)); // expected-error {{the type 'I *__strong' is already explicitly ownership-qualified}} 51 …-warning {{method parameter of type 'NSObject<P> *__autoreleasing *' with no explicit ownership}} \ 52 … expected-warning {{method parameter of type '__autoreleasing id<P> *' with no explicit ownership}} [all …]
|
D | arc-decls.m | 39 __autoreleasing id X; // expected-error {{global variables cannot have __autoreleasing ownership}} 40 …oreleasing NSError *E; // expected-error {{global variables cannot have __autoreleasing ownership}} 43 …id __autoreleasing X1; // expected-error {{global variables cannot have __autoreleasing ownership}} 48 …id __autoreleasing X1; // expected-error {{global variables cannot have __autoreleasing ownership}} 49 … id __autoreleasing E; // expected-error {{global variables cannot have __autoreleasing ownership}} 93 // ownership qualifier. We don't want this to get suppressed because 97 id *px = &x; // expected-error {{pointer to non-const type 'id' with no explicit ownership}} 100 …J **py = &y; // expected-error {{pointer to non-const type 'J *' with no explicit ownership}} expe…
|
D | arc-bridged-cast.m | 41 …dge to convert directly (no change in ownership)}} expected-note{{use CFBridgingRelease call to tr… 46 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 52 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 60 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
|
D | arc-dict-bridged-cast.m | 33 … // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 34 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'co… 37 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFMutableStringRef' (…
|
D | arc-unavailable-for-weakref.m | 19 … // expected-error {{explicit ownership qualifier on cast result has no effect}} 35 … // expected-error {{explicit ownership qualifier on cast result has no effect}} 48 … // expected-error {{explicit ownership qualifier on cast result has no effect}}
|
D | arc.m | 362 …__autoreleasing id x; // expected-error {{__block variables cannot have __autoreleasing ownership}} 422 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 423 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into … 425 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 426 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into … 430 …t20_implicit; // expected-error {{thread-local variable has non-trivial ownership: type is '__stro… 431 …est20_strong; // expected-error {{thread-local variable has non-trivial ownership: type is '__stro… 432 … test20_weak; // expected-error {{thread-local variable has non-trivial ownership: type is '__weak… 433 …ble has non-trivial ownership: type is '__autoreleasing id'}} expected-error {{global variables ca… 436 …t20_implicit; // expected-error {{thread-local variable has non-trivial ownership: type is '__stro… [all …]
|
D | arc-property-decl-attrs.m | 8 …d __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}} 19 …d __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}} 30 …d __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
|
/external/clang/test/ARCMT/ |
D | check-api.m | 23 …SInvocation's getReturnValue is not safe to be used with an object with ownership other than __uns… 24 …SInvocation's getReturnValue is not safe to be used with an object with ownership other than __uns… 28 …SInvocation's setReturnValue is not safe to be used with an object with ownership other than __uns… 29 …SInvocation's setReturnValue is not safe to be used with an object with ownership other than __uns… 33 …{{NSInvocation's getArgument is not safe to be used with an object with ownership other than __uns… 34 …{{NSInvocation's getArgument is not safe to be used with an object with ownership other than __uns… 38 …{{NSInvocation's setArgument is not safe to be used with an object with ownership other than __uns… 39 …{{NSInvocation's setArgument is not safe to be used with an object with ownership other than __uns…
|
D | no-canceling-bridge-to-bridge-cast.m | 27 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 28 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons… 31 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 32 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons… 35 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 36 …// expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'cons…
|
D | nonobjc-to-objc-cast-2.m | 32 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 33 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con… 40 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 41 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con… 49 // expected-note{{use __bridge to convert directly (no change in ownership)}} \ 63 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
|
/external/ceres-solver/include/ceres/ |
D | loss_function.h | 313 ScaledLoss(const LossFunction* rho, double a, Ownership ownership) : in ScaledLoss() argument 314 rho_(rho), a_(a), ownership_(ownership) { } in ScaledLoss() 366 LossFunctionWrapper(LossFunction* rho, Ownership ownership) in LossFunctionWrapper() argument 367 : rho_(rho), ownership_(ownership) { in LossFunctionWrapper() 381 void Reset(LossFunction* rho, Ownership ownership) { in Reset() argument 386 ownership_ = ownership; in Reset()
|
D | numeric_diff_cost_function.h | 207 Ownership ownership) 208 : function_(function), ownership_(ownership) {}
|
D | conditioned_cost_function.h | 81 Ownership ownership);
|
/external/webkit/Source/WebCore/bridge/qt/ |
D | qt_instance.h | 65 …Instance> getQtInstance(QObject*, PassRefPtr<RootObject>, QScriptEngine::ValueOwnership ownership); 75 …eate(QObject *instance, PassRefPtr<RootObject> rootObject, QScriptEngine::ValueOwnership ownership) in create() argument 77 return adoptRef(new QtInstance(instance, rootObject, ownership)); in create() 82 …QtInstance(QObject*, PassRefPtr<RootObject>, QScriptEngine::ValueOwnership ownership); // Factory …
|
D | qt_instance.cpp | 79 …:QtInstance(QObject* o, PassRefPtr<RootObject> rootObject, QScriptEngine::ValueOwnership ownership) in QtInstance() argument 84 , m_ownership(ownership) in QtInstance() 117 …tQtInstance(QObject* o, PassRefPtr<RootObject> rootObject, QScriptEngine::ValueOwnership ownership) in getQtInstance() argument 133 RefPtr<QtInstance> ret = QtInstance::create(o, rootObject, ownership); in getQtInstance()
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
D | StringImplBase.h | 51 StringImplBase(unsigned length, BufferOwnership ownership) in StringImplBase() argument 52 : m_refCountAndFlags(s_refCountIncrement | s_refCountFlagShouldReportedCost | ownership) in StringImplBase()
|
D | StringImpl.cpp | 57 BufferOwnership ownership = bufferOwnership(); in ~StringImpl() local 58 if (ownership != BufferInternal) { in ~StringImpl() 59 if (ownership == BufferOwned) { in ~StringImpl() 63 } else if (ownership == BufferSubstring) { in ~StringImpl() 67 ASSERT(ownership == BufferShared); in ~StringImpl() 142 BufferOwnership ownership = bufferOwnership(); in sharedBuffer() local 144 if (ownership == BufferInternal) in sharedBuffer() 146 if (ownership == BufferSubstring) in sharedBuffer() 148 if (ownership == BufferOwned) { in sharedBuffer()
|
/external/clang/docs/ |
D | AutomaticReferenceCounting.rst | 265 and decrementing retain counts. Supporting single-ownership objects 268 * There must be reliable conventions for whether and when "ownership" is 350 * loading a retainable pointer from an object with non-weak :ref:`ownership 351 <arc.ownership>`, 373 as :arc-term:`consumed`, signifying that the callee expects to take ownership 393 This formalizes direct transfers of ownership from a caller to a callee. The 429 ownership of a +1 retain count. This is done by adding the 449 This formalizes direct transfers of ownership from a callee to a caller. The 517 is ill-formed. There is no transfer of ownership, and ARC inserts no retain 550 allowed because such casts are not transferring ownership. The :ref:`bridged [all …]
|
/external/ceres-solver/internal/ceres/ |
D | conditioned_cost_function.cc | 49 Ownership ownership) in ConditionedCostFunction() argument 52 ownership_(ownership) { in ConditionedCostFunction()
|
/external/chromium/chrome/browser/accessibility/ |
D | browser_accessibility_mac.mm | 30 // We take ownership of the cocoa obj here. 40 // Relinquish ownership of the cocoa obj.
|