Lines Matching full:variable
132 When a Block literal expression used as the initial value of a global or static local variable it is initialized as follows:
150 The simplest example is that of importing a variable of type int.
302 e) the variable itself is set to its initial value.
307 In order to "move" the variable to the heap upon a copy_helper operation the compiler must rewrite access to such a variable to be indirect through the structures forwarding pointer. For example:
324 In the case of a Block reference variable being marked __block the helper code generated must use the _Block_object_assign and _Block_object_dispose routines supplied by the runtime to make the copies. For example:
360 A Block that uses a __block variable in its compound statement body must import the variable and emit copy_helper and dispose_helper helper functions that, in turn, call back into the runtime to actually copy or release the byref data block using the functions _Block_object_assign and _Block_object_dispose.
423 A __block variable that is also marked __attribute__((NSObject)) should have byref_keep and byref_dispose helper functions that use _Block_object_assign and _Block_object_dispose.
452 The __weak variable is stored in a _block_byref_xxxx structure and the Block has copy and dispose helpers for this structure that call:
458 In turn, the block_byref copy support helpers distinguish between whether the __block variable is a Block or not and should either call:
544 Within a block stack based C++ objects are copied into const copies using the copy constructor. It is an error if a stack based C++ object is used within a block if it does not have a copy constructor. In addition both copy and destroy helper routines must be synthesized for the block to support the Block_copy() operation, and the flags work marked with the (1<<26) bit in addition to the (1<<25) bit. The copy helper should call the constructor using appropriate offsets of the variable within the supplied stack based block source and heap based destination for all const constructed copies, and similarly should call the destructor in the destroy routine.
594 struct __block_literal_10 &block = &_block_literal; // assign literal to block variable
627 To support member variable and function access the compiler will synthesize a const pointer to a block version of the "this" pointer.
642 BLOCK_FIELD_IS_BLOCK = 7, // a block variable
643 BLOCK_FIELD_IS_BYREF = 8, // the on stack structure holding the __block variable