OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:ownership
(Results
1 - 25
of
5734
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaObjCXX/
gc-attributes.mm
6
void f0(__strong A**); // expected-note{{candidate function not viable: 1st argument ('A *__weak *') has __weak
ownership
, but parameter has __strong
ownership
}}
15
void f1(__weak A**); // expected-note{{candidate function not viable: 1st argument ('A *__strong *') has __strong
ownership
, but parameter has __weak
ownership
}}
arc-overloading.mm
3
// Simple
ownership
conversions + diagnostics.
4
int &f0(id __strong const *); // expected-note{{candidate function not viable: 1st argument ('__weak id *') has __weak
ownership
, but parameter has __strong
ownership
}}
49
// Prefer non-
ownership
conversions to
ownership
conversions.
58
int &f3(id __autoreleasing *); // expected-note{{candidate function not viable: 1st argument ('__unsafe_unretained id *') has __unsafe_unretained
ownership
, but parameter has __autoreleasing
ownership
}}
119
void f7(__strong id&); // expected-note{{candidate function not viable: 1st argument ('__weak id') has __weak
ownership
, but parameter has __strong
ownership
}} \
120
// expected-note{{candidate function not viable: 1st argument ('__autoreleasing id') has __autoreleasing
ownership
, but parameter has __strong ownership}}
[
all
...]
arc-system-header.mm
7
a->data.a_b.b = 0; // expected-error{{'a_b' is unavailable: this system field has retaining
ownership
}}
/external/clang/test/SemaObjC/
arc-objc-lifetime.m
20
(__bridge CFStringRef) (__strong NSString *)CFBridgingRelease(); // expected-error {{explicit
ownership
qualifier on cast result has no effect}}
23
(__bridge CFStringRef) (__autoreleasing PNSString) CFBridgingRelease(); // expected-error {{explicit
ownership
qualifier on cast result has no effect}}
27
(__bridge CFStringRef) (typeof(__strong NSString *)) CFBridgingRelease(); // expected-error {{explicit
ownership
qualifier on cast result has no effect}}
37
__strong I *__strong test1; // expected-error {{the type 'I *__strong' is already explicitly
ownership
-qualified}}
38
__strong I *(__strong test2); // expected-error {{the type 'I *__strong' is already explicitly
ownership
-qualified}}
39
__strong I *(__strong (test3)); // expected-error {{the type 'I *__strong' is already explicitly
ownership
-qualified}}
arc-non-pod-memaccess.m
24
memcpy(sip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to
ownership
-qualified type}} \
26
memcpy(wip, ptr, 17); // expected-warning{{destination for this 'memcpy' call is a pointer to
ownership
-qualified type}} \
28
memcpy(aip, ptr, 17); // 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
-qualified type}} \
34
memcpy(ptr, wip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to
ownership
-qualified type}} \
36
memcpy(ptr, aip, 17); // expected-warning{{source of this 'memcpy' call is a pointer to
ownership
-qualified type}} \
40
memmove(sip, ptr, 17); // expected-warning{{destination for this 'memmove' call is a pointer to
ownership
-qualified type}} \
42
memmove(wip, ptr, 17); // expected-warning{{destination for this 'memmove' call is a pointer to
ownership
-qualified type}} \
44
memmove(aip, ptr, 17); // expected-warning{{destination for this 'memmove' call is a pointer to
ownership
-qualified type}} \
48
memmove(ptr, sip, 17); // expected-warning{{source of this 'memmove' call is a pointer to
ownership
-qualified type}}
[
all
...]
arc-decls.m
39
__autoreleasing id X; // expected-error {{global variables cannot have __autoreleasing
ownership
}}
40
__autoreleasing NSError *E; // expected-error {{global variables cannot have __autoreleasing
ownership
}}
43
extern id __autoreleasing X1; // expected-error {{global variables cannot have __autoreleasing
ownership
}}
48
static id __autoreleasing X1; // expected-error {{global variables cannot have __autoreleasing
ownership
}}
49
extern 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
}} expected-warning {{incompatible pointer types initializing}}
arc-bridged-cast.m
39
// 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 void *') into ARC}}
42
// expected-note{{use __bridge to convert directly (no change in
ownership
)}} \
/external/clang/test/ARCMT/
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 'const void *') into ARC}}
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 'const void *') into ARC}}
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 'const void *') into ARC}}
check-api.m
23
[invok getReturnValue:&strong_id]; // expected-error {{NSInvocation's getReturnValue is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
24
[invok getReturnValue:&weak_id]; // expected-error {{NSInvocation's getReturnValue is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
28
[invok setReturnValue:&strong_id]; // expected-error {{NSInvocation's setReturnValue is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
29
[invok setReturnValue:&weak_id]; // expected-error {{NSInvocation's setReturnValue is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
33
[invok getArgument:&strong_id atIndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
34
[invok getArgument:&weak_id atIndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
38
[invok setArgument:&strong_id atIndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
39
[invok setArgument:&weak_id atIndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an object with
ownership
other than __unsafe_unretained}}
nonobjc-to-objc-cast-2.m
19
// 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 'const struct __CFString *') into ARC}}
28
// expected-note{{use __bridge to convert directly (no change in
ownership
)}} \
/build/libs/host/include/host/
CopyFile.h
16
COPY_PERMISSIONS = 0x00080000, // preserve mode,
ownership
, timestamps
17
COPY_TIMESTAMPS = 0x00100000, // preserve mode,
ownership
, timestamps
/external/chromium/base/
foundation_utils_mac.h
12
// CFTypeRefToNSObjectAutorelease transfers
ownership
of a Core Foundation
22
// By calling this function, callers relinquish any
ownership
claim to
23
// cf_object. In a managed-memory environment, the object's
ownership
will be
32
// and cf_object is autoreleased, balancing out the caller's
ownership
claim.
value_conversions.h
19
// The caller takes
ownership
of the returned value.
/external/chromium/chrome/browser/extensions/
convert_user_script.h
19
// should take
ownership
on success, or NULL and |error| on failure.
22
// NOTE: The caller takes
ownership
of the directory at extension->path() on the
/external/chromium/chrome/browser/search_engines/
template_url_fetcher_callbacks.h
20
// described by |template_url|. Takes
ownership
of |template_url|.
26
// |template_url|. Takes
ownership
of |template_url|.
/external/chromium/chrome/browser/ui/search_engines/
search_engine_tab_helper_delegate.h
19
// described by |template_url|. Takes
ownership
of |template_url|.
26
// |template_url|. Takes
ownership
of |template_url|.
/external/chromium/base/mac/
scoped_cftyperef.h
17
// ScopedCFTypeRef<> is patterned after scoped_ptr<>, but maintains
ownership
22
// When ScopedCFTypeRef<> takes
ownership
of an object (in the constructor or
23
// in reset()), it takes over the caller's existing
ownership
claim. The
25
// an
ownership
claim to that object. ScopedCFTypeRef<> does not call
/external/chromium/base/memory/
scoped_temp_dir.h
30
// Creates a unique directory in TempPath, and takes
ownership
of it.
34
// Creates a unique directory under a given path, and takes
ownership
of it.
37
// Takes
ownership
of directory at |path|, creating it if necessary.
44
// Caller takes
ownership
of the temporary directory so it won't be destroyed
/libcore/luni/src/main/java/java/security/acl/
NotOwnerException.java
4
* this work for additional information regarding copyright
ownership
.
21
* The exception that is thrown when an action that requires
ownership
is
23
*
ownership
is required.
/external/icu4c/common/unicode/
localpointer.h
31
* - No transfer of
ownership
via copy/assignment to reduce misuse. Simpler & more robust.
33
* - Need to be able to orphan/release the pointer and its
ownership
.
55
* whether to use getAlias() (without transfer of
ownership
) or orpan()
56
* (with transfer of
ownership
and NULLing of the pointer).
67
* Constructor takes
ownership
.
107
* Access without
ownership
change.
113
* Access without
ownership
change.
119
* Access without
ownership
change.
125
* Gives up
ownership
; the internal pointer becomes NULL.
137
* and adopts (takes
ownership
of) the one passed in
[
all
...]
/external/chromium/chrome/browser/chromeos/cros/
brightness_library.h
25
// Factory function, creates a new instance and returns
ownership
.
libcros_service_library.h
22
// Factory function, creates a new instance and returns
ownership
.
/external/stlport/test/unit/
shared_ptr_test.cpp
38
CPPUNIT_CHECK( !(p < q) && !(q < p) ); // p and q share
ownership
/external/webkit/Source/WebCore/bridge/qt/
qt_instance.h
65
static PassRefPtr<QtInstance> getQtInstance(QObject*, PassRefPtr<RootObject>, QScriptEngine::ValueOwnership
ownership
);
75
static PassRefPtr<QtInstance> create(QObject *instance, PassRefPtr<RootObject> rootObject, QScriptEngine::ValueOwnership
ownership
)
77
return adoptRef(new QtInstance(instance, rootObject,
ownership
));
82
QtInstance(QObject*, PassRefPtr<RootObject>, QScriptEngine::ValueOwnership
ownership
); // Factory produced only..
/ndk/tests/device/test-gnustl-full/unit/
shared_ptr_test.cpp
38
CPPUNIT_CHECK( !(p < q) && !(q < p) ); // p and q share
ownership
Completed in 561 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>