/third_party/mesa3d/src/intel/compiler/ |
H A D | test_vec4_register_coalesce.cpp | 39 void *ctx; member in register_coalesce_vec4_test 94 ctx = ralloc_context(NULL); in SetUp() 95 compiler = rzalloc(ctx, struct brw_compiler); in SetUp() 96 devinfo = rzalloc(ctx, struct intel_device_info); in SetUp() 99 prog_data = ralloc(ctx, struct brw_vue_prog_data); in SetUp() 102 nir_shader_create(ctx, MESA_SHADER_VERTEX, NULL, NULL); in SetUp() 104 v = new register_coalesce_vec4_visitor(compiler, ctx, shader, prog_data); in SetUp() 115 ralloc_free(ctx); in TearDown() 116 ctx = NULL; in TearDown()
|
/third_party/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | aiocp.c | 99 static void async_write_done(LTP_ATTRIBUTE_UNUSED io_context_t ctx, struct iocb *iocb, long res, long res2) in async_write_done() argument 121 static void async_copy(io_context_t ctx, struct iocb *iocb, long res, long res2) in async_copy() argument 137 w = io_submit(ctx, 1, &iocb); in async_copy() 142 static void io_wait_run(io_context_t ctx, struct timespec *to) in io_wait_run() argument 148 n = io_getevents(ctx, 1, aionum, events, to); in io_wait_run() 156 cb(ctx, iocb, ep->res, ep->res2); in io_wait_run() 160 static void async_run(io_context_t ctx, int fd, io_callback_t cb) in async_run() argument 191 rc = io_submit(ctx, i, ioq); in async_run() 198 io_wait_run(ctx, 0); in async_run()
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedInputStream.cs | 439 ParseContext.Initialize(ref span, ref state, out ParseContext ctx);
in ReadMessage() 442 ParsingPrimitivesMessages.ReadMessage(ref ctx, builder);
in ReadMessage() 446 ctx.CopyStateTo(this);
in ReadMessage() 455 ParseContext.Initialize(this, out ParseContext ctx);
in ReadGroup() 458 ParsingPrimitivesMessages.ReadGroup(ref ctx, builder);
in ReadGroup() 462 ctx.CopyStateTo(this);
in ReadGroup() 687 ParseContext.Initialize(this, out ParseContext ctx);
in ReadRawMessage() 690 ParsingPrimitivesMessages.ReadRawMessage(ref ctx, message);
in ReadRawMessage() 694 ctx.CopyStateTo(this);
in ReadRawMessage()
|
H A D | CodedOutputStream.cs | 269 WriteContext.Initialize(ref span, ref state, out WriteContext ctx);
in WriteMessage() 272 WritingPrimitivesMessages.WriteMessage(ref ctx, value);
in WriteMessage() 276 ctx.CopyStateTo(this);
in WriteMessage() 291 WriteContext.Initialize(ref span, ref state, out WriteContext ctx);
in WriteRawMessage() 294 WritingPrimitivesMessages.WriteRawMessage(ref ctx, value);
in WriteRawMessage() 298 ctx.CopyStateTo(this);
in WriteRawMessage() 309 WriteContext.Initialize(ref span, ref state, out WriteContext ctx);
in WriteGroup() 312 WritingPrimitivesMessages.WriteGroup(ref ctx, value);
in WriteGroup() 316 ctx.CopyStateTo(this);
in WriteGroup()
|
/third_party/skia/src/core/ |
H A D | SkDraw_atlas.cpp | 43 static void load_color(SkRasterPipeline_UniformColorCtx* ctx, const float rgba[]) { in load_color() argument 45 ctx->rgba[0] = SkScalarRoundToInt(rgba[0]*255); ctx->r = rgba[0]; in load_color() 46 ctx->rgba[1] = SkScalarRoundToInt(rgba[1]*255); ctx->g = rgba[1]; in load_color() 47 ctx->rgba[2] = SkScalarRoundToInt(rgba[2]*255); ctx->b = rgba[2]; in load_color() 48 ctx->rgba[3] = SkScalarRoundToInt(rgba[3]*255); ctx->a = rgba[3]; in load_color() 142 // we will late-bind the values in ctx, onc in drawAtlas() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto.h | 123 * @ctx: Context pointer from aes_encrypt_init() 128 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 132 * @ctx: Context pointer from aes_encrypt_init() 134 void aes_encrypt_deinit(void *ctx); 146 * @ctx: Context pointer from aes_encrypt_init() 151 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 155 * @ctx: Context pointer from aes_encrypt_init() 157 void aes_decrypt_deinit(void *ctx); 186 * @ctx: Context pointer from crypto_hash_init() 194 void crypto_hash_update(struct crypto_hash *ctx, cons [all...] |
/third_party/python/Modules/_decimal/ |
H A D | _decimal.c | 85 mpd_context_t ctx; member 112 #define CTX(v) (&((PyDecContextObject *)v)->ctx) 285 dec_traphandler(mpd_context_t *ctx UNUSED) /* GCOV_NOT_REACHED */ in dec_traphandler() 485 mpd_context_t *ctx = CTX(context); in dec_addstatus() local 487 ctx->status |= status; in dec_addstatus() 488 if (status & (ctx->traps|MPD_Malloc_error)) { in dec_addstatus() 496 ex = flags_as_exception(ctx->traps&status); in dec_addstatus() 500 siglist = flags_as_list(ctx->traps&status); in dec_addstatus() 790 mpd_context_t *ctx; in context_setprec() local 798 ctx in context_setprec() 810 mpd_context_t *ctx; context_setemin() local 830 mpd_context_t *ctx; context_setemax() local 851 mpd_context_t *ctx = CTX(self); context_unsafe_setprec() local 871 mpd_context_t *ctx = CTX(self); context_unsafe_setemin() local 891 mpd_context_t *ctx = CTX(self); context_unsafe_setemax() local 912 mpd_context_t *ctx; context_setround() local 951 mpd_context_t *ctx; context_settraps() local 971 mpd_context_t *ctx; context_settraps_list() local 990 mpd_context_t *ctx; context_settraps_dict() local 1015 mpd_context_t *ctx; context_setstatus() local 1035 mpd_context_t *ctx; context_setstatus_list() local 1054 mpd_context_t *ctx; context_setstatus_dict() local 1078 mpd_context_t *ctx; context_setclamp() local 1099 mpd_context_t *ctx; context_setallcr() local 1247 mpd_context_t *ctx; context_new() local 1340 mpd_context_t *ctx; context_repr() local 1369 mpd_context_t ctx = dflt_ctx; init_basic_context() local 1382 mpd_context_t ctx = dflt_ctx; init_extended_context() local 1398 mpd_context_t ctx; ieee_context() local 1451 mpd_context_t *ctx; context_reduce() local 2153 dec_from_long(PyTypeObject *type, const PyObject *v, const mpd_context_t *ctx, uint32_t *status) dec_from_long() argument 2184 mpd_qfinalize(MPD(dec), ctx, status); dec_from_long() local 2190 ctx, status); dec_from_long() local 2193 ctx, status); dec_from_long() local 2783 mpd_context_t *ctx = CTX(context); PyDec_FromObject() local 3039 mpd_context_t *ctx = CTX(context); convert_op_cmp() local 3226 _mpd_round(mpd_t *result, const mpd_t *a, mpd_ssize_t prec, const mpd_context_t *ctx, uint32_t *status) _mpd_round() argument [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_hd.c | 705 rv = hd_context_init(&deflater->ctx, mem); in nghttp2_hd_deflate_init2() 714 deflater->ctx.hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2() 728 rv = hd_context_init(&inflater->ctx, mem); in nghttp2_hd_inflate_init() 770 hd_context_free(&deflater->ctx); in nghttp2_hd_deflate_free() 779 hd_context_free(&inflater->ctx); in nghttp2_hd_inflate_free() 1250 deflater->ctx.hd_table_bufsize_max = next_bufsize; in nghttp2_hd_deflate_change_table_size() 1257 hd_context_shrink_table_size(&deflater->ctx, &deflater->map); in nghttp2_hd_deflate_change_table_size() 1280 if (inflater->ctx.hd_table_bufsize_max > settings_max_dynamic_table_size) { in nghttp2_hd_inflate_change_table_size() 1286 inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size; in nghttp2_hd_inflate_change_table_size() 1288 hd_context_shrink_table_size(&inflater->ctx, NUL in nghttp2_hd_inflate_change_table_size() [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_hd.c | 705 rv = hd_context_init(&deflater->ctx, mem); in nghttp2_hd_deflate_init2() 714 deflater->ctx.hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2() 728 rv = hd_context_init(&inflater->ctx, mem); in nghttp2_hd_inflate_init() 770 hd_context_free(&deflater->ctx); in nghttp2_hd_deflate_free() 779 hd_context_free(&inflater->ctx); in nghttp2_hd_inflate_free() 1250 deflater->ctx.hd_table_bufsize_max = next_bufsize; in nghttp2_hd_deflate_change_table_size() 1257 hd_context_shrink_table_size(&deflater->ctx, &deflater->map); in nghttp2_hd_deflate_change_table_size() 1280 if (inflater->ctx.hd_table_bufsize_max > settings_max_dynamic_table_size) { in nghttp2_hd_inflate_change_table_size() 1286 inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size; in nghttp2_hd_inflate_change_table_size() 1288 hd_context_shrink_table_size(&inflater->ctx, NUL in nghttp2_hd_inflate_change_table_size() [all...] |
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | bi_schedule.c | 321 bi_lower_cubeface(bi_context *ctx, in bi_lower_cubeface() argument 325 bi_builder b = bi_init_builder(ctx, bi_before_instr(pinstr)); in bi_lower_cubeface() 344 bi_lower_atom_c(bi_context *ctx, struct bi_clause_state *clause, struct in bi_lower_atom_c() argument 348 bi_builder b = bi_init_builder(ctx, bi_before_instr(pinstr)); in bi_lower_atom_c() 363 bi_lower_atom_c1(bi_context *ctx, struct bi_clause_state *clause, struct in bi_lower_atom_c1() argument 367 bi_builder b = bi_init_builder(ctx, bi_before_instr(pinstr)); in bi_lower_atom_c1() 384 bi_lower_seg_add(bi_context *ctx, in bi_lower_seg_add() argument 388 bi_builder b = bi_init_builder(ctx, bi_before_instr(pinstr)); in bi_lower_seg_add() 404 bi_lower_dtsel(bi_context *ctx, in bi_lower_dtsel() argument 408 bi_builder b = bi_init_builder(ctx, bi_before_inst in bi_lower_dtsel() 1237 bi_take_instr(bi_context *ctx, struct bi_worklist st, struct bi_clause_state *clause, struct bi_tuple_state *tuple, uint64_t live_after_temp, bool fma) bi_take_instr() argument 1664 bi_schedule_clause(bi_context *ctx, bi_block *block, struct bi_worklist st, uint64_t *live) bi_schedule_clause() argument 1895 bi_schedule_block(bi_context *ctx, bi_block *block) bi_schedule_block() argument 2004 bi_lower_fau(bi_context *ctx) bi_lower_fau() argument 2039 bi_add_nop_for_atest(bi_context *ctx) bi_add_nop_for_atest() argument 2077 bi_schedule(bi_context *ctx) bi_schedule() argument [all...] |
/third_party/ffmpeg/libavcodec/x86/ |
H A D | dnxhdenc_init.c | 31 av_cold void ff_dnxhdenc_init_x86(DNXHDEncContext *ctx) in ff_dnxhdenc_init_x86() argument 34 if (ctx->cid_table->bit_depth == 8) in ff_dnxhdenc_init_x86() 35 ctx->get_pixels_8x4_sym = ff_get_pixels_8x4_sym_sse2; in ff_dnxhdenc_init_x86()
|
/third_party/elfutils/libasm/ |
H A D | asm_getelf.c | 40 asm_getelf (AsmCtx_t *ctx) in asm_getelf() argument 42 return ctx != NULL ? ctx->out.elf : NULL; in asm_getelf()
|
/third_party/elfutils/tests/ |
H A D | asm-tst9.c | 86 AsmCtx_t *ctx; in main() local 104 ctx = asm_begin (fname, ebl, false); in main() 105 if (ctx == NULL) in main() 112 scn = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); in main() 116 asm_abort (ctx); in main() 160 if (asm_end (ctx) != 0) in main() 163 asm_abort (ctx); in main()
|
H A D | asm-tst3.c | 57 AsmCtx_t *ctx; in main() local 76 ctx = asm_begin (fname, ebl, false); in main() 77 if (ctx == NULL) in main() 84 scn1 = asm_newscn (ctx, ".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); in main() 89 asm_abort (ctx); in main() 133 if (asm_end (ctx) != 0) in main() 136 asm_abort (ctx); in main()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_entropy.c | 77 AVFilterContext *ctx = inlink->dst; in config_input() local 78 EntropyContext *s = ctx->priv; in config_input() 104 AVFilterContext *ctx = inlink->dst; in filter_frame() local 105 AVFilterLink *outlink = ctx->outputs[0]; in filter_frame() 106 EntropyContext *s = ctx->priv; in filter_frame() 163 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument 165 EntropyContext *s = ctx->priv; in uninit()
|
/third_party/ffmpeg/libavutil/ |
H A D | hmac.c | 35 typedef void (*hmac_final)(void *ctx, uint8_t *dst); 36 typedef void (*hmac_update)(void *ctx, const uint8_t *src, size_t len); 37 typedef void (*hmac_init)(void *ctx); 50 static av_cold void sha ## bits ##_init(void *ctx) \ 52 av_sha_init(ctx, bits); \ 56 static av_cold void sha ## bits ##_init(void *ctx) \ 58 av_sha512_init(ctx, bits); \
|
/third_party/libwebsockets/lib/jose/jwk/ |
H A D | jwk.c | 192 struct lws_genrsa_ctx ctx; in lws_jwk_generate() local 195 n = lws_genrsa_new_keypair(context, &ctx, LGRSAM_PKCS1_1_5, in lws_jwk_generate() 197 lws_genrsa_destroy(&ctx); in lws_jwk_generate() 218 struct lws_genec_ctx ctx; in lws_jwk_generate() local 226 if (lws_genecdsa_create(&ctx, context, NULL)) in lws_jwk_generate() 232 n = lws_genecdsa_new_keypair(&ctx, curve, jwk->e); in lws_jwk_generate() 233 lws_genec_destroy(&ctx); in lws_jwk_generate()
|
/third_party/mbedtls/include/psa/ |
H A D | crypto_struct.h | 81 psa_driver_hash_context_t MBEDTLS_PRIVATE(ctx); 112 psa_driver_cipher_context_t MBEDTLS_PRIVATE(ctx); 144 psa_driver_mac_context_t MBEDTLS_PRIVATE(ctx); 183 psa_driver_aead_context_t MBEDTLS_PRIVATE(ctx); 209 psa_driver_key_derivation_context_t MBEDTLS_PRIVATE(ctx); 436 psa_driver_sign_hash_interruptible_context_t MBEDTLS_PRIVATE(ctx); 474 psa_driver_verify_hash_interruptible_context_t MBEDTLS_PRIVATE(ctx);
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_disk_cache.c | 78 struct mesa_sha1 ctx; in ir3_disk_cache_init_shader_key() local 80 _mesa_sha1_init(&ctx); in ir3_disk_cache_init_shader_key() 90 _mesa_sha1_update(&ctx, blob.data, blob.size); in ir3_disk_cache_init_shader_key() 93 _mesa_sha1_update(&ctx, &shader->api_wavesize, in ir3_disk_cache_init_shader_key() 95 _mesa_sha1_update(&ctx, &shader->real_wavesize, in ir3_disk_cache_init_shader_key() 101 _mesa_sha1_update(&ctx, &shader->stream_output, in ir3_disk_cache_init_shader_key() 104 _mesa_sha1_final(&ctx, shader->cache_key); in ir3_disk_cache_init_shader_key()
|
/third_party/mesa3d/src/intel/perf/ |
H A D | intel_perf.h | 394 void *(*bo_map)(void *ctx, void *bo, unsigned flags); 399 void (*emit_stall_at_pixel_scoreboard)(void *ctx); 400 void (*emit_mi_report_perf_count)(void *ctx, 404 void (*batchbuffer_flush)(void *ctx, 406 void (*store_register_mem)(void *ctx, void *bo, uint32_t reg, uint32_t reg_size, uint32_t offset); 529 intel_perf_new(void *ctx) in intel_perf_new() argument 531 struct intel_perf_config *perf = rzalloc(ctx, struct intel_perf_config); in intel_perf_new()
|
/third_party/node/deps/v8/src/extensions/ |
H A D | gc-extension.cc | 30 Maybe<bool> IsProperty(v8::Isolate* isolate, v8::Local<v8::Context> ctx, in IsProperty() argument 36 auto maybe_property = object->Get(ctx, k); in IsProperty() 52 auto ctx = isolate->GetCurrentContext(); in Parse() local 54 auto maybe_type = IsProperty(isolate, ctx, param, "type", "minor"); in Parse() 62 IsProperty(isolate, ctx, param, "execution", "async"); in Parse() 124 auto ctx = Local<v8::Context>::New(isolate_, ctx_); variable 125 resolver->Resolve(ctx, v8::Undefined(isolate_)).ToChecked();
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_emit.h | 89 struct fd_context *ctx; member 126 emit->ctx->shader_cache, &emit->key, &emit->ctx->debug); in fd6_emit_get_prog() 162 struct fd6_context *fd6_ctx = fd6_context(batch->ctx); in fd6_event_write() 182 struct fd6_context *fd6_ctx = fd6_context(batch->ctx); in fd6_cache_flush() 281 bool fd6_emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring, 289 void fd6_emit_cs_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_pipe_control.c | 353 iris_texture_barrier(struct pipe_context *ctx, unsigned flags) in iris_texture_barrier() argument 355 struct iris_context *ice = (void *) ctx; in iris_texture_barrier() 383 iris_memory_barrier(struct pipe_context *ctx, unsigned flags) in iris_memory_barrier() argument 385 struct iris_context *ice = (void *) ctx; in iris_memory_barrier() 414 iris_init_flush_functions(struct pipe_context *ctx) in iris_init_flush_functions() argument 416 ctx->memory_barrier = iris_memory_barrier; in iris_init_flush_functions() 417 ctx->texture_barrier = iris_texture_barrier; in iris_init_flush_functions()
|
/third_party/node/deps/openssl/openssl/crypto/property/ |
H A D | property_parse.c | 55 static int parse_name(OSSL_LIB_CTX *ctx, const char *t[], int create, in parse_name() argument 91 *idx = ossl_property_name(ctx, name, user_name && create); in parse_name() 192 static int parse_string(OSSL_LIB_CTX *ctx, const char *t[], char delim, in parse_string() argument 216 res->v.str_val = ossl_property_value(ctx, v, create); in parse_string() 223 static int parse_unquoted(OSSL_LIB_CTX *ctx, const char *t[], in parse_unquoted() argument 248 else if ((res->v.str_val = ossl_property_value(ctx, v, create)) == 0) in parse_unquoted() 255 static int parse_value(OSSL_LIB_CTX *ctx, const char *t[], in parse_value() argument 263 r = parse_string(ctx, &s, s[-1], res, create); in parse_value() 280 return parse_unquoted(ctx, t, res, create); in parse_value() 311 stack_to_property_list(OSSL_LIB_CTX *ctx, in stack_to_property_list() argument 344 ossl_parse_property(OSSL_LIB_CTX *ctx, const char *defn) ossl_parse_property() argument 403 ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s, int create_values) ossl_parse_query() argument 574 ossl_property_parse_init(OSSL_LIB_CTX *ctx) ossl_property_parse_init() argument 697 ossl_property_list_to_string(OSSL_LIB_CTX *ctx, const OSSL_PROPERTY_LIST *list, char *buf, size_t bufsize) ossl_property_list_to_string() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_sqr.c | 17 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) in BN_sqr() argument 19 int ret = bn_sqr_fixed_top(r, a, ctx); in BN_sqr() 27 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) in bn_sqr_fixed_top() argument 42 BN_CTX_start(ctx); in bn_sqr_fixed_top() 43 rr = (a != r) ? r : BN_CTX_get(ctx); in bn_sqr_fixed_top() 44 tmp = BN_CTX_get(ctx); in bn_sqr_fixed_top() 104 BN_CTX_end(ctx); in bn_sqr_fixed_top()
|