OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BLOCK_BYREF_CALLER
(Results
1 - 5
of
5
) sorted by null
/frameworks/compile/libbcc/runtime/BlocksRuntime/
Block_private.h
100
BLOCK_BYREF_CALLER
= 128 /* called from __block (byref) copy/dispose support routines. */
runtime.c
545
When a __block variable is either a C++ object, an Objective-C object, or another Block then the compiler also generates copy/dispose helper functions. Similarly to the Block copy helper, the "__block" copy helper (formerly and still a.k.a. "byref" copy helper) will do a C++ copy constructor (not a const one though!) and the dispose helper will do the destructor. And similarly the helpers will call into the same two support functions with the same values for objects and Blocks with the additional
BLOCK_BYREF_CALLER
(128) bit of information supplied.
563
if ((flags &
BLOCK_BYREF_CALLER
) ==
BLOCK_BYREF_CALLER
) {
600
else if ((flags & (BLOCK_FIELD_IS_BLOCK|
BLOCK_BYREF_CALLER
)) == BLOCK_FIELD_IS_BLOCK) {
605
else if ((flags & (BLOCK_FIELD_IS_WEAK|BLOCK_FIELD_IS_BLOCK|
BLOCK_BYREF_CALLER
)) == BLOCK_FIELD_IS_OBJECT) {
/external/clang/lib/CodeGen/
CGBlocks.h
92
BLOCK_BYREF_CALLER
= 128, /* called from __block (byref) copy/dispose
CGBlocks.cpp
[
all
...]
/external/clang/lib/Rewrite/
RewriteObjC.cpp
43
BLOCK_BYREF_CALLER
= 128, /* called from __block (byref) copy/dispose
[
all
...]
Completed in 986 milliseconds