Lines Matching full:helper
17 ``_Block_object_dispose`` for all "Object" types in helper functions.
50 // optional helper functions
107 respective helper functions if they are required by the ``Block`` literal.
118 into the ``Block`` that need helper functions for program level
240 imported as ``const`` copies with no need for helper functions.
245 The first case where copy and dispose helper functions are required is for the
318 second case where that requires copy and dispose helper functions to be
319 generated. The copy helper functions generated by the compiler should use the
320 ``_Block_object_assign`` runtime helper function and in the dispose helper the
321 ``_Block_object_dispose`` runtime helper function should be called.
331 would have the following helper functions generated:
362 Variables of certain types require helper functions for when ``Block_copy()``
365 ``__attribute__((NSObject))`` marked require helper functions. In Objective-C
366 objects require helper functions and in C++ stack based objects require helper
367 functions. Variables that require helper functions use the form:
376 // helper functions called via Block_copy() and Block_release()
390 c. The ``flags`` field is set to either 0 if no helper functions are needed
393 d. The helper functions are initialized (if present).
426 helper code generated must use the ``_Block_object_assign`` and
472 import the variable and emit ``copy_helper`` and ``dispose_helper`` helper
546 have ``byref_keep`` and ``byref_dispose`` helper functions that use
580 helper functions should use ``_Block_object_assign`` and
598 helper support functions ``objc_assign_weak`` and ``objc_read_weak``. Both
724 destroy helper routines must be synthesized for the block to support the
726 addition to the (1<<25) bit. The copy helper should call the constructor using
798 data structure will have copy and destroy helper routines synthesized by the
799 compiler. The copy helper will have code created to perform the copy
801 also set the (1<<26) bit in addition to the (1<<25) bit. The destroy helper
844 Runtime Helper Functions
847 The runtime helper functions are described in
854 The block copy helper function should, for each of the variables of the type
861 in the copy helper and:
867 in the dispose helper where ``<appropo>`` is:
891 ``Block`` copy helper, and onto the ``BLOCK_FIELD_<appropo>`` field within the
892 ``block_byref`` copy/dispose helper calls.
894 The prototypes, and summary, of the helper functions are:
903 helper will one see BLOCK_FIELD_IS_BYREF.
907 /* Similarly a compiler generated dispose helper needs to call back for each
910 more). The same flags used in the copy helper should be used for each