Home
last modified time | relevance | path

Searched refs:defer (Results 1 - 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Ddefer_test.cpp15 #include "marl/defer.h"
21 { defer(deferCalled = true); } in TEST_F()
29 defer(a = ++counter); in TEST_F()
30 defer(b = ++counter); in TEST_F()
31 defer(c = ++counter); in TEST_F()
H A Dblockingcall_test.cpp17 #include "marl/defer.h"
30 defer(wg.done()); in TEST_P()
33 defer(mutex->unlock()); in TEST_P()
50 defer(wg.done()); in TEST_P()
53 defer(mutex->unlock()); in TEST_P()
H A Devent_test.cpp16 #include "marl/defer.h"
135 defer(wg.done()); in TEST_P()
149 defer(wg.done()); in TEST_P()
166 defer(wg.done()); in TEST_P()
181 defer(wg.done()); in TEST_P()
205 defer(wg.done()); in TEST_P()
H A Dscheduler_test.cpp18 #include "marl/defer.h"
141 defer(scheduler->unbind()); in TEST_P()
165 defer(scheduler->unbind()); in TEST_F()
173 defer(wg.done()); in TEST_F()
H A Ddefer_bench.cpp15 #include "marl/defer.h"
24 defer(do_not_optimize_away_result++); in Defer()
H A Dtrace.cpp23 #include "marl/defer.h"
59 defer(out << std::endl << "]" << std::endl); in Trace()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/
H A Dtasks_in_tasks.cpp17 #include "marl/defer.h"
31 defer(scheduler.unbind()); // Automatically unbind before returning. in main()
54 defer(a_wg.done()); // Decrement a_wg when task A is done in main()
65 defer(bc_wg.done()); // Decrement bc_wg when task B is done in main()
71 defer(bc_wg.done()); // Decrement bc_wg when task C is done in main()
H A Dfractal.cpp18 #include "marl/defer.h"
91 defer(fclose(file)); in writeBMP()
156 defer(scheduler.unbind()); // unbind before destructing the scheduler. in main()
160 defer(delete[] pixels); // free memory before returning. in main()
174 defer(wg.done()); in main()
H A Dhello_task.cpp17 #include "marl/defer.h"
32 defer(scheduler.unbind()); // Automatically unbind before returning. in main()
47 defer(saidHello.done()); in main()
H A Dprimes.cpp18 #include "marl/defer.h"
49 defer(scheduler.unbind()); // unbind before destructing the scheduler. in main()
/third_party/typescript/tests/baselines/reference/
H A DfunduleUsedAcrossFileBoundary.js9 export function defer<T>(): string;
14 var deferred = Q.defer<T>(); // used to be an error
20 var deferred = Q.defer(); // used to be an error
/third_party/nghttp2/src/
H A Dshrpx_mruby.cc60 auto ai_d = defer([ai, this]() { mrb_gc_arena_restore(mrb_, ai); }); in run_app()
152 auto infile_d = defer(fclose, infile); in compile()
159 auto mrbc_d = defer(mrbc_context_free, mrb, mrbc); in compile()
166 auto parser_d = defer(mrb_parser_free, parser); in compile()
H A Dshrpx_exec.cc56 auto closer = defer([&pfd]() { in exec_read_command()
H A Dshrpx_quic.cc219 auto d = defer(EVP_CIPHER_CTX_free, ctx); in encrypt_quic_connection_id()
240 auto d = defer(EVP_CIPHER_CTX_free, ctx); in decrypt_quic_connection_id()
263 auto d = defer(EVP_MD_CTX_free, ctx); in generate_quic_hashed_connection_id()
H A Dshrpx_tls_test.cc125 auto nghttp2_ssl_ctx_del = defer(SSL_CTX_free, nghttp2_ssl_ctx); in test_shrpx_tls_cert_lookup_tree_add_ssl_ctx()
136 auto examples_ssl_ctx_del = defer(SSL_CTX_free, examples_ssl_ctx); in test_shrpx_tls_cert_lookup_tree_add_ssl_ctx()
H A Dshrpx_tls.cc1837 auto altnames_deleter = defer(GENERAL_NAMES_free, altnames); in verify_numeric_hostname()
1884 auto altnames_deleter = defer(GENERAL_NAMES_free, altnames); in verify_dns_hostname()
1972 auto cert_deleter = defer(X509_free, cert); in check_cert()
2126 auto cert_deleter = defer(X509_free, cert); in cert_lookup_tree_add_ssl_ctx()
2132 auto altnames_deleter = defer(GENERAL_NAMES_free, altnames); in cert_lookup_tree_add_ssl_ctx()
2256 auto bio_deleter = defer(BIO_vfree, bio); in load_certificate()
2490 auto resp_deleter = defer(OCSP_RESPONSE_free, resp); in verify_ocsp_response()
2505 auto bs_deleter = defer(OCSP_BASICRESP_free, bs); in verify_ocsp_response()
2578 auto b_deleter = defer(BIO_free, b); in get_x509_name()
2605 auto bn_d = defer(BN_fre in get_x509_serial()
[all...]
H A Dh2load_http2_session.cc183 auto callbacks_deleter = defer(nghttp2_session_callbacks_del, callbacks); in on_connect()
H A Dshrpx_api_downstream_connection.cc359 auto unmapper = defer(munmap, rp, req.recv_body_length); in handle_backendconfig()
/third_party/parse5/bench/perf/
H A Dindex.js66 function runBench({ name, workingCopyFn, upstreamFn, defer = false }) {
70 .add('Working copy', workingCopyFn, { defer })
71 .add('Upstream', upstreamFn, { defer })
108 defer: true,
/third_party/node/test/parallel/
H A Dtest-http-server-headers-timeout-keepalive.js61 const defer = headersTimeout * 1.5;
76 }, defer).unref();
H A Dtest-http-server-request-timeout-keepalive.js59 const defer = requestTimeout * 1.5;
74 }, defer).unref();
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_sched.c473 * register is currently in use, we need to defer until it is in check_instr()
649 bool defer, bool avoid_output);
690 bool defer) in choose_instr_dec()
692 const char *mode = defer ? "-d" : ""; in choose_instr_dec()
697 if (defer && should_defer(ctx, n->instr)) in choose_instr_dec()
747 return choose_instr_inc(ctx, notes, defer, true); in choose_instr_dec()
774 bool defer, bool avoid_output) in choose_instr_inc()
776 const char *mode = defer ? "-d" : ""; in choose_instr_inc()
792 if (defer && should_defer(ctx, n->instr)) in choose_instr_inc()
689 choose_instr_dec(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes, bool defer) choose_instr_dec() argument
773 choose_instr_inc(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes, bool defer, bool avoid_output) choose_instr_inc() argument
/third_party/rust/crates/once_cell/xtask/src/
H A Dmain.rs103 defer(move || {
110 fn defer<F: FnOnce()>(f: F) -> impl Drop { in defer() functions
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
H A Ddefer.h25 // defer() is a macro to defer execution of a statement until the surrounding
29 // Note: Unlike golang's defer(), the defer statement is executed when the
36 // defer(printf("world\n"));
40 #define defer(x) \ macro
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkQueue.cpp25 #include "marl/defer.h"
276 defer(scheduler->unbind()); in taskLoop()

Completed in 14 milliseconds

12