/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_new.py | 96 def test_closure(func, closure, exc): 97 self.assertRaises(exc, new.function, func.func_code, {}, "", None, closure) 99 test_closure(g, None, TypeError) # invalid closure 100 test_closure(g, (1,), TypeError) # non-cell in closure 101 test_closure(g, (1, 1), ValueError) # closure is wrong size 102 test_closure(f, g.func_closure, ValueError) # no closure needed
|
/external/chromium_org/v8/src/ |
lithium.h | 390 LEnvironment(Handle<JSFunction> closure, 399 : closure_(closure), 417 Handle<JSFunction> closure() const { return closure_; } function in class:v8::internal::FINAL 649 void AddInlinedClosure(Handle<JSFunction> closure) { 650 inlined_closures_.Add(closure, zone());
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
power_policy_browsertest.cc | 142 // Runs |closure| and waits for |profile|'s user policy to be updated as a 144 void RunClosureAndWaitForUserPolicyUpdate(const base::Closure& closure, 251 const base::Closure& closure, 262 closure.Run();
|
/external/chromium_org/net/disk_cache/ |
disk_cache_test_base.cc | 184 void DiskCacheTestWithCache::RunTaskForTest(const base::Closure& closure) { 186 closure.Run(); 191 int rv = cache_impl_->RunTaskForTest(closure, cb.callback());
|
/external/chromium_org/net/dns/ |
dns_config_service_unittest.cc | 150 base::CancelableClosure closure(base::MessageLoop::QuitClosure()); 152 FROM_HERE, closure.callback(), timeout); 156 closure.Cancel();
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-layout-gsubgpos-private.hh | 57 inline const char *get_name (void) { return "CLOSURE"; } 62 inline return_t dispatch (const T &obj) { obj.closure (this); return HB_VOID; } 1117 inline void closure (hb_closure_context_t *c, ContextClosureLookupContext &lookup_context) const function in struct:OT::Rule 1176 inline void closure (hb_closure_context_t *c, ContextClosureLookupContext &lookup_context) const function in struct:OT::RuleSet 1232 inline void closure (hb_closure_context_t *c) const function in struct:OT::ContextFormat1 1318 inline void closure (hb_closure_context_t *c) const function in struct:OT::ContextFormat2 1413 inline void closure (hb_closure_context_t *c) const function in struct:OT::ContextFormat3 1655 inline void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const function in struct:OT::ChainRule 1740 inline void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const function in struct:OT::ChainRuleSet 1793 inline void closure (hb_closure_context_t *c) const function in struct:OT::ChainContextFormat1 1876 inline void closure (hb_closure_context_t *c) const function in struct:OT::ChainContextFormat2 2000 inline void closure (hb_closure_context_t *c) const function in struct:OT::ChainContextFormat3 [all...] |
hb-ot-layout-gpos-table.hh | 634 inline bool sanitize (hb_sanitize_context_t *c, const sanitize_closure_t *closure) { 637 && c->check_array (array, USHORT::static_size * closure->stride, len))) return TRACE_RETURN (false); 641 return TRACE_RETURN (closure->valueFormats[0].sanitize_values_stride_unsafe (c, closure->base, &record->values[0], count, closure->stride) 642 && closure->valueFormats[1].sanitize_values_stride_unsafe (c, closure->base, &record->values[closure->len1], count, closure->stride)); 689 PairSet::sanitize_closure_t closure = local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsubgpos-private.hh | 57 inline const char *get_name (void) { return "CLOSURE"; } 62 inline return_t dispatch (const T &obj) { obj.closure (this); return HB_VOID; } 1117 inline void closure (hb_closure_context_t *c, ContextClosureLookupContext &lookup_context) const function in struct:OT::Rule 1176 inline void closure (hb_closure_context_t *c, ContextClosureLookupContext &lookup_context) const function in struct:OT::RuleSet 1232 inline void closure (hb_closure_context_t *c) const function in struct:OT::ContextFormat1 1318 inline void closure (hb_closure_context_t *c) const function in struct:OT::ContextFormat2 1413 inline void closure (hb_closure_context_t *c) const function in struct:OT::ContextFormat3 1656 inline void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const function in struct:OT::ChainRule 1741 inline void closure (hb_closure_context_t *c, ChainContextClosureLookupContext &lookup_context) const function in struct:OT::ChainRuleSet 1794 inline void closure (hb_closure_context_t *c) const function in struct:OT::ChainContextFormat1 1877 inline void closure (hb_closure_context_t *c) const function in struct:OT::ChainContextFormat2 2001 inline void closure (hb_closure_context_t *c) const function in struct:OT::ChainContextFormat3 [all...] |
hb-ot-layout-gpos-table.hh | 634 inline bool sanitize (hb_sanitize_context_t *c, const sanitize_closure_t *closure) { 637 && c->check_array (array, USHORT::static_size * closure->stride, len))) return TRACE_RETURN (false); 641 return TRACE_RETURN (closure->valueFormats[0].sanitize_values_stride_unsafe (c, closure->base, &record->values[0], count, closure->stride) 642 && closure->valueFormats[1].sanitize_values_stride_unsafe (c, closure->base, &record->values[closure->len1], count, closure->stride)); 689 PairSet::sanitize_closure_t closure = local [all...] |
/external/bison/src/ |
closure.c | 28 #include "closure.h" 59 fprintf (stderr, "Closure: %s\n", title); 197 closure (item_number *core, size_t n) 194 closure (item_number *core, size_t n) function
|
print_graph.c | 24 #include "closure.h" 73 closure (sitems, snritems);
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
sync_task_manager.h | 126 base::Closure task; 131 PendingTask(const base::Closure& task, Priority pri, int seq); 160 void PushPendingTask(const base::Closure& closure, Priority priority); 181 base::Closure pending_backgrounding_task_;
|
/external/chromium_org/content/public/renderer/ |
content_renderer_client.h | 136 // can run |closure| immediately if they don't wish to defer media resource 139 const base::Closure& closure);
|
/external/chromium_org/content/public/test/ |
mock_render_thread.h | 67 virtual int PostTaskToAllWebWorkers(const base::Closure& closure) OVERRIDE;
|
/external/chromium_org/media/base/android/ |
media_drm_bridge.cc | 459 int MediaDrmBridge::RegisterPlayer(const base::Closure& new_key_cb, 460 const base::Closure& cdm_unset_cb) { 468 void MediaDrmBridge::SetMediaCryptoReadyCB(const base::Closure& closure) { 469 if (closure.is_null()) { 477 base::MessageLoopProxy::current()->PostTask(FROM_HERE, closure); 481 media_crypto_ready_cb_ = closure;
|
/external/chromium_org/media/filters/ |
gpu_video_decoder.cc | 75 void GpuVideoDecoder::Reset(const base::Closure& closure) { 83 &GpuVideoDecoder::Reset, weak_factory_.GetWeakPtr(), closure)); 88 base::MessageLoop::current()->PostTask(FROM_HERE, closure); 93 pending_reset_cb_ = BindToCurrentLoop(closure);
|
gpu_video_decoder.h | 51 virtual void Reset(const base::Closure& closure) OVERRIDE; 144 base::Closure pending_reset_cb_;
|
decrypting_audio_decoder.cc | 118 void DecryptingAudioDecoder::Reset(const base::Closure& closure) { 128 reset_cb_ = BindToCurrentLoop(closure);
|
decrypting_demuxer_stream.cc | 73 void DecryptingDemuxerStream::Reset(const base::Closure& closure) { 79 reset_cb_ = BindToCurrentLoop(closure);
|
ffmpeg_audio_decoder.cc | 193 void FFmpegAudioDecoder::Reset(const base::Closure& closure) { 199 task_runner_->PostTask(FROM_HERE, closure);
|
ffmpeg_video_decoder.cc | 240 void FFmpegVideoDecoder::Reset(const base::Closure& closure) { 245 task_runner_->PostTask(FROM_HERE, closure);
|
opus_audio_decoder.cc | 281 void OpusAudioDecoder::Reset(const base::Closure& closure) { 286 task_runner_->PostTask(FROM_HERE, closure);
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
block-scoping.js | 89 // Dynamic lookup from closure. 110 // Lookup from closure.
|
/external/chromium_org/v8/test/mjsunit/ |
math-imul.js | 52 // Test optimized method call inside closure. 58 // Test optimized function call inside closure.
|
/external/openfst/src/include/fst/ |
fstlib.h | 62 #include <fst/closure.h>
|