Searched refs:closure (Results 26 - 50 of 332) sorted by relevance

1234567891011>>

/external/chromium_org/base/
H A Dcallback_helpers.h35 explicit ScopedClosureRunner(const Closure& closure);
39 void Reset(const Closure& closure);
/external/chromium_org/chrome/renderer/prerender/
H A Dprerender_media_load_deferrer.cc14 const base::Closure& closure)
17 continue_loading_cb_(closure) {
12 PrerenderMediaLoadDeferrer( content::RenderFrame* render_frame, const base::Closure& closure) argument
H A Dprerender_media_load_deferrer.h17 // Will run |closure| to continue loading the media resource once the page is
20 const base::Closure& closure);
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Donce.cc65 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure) { argument
67 // Fast path. The provided closure was already executed.
71 // The closure execution did not complete yet. The once object can be in one
74 // - EXECUTING_CLOSURE: Another thread is already executing the closure.
82 // closure.
83 closure->Run();
86 // Another thread has already started executing the closure. We need to
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dinline-construct.js32 function TestInlinedConstructor(constructor, closure) {
38 result = closure(constructor, 11, noDeopt, counter);
42 result = closure(constructor, 23, noDeopt, counter);
46 %OptimizeFunctionOnNextCall(closure);
47 result = closure(constructor, 42, noDeopt, counter);
51 result = closure(constructor, 127, forceDeopt, counter);
55 %DeoptimizeFunction(closure);
56 %ClearFunctionTypeFeedback(closure);
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-script-breakpoints-closure.js51 // Create closure before break point is set.
52 var closure = makeClosure();
60 // Ensure the closure actually triggers a break point hit.
61 closure();
/external/compiler-rt/test/BlocksRuntime/
H A Dbyrefcopyint.c37 void callVoidVoid(voidVoid closure) { argument
38 closure();
/external/harfbuzz_ng/util/
H A Dhelper-cairo.cc46 void *closure,
52 surface = cairo_ps_surface_create_for_stream (write_func, closure, width, height);
136 void *closure; member in struct:finalize_closure_t
142 finalize_ansi (finalize_closure_t *closure) argument
145 status = helper_cairo_surface_write_to_ansi_stream (closure->surface,
146 closure->write_func,
147 closure->closure);
155 void *closure,
185 ansi_closure->closure
45 _cairo_eps_surface_create_for_stream(cairo_write_func_t write_func, void *closure, double width, double height) argument
154 _cairo_ansi_surface_create_for_stream(cairo_write_func_t write_func, void *closure, double width, double height, cairo_content_t content) argument
200 finalize_png(finalize_closure_t *closure) argument
212 _cairo_png_surface_create_for_stream(cairo_write_func_t write_func, void *closure, double width, double height, cairo_content_t content) argument
257 stdio_write_func(void *closure, const unsigned char *data, unsigned int size) argument
407 finalize_closure_t *closure = (finalize_closure_t *) local
[all...]
/external/chromium_org/ui/compositor/
H A Dclosure_animation_observer.h20 explicit ClosureAnimationObserver(const base::Closure& closure);
/external/chromium_org/ui/file_manager/file_manager/common/js/
H A Dasync_util.js85 * Enqueues a closure to be executed.
86 * @param {function(function())} closure Closure with a completion
89 AsyncUtil.ConcurrentQueue.prototype.run = function(closure) {
95 this.addedTasks_.push(closure);
131 // Run the next closure.
132 var closure = this.addedTasks_.shift();
133 this.pendingTasks_.push(closure);
134 closure(this.onTaskFinished_.bind(this, closure));
141 * @param {function()} closure Finishe
[all...]
/external/clang/test/SemaTemplate/
H A Darray-to-pointer-decay.cpp26 bool closure = sanitize<int>(); variable
/external/kernel-headers/original/uapi/linux/
H A Dfirewire-cdev.h51 * @closure: For arbitrary use by userspace
57 * Data passed in the @closure field for a request will be returned in the
59 * The ioctl used to set @closure depends on the @type of event.
62 __u64 closure; member in struct:fw_cdev_event_common
68 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_GET_INFO ioctl
86 __u64 closure; member in struct:fw_cdev_event_bus_reset
98 * @closure: See &fw_cdev_event_common; set by %FW_CDEV_IOC_SEND_REQUEST
117 __u64 closure; member in struct:fw_cdev_event_response
133 __u64 closure; member in struct:fw_cdev_event_request
144 * @closure
192 __u64 closure; member in struct:fw_cdev_event_request2
258 __u64 closure; member in struct:fw_cdev_event_iso_interrupt
297 __u64 closure; member in struct:fw_cdev_event_iso_interrupt_mc
324 __u64 closure; member in struct:fw_cdev_event_iso_resource
348 __u64 closure; member in struct:fw_cdev_event_phy_packet
509 __u64 closure; member in struct:fw_cdev_send_request
573 __u64 closure; member in struct:fw_cdev_allocate
701 __u64 closure; member in struct:fw_cdev_create_iso_context
969 __u64 closure; member in struct:fw_cdev_allocate_iso_resource
996 __u64 closure; member in struct:fw_cdev_send_stream_packet
1019 __u64 closure; member in struct:fw_cdev_send_phy_packet
1034 __u64 closure; member in struct:fw_cdev_receive_phy_packets
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dasyncinvoker.cc28 scoped_refptr<AsyncClosure> closure = data->data(); local
32 // Execute the closure and trigger the return message if needed.
33 closure->Execute();
55 void AsyncInvoker::DoInvoke(Thread* thread, AsyncClosure* closure, argument
59 // Since this call transwers ownership of |closure|, we clean it up here.
60 delete closure;
63 thread->Post(this, id, new ScopedRefMessageData<AsyncClosure>(closure));
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DKeepProcessor.java43 Set<String> closure = new HashSet<String>();
44 closureHelper(closure, roots);
46 removable.removeAll(closure);
50 private void closureHelper(Set<String> closure, Collection<String> process) { argument
54 if (closure.add(name))
55 closureHelper(closure, depend.get(name));
/external/chromium_org/ash/test/
H A Dui_controls_factory_ash.cc78 const base::Closure& closure) OVERRIDE {
83 window, key, control, shift, alt, command, closure);
95 const base::Closure& closure) OVERRIDE {
99 ui_controls->SendMouseMoveNotifyWhenDone(p.x(), p.y(), closure);
109 MouseButton type, int state, const base::Closure& closure) OVERRIDE {
113 type, state, closure);
123 const base::Closure& closure) OVERRIDE {
127 ui_controls->RunClosureAfterAllPendingUIEvents(closure);
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dtimer.py50 def TimerClosure(closure, *args, **optargs):
52 (closure return value, timer).
56 return closure(*args, **optargs), timer
/external/chromium_org/mojo/gles2/
H A Dgles2_context.cc26 void* closure)
29 closure_(closure) {}
23 GLES2Context(const MojoAsyncWaiter* async_waiter, ScopedMessagePipeHandle command_buffer_handle, MojoGLES2ContextLost lost_callback, void* closure) argument
/external/chromium_org/mojo/public/platform/native/
H A Dgles2_thunks.cc17 void* closure,
21 handle, lost_callback, closure, async_waiter);
15 MojoGLES2CreateContext(MojoHandle handle, MojoGLES2ContextLost lost_callback, void* closure, const MojoAsyncWaiter* async_waiter) argument
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLParserThread.cpp97 void HTMLParserThread::postTask(const Closure& closure) argument
99 platformThread().postTask(new Task(closure));
/external/chromium_org/ui/message_center/
H A Dnotification_delegate.cc18 const base::Closure& closure)
19 : closure_(closure) {
17 HandleNotificationClickedDelegate( const base::Closure& closure) argument
/external/chromium_org/cc/base/
H A Dunique_notifier.h20 // Configure this notifier to issue the |closure| notification when scheduled.
22 const base::Closure& closure);
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dhash_table.h188 void *closure),
189 void *closure);
276 static void delete_key(const void *key, void *data, void *closure) argument
279 (void) closure;
/external/mesa3d/src/mesa/program/
H A Dhash_table.h188 void *closure),
189 void *closure);
276 static void delete_key(const void *key, void *data, void *closure) argument
279 (void) closure;
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-face.cc72 * @reference_table_func: (closure user_data) (destroy destroy) (scope notified):
114 hb_face_for_data_closure_t *closure; local
116 closure = (hb_face_for_data_closure_t *) malloc (sizeof (hb_face_for_data_closure_t));
117 if (unlikely (!closure))
120 closure->blob = blob;
121 closure->index = index;
123 return closure;
127 _hb_face_for_data_closure_destroy (hb_face_for_data_closure_t *closure) argument
129 hb_blob_destroy (closure->blob);
130 free (closure);
[all...]
/external/harfbuzz_ng/src/
H A Dhb-face.cc72 * @reference_table_func: (closure user_data) (destroy destroy) (scope notified):
114 hb_face_for_data_closure_t *closure; local
116 closure = (hb_face_for_data_closure_t *) malloc (sizeof (hb_face_for_data_closure_t));
117 if (unlikely (!closure))
120 closure->blob = blob;
121 closure->index = index;
123 return closure;
127 _hb_face_for_data_closure_destroy (hb_face_for_data_closure_t *closure) argument
129 hb_blob_destroy (closure->blob);
130 free (closure);
[all...]

Completed in 554 milliseconds

1234567891011>>