Home
last modified time | relevance | path

Searched refs:ownership (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/clang/test/SemaObjC/
Darc-non-pod-memaccess.m24 …// 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 …]
Darc-objc-lifetime.m20 … (__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}}
Darc-decls.m39 __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}}
91 // ownership qualifier. We don't want this to get suppressed because
95 id *px = &x; // expected-error {{pointer to non-const type 'id' with no explicit ownership}}
98 …J **py = &y; // expected-error {{pointer to non-const type 'J *' with no explicit ownership}} expe…
Darc-bridged-cast.m39 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
40 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFTypeRef' (aka 'const…
42 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
Darc.m347 …__autoreleasing id x; // expected-error {{__block variables cannot have __autoreleasing ownership}}
407 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
408 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into …
410 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
411 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'struct Test19 *' into …
415 …t20_implicit; // expected-error {{thread-local variable has non-trivial ownership: type is '__stro…
416 …est20_strong; // expected-error {{thread-local variable has non-trivial ownership: type is '__stro…
417 … test20_weak; // expected-error {{thread-local variable has non-trivial ownership: type is '__weak…
418 …ble has non-trivial ownership: type is '__autoreleasing id'}} expected-error {{global variables ca…
421 …t20_implicit; // expected-error {{thread-local variable has non-trivial ownership: type is '__stro…
[all …]
Darc-unavailable-for-weakref.m19 … // 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}}
Darc-property-decl-attrs.m8 id __autoreleasing z; // expected-error {{ivars cannot have __autoreleasing ownership}}
19 id __autoreleasing z; // expected-error {{ivars cannot have __autoreleasing ownership}}
30 id __autoreleasing z; // expected-error {{ivars cannot have __autoreleasing ownership}}
Darc-type-conversion.m20 … // expected-note 2 {{use __bridge to convert directly (no change in ownership)}} \
22 … // expected-note {{use CFBridgingRelease call to transfer ownership of a +1 'void *' into ARC}}
26 // expected-note {{use __bridge to convert directly (no change in ownership)}} \
Darc-property-lifetime.m8 id __autoreleasing z; // expected-error {{ivars cannot have __autoreleasing ownership}}
25 id __autoreleasing z; // expected-error {{ivars cannot have __autoreleasing ownership}}
42 id __autoreleasing z; // expected-error {{ivars cannot have __autoreleasing ownership}}
/external/clang/test/ARCMT/
Dcheck-api.m23 …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…
Dno-canceling-bridge-to-bridge-cast.m27 // 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…
Dnonobjc-to-objc-cast-2.m19 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
20 …// expected-note{{use CFBridgingRelease call to transfer ownership of a +1 'CFStringRef' (aka 'con…
28 // expected-note{{use __bridge to convert directly (no change in ownership)}} \
/external/clang/test/SemaObjCXX/
Darc-overloading.mm3 // 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…
Dgc-attributes.mm6 … 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…
Darc-unavailable-for-weakref.mm19 … // 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}}
Darc-system-header.mm7 …ata.a_b.b = 0; // expected-error{{'a_b' is unavailable: this system field has retaining ownership}}
Darc-type-conversion.mm55 // Cannot use const_cast to cast between ownership qualifications or
56 // add/remove ownership qualifications.
67 // Okay to reinterpret_cast to add/remove/change ownership
81 // C-style casts aren't allowed to change Objective-C ownership
101 // Functional casts aren't allowed to change Objective-C ownership
/external/webkit/Source/WebCore/bridge/qt/
Dqt_instance.h65 …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 …
Dqt_instance.cpp79 …: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/
DStringImplBase.h51 StringImplBase(unsigned length, BufferOwnership ownership) in StringImplBase() argument
52 : m_refCountAndFlags(s_refCountIncrement | s_refCountFlagShouldReportedCost | ownership) in StringImplBase()
DStringImpl.cpp57 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/chromium/chrome/browser/accessibility/
Dbrowser_accessibility_mac.mm30 // We take ownership of the cocoa obj here.
40 // Relinquish ownership of the cocoa obj.
/external/linux-tools-perf/Documentation/
Dperf-buildid-list.txt29 Don't do ownership validation.
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_bridge_unittest.mm25 FindBarController controller(bridge); // takes ownership of |bridge|.
/external/apache-harmony/luni/src/test/resources/org/apache/harmony/luni/tests/
Dtest.rtf4 * this work for additional information regarding copyright ownership.

1234567891011