Home
last modified time | relevance | path

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

12

/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/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/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/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.c9 int aio_suspend(const struct aiocb *const cbs[], int cnt, const struct timespec *ts) in aio_suspend() argument
25 for (i=0; i<cnt; i++) if (cbs[i]) { in aio_suspend()
26 if (aio_error(cbs[i]) != EINPROGRESS) return 0; in aio_suspend()
28 cb = cbs[i]; in aio_suspend()
42 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
61 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.c8 int aio_suspend(const struct aiocb *const cbs[], int cnt, const struct timespec *ts) in aio_suspend() argument
23 for (i=0; i<cnt; i++) if (cbs[i]) { in aio_suspend()
24 if (aio_error(cbs[i]) != EINPROGRESS) return 0; in aio_suspend()
26 cb = cbs[i]; in aio_suspend()
40 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
59 if (cbs[i] && aio_error(cbs[i]) != EINPROGRESS) in aio_suspend()
/third_party/fsverity-utils/lib/
Dcompute_digest.c52 static int report_merkle_tree_size(const struct libfsverity_metadata_callbacks *cbs, in report_merkle_tree_size() argument
55 if (cbs && cbs->merkle_tree_size) { in report_merkle_tree_size()
56 int err = cbs->merkle_tree_size(cbs->ctx, size); in report_merkle_tree_size()
66 static int report_merkle_tree_block(const struct libfsverity_metadata_callbacks *cbs, in report_merkle_tree_block() argument
71 if (cbs && cbs->merkle_tree_block) { in report_merkle_tree_block()
72 int err = cbs->merkle_tree_block(cbs->ctx, block->data, in report_merkle_tree_block()
85 static int report_descriptor(const struct libfsverity_metadata_callbacks *cbs, in report_descriptor() argument
88 if (cbs && cbs->descriptor) { in report_descriptor()
89 int err = cbs->descriptor(cbs->ctx, descriptor, size); in report_descriptor()
/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/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/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)
DREADME.md32 // when it dings, all cbs get called
/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.h2160 nghttp2_session_callbacks *cbs, nghttp2_send_callback send_callback);
2171 nghttp2_session_callbacks *cbs, nghttp2_recv_callback recv_callback);
2180 nghttp2_session_callbacks *cbs,
2192 nghttp2_session_callbacks *cbs,
2202 nghttp2_session_callbacks *cbs,
2211 nghttp2_session_callbacks *cbs,
2220 nghttp2_session_callbacks *cbs,
2230 nghttp2_session_callbacks *cbs,
2239 nghttp2_session_callbacks *cbs,
2249 nghttp2_session_callbacks *cbs,
[all …]
/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/fsverity-utils/programs/
Dfsverity.c242 const struct libfsverity_metadata_callbacks **cbs) in parse_out_metadata_option() argument
248 if (*cbs) { in parse_out_metadata_option()
249 ctx = (*cbs)->ctx; in parse_out_metadata_option()
255 *cbs = &ctx->callbacks; in parse_out_metadata_option()
/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);
/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/ffmpeg/libavcodec/
Dsipr16k.c53 static void dequant(float *out, const int *idx, const float * const cbs[]) in dequant() argument
58 memcpy(out + 3*i, cbs[i] + 3*idx[i], 3*sizeof(float)); in dequant()
60 memcpy(out + 12, cbs[4] + 4*idx[4], 4*sizeof(float)); in dequant()
Dsipr.c142 static void dequant(float *out, const int *idx, const float * const cbs[]) in dequant() argument
149 memcpy(out + stride*i, cbs[i] + stride*idx[i], stride*sizeof(float)); in dequant()
/third_party/node/deps/npm/node_modules/jsbn/
Dindex.js259 var cbs = this.DB-bs;
260 var bm = (1<<cbs)-1;
263 r[i+ds+1] = (this[i]>>cbs)|c;
279 var cbs = this.DB-bs;
283 r[i-ds-1] |= (this[i]&bm)<<cbs;
286 if(bs > 0) r[this.t-ds-1] |= (this.s&bm)<<cbs;
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/
Dasciidoctor-chunker.js4cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.l…
/third_party/typescript/src/harness/
DvirtualFileSystemWithWatch.ts118 const cbs = callbacks.slice(); constant
119 for (const cb of cbs) {

12