/third_party/ffmpeg/libavcodec/ |
D | aaccoder_trellis.h | 63 int w, swb, cb, start, size; in codebook_trellis_rate() local 75 for (cb = 0; cb < CB_TOT_ALL; cb++) { in codebook_trellis_rate() 76 path[0][cb].cost = run_bits+4; in codebook_trellis_rate() 77 path[0][cb].prev_idx = -1; in codebook_trellis_rate() 78 path[0][cb].run = 0; in codebook_trellis_rate() 99 for (cb = 1; cb < CB_TOT_ALL; cb++) { in codebook_trellis_rate() 100 path[swb+1][cb].cost = 61450; in codebook_trellis_rate() 101 path[swb+1][cb].prev_idx = -1; in codebook_trellis_rate() 102 path[swb+1][cb].run = 0; in codebook_trellis_rate() 111 for (cb = 0; cb < startcb; cb++) { in codebook_trellis_rate() [all …]
|
/third_party/openssl/crypto/bio/ |
D | ossl_core_bio.c | 26 OSSL_CORE_BIO *cb = OPENSSL_malloc(sizeof(*cb)); in core_bio_new() local 28 if (cb == NULL || (cb->ref_lock = CRYPTO_THREAD_lock_new()) == NULL) { in core_bio_new() 29 OPENSSL_free(cb); in core_bio_new() 32 cb->ref_cnt = 1; in core_bio_new() 33 return cb; in core_bio_new() 36 int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb) in ossl_core_bio_up_ref() argument 40 return CRYPTO_UP_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_up_ref() 43 int ossl_core_bio_free(OSSL_CORE_BIO *cb) in ossl_core_bio_free() argument 47 if (cb != NULL) { in ossl_core_bio_free() 48 CRYPTO_DOWN_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_free() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
D | ossl_core_bio.c | 26 OSSL_CORE_BIO *cb = OPENSSL_malloc(sizeof(*cb)); in core_bio_new() local 28 if (cb == NULL || (cb->ref_lock = CRYPTO_THREAD_lock_new()) == NULL) { in core_bio_new() 29 OPENSSL_free(cb); in core_bio_new() 32 cb->ref_cnt = 1; in core_bio_new() 33 return cb; in core_bio_new() 36 int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb) in ossl_core_bio_up_ref() argument 40 return CRYPTO_UP_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_up_ref() 43 int ossl_core_bio_free(OSSL_CORE_BIO *cb) in ossl_core_bio_free() argument 47 if (cb != NULL) { in ossl_core_bio_free() 48 CRYPTO_DOWN_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_free() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | genericCallWithFunctionTypedArguments5.types | 4 function foo<T, U>(arg: { cb: (t: T) => U }) { 5 >foo : <T, U>(arg: { cb: (t: T) => U; }) => U 6 >arg : { cb: (t: T) => U; } 7 >cb : (t: T) => U 10 return arg.cb(null); 11 >arg.cb(null) : U 12 >arg.cb : (t: T) => U 13 >arg : { cb: (t: T) => U; } 14 >cb : (t: T) => U 18 var arg = { cb: <T>(x: T) => '' }; [all …]
|
D | overloadOnConstNoAnyImplementation.types | 2 function x1(a: number, cb: (x: 'hi') => number); 3 >x1 : { (a: number, cb: (x: 'hi') => number): any; (a: number, cb: (x: "bye") => number): any; } 5 >cb : (x: 'hi') => number 8 function x1(a: number, cb: (x: 'bye') => number); 9 >x1 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: 'bye') => number): any; } 11 >cb : (x: 'bye') => number 14 function x1(a: number, cb: (x: string) => number) { 15 >x1 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: "bye") => number): any; } 17 >cb : (x: string) => number 20 cb('hi'); [all …]
|
D | overloadOnConstNoStringImplementation.types | 2 function x2(a: number, cb: (x: 'hi') => number); 3 >x2 : { (a: number, cb: (x: 'hi') => number): any; (a: number, cb: (x: "bye") => number): any; } 5 >cb : (x: 'hi') => number 8 function x2(a: number, cb: (x: 'bye') => number); 9 >x2 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: 'bye') => number): any; } 11 >cb : (x: 'bye') => number 14 function x2(a: number, cb: (x: any) => number) { 15 >x2 : { (a: number, cb: (x: "hi") => number): any; (a: number, cb: (x: "bye") => number): any; } 17 >cb : (x: any) => number 20 cb('hi'); [all …]
|
D | genericCallWithConstructorTypedArguments5.types | 4 function foo<T, U>(arg: { cb: new(t: T) => U }) { 5 >foo : <T, U>(arg: { cb: new (t: T) => U; }) => U 6 >arg : { cb: new (t: T) => U; } 7 >cb : new (t: T) => U 10 return new arg.cb(null); 11 >new arg.cb(null) : U 12 >arg.cb : new (t: T) => U 13 >arg : { cb: new (t: T) => U; } 14 >cb : new (t: T) => U 18 var arg: { cb: new<T>(x: T) => string }; [all …]
|
D | overloadOnConstNoAnyImplementation.symbols | 2 function x1(a: number, cb: (x: 'hi') => number); 5 >cb : Symbol(cb, Decl(overloadOnConstNoAnyImplementation.ts, 0, 22)) 8 function x1(a: number, cb: (x: 'bye') => number); 11 >cb : Symbol(cb, Decl(overloadOnConstNoAnyImplementation.ts, 1, 22)) 14 function x1(a: number, cb: (x: string) => number) { 17 >cb : Symbol(cb, Decl(overloadOnConstNoAnyImplementation.ts, 2, 22)) 20 cb('hi'); 21 >cb : Symbol(cb, Decl(overloadOnConstNoAnyImplementation.ts, 2, 22)) 23 cb('bye'); 24 >cb : Symbol(cb, Decl(overloadOnConstNoAnyImplementation.ts, 2, 22)) [all …]
|
D | overloadOnConstNoStringImplementation.symbols | 2 function x2(a: number, cb: (x: 'hi') => number); 5 >cb : Symbol(cb, Decl(overloadOnConstNoStringImplementation.ts, 0, 22)) 8 function x2(a: number, cb: (x: 'bye') => number); 11 >cb : Symbol(cb, Decl(overloadOnConstNoStringImplementation.ts, 1, 22)) 14 function x2(a: number, cb: (x: any) => number) { 17 >cb : Symbol(cb, Decl(overloadOnConstNoStringImplementation.ts, 2, 22)) 20 cb('hi'); 21 >cb : Symbol(cb, Decl(overloadOnConstNoStringImplementation.ts, 2, 22)) 23 cb('bye'); 24 >cb : Symbol(cb, Decl(overloadOnConstNoStringImplementation.ts, 2, 22)) [all …]
|
D | overloadOnConstNoStringImplementation.js | 2 function x2(a: number, cb: (x: 'hi') => number); 3 function x2(a: number, cb: (x: 'bye') => number); 4 function x2(a: number, cb: (x: any) => number) { 5 cb('hi'); 6 cb('bye'); 8 cb(hm); // should this work without a string definition? 9 cb('uh'); 10 cb(1); 13 var cb: (number) => number = (x: number) => 1; function 14 x2(1, cb); // error [all …]
|
D | overloadOnConstNoAnyImplementation.js | 2 function x1(a: number, cb: (x: 'hi') => number); 3 function x1(a: number, cb: (x: 'bye') => number); 4 function x1(a: number, cb: (x: string) => number) { 5 cb('hi'); 6 cb('bye'); 8 cb(hm); 9 cb('uh'); 10 cb(1); // error 13 var cb: (number) => number = (x: number) => 1; function 14 x1(1, cb); [all …]
|
D | genericCallWithFunctionTypedArguments5.js | 4 function foo<T, U>(arg: { cb: (t: T) => U }) { 5 return arg.cb(null); 8 var arg = { cb: <T>(x: T) => '' }; 11 var r2 = foo({ cb: <T>(x: T, y: T) => '' }); // error 12 var r3 = foo({ cb: (x: string, y: number) => '' }); // error 14 function foo2<T, U>(arg: { cb: (t: T, t2: T) => U }) { 15 return arg.cb(null, null); 20 var r5 = foo({ cb: <T>(x: T) => '' }); // {} 21 var r6 = foo({ cb: (x: string) => '' }); // string 22 var r7 = foo({ cb: () => '' }); // string [all …]
|
D | subtypingWithCallSignatures.types | 5 declare function foo1(cb: (x: number) => void): typeof cb; 6 >foo1 : { (cb: (x: number) => void): (x: number) => void; (cb: any): any; } 7 >cb : (x: number) => void 9 >cb : (x: number) => void 11 declare function foo1(cb: any): any; 12 >foo1 : { (cb: (x: number) => void): (x: number) => void; (cb: any): any; } 13 >cb : any 18 >foo1 : { (cb: (x: number) => void): (x: number) => void; (cb: any): any; } 26 >foo1 : { (cb: (x: number) => void): (x: number) => void; (cb: any): any; } 31 declare function foo2(cb: (x: number, y: number) => void): typeof cb; [all …]
|
D | genericCallToOverloadedMethodWithOverloadedArguments.types | 6 then<U>(cb: (x: T) => Promise<U>): Promise<U>; 7 >then : <U>(cb: (x: T) => Promise<U>) => Promise<U> 8 >cb : (x: T) => Promise<U> 22 >numPromise.then : <U>(cb: (x: number) => Promise<U>) => Promise<U> 24 >then : <U>(cb: (x: number) => Promise<U>) => Promise<U> 34 then<U>(cb: (x: T) => Promise<U>): Promise<U>; 35 >then : <U>(cb: (x: T) => Promise<U>) => Promise<U> 36 >cb : (x: T) => Promise<U> 54 >numPromise.then : <U>(cb: (x: number) => Promise<U>) => Promise<U> 56 >then : <U>(cb: (x: number) => Promise<U>) => Promise<U> [all …]
|
/third_party/node/deps/npm/node_modules/read-package-json/lib/ |
D | read-json.js | 31 var log, strict, cb 43 cb = arguments[arguments.length - 1] 45 readJson_(file, log, strict, cb) 48 function readJson_ (file, log, strict, cb) { argument 50 parseJson(file, er, d, log, strict, cb) 84 function parseJson (file, er, d, log, strict, cb) { argument 91 return cb(er) 93 return indexjs(file, er, log, strict, cb) 98 return cb(er) 102 return cb(null, jsonClone(cache[d])) [all …]
|
/third_party/libffi/src/riscv/ |
D | ffi.c | 100 static float_struct_info struct_passed_as_elements(call_builder *cb, ffi_type *top) { in struct_passed_as_elements() argument 116 if (cb->used_float + num_floats > NARGREG || cb->used_integer + (2 - num_floats) > NARGREG) in struct_passed_as_elements() 132 static void marshal_atom(call_builder *cb, int type, void *data) { in marshal_atom() argument 153 asm("" : "=f"(cb->aregs->fa[cb->used_float++]) : "0"(*(float *)data)); in marshal_atom() 158 asm("" : "=f"(cb->aregs->fa[cb->used_float++]) : "0"(*(double *)data)); in marshal_atom() 164 if (cb->used_integer == NARGREG) { in marshal_atom() 165 *cb->used_stack++ = value; in marshal_atom() 167 cb->aregs->a[cb->used_integer++] = value; in marshal_atom() 171 static void unmarshal_atom(call_builder *cb, int type, void *data) { in unmarshal_atom() argument 176 asm("" : "=f"(*(float *)data) : "0"(cb->aregs->fa[cb->used_float++])); in unmarshal_atom() [all …]
|
/third_party/protobuf/js/ |
D | gulpfile.js | 5 function exec(command, cb) { argument 6 execFile('sh', ['-c', command], cb); 56 gulp.task('genproto_well_known_types_closure', function (cb) { argument 61 cb(err); 65 gulp.task('genproto_group1_closure', function (cb) { argument 70 cb(err); 74 gulp.task('genproto_group2_closure', function (cb) { argument 79 cb(err); 83 gulp.task('genproto_well_known_types_commonjs', function (cb) { argument 88 cb(err); [all …]
|
/third_party/node/test/parallel/ |
D | test-stream-writable-destroy.js | 9 write(chunk, enc, cb) { cb(); } argument 21 write(chunk, enc, cb) { argument 23 cb(); 35 write(chunk, enc, cb) { cb(); } argument 52 write(chunk, enc, cb) { cb(); } argument 55 write._destroy = function(err, cb) { argument 57 cb(err); 74 write(chunk, enc, cb) { cb(); }, argument 75 destroy: common.mustCall(function(err, cb) { argument 77 cb(); [all …]
|
D | test-stream-duplex-destroy.js | 9 write(chunk, enc, cb) { cb(); }, argument 25 write(chunk, enc, cb) { cb(); }, argument 44 write(chunk, enc, cb) { cb(); }, argument 48 duplex._destroy = common.mustCall(function(err, cb) { argument 50 cb(err); 67 write(chunk, enc, cb) { cb(); }, argument 69 destroy: common.mustCall(function(err, cb) { argument 71 cb(); 89 write(chunk, enc, cb) { cb(); }, argument 93 duplex._destroy = common.mustCall(function(err, cb) { argument [all …]
|
/third_party/node/deps/npm/node_modules/rimraf/node_modules/glob/ |
D | glob.js | 62 function glob (pattern, options, cb) { argument 63 if (typeof options === 'function') cb = options, options = {} 67 if (cb) 72 return new Glob(pattern, options, cb) 117 function Glob (pattern, options, cb) { argument 119 cb = options 124 if (cb) 130 return new Glob(pattern, options, cb) 144 if (typeof cb === 'function') { 145 cb = once(cb) [all …]
|
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/glob/ |
D | glob.js | 62 function glob (pattern, options, cb) { argument 63 if (typeof options === 'function') cb = options, options = {} 67 if (cb) 72 return new Glob(pattern, options, cb) 117 function Glob (pattern, options, cb) { argument 119 cb = options 124 if (cb) 130 return new Glob(pattern, options, cb) 144 if (typeof cb === 'function') { 145 cb = once(cb) [all …]
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-event-loop/ |
D | BoundCallback.h | 29 BoundCallback(Callback<R(A0)> cb, A0 a0) : a0(a0), cb(cb) { } in BoundCallback() argument 32 cb(a0); in call() 36 Callback<void()> cb(this, &BoundCallback::call); 37 return cb; 42 Callback<R(A0)> cb; variable 48 BoundCallback(Callback<R(A0, A1)> cb, A0 a0, A1 a1) : a0(a0), a1(a1), cb(cb) { } in BoundCallback() argument 51 cb(a0, a1); in call() 55 Callback<void()> cb(this, &BoundCallback::call); 56 return cb; 63 Callback<R(A0, A1)> cb; variable [all …]
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
D | graceful-fs.js | 53 function close (fd, cb) { argument 60 if (typeof cb === 'function') 61 cb.apply(this, arguments) 111 function readFile (path, options, cb) { argument 113 cb = options, options = null 115 return go$readFile(path, options, cb) 117 function go$readFile (path, options, cb, startTime) { argument 120 enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()]) 122 if (typeof cb === 'function') 123 cb.apply(this, arguments) [all …]
|
/third_party/pulseaudio/src/pulse/ |
D | introspect.h | 298 …ntext_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t cb, void *userdata); 301 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t idx, pa_sink_info_cb_t cb, … 304 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata); 307 …pa_context *c, uint32_t idx, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 310 …ontext *c, const char *name, const pa_cvolume *volume, pa_context_success_cb_t cb, void *userdata); 313 …k_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_success_cb_t cb, void *userdata); 316 …ute_by_name(pa_context *c, const char *name, int mute, pa_context_success_cb_t cb, void *userdata); 319 …ame(pa_context *c, const char *sink_name, int suspend, pa_context_success_cb_t cb, void* userdata); 322 …nk_by_index(pa_context *c, uint32_t idx, int suspend, pa_context_success_cb_t cb, void* userdata); 325 …by_index(pa_context *c, uint32_t idx, const char*port, pa_context_success_cb_t cb, void *userdata); [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_inline_helpers.h | 5 _nir_foreach_dest(nir_instr *instr, nir_foreach_dest_cb cb, void *state) in _nir_foreach_dest() argument 9 return cb(&nir_instr_as_alu(instr)->dest.dest, state); in _nir_foreach_dest() 11 return cb(&nir_instr_as_deref(instr)->dest, state); in _nir_foreach_dest() 15 return cb(&intrin->dest, state); in _nir_foreach_dest() 19 return cb(&nir_instr_as_tex(instr)->dest, state); in _nir_foreach_dest() 21 return cb(&nir_instr_as_phi(instr)->dest, state); in _nir_foreach_dest() 24 if (!cb(&entry->dest, state)) in _nir_foreach_dest() 45 _nir_visit_src(nir_src *src, nir_foreach_src_cb cb, void *state) in _nir_visit_src() argument 47 if (!cb(src, state)) in _nir_visit_src() 50 return cb(src->reg.indirect, state); in _nir_visit_src() [all …]
|