Searched refs:dispose (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dsimple_ilist.h173 void cloneFrom(const simple_ilist &L2, Cloner clone, Disposer dispose) { argument
174 clearAndDispose(dispose);
185 /// Remove a node by reference and dispose of it.
187 void removeAndDispose(reference N, Disposer dispose) { argument
189 dispose(&N);
210 /// Remove a node by iterator and dispose of it.
212 iterator eraseAndDispose(iterator I, Disposer dispose) { argument
215 dispose(&*I);
219 /// Remove a range of nodes and dispose of them.
221 iterator eraseAndDispose(iterator First, iterator Last, Disposer dispose) { argument
233 clearAndDispose(Disposer dispose) argument
234 eraseAndDispose(begin(), end(), dispose); local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A DBlock_private.h66 void (*dispose)(void *); member in struct:Block_descriptor
99 /* Runtime support functions used by compiler when generating copy/dispose helpers. */
107 BLOCK_BYREF_CALLER = 128 /* called from __block (byref) copy/dispose support routines. */
115 /* runtime entry point called by the compiler when disposing of objects inside dispose helper routine */
H A Druntime.c473 if (aBlock->flags & BLOCK_HAS_COPY_DISPOSE)(*aBlock->descriptor->dispose)(aBlock);
486 // Old Compiler SPI point to release a copied Block used by the compiler in dispose helpers
534 In these cases helper functions are synthesized by the compiler for use in Block_copy and Block_release, called the copy and dispose helpers. The copy helper emits a call to the C++ const copy constructor for C++ stack based objects and for the rest calls into the runtime support function _Block_object_assign. The dispose helper has a call to the C++ destructor for case 1 and a call into _Block_object_dispose for the rest.
542 So the Block copy/dispose helpers should only ever generate the four flag values of 3, 7, 8, and 24.
544 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.
546 So the __block copy/dispose helpers will generate flag values of 3 or 7 for objects and Blocks respectively, with BLOCK_FIELD_IS_WEAK (16) or'ed as appropriate and always 128 or'd in, for the following set of possibilities:
591 // to help dispose of the contents
680 cp += sprintf(cp, "descriptor->dispose helpe
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/DirectoryWatcher/mac/
H A DDirectoryWatcher-mac.cpp80 static void dispose(const void *ctx) { function in struct:__anon466::EventStreamContextData
183 Context.release = EventStreamContextData::dispose;

Completed in 114 milliseconds