Home
last modified time | relevance | path

Searched refs:cbs (Results 1 – 25 of 48) sorted by relevance

12

/third_party/nghttp2/lib/
Dnghttp2_callbacks.c44 nghttp2_session_callbacks *cbs, nghttp2_send_callback send_callback) { in nghttp2_session_callbacks_set_send_callback() argument
45 cbs->send_callback = send_callback; in nghttp2_session_callbacks_set_send_callback()
49 nghttp2_session_callbacks *cbs, nghttp2_recv_callback recv_callback) { in nghttp2_session_callbacks_set_recv_callback() argument
50 cbs->recv_callback = recv_callback; in nghttp2_session_callbacks_set_recv_callback()
54 nghttp2_session_callbacks *cbs, in nghttp2_session_callbacks_set_on_frame_recv_callback() argument
56 cbs->on_frame_recv_callback = on_frame_recv_callback; in nghttp2_session_callbacks_set_on_frame_recv_callback()
60 nghttp2_session_callbacks *cbs, in nghttp2_session_callbacks_set_on_invalid_frame_recv_callback() argument
62 cbs->on_invalid_frame_recv_callback = on_invalid_frame_recv_callback; in nghttp2_session_callbacks_set_on_invalid_frame_recv_callback()
66 nghttp2_session_callbacks *cbs, in nghttp2_session_callbacks_set_on_data_chunk_recv_callback() argument
68 cbs->on_data_chunk_recv_callback = on_data_chunk_recv_callback; in nghttp2_session_callbacks_set_on_data_chunk_recv_callback()
[all …]
/third_party/node/deps/nghttp2/lib/
Dnghttp2_callbacks.c44 nghttp2_session_callbacks *cbs, nghttp2_send_callback send_callback) { in nghttp2_session_callbacks_set_send_callback() argument
45 cbs->send_callback = send_callback; in nghttp2_session_callbacks_set_send_callback()
49 nghttp2_session_callbacks *cbs, nghttp2_recv_callback recv_callback) { in nghttp2_session_callbacks_set_recv_callback() argument
50 cbs->recv_callback = recv_callback; in nghttp2_session_callbacks_set_recv_callback()
54 nghttp2_session_callbacks *cbs, in nghttp2_session_callbacks_set_on_frame_recv_callback() argument
56 cbs->on_frame_recv_callback = on_frame_recv_callback; in nghttp2_session_callbacks_set_on_frame_recv_callback()
60 nghttp2_session_callbacks *cbs, in nghttp2_session_callbacks_set_on_invalid_frame_recv_callback() argument
62 cbs->on_invalid_frame_recv_callback = on_invalid_frame_recv_callback; in nghttp2_session_callbacks_set_on_invalid_frame_recv_callback()
66 nghttp2_session_callbacks *cbs, in nghttp2_session_callbacks_set_on_data_chunk_recv_callback() argument
68 cbs->on_data_chunk_recv_callback = on_data_chunk_recv_callback; in nghttp2_session_callbacks_set_on_data_chunk_recv_callback()
[all …]
/third_party/musl/porting/liteos_a/user/src/aio/
Dlio_listio.c11 struct aiocb *cbs[]; member
18 struct aiocb **cbs = st->cbs; in lio_wait() local
22 if (!cbs[i]) continue; in lio_wait()
23 err = aio_error(cbs[i]); in lio_wait()
27 cbs[i] = 0; in lio_wait()
36 if (aio_suspend((void *)cbs, cnt, 0)) in lio_wait()
70 int lio_listio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, struct sigevent *rest… in lio_listio() argument
83 if (!(st = malloc(sizeof *st + cnt*sizeof *cbs))) { in lio_listio()
89 memcpy(st->cbs, (void*) cbs, cnt*sizeof *cbs); in lio_listio()
93 if (!cbs[i]) continue; in lio_listio()
[all …]
Daio_suspend.c8 int aio_suspend(const struct aiocb *const cbs[], int cnt, const struct timespec *ts) in aio_suspend() argument
24 for (i=0; i<cnt; i++) if (cbs[i]) { in aio_suspend()
25 if (aio_error(cbs[i]) != EINPROGRESS) return 0; in aio_suspend()
27 cb = cbs[i]; in aio_suspend()
41 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
60 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
/third_party/musl/src/aio/
Dlio_listio.c10 struct aiocb *cbs[]; member
17 struct aiocb **cbs = st->cbs; in lio_wait() local
21 if (!cbs[i]) continue; in lio_wait()
22 err = aio_error(cbs[i]); in lio_wait()
26 cbs[i] = 0; in lio_wait()
35 if (aio_suspend((void *)cbs, cnt, 0)) in lio_wait()
69 int lio_listio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, struct sigevent *rest… in lio_listio() argument
80 if (!(st = malloc(sizeof *st + cnt*sizeof *cbs))) { in lio_listio()
86 memcpy(st->cbs, (void*) cbs, cnt*sizeof *cbs); in lio_listio()
90 if (!cbs[i]) continue; in lio_listio()
[all …]
Daio_suspend.c7 int aio_suspend(const struct aiocb *const cbs[], int cnt, const struct timespec *ts) in aio_suspend() argument
22 for (i=0; i<cnt; i++) if (cbs[i]) { in aio_suspend()
23 if (aio_error(cbs[i]) != EINPROGRESS) return 0; in aio_suspend()
25 cb = cbs[i]; in aio_suspend()
39 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
58 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
/third_party/skia/third_party/externals/spirv-cross/
Dmain.cpp80 : cbs(move(cbs_)) in CLIParser()
97 if (*next != '-' && cbs.default_handler) in parse()
99 cbs.default_handler(next); in parse()
103 auto itr = cbs.callbacks.find(next); in parse()
104 if (itr == ::end(cbs.callbacks)) in parse()
118 if (cbs.error_handler) in parse()
120 cbs.error_handler(); in parse()
214 CLICallbacks cbs; member
1441 CLICallbacks cbs; in main_inner() local
1443 cbs.add("--help", [](CLIParser &parser) { in main_inner()
[all …]
/third_party/glib/gio/kqueue/
Ddep-list.c348 #define cb_invoke(cbs, name, udata, ...) \ argument
350 if (cbs->name) { \
351 (cbs->name) (udata, ## __VA_ARGS__); \
372 const traverse_cbs *cbs, in dl_detect_moves() argument
375 assert (cbs != NULL); in dl_detect_moves()
381 cb_invoke (cbs, moved, udata, in dl_detect_moves()
413 const traverse_cbs *cbs, in dl_detect_replacements() argument
416 assert (cbs != NULL); in dl_detect_replacements()
422 cb_invoke (cbs, replaced, udata, in dl_detect_replacements()
458 const traverse_cbs *cbs, in dl_detect_overwrites() argument
[all …]
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_loop.cc38 int TrainLoop::Train(int epochs, Dataset *ds, std::vector<session::TrainLoopCallBack *> cbs, LoadDa… in Train() argument
50 for (auto cb : cbs) { in Train()
59 for (auto cb : cbs) cb->EpochBegin(cb_data); in Train()
73 for (auto cb : cbs) cb->StepBegin(cb_data); in Train()
80 for (auto cb : cbs) cb->StepEnd(cb_data); in Train()
88 for (auto cb : cbs) { in Train()
105 for (auto cb : cbs) cb->End(cb_data); in Train()
109 int TrainLoop::Eval(Dataset *ds, std::vector<session::TrainLoopCallBack *> cbs, LoadDataFunc load_f… in Eval() argument
124 for (auto cb : cbs) { in Eval()
128 for (auto cb : cbs) cb->EpochBegin(cb_data); in Eval()
[all …]
Dtrain_loop.h57 int Train(int epochs, dataset::Dataset *dataset, std::vector<session::TrainLoopCallBack *> cbs,
59 …int Eval(dataset::Dataset *dataset, std::vector<session::TrainLoopCallBack *> cbs, LoadDataFunc lo…
/third_party/ffmpeg/tests/fate/
Dcbs.mak5 fate-cbs: fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9
11 FATE_CBS_$(1) += fate-cbs-$(1)-$(2)
12 fate-cbs-$(1)-$(2): CMD = md5 -c:v $(3) -i $(TARGET_SAMPLES)/$(4) -c:v copy -y -bsf:v $(1)_metadata…
42 fate-cbs-av1: $(FATE_CBS_AV1-yes)
70 fate-cbs-h264: $(FATE_CBS_H264-yes)
100 fate-cbs-hevc: $(FATE_CBS_HEVC-yes)
113 fate-cbs-mpeg2: $(FATE_CBS_MPEG2-yes)
137 fate-cbs-vp9: $(FATE_CBS_VP9-yes)
/third_party/node/deps/npm/node_modules/inflight/
Dinflight.js19 var cbs = reqs[key]
20 var len = cbs.length
31 cbs[i].apply(null, args)
34 if (cbs.length > len) {
37 cbs.splice(0, len)
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_context.c51 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_va() local
52 struct lima_resource *res = lima_resource(cbs->res); in lima_ctx_buff_va()
57 return res->bo->va + cbs->offset; in lima_ctx_buff_va()
63 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_map() local
64 struct lima_resource *res = lima_resource(cbs->res); in lima_ctx_buff_map()
66 return lima_bo_map(res->bo) + cbs->offset; in lima_ctx_buff_map()
73 struct lima_ctx_buff_state *cbs = ctx->buffer_state + buff; in lima_ctx_buff_alloc() local
76 cbs->size = align(size, 0x40); in lima_ctx_buff_alloc()
78 u_upload_alloc(ctx->uploader, 0, cbs->size, 0x40, &cbs->offset, in lima_ctx_buff_alloc()
79 &cbs->res, &ret); in lima_ctx_buff_alloc()
/third_party/grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc203 bidirectional_stream* cbs = nullptr; member
304 CRONET_LOG(GPR_DEBUG, "bidirectional_stream_read(%p)", s->cbs); in read_grpc_header()
305 bidirectional_stream_read(s->cbs, s->state.rs.read_buffer, in read_grpc_header()
442 bidirectional_stream_destroy(s->cbs); in on_failed()
445 s->cbs = nullptr; in on_failed()
470 bidirectional_stream_destroy(s->cbs); in on_canceled()
472 s->cbs = nullptr; in on_canceled()
497 bidirectional_stream_destroy(s->cbs); in on_succeeded()
499 s->cbs = nullptr; in on_succeeded()
527 CRONET_LOG(GPR_DEBUG, "cronet_bidirectional_stream_flush (%p)", s->cbs); in on_stream_ready()
[all …]
/third_party/mindspore/mindspore/lite/src/cxx_api/train/
Dmodel.cc52 std::vector<session::TrainLoopCallBack *> cbs; in Train() local
54 status = impl_->ConvertCallbacks(this, &i_cbs, &cbs, &adapter_cbs); in Train()
61 auto ret = loop->Train(epochs, ds.get(), cbs); in Train()
92 std::vector<session::TrainLoopCallBack *> cbs; in Evaluate() local
94 status = impl_->ConvertCallbacks(this, &i_cbs, &cbs, &adapter_cbs); in Evaluate()
101 auto ret = loop->Eval(ds.get(), cbs); in Evaluate()
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h2117 nghttp2_session_callbacks *cbs, nghttp2_send_callback send_callback);
2128 nghttp2_session_callbacks *cbs, nghttp2_recv_callback recv_callback);
2137 nghttp2_session_callbacks *cbs,
2149 nghttp2_session_callbacks *cbs,
2159 nghttp2_session_callbacks *cbs,
2168 nghttp2_session_callbacks *cbs,
2177 nghttp2_session_callbacks *cbs,
2187 nghttp2_session_callbacks *cbs,
2196 nghttp2_session_callbacks *cbs,
2206 nghttp2_session_callbacks *cbs,
[all …]
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h2153 nghttp2_session_callbacks *cbs, nghttp2_send_callback send_callback);
2164 nghttp2_session_callbacks *cbs, nghttp2_recv_callback recv_callback);
2173 nghttp2_session_callbacks *cbs,
2185 nghttp2_session_callbacks *cbs,
2195 nghttp2_session_callbacks *cbs,
2204 nghttp2_session_callbacks *cbs,
2213 nghttp2_session_callbacks *cbs,
2223 nghttp2_session_callbacks *cbs,
2232 nghttp2_session_callbacks *cbs,
2242 nghttp2_session_callbacks *cbs,
[all …]
/third_party/nghttp2/python/
Dcnghttp2.pxd175 nghttp2_session_callbacks *cbs, nghttp2_send_callback send_callback)
178 nghttp2_session_callbacks *cbs,
182 nghttp2_session_callbacks *cbs,
186 nghttp2_session_callbacks *cbs,
190 nghttp2_session_callbacks *cbs,
194 nghttp2_session_callbacks *cbs,
198 nghttp2_session_callbacks *cbs,
202 nghttp2_session_callbacks *cbs,
206 nghttp2_session_callbacks *cbs,
/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/
Dio_pgetevents01.c41 struct iocb cb, *cbs[1]; in run() local
48 cbs[0] = &cb; in run()
60 ret = io_submit(ctx, 1, cbs); in run()
Dio_pgetevents02.c53 struct iocb cb, *cbs[1]; in setup() local
61 cbs[0] = &cb; in setup()
76 ret = io_submit(ctx, 1, cbs); in setup()
/third_party/musl/compat/time32/
Daio_suspend_time32.c5 int __aio_suspend_time32(const struct aiocb *const cbs[], int cnt, const struct timespec32 *ts32) in __aio_suspend_time32() argument
7 return aio_suspend(cbs, cnt, ts32 ? (&(struct timespec){ in __aio_suspend_time32()
/third_party/mindspore/mindspore/lite/include/train/
Dtrain_loop.h89 …l int Train(int epochs, mindspore::dataset::Dataset *dataset, std::vector<TrainLoopCallBack *> cbs,
100 virtual int Eval(mindspore::dataset::Dataset *dataset, std::vector<TrainLoopCallBack *> cbs,
/third_party/mindspore/tests/ut/cpp/dataset/
Dir_callback_test.cc154 std::vector<std::shared_ptr<DSCallback>> cbs = {}; in TEST_F() local
155 cbs.push_back(cb1); in TEST_F()
156 map_op->AddCallbacks(std::move(cbs)); in TEST_F()
212 std::vector<std::shared_ptr<DSCallback>> cbs = {}; in TEST_F() local
213 cbs.push_back(cb1); in TEST_F()
215 map_op->AddCallbacks(std::move(cbs)); in TEST_F()
/third_party/node/lib/internal/worker/
Dio.js261 const cbs = this[kWritableCallbacks];
263 ArrayPrototypeForEach(cbs, (cb) => cb());
264 if ((this[kPort][kWaitingStreams] -= cbs.length) === 0)
/third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/readable-stream/lib/
D_stream_writable.js360 var cbs = [];
362 cbs.push(state.buffer[c].callback);
368 for (var i = 0; i < cbs.length; i++) {
370 cbs[i](err);

12