Home
last modified time | relevance | path

Searched refs:closure (Results 1 – 25 of 264) sorted by relevance

1234567891011

/external/v8/test/webkit/
Dnamed-function-expression.js65 (function closure() { return closure == arguments.callee && !this.closure; })(), function
71 … (function closure() { closure = 1; return closure == arguments.callee && !this.closure; })(),
77 (function closure(closure) { return closure == 1 && !this.closure; })(1),
83 (function closure() { var closure = 1; return closure == 1 && !this.closure; })(),
89 …(function closure() { function closure() { }; return closure != arguments.callee && !this.closure;… function
95 (function closure() { return (function() { return closure && !this.closure; })(); })(),
101 …(function closure() { return (function() { closure = null; return closure && !this.closure; })(); …
107 (function closure() { return (function() { return closure && !this.closure; }); })()(),
113 …(function closure() { return (function() { closure = null; return closure && !this.closure; }); })…
119 … (function closure() { eval("var closure"); return closure == undefined && !this.closure; })(),
[all …]
Dnamed-function-expression-expected.txt46 PASS: (function closure() { return closure == arguments.callee && !this.closure; })() should be tru…
47 PASS: (function closure() { closure = 1; return closure == arguments.callee && !this.closure; })() …
48 PASS: (function closure(closure) { return closure == 1 && !this.closure; })(1) should be true and i…
49 PASS: (function closure() { var closure = 1; return closure == 1 && !this.closure; })() should be t…
50 PASS: (function closure() { function closure() { }; return closure != arguments.callee && !this.clo…
51 PASS: (function closure() { return (function() { return closure && !this.closure; })(); })() should…
52 PASS: (function closure() { return (function() { closure = null; return closure && !this.closure; }…
53 PASS: (function closure() { return (function() { return closure && !this.closure; }); })()() should…
54 PASS: (function closure() { return (function() { closure = null; return closure && !this.closure; }…
55 PASS: (function closure() { eval("var closure"); return closure == undefined && !this.closure; })()…
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc203 Closure* closure = NewCallback(&SetA123Function); in TEST_F() local
205 closure->Run(); in TEST_F()
210 Closure* closure = NewCallback(current_instance_, in TEST_F() local
213 closure->Run(); in TEST_F()
218 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F() local
220 closure->Run(); in TEST_F()
225 Closure* closure = NewCallback(current_instance_, in TEST_F() local
228 closure->Run(); in TEST_F()
233 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F() local
235 closure->Run(); in TEST_F()
[all …]
/external/harfbuzz_ng/util/
Dhelper-cairo.cc46 void *closure, in _cairo_eps_surface_create_for_stream() argument
52 surface = cairo_ps_surface_create_for_stream (write_func, closure, width, height); in _cairo_eps_surface_create_for_stream()
154 void *closure; member
160 finalize_ansi (finalize_closure_t *closure) in finalize_ansi() argument
163 status = helper_cairo_surface_write_to_ansi_stream (closure->surface, in finalize_ansi()
164 closure->write_func, in finalize_ansi()
165 closure->closure); in finalize_ansi()
173 void *closure, in _cairo_ansi_surface_create_for_stream() argument
203 ansi_closure->closure = closure; in _cairo_ansi_surface_create_for_stream()
209 g_free ((void *) closure); in _cairo_ansi_surface_create_for_stream()
[all …]
/external/kernel-headers/original/uapi/linux/
Dfirewire-cdev.h62 __u64 closure; member
86 __u64 closure; member
117 __u64 closure; member
133 __u64 closure; member
192 __u64 closure; member
258 __u64 closure; member
297 __u64 closure; member
324 __u64 closure; member
348 __u64 closure; member
509 __u64 closure; member
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/
Dbuild.sh9 --js ./closure/base.js \
10 --js ./closure/debug/error.js \
11 --js ./closure/string/string.js \
13 --js ./closure/json.js \
14 --js ./closure/xmlhttpfactory.js \
15 --js ./closure/wrapperxmlhttpfactory.js \
16 --js ./closure/xmlhttp.js \
/external/harfbuzz_ng/src/
Dhb-face.cc114 hb_face_for_data_closure_t *closure; in _hb_face_for_data_closure_create() local
116 closure = (hb_face_for_data_closure_t *) calloc (1, sizeof (hb_face_for_data_closure_t)); in _hb_face_for_data_closure_create()
117 if (unlikely (!closure)) in _hb_face_for_data_closure_create()
120 closure->blob = blob; in _hb_face_for_data_closure_create()
121 closure->index = index; in _hb_face_for_data_closure_create()
123 return closure; in _hb_face_for_data_closure_create()
127 _hb_face_for_data_closure_destroy (hb_face_for_data_closure_t *closure) in _hb_face_for_data_closure_destroy() argument
129 hb_blob_destroy (closure->blob); in _hb_face_for_data_closure_destroy()
130 free (closure); in _hb_face_for_data_closure_destroy()
171 …hb_face_for_data_closure_t *closure = _hb_face_for_data_closure_create (OT::Sanitizer<OT::OpenType… in hb_face_create() local
[all …]
Dhb-font.cc1557 hb_trampoline_closure_t closure; /* Must be first. */ member
1574 trampoline->closure.user_data = user_data; in trampoline_create()
1575 trampoline->closure.destroy = destroy; in trampoline_create()
1576 trampoline->closure.ref_count = 1; in trampoline_create()
1583 trampoline_reference (hb_trampoline_closure_t *closure) in trampoline_reference() argument
1585 closure->ref_count++; in trampoline_reference()
1591 hb_trampoline_closure_t *closure = (hb_trampoline_closure_t *) user_data; in trampoline_destroy() local
1593 if (--closure->ref_count) in trampoline_destroy()
1596 if (closure->destroy) in trampoline_destroy()
1597 closure->destroy (closure->user_data); in trampoline_destroy()
[all …]
/external/libchrome/base/
Dcritical_closure.h31 explicit CriticalClosure(const Callback<R(void)>& closure) in CriticalClosure() argument
32 : closure_(closure) {} in CriticalClosure()
66 Callback<R(void)> MakeCriticalClosure(const Callback<R(void)>& closure) { in MakeCriticalClosure() argument
69 Owned(new internal::CriticalClosure<R>(closure))); in MakeCriticalClosure()
73 inline Callback<R(void)> MakeCriticalClosure(const Callback<R(void)>& closure) { in MakeCriticalClosure() argument
76 return closure; in MakeCriticalClosure()
Dcallback_helpers.cc14 ScopedClosureRunner::ScopedClosureRunner(const Closure& closure) in ScopedClosureRunner() argument
15 : closure_(closure) { in ScopedClosureRunner()
29 void ScopedClosureRunner::Reset(const Closure& closure) { in Reset() argument
31 closure_ = closure; in Reset()
/external/compiler-rt/lib/BlocksRuntime/
Druntime.c621 struct Block_layout *closure = (struct Block_layout *)block; in _Block_dump() local
624 if (closure == NULL) { in _Block_dump()
628 if (! (closure->flags & BLOCK_HAS_DESCRIPTOR)) { in _Block_dump()
632 cp += sprintf(cp, "^%p (new layout) =\n", (void *)closure); in _Block_dump()
633 if (closure->isa == NULL) { in _Block_dump()
636 else if (closure->isa == _NSConcreteStackBlock) { in _Block_dump()
639 else if (closure->isa == _NSConcreteMallocBlock) { in _Block_dump()
642 else if (closure->isa == _NSConcreteAutoBlock) { in _Block_dump()
645 else if (closure->isa == _NSConcreteGlobalBlock) { in _Block_dump()
648 else if (closure->isa == _NSConcreteFinalizingBlock) { in _Block_dump()
[all …]
/external/webrtc/webrtc/base/
Dasyncinvoker.h78 scoped_refptr<AsyncClosure> closure(
80 DoInvoke(thread, closure, id);
90 scoped_refptr<AsyncClosure> closure(
92 DoInvokeDelayed(thread, closure, delay_ms, id);
102 scoped_refptr<AsyncClosure> closure(
105 DoInvoke(thread, closure, id);
116 scoped_refptr<AsyncClosure> closure(
119 DoInvoke(thread, closure, id);
135 const scoped_refptr<AsyncClosure>& closure,
138 const scoped_refptr<AsyncClosure>& closure,
Dasyncinvoker.cc31 scoped_refptr<AsyncClosure> closure = data->data(); in OnMessage() local
36 closure->Execute(); in OnMessage()
59 const scoped_refptr<AsyncClosure>& closure, in DoInvoke() argument
65 thread->Post(this, id, new ScopedRefMessageData<AsyncClosure>(closure)); in DoInvoke()
69 const scoped_refptr<AsyncClosure>& closure, in DoInvokeDelayed() argument
77 new ScopedRefMessageData<AsyncClosure>(closure)); in DoInvokeDelayed()
/external/v8/test/mjsunit/compiler/
Dinline-construct.js32 function TestInlinedConstructor(constructor, closure) { argument
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/v8/src/crankshaft/
Dlithium-codegen.cc216 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
219 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
229 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
232 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
244 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
247 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
259 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
262 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
272 if (info()->closure().is_identical_to(environment->closure())) { in WriteTranslationFrame()
275 int closure_id = DefineDeoptimizationLiteral(environment->closure()); in WriteTranslationFrame()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DKeepProcessor.java43 Set<String> closure = new HashSet<String>(); in getExcludes() local
44 closureHelper(closure, roots); in getExcludes()
46 removable.removeAll(closure); in getExcludes()
50 private void closureHelper(Set<String> closure, Collection<String> process) { in closureHelper() argument
54 if (closure.add(name)) in closureHelper()
55 closureHelper(closure, depend.get(name)); in closureHelper()
/external/llvm/test/Transforms/GlobalOpt/
Dconstantfold-initializers.ll30 %closure = type { i32 }
32 @f = internal global %closure zeroinitializer, align 4
37 define internal i32 @test2_helper(%closure* %this, i32 %b) {
39 %0 = getelementptr inbounds %closure, %closure* %this, i32 0, i32 0
47 store i32 4, i32* getelementptr inbounds (%closure, %closure* @f, i32 0, i32 0)
48 %call = call i32 @test2_helper(%closure* @f, i32 9)
/external/mesa3d/src/glsl/
Dir_function_detect_recursion.cpp263 remove_unlinked_functions(const void *key, void *data, void *closure) in remove_unlinked_functions() argument
265 has_recursion_visitor *visitor = (has_recursion_visitor *) closure; in remove_unlinked_functions()
286 emit_errors_unlinked(const void *key, void *data, void *closure) in emit_errors_unlinked() argument
289 (struct _mesa_glsl_parse_state *) closure; in emit_errors_unlinked()
308 emit_errors_linked(const void *key, void *data, void *closure) in emit_errors_linked() argument
311 (struct gl_shader_program *) closure; in emit_errors_linked()
Dlower_output_reads.cpp121 emit_return_copy(const void *key, void *data, void *closure) in emit_return_copy() argument
123 ir_return *ir = (ir_return *) closure; in emit_return_copy()
129 emit_main_copy(const void *key, void *data, void *closure) in emit_main_copy() argument
131 ir_function_signature *sig = (ir_function_signature *) closure; in emit_main_copy()
/external/mesa3d/src/mesa/program/
Dhash_table.h188 void *closure),
189 void *closure);
276 static void delete_key(const void *key, void *data, void *closure) in delete_key()
279 (void) closure; in delete_key()
/external/v8/test/mjsunit/regress/
Dregress-4121.js8 function closure() { function
26 if (optimize) %OptimizeFunctionOnNextCall(closure);
27 closure();
/external/libbrillo/brillo/message_loops/
Dbase_message_loop.cc59 if (delayed_task.second.closure.is_null()) { in ~BaseMessageLoop()
172 if (delayed_task_it->second.closure.is_null()) in CancelTask()
180 delayed_task_it->second.closure = Closure(); in CancelTask()
237 if (!task_it->second.closure.is_null()) { in OnRanPostedTask()
243 Closure closure = std::move(task_it->second.closure); in OnRanPostedTask() local
244 task_it->second.closure = Closure(); in OnRanPostedTask()
245 closure.Run(); in OnRanPostedTask()
/external/libxml2/
Dtrio.h92 int trio_cprintf TRIO_PROTO((trio_outstream_t stream, trio_pointer_t closure,
94 int trio_vcprintf TRIO_PROTO((trio_outstream_t stream, trio_pointer_t closure,
96 int trio_cprintfv TRIO_PROTO((trio_outstream_t stream, trio_pointer_t closure,
134 int trio_cscanf TRIO_PROTO((trio_instream_t stream, trio_pointer_t closure,
136 int trio_vcscanf TRIO_PROTO((trio_instream_t stream, trio_pointer_t closure,
138 int trio_cscanfv TRIO_PROTO((trio_instream_t stream, trio_pointer_t closure,
/external/libchrome/base/task/
Dcancelable_task_tracker.cc46 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) { in RunAndDeleteFlag() argument
47 closure.Run(); in RunAndDeleteFlag()
51 void RunOrPostToTaskRunner(TaskRunner* task_runner, const Closure& closure) { in RunOrPostToTaskRunner() argument
53 closure.Run(); in RunOrPostToTaskRunner()
55 task_runner->PostTask(FROM_HERE, closure); in RunOrPostToTaskRunner()
/external/valgrind/coregrind/
Dm_translate.c792 VgCallbackClosure* closure = (VgCallbackClosure*)closureV; in needs_self_check() local
839 Addr sp = VG_(get_SP)(closure->tid); in needs_self_check()
1260 VgCallbackClosure* closure = (VgCallbackClosure*)closureV; in mk_preamble__ppctoc_magic_return_stub() local
1264 addStmtToIRSB( bb, IRStmt_IMark( closure->readdr, 4, 0 ) ); in mk_preamble__ppctoc_magic_return_stub()
1337 VgCallbackClosure* closure = (VgCallbackClosure*)closureV; in mk_preamble__set_NRADDR_to_zero() local
1339 addStmtToIRSB(bb, IRStmt_Put(offB_GPR25, mkU32(closure->readdr))); in mk_preamble__set_NRADDR_to_zero()
1342 VgCallbackClosure* closure = (VgCallbackClosure*)closureV; in mk_preamble__set_NRADDR_to_zero() local
1344 addStmtToIRSB(bb, IRStmt_Put(offB_GPR25, mkU64(closure->readdr))); in mk_preamble__set_NRADDR_to_zero()
1347 { VgCallbackClosure* closure = (VgCallbackClosure*)closureV; in mk_preamble__set_NRADDR_to_zero() local
1355 gen_push_and_set_LR_R2 ( bb, VG_(get_tocptr)( closure->readdr ) ); in mk_preamble__set_NRADDR_to_zero()
[all …]

1234567891011