/external/honggfuzz/third_party/android/libBlocksRuntime/ |
runtime.c | 361 * A closure has been copied and its fixup routine is asking us to fix up the reference to the shared byref data 621 struct Block_layout *closure = (struct Block_layout *)block; local 624 if (closure == NULL) { 628 if (! (closure->flags & BLOCK_HAS_DESCRIPTOR)) { 632 cp += sprintf(cp, "^%p (new layout) =\n", (void *)closure); 633 if (closure->isa == NULL) { 636 else if (closure->isa == _NSConcreteStackBlock) { 639 else if (closure->isa == _NSConcreteMallocBlock) { 642 else if (closure->isa == _NSConcreteAutoBlock) { 645 else if (closure->isa == _NSConcreteGlobalBlock) [all...] |
/external/libbrillo/brillo/message_loops/ |
base_message_loop.cc | 34 using base::Closure; 70 if (delayed_task.second.closure.is_null()) { 85 const Closure &task, 109 const Closure &task) { 183 if (delayed_task_it->second.closure.is_null()) 188 // We reset to closure to a null Closure to release all the resources 189 // used by this closure at this point, but we don't remove the task_id from 191 delayed_task_it->second.closure = Closure(); 254 Closure closure = std::move(task_it->second.closure); local [all...] |
/external/turbine/javatests/com/google/turbine/deps/ |
DependenciesTest.java | 195 public void closure() throws Exception { method in class:DependenciesTest
|
/external/wayland/tests/ |
connection-test.c | 167 struct wl_closure *closure; local 174 closure = wl_closure_vmarshal(&sender, opcode, ap, &message); 177 assert(closure); 178 assert(wl_closure_send(closure, data->write_connection) == 0); 179 wl_closure_destroy(closure); 228 struct wl_closure *closure; local 241 closure = wl_closure_vmarshal(&sender, opcode, ap, &message); 244 assert(closure == NULL); 252 struct wl_closure *closure; local 259 closure = wl_closure_vmarshal(&sender, opcode, ap, &message) 359 struct wl_closure *closure; local 428 struct wl_closure *closure; local 545 struct wl_closure *closure; local [all...] |
os-wrappers-test.c | 235 struct wl_closure *closure; local 245 closure = wl_closure_vmarshal(&sender, opcode, ap, &message); 248 assert(closure); 249 assert(wl_closure_send(closure, data->write_connection) == 0); 250 wl_closure_destroy(closure); 257 closure = wl_connection_demarshal(data->read_connection, 259 assert(closure); 260 wl_closure_invoke(closure, WL_CLOSURE_INVOKE_SERVER, &object, 0, data); 261 wl_closure_destroy(closure);
|
/system/update_engine/ |
libcurl_http_fetcher.cc | 347 auto closure = base::Bind(&LibcurlHttpFetcher::ProxiesResolved, local 349 ResolveProxiesForUrl(url_, closure);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
funcobject.c | 135 PyFunction_SetClosure(PyObject *op, PyObject *closure)
141 if (closure == Py_None)
142 closure = NULL;
143 else if (PyTuple_Check(closure)) {
144 Py_INCREF(closure);
148 "expected tuple for closure, got '%.100s'",
149 closure->ob_type->tp_name);
153 ((PyFunctionObject *) op) -> func_closure = closure;
347 "function(code, globals[, name[, argdefs[, closure]]])\n\
352 The optional closure tuple supplies the bindings for free variables."); 371 PyObject *closure = Py_None; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
funcobject.c | 135 PyFunction_SetClosure(PyObject *op, PyObject *closure)
141 if (closure == Py_None)
142 closure = NULL;
143 else if (PyTuple_Check(closure)) {
144 Py_INCREF(closure);
148 "expected tuple for closure, got '%.100s'",
149 closure->ob_type->tp_name);
153 ((PyFunctionObject *) op) -> func_closure = closure;
347 "function(code, globals[, name[, argdefs[, closure]]])\n\
352 The optional closure tuple supplies the bindings for free variables."); 371 PyObject *closure = Py_None; local [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
CaseIterator.java | 328 // we call this a 'partial closure' 360 // now, for each thing in the partial closure, get its 361 // case closure and add it to the final result. 363 Set closure = new TreeSet(); // this will be the real closure external variable declarations 369 closure.add(temp); 371 // form closure 377 closure.add(temp); 385 Iterator it2 = closure.iterator(); 531 // case closure is themselves [all...] |
/external/libffi/src/arm/ |
ffi.c | 381 ffi_closure_inner (ffi_closure *closure, 388 cif = closure->cif; 401 (closure->fun) (cif, *respp, arg_area, closure->user_data); 657 /* Create the closure */ 658 ffi_closure *closure = malloc(size); local 659 if (closure == NULL) 669 free(closure); 691 closure->trampoline_table = table; 692 closure->trampoline_table_entry = entry 700 ffi_closure *closure = ptr; local [all...] |
/external/perfetto/src/ipc/ |
client_impl_unittest.cc | 434 auto closure = task_runner_->CreateCheckpoint(checkpoint_name); local 437 EXPECT_CALL(proxy_events_, OnConnect()).WillOnce(Invoke(closure)); 439 EXPECT_CALL(proxy_events_, OnDisconnect()).WillOnce(Invoke(closure));
|
/external/python/cpython2/Modules/_ctypes/libffi/src/arm/ |
ffi.c | 381 ffi_closure_inner (ffi_closure *closure, 388 cif = closure->cif; 401 (closure->fun) (cif, *respp, arg_area, closure->user_data); 657 /* Create the closure */ 658 ffi_closure *closure = malloc(size); local 659 if (closure == NULL) 669 free(closure); 691 closure->trampoline_table = table; 692 closure->trampoline_table_entry = entry 700 ffi_closure *closure = ptr; local [all...] |
/external/python/cpython2/Objects/ |
funcobject.c | 134 PyFunction_SetClosure(PyObject *op, PyObject *closure) 140 if (closure == Py_None) 141 closure = NULL; 142 else if (PyTuple_Check(closure)) { 143 Py_INCREF(closure); 147 "expected tuple for closure, got '%.100s'", 148 closure->ob_type->tp_name); 151 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure); 345 "function(code, globals[, name[, argdefs[, closure]]])\n\ 350 The optional closure tuple supplies the bindings for free variables.") 369 PyObject *closure = Py_None; local [all...] |
/external/python/cpython3/Modules/_ctypes/libffi/src/arm/ |
ffi.c | 381 ffi_closure_inner (ffi_closure *closure, 388 cif = closure->cif; 401 (closure->fun) (cif, *respp, arg_area, closure->user_data); 657 /* Create the closure */ 658 ffi_closure *closure = malloc(size); local 659 if (closure == NULL) 669 free(closure); 691 closure->trampoline_table = table; 692 closure->trampoline_table_entry = entry 700 ffi_closure *closure = ptr; local [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuScriptGroup2.cpp | 48 const Closure* closure = cpuClosure->mClosure; local 51 rsAssert(closure->mNumArg <= RS_KERNEL_INPUT_LIMIT); 53 for (size_t i = 0; i < closure->mNumArg; i++) { 54 const void* arg = closure->mArgs[i]; 65 mutable_kinfo->inLen = closure->mNumArg; 67 const Allocation* out = closure->mReturnValue; 108 const Closure* closure = cpuClosure->mClosure; local 110 if (!closure->mIsKernel || !mClosures.front()->mClosure->mIsKernel) 582 const Closure* closure = cpuClosure->mClosure; local 670 const Closure* closure = cpuClosure->mClosure; local 680 const Closure* closure = cpuClosure->mClosure; local 696 const Closure* closure = cpuClosure->mClosure; local [all...] |
/hardware/interfaces/renderscript/1.0/vts/functional/ |
VtsScriptTests.cpp | 458 Closure closure1 = context->invokeClosureCreate(invokeID, params, fieldIDS1, values1, sizes1); 459 ASSERT_NE(Closure(0), closure1); 468 hidl_vec<Closure> depClosures2 = {closure1}; 470 Closure closure2 = context->closureCreate(kernelID, allocation /* returnValue */, fieldIDS2, 472 ASSERT_NE(Closure(0), closure2); 481 hidl_vec<Closure> closures = {closure1, closure2}; 529 hidl_vec<Closure> depClosures = {Closure(0)}; 531 Closure closure = context->closureCreate(kernelID, allocation /* returnValue */, fieldIDS local [all...] |
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
ScriptGroup.java | 101 * A closure represents a function call to a kernel or invocable function, 102 * combined with arguments and values for global variables. A closure is 108 public static final class Closure extends BaseObj { 118 private static final String TAG = "Closure"; 120 Closure(long id, RenderScript rs) { 124 Closure(RenderScript rs, Script.KernelID kernelID, Type returnType, 166 Closure(RenderScript rs, Script.InvokeID invokeID, 262 // If the field is not bound to this closure, this will return a future 325 * A future represents an output of a closure, either the return value of 327 * A future is created by calling the {@link Closure#getReturn} o 380 Closure closure = p.first; local 385 Closure closure = p.first; local [all...] |
/art/openjdkjvmti/ |
ti_stack.cc | 123 struct GetStackTraceVectorClosure : public art::Closure { 188 struct GetStackTraceDirectClosure : public art::Closure { 257 GetStackTraceDirectClosure closure(frame_buffer, 261 if (!thread->RequestSynchronousCheckpoint(&closure)) { 264 *count_ptr = static_cast<jint>(closure.index); 265 if (closure.index < static_cast<size_t>(start_depth)) { 270 GetStackTraceVectorClosure closure(0, 0); 272 if (!thread->RequestSynchronousCheckpoint(&closure)) { 276 return TranslateFrameVector(closure.frames, 278 closure.start_result 714 GetFrameCountClosure closure; local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsub-table.hh | 40 inline void closure (hb_closure_context_t *c) const function in struct:OT::SingleSubstFormat1 125 inline void closure (hb_closure_context_t *c) const function in struct:OT::SingleSubstFormat2 261 inline void closure (hb_closure_context_t *c) const function in struct:OT::Sequence 332 inline void closure (hb_closure_context_t *c) const function in struct:OT::MultipleSubstFormat1 342 (this+sequence[iter.get_coverage ()]).closure (c); 454 inline void closure (hb_closure_context_t *c) const function in struct:OT::AlternateSubstFormat1 601 inline void closure (hb_closure_context_t *c) const function in struct:OT::Ligature 704 inline void closure (hb_closure_context_t *c) const function in struct:OT::LigatureSet 709 (this+ligature[i]).closure (c); 781 inline void closure (hb_closure_context_t *c) cons function in struct:OT::LigatureSubstFormat1 935 inline void closure (hb_closure_context_t *c) const function in struct:OT::ReverseChainSingleSubstFormat1 1159 inline hb_closure_context_t::return_t closure (hb_closure_context_t *c) const function in struct:OT::SubstLookup [all...] |
/external/icu/icu4c/source/common/ |
ucase.cpp | 198 * Hardcode the case closure of i and its relatives and ignore the 202 * This code matches their closure behavior to their case folding behavior. 240 const UChar *closure; local 255 /* get the closure string pointer & length */ 260 closure=(const UChar *)pe+1; /* behind this slot, unless there are full case mappings */ 263 closure=NULL; 293 closure=(const UChar *)pe; /* behind full case mappings */ 296 /* add each code point in the closure string */ 298 U16_NEXT_UNSAFE(closure, idx, c); 371 /* found the string: add each code point, and its case closure */ [all...] |
/external/python/cpython3/Objects/ |
funcobject.c | 176 PyFunction_SetClosure(PyObject *op, PyObject *closure) 182 if (closure == Py_None) 183 closure = NULL; 184 else if (PyTuple_Check(closure)) { 185 Py_INCREF(closure); 189 "expected tuple for closure, got '%.100s'", 190 closure->ob_type->tp_name); 193 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure); 422 "function(code, globals[, name[, argdefs[, closure]]])\n\ 427 The optional closure tuple supplies the bindings for free variables.") 446 PyObject *closure = Py_None; local [all...] |
/external/v8/src/builtins/ |
builtins-constructor.cc | 31 // Create a new closure from the given function info in new space 132 // Bump the closure counter encoded in the cell's map. 335 // Create a new closure from the given function info in new space 413 Node* ConstructorBuiltinsAssembler::EmitFastCloneRegExp(Node* closure, 426 Node* cell = LoadObjectField(closure, JSFunction::kFeedbackVectorOffset); 445 result.Bind(CallRuntime(Runtime::kCreateRegExpLiteral, context, closure, 455 Node* closure = Parameter(FastCloneRegExpDescriptor::kClosure); local 461 Return(EmitFastCloneRegExp(closure, literal_index, pattern, flags, context)); 499 Node* closure, Node* literal_index, Node* context, 509 Node* cell = LoadObjectField(closure, JSFunction::kFeedbackVectorOffset) 608 Node* closure = Parameter(FastCloneShallowArrayDescriptor::kClosure); local 736 Node* closure = Parameter(0); local [all...] |
/external/wayland/src/ |
connection.c | 531 struct wl_closure *closure; local 544 closure = malloc(sizeof *closure); 545 if (closure == NULL) { 550 memcpy(closure->args, args, count * sizeof *args); 574 closure->args[i].n = object ? object->id : 0; 585 closure->args[i].h = dup_fd; 593 closure->sender_id = sender->id; 594 closure->opcode = opcode; 595 closure->message = message 633 struct wl_closure *closure; local [all...] |
/system/bt/osi/src/ |
alarm.cc | 108 CancelableClosureInStruct closure; // posted to message loop for processing member in struct:alarm_t 190 new (&ret->closure) CancelableClosureInStruct(); 203 alarm->closure.~CancelableClosureInStruct(); 409 alarm->closure.i.Cancel(); 649 alarm->closure.i.Reset(Bind(alarm_ready_mloop, alarm)); 651 alarm->closure.i.callback());
|
/bionic/libc/kernel/uapi/linux/ |
firewire-cdev.h | 35 __u64 closure; member in struct:fw_cdev_event_common 39 __u64 closure; member in struct:fw_cdev_event_bus_reset 49 __u64 closure; member in struct:fw_cdev_event_response 56 __u64 closure; member in struct:fw_cdev_event_request 65 __u64 closure; member in struct:fw_cdev_event_request2 78 __u64 closure; member in struct:fw_cdev_event_iso_interrupt 85 __u64 closure; member in struct:fw_cdev_event_iso_interrupt_mc 90 __u64 closure; member in struct:fw_cdev_event_iso_resource 97 __u64 closure; member in struct:fw_cdev_event_phy_packet 151 __u64 closure; member in struct:fw_cdev_send_request 163 __u64 closure; member in struct:fw_cdev_allocate 194 __u64 closure; member in struct:fw_cdev_create_iso_context 246 __u64 closure; member in struct:fw_cdev_allocate_iso_resource 256 __u64 closure; member in struct:fw_cdev_send_stream_packet 262 __u64 closure; member in struct:fw_cdev_send_phy_packet 267 __u64 closure; member in struct:fw_cdev_receive_phy_packets [all...] |