Home
last modified time | relevance | path

Searched refs:ctx (Results 4226 - 4250 of 13206) sorted by relevance

1...<<161162163164165166167168169170>>...529

/third_party/ffmpeg/libavformat/
H A Drtpdec_jpeg.c214 static int jpeg_parse_packet(AVFormatContext *ctx, PayloadContext *jpeg, in jpeg_parse_packet() argument
226 av_log(ctx, AV_LOG_ERROR, "Too short RTP/JPEG packet.\n"); in jpeg_parse_packet()
241 av_log(ctx, AV_LOG_ERROR, "Too short RTP/JPEG packet.\n"); in jpeg_parse_packet()
250 avpriv_report_missing_feature(ctx, "RTP/JPEG type %"PRIu8, type); in jpeg_parse_packet()
263 av_log(ctx, AV_LOG_ERROR, "Too short RTP/JPEG packet.\n"); in jpeg_parse_packet()
274 av_log(ctx, AV_LOG_WARNING, "Only 8-bit precision is supported.\n"); in jpeg_parse_packet()
278 av_log(ctx, AV_LOG_ERROR, "Too short RTP/JPEG packet.\n"); in jpeg_parse_packet()
288 av_log(ctx, AV_LOG_WARNING, in jpeg_parse_packet()
298 av_log(ctx, AV_LOG_ERROR, in jpeg_parse_packet()
303 av_log(ctx, AV_LOG_ERRO in jpeg_parse_packet()
[all...]
/third_party/mesa3d/src/gallium/targets/osmesa/
H A Dtest-render.cpp69 std::unique_ptr<osmesa_context, decltype(&OSMesaDestroyContext)> ctx{ in TEST_P()
71 ASSERT_TRUE(ctx); in TEST_P()
73 auto ret = OSMesaMakeCurrent(ctx.get(), &pixels, p.type, w, h); in TEST_P()
168 std::unique_ptr<osmesa_context, decltype(&OSMesaDestroyContext)> ctx{ in TEST()
170 ASSERT_TRUE(ctx); in TEST()
174 auto ret = OSMesaMakeCurrent(ctx.get(), &pixels, GL_UNSIGNED_SHORT_5_6_5, w, h); in TEST()
182 ASSERT_EQ(true, OSMesaGetDepthBuffer(ctx.get(), &dw, &dh, &depth_cpp, (void **)&depth)); in TEST()
221 std::unique_ptr<osmesa_context, decltype(&OSMesaDestroyContext)> ctx{ in TEST()
223 ASSERT_TRUE(ctx); in TEST()
226 auto ret = OSMesaMakeCurrent(ctx in TEST()
[all...]
/third_party/node/src/
H A Dnode_realm.cc53 Local<Context> ctx = context(); in CreateProperties() local
57 GetPerContextExports(ctx).ToLocalChecked(); in CreateProperties()
59 per_context_bindings->Get(ctx, env_->primordials_string()) in CreateProperties()
71 ->Get(ctx, \ in CreateProperties()
76 ctor.As<Object>()->Get(ctx, prototype_string).ToLocalChecked(); \ in CreateProperties()
97 Local<Context> ctx = context(); in Serialize() local
109 size_t index = creator->AddData(ctx, field); \ in Serialize()
121 info.context = creator->AddData(ctx, ctx); in Serialize()
126 Local<Context> ctx in DeserializeProperties() local
168 Local<Context> ctx = context(); ExecuteBootstrapper() local
[all...]
/third_party/mesa3d/src/panfrost/bifrost/
H A Dgen_disasm.py143 # Compiles a logic expression to Python expression, ctx -> { T, F }
165 return "ctx[{}]".format(keys.index(expr))
168 return eval('lambda ctx, ordering: ' + compile_derived_inner(expr, keys))
173 def evaluate_forward_derived(vals, ctx, ordering):
175 if expr(ctx, ordering):
180 def evaluate_forward(keys, derivf, testf, ctx, ordering):
181 if not testf(ctx, ordering):
187 evaled = evaluate_forward_derived(vals, ctx, ordering)
207 for (i, deriveds), ctx in zip(enumerate(forward), itertools.product(*mod_vals)):
219 backwards[param] = ctx
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dhash.rs235 ctx: *mut ffi::EVP_MD_CTX,
249 let ctx = unsafe { cvt_p(EVP_MD_CTX_new())? }; in new()
252 ctx, in new()
270 cvt(ffi::EVP_DigestInit_ex(self.ctx, self.md, ptr::null_mut()))?; in init()
283 self.ctx, in update()
304 self.ctx, in finish()
325 self.ctx, in finish_xof()
349 let ctx = unsafe { in clone()
350 let ctx = EVP_MD_CTX_new(); in clone()
351 assert!(!ctx in clone()
[all...]
H A Dsha.rs127 let mut ctx = MaybeUninit::uninit(); in new() variables
128 ffi::SHA1_Init( ctx.as_mut_ptr()); in new()
129 Sha1(ctx.assume_init()) in new()
173 let mut ctx = MaybeUninit::uninit(); in new() variables
174 ffi::SHA224_Init(ctx.as_mut_ptr()); in new()
175 Sha224(ctx.assume_init()) in new()
219 let mut ctx = MaybeUninit::uninit(); in new() variables
220 ffi::SHA256_Init(ctx.as_mut_ptr()); in new()
221 Sha256(ctx.assume_init()) in new()
265 let mut ctx in new() variables
311 let mut ctx = MaybeUninit::uninit(); new() variables
[all...]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dcommand_submission.c35 static int _hl_cs_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, u64 timeout_us, u64 seq,
304 parser.ctx_id = job->cs->ctx->asid; in cs_parser()
679 struct hl_device *hdev = cs->ctx->hdev; in cs_do_release()
754 /* Must be called before hl_ctx_put because inside we use ctx to get in cs_do_release()
781 hl_push_cs_outcome(hdev, &cs->ctx->outcome_store, cs->sequence, in cs_do_release()
785 hl_ctx_put(cs->ctx); in cs_do_release()
818 hdev = cs->ctx->hdev; in cs_timedout()
880 static int allocate_cs(struct hl_device *hdev, struct hl_ctx *ctx, in allocate_cs() argument
897 atomic64_inc(&ctx->cs_counters.out_of_mem_drop_cnt); in allocate_cs()
903 hl_ctx_get(ctx); in allocate_cs()
1029 struct hl_ctx *ctx = hl_get_compute_ctx(hdev); release_reserved_encaps_signals() local
1329 struct hl_ctx *ctx = hpriv->ctx; hl_cs_sanity_checks() local
1387 hl_cs_copy_chunk_array(struct hl_device *hdev, struct hl_cs_chunk **cs_chunk_array, void __user *chunks, u32 num_chunks, struct hl_ctx *ctx) hl_cs_copy_chunk_array() argument
1478 struct hl_ctx *ctx = hpriv->ctx; cs_ioctl_default() local
1671 struct hl_ctx *ctx = hpriv->ctx; hl_cs_ctx_switch() local
1865 cs_ioctl_extract_signal_seq(struct hl_device *hdev, struct hl_cs_chunk *chunk, u64 *signal_seq, struct hl_ctx *ctx, bool encaps_signals) cs_ioctl_extract_signal_seq() argument
1923 cs_ioctl_signal_wait_create_jobs(struct hl_device *hdev, struct hl_ctx *ctx, struct hl_cs *cs, enum hl_queue_type q_type, u32 q_idx, u32 encaps_signal_offset) cs_ioctl_signal_wait_create_jobs() argument
2200 struct hl_ctx *ctx = hpriv->ctx; cs_ioctl_signal_wait() local
2642 hl_wait_for_fence(struct hl_ctx *ctx, u64 seq, struct hl_fence *fence, enum hl_cs_wait_status *status, u64 timeout_us, s64 *timestamp) hl_wait_for_fence() argument
2843 _hl_cs_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, u64 timeout_us, u64 seq, enum hl_cs_wait_status *status, s64 *timestamp) _hl_cs_wait_ioctl() argument
2997 struct hl_ctx *ctx = hpriv->ctx; hl_multi_cs_wait_ioctl() local
3281 _hl_interrupt_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, struct hl_mem_mgr *cb_mmg, struct hl_mem_mgr *mmg, u64 timeout_us, u64 cq_counters_handle, u64 cq_counters_offset, u64 target_value, struct hl_user_interrupt *interrupt, bool register_ts_record, u64 ts_handle, u64 ts_offset, u32 *status, u64 *timestamp) _hl_interrupt_wait_ioctl() argument
3450 _hl_interrupt_wait_ioctl_user_addr(struct hl_device *hdev, struct hl_ctx *ctx, u64 timeout_us, u64 user_address, u64 target_value, struct hl_user_interrupt *interrupt, u32 *status, u64 *timestamp) _hl_interrupt_wait_ioctl_user_addr() argument
[all...]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_ed25519tox25519.c218 BN_CTX *ctx, BIGNUM *tmpOne) in CheckEd25519PubkeyPart()
223 if (BN_mod_add(var->b, var->b, tmpOne, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
226 if (BN_mod_exp(var->c, var->b, curve25519->negativeTwo, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
229 if (BN_mod_add(var->b, var->a, curve25519->negativeOne, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
232 if (BN_mod_mul(var->a, var->b, var->c, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
235 if (BN_mod_add(var->a, var->a, curve25519->p, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
238 if (BN_mod_exp(var->b, var->a, curve25519->negativeOneDivideTwo, curve25519->p, ctx) <= 0) { in CheckEd25519PubkeyPart()
245 uint8_t flag, BN_CTX *ctx) in CheckEd25519Pubkey()
253 if (BN_mod_sqr(var->a, curve25519->ed25519Pubkey, curve25519->p, ctx) <= 0) { in CheckEd25519Pubkey()
256 if (BN_mod_mul(var->b, var->a, curve25519->d, curve25519->p, ctx) < in CheckEd25519Pubkey()
217 CheckEd25519PubkeyPart(const struct Curve25519Structure *curve25519, struct Curve25519Var *var, BN_CTX *ctx, BIGNUM *tmpOne) CheckEd25519PubkeyPart() argument
244 CheckEd25519Pubkey(const struct Curve25519Structure *curve25519, struct Curve25519Var *var, uint8_t flag, BN_CTX *ctx) CheckEd25519Pubkey() argument
292 BnOperationOfPubKeyConversion(const struct HksBlob *keyIn, struct HksBlob *keyOut, struct Curve25519Var *var, BIGNUM *numberOne, BN_CTX *ctx) BnOperationOfPubKeyConversion() argument
351 BN_CTX *ctx = BN_CTX_new(); ConvertPubkeyX25519FromED25519() local
[all...]
/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/
H A Djs_component_snapshot.cpp56 std::unique_ptr<SnapshotAsyncCtx> ctx(asyncCtx); in OnComplete()
58 napi_open_handle_scope(ctx->env, &scope); in OnComplete()
62 napi_get_undefined(ctx->env, &result[0]); in OnComplete()
63 napi_get_undefined(ctx->env, &result[1]); in OnComplete()
65 if (ctx->errCode == ERROR_CODE_NO_ERROR) { in OnComplete()
68 result[1] = Media::PixelMapNapi::CreatePixelMap(ctx->env, ctx->pixmap); in OnComplete()
71 napi_create_int32(ctx->env, ctx->errCode, &result[0]); in OnComplete()
73 if (ctx in OnComplete()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qce/
H A Dskcipher.c173 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_skcipher_setkey() local
183 memcpy(ctx->enc_key, key, keylen); in qce_skcipher_setkey()
187 ret = crypto_skcipher_setkey(ctx->fallback, key, keylen); in qce_skcipher_setkey()
189 ctx->enc_keylen = keylen; in qce_skcipher_setkey()
196 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(ablk); in qce_des_setkey() local
203 ctx->enc_keylen = keylen; in qce_des_setkey()
204 memcpy(ctx->enc_key, key, keylen); in qce_des_setkey()
211 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(ablk); in qce_des3_setkey() local
218 ctx->enc_keylen = keylen; in qce_des3_setkey()
219 memcpy(ctx in qce_des3_setkey()
226 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); qce_skcipher_crypt() local
279 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); qce_skcipher_init_fallback() local
293 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); qce_skcipher_exit() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dagn.h140 struct iwl_rxon_context *ctx);
142 int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
143 void iwlagn_set_rxon_chain(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
150 struct iwl_rxon_context *ctx);
153 struct iwl_rxon_context *ctx);
155 struct iwl_rxon_context *ctx,
305 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
307 struct iwl_rxon_context *ctx);
312 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
319 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
[all...]
/kernel/linux/linux-6.6/drivers/clk/samsung/
H A Dclk-s3c64xx.c381 struct samsung_clk_provider *ctx, in s3c64xx_clk_register_fixed_ext()
387 samsung_clk_register_fixed_rate(ctx, s3c64xx_fixed_rate_ext_clks, in s3c64xx_clk_register_fixed_ext()
396 struct samsung_clk_provider *ctx; in s3c64xx_clk_init() local
408 ctx = samsung_clk_init(NULL, reg_base, NR_CLKS); in s3c64xx_clk_init()
409 hws = ctx->clk_data.hws; in s3c64xx_clk_init()
413 s3c64xx_clk_register_fixed_ext(ctx, xtal_f, xusbxti_f); in s3c64xx_clk_init()
416 samsung_clk_register_pll(ctx, s3c64xx_pll_clks, in s3c64xx_clk_init()
420 samsung_clk_register_fixed_rate(ctx, s3c64xx_fixed_rate_clks, in s3c64xx_clk_init()
422 samsung_clk_register_mux(ctx, s3c64xx_mux_clks, in s3c64xx_clk_init()
424 samsung_clk_register_div(ctx, s3c64xx_div_clk in s3c64xx_clk_init()
380 s3c64xx_clk_register_fixed_ext( struct samsung_clk_provider *ctx, unsigned long fin_pll_f, unsigned long xusbxti_f) s3c64xx_clk_register_fixed_ext() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/qce/
H A Dskcipher.c174 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_skcipher_setkey() local
197 memcpy(ctx->enc_key, key, keylen); in qce_skcipher_setkey()
205 ret = crypto_skcipher_setkey(ctx->fallback, key, keylen); in qce_skcipher_setkey()
207 ctx->enc_keylen = keylen; in qce_skcipher_setkey()
214 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(ablk); in qce_des_setkey() local
221 ctx->enc_keylen = keylen; in qce_des_setkey()
222 memcpy(ctx->enc_key, key, keylen); in qce_des_setkey()
229 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(ablk); in qce_des3_setkey() local
251 ctx->enc_keylen = keylen; in qce_des3_setkey()
252 memcpy(ctx in qce_des3_setkey()
259 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); qce_skcipher_crypt() local
330 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); qce_skcipher_init_fallback() local
344 struct qce_cipher_ctx *ctx = crypto_skcipher_ctx(tfm); qce_skcipher_exit() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dagn.h87 struct iwl_rxon_context *ctx);
89 int iwlagn_commit_rxon(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
90 void iwlagn_set_rxon_chain(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
97 struct iwl_rxon_context *ctx);
100 struct iwl_rxon_context *ctx);
102 struct iwl_rxon_context *ctx,
252 void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx);
254 struct iwl_rxon_context *ctx);
259 int iwl_add_station_common(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
266 u8 iwl_prep_station(struct iwl_priv *priv, struct iwl_rxon_context *ctx,
[all...]
/kernel/linux/linux-6.6/drivers/perf/arm_cspmu/
H A Dnvidia_cspmu.c28 #define to_nv_cspmu_ctx(cspmu) ((struct nv_cspmu_ctx *)(cspmu->impl.ctx))
214 const struct nv_cspmu_ctx *ctx = to_nv_cspmu_ctx(cspmu); in nv_cspmu_get_event_attrs() local
216 return ctx->event_attr; in nv_cspmu_get_event_attrs()
222 const struct nv_cspmu_ctx *ctx = to_nv_cspmu_ctx(cspmu); in nv_cspmu_get_format_attrs() local
224 return ctx->format_attr; in nv_cspmu_get_format_attrs()
230 const struct nv_cspmu_ctx *ctx = to_nv_cspmu_ctx(cspmu); in nv_cspmu_get_name() local
232 return ctx->name; in nv_cspmu_get_name()
237 const struct nv_cspmu_ctx *ctx = in nv_cspmu_event_filter() local
240 if (ctx->filter_mask == 0) in nv_cspmu_event_filter()
241 return ctx in nv_cspmu_event_filter()
357 struct nv_cspmu_ctx *ctx; nv_cspmu_init_ops() local
[all...]
/kernel/linux/linux-6.6/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c30 * @ctx: The HID-BPF context
43 __weak noinline int hid_bpf_device_event(struct hid_bpf_ctx *ctx) in hid_bpf_device_event() argument
53 .ctx = { in dispatch_hid_bpf_device_event()
78 if (ret > ctx_kern.ctx.allocated_size) in dispatch_hid_bpf_device_event()
92 * @ctx: The HID-BPF context
103 __weak noinline int hid_bpf_rdesc_fixup(struct hid_bpf_ctx *ctx) in hid_bpf_rdesc_fixup() argument
112 .ctx = { in call_hid_bpf_rdesc_fixup()
119 ctx_kern.data = kzalloc(ctx_kern.ctx.allocated_size, GFP_KERNEL); in call_hid_bpf_rdesc_fixup()
130 if (ret > ctx_kern.ctx.allocated_size) in call_hid_bpf_rdesc_fixup()
147 * hid_bpf_get_data - Get the kernel memory pointer associated with the context @ctx
156 hid_bpf_get_data(struct hid_bpf_ctx *ctx, unsigned int offset, const size_t rdwr_buf_size) hid_bpf_get_data() argument
375 hid_bpf_release_context(struct hid_bpf_ctx *ctx) hid_bpf_release_context() argument
401 hid_bpf_hw_request(struct hid_bpf_ctx *ctx, __u8 *buf, size_t buf__sz, enum hid_report_type rtype, enum hid_class_request reqtype) hid_bpf_hw_request() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_dialoguenhance.c67 static int query_formats(AVFilterContext *ctx) in query_formats() argument
74 (ret = ff_set_common_formats (ctx , formats )) < 0 || in query_formats()
76 (ret = ff_channel_layouts_ref(in_layout, &ctx->inputs[0]->outcfg.channel_layouts)) < 0 || in query_formats()
78 (ret = ff_channel_layouts_ref(out_layout, &ctx->outputs[0]->incfg.channel_layouts)) < 0) in query_formats()
81 return ff_set_common_all_samplerates(ctx); in query_formats()
86 AVFilterContext *ctx = inlink->dst; in config_input() local
87 AudioDialogueEnhanceContext *s = ctx->priv; in config_input()
231 static int de_stereo(AVFilterContext *ctx, AVFrame *out) in de_stereo() argument
233 AudioDialogueEnhanceContext *s = ctx->priv; in de_stereo()
296 if (!ctx in de_stereo()
309 AVFilterContext *ctx = inlink->dst; filter_frame() local
333 activate(AVFilterContext *ctx) activate() argument
363 uninit(AVFilterContext *ctx) uninit() argument
[all...]
H A Davf_showspatial.c70 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
72 ShowSpatialContext *s = ctx->priv; in uninit()
85 static int query_formats(AVFilterContext *ctx) in query_formats() argument
89 AVFilterLink *inlink = ctx->inputs[0]; in query_formats()
90 AVFilterLink *outlink = ctx->outputs[0]; in query_formats()
112 static int run_channel_fft(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) in run_channel_fft() argument
114 ShowSpatialContext *s = ctx->priv; in run_channel_fft()
133 AVFilterContext *ctx = outlink->src; in config_output() local
134 AVFilterLink *inlink = ctx->inputs[0]; in config_output()
135 ShowSpatialContext *s = ctx in config_output()
213 AVFilterContext *ctx = inlink->dst; draw_spatial() local
260 spatial_activate(AVFilterContext *ctx) spatial_activate() argument
[all...]
/third_party/mesa3d/src/egl/drivers/wgl/
H A Degl_wgl.c353 wgl_ctx_shared ? wgl_ctx_shared->ctx : NULL; in wgl_create_context()
438 wgl_ctx->ctx = stw_create_context_attribs(disp->PlatformDisplay, 0, shared, in wgl_create_context()
446 if (!wgl_ctx->ctx) in wgl_create_context()
460 wgl_destroy_context(_EGLDisplay *disp, _EGLContext *ctx) in wgl_destroy_context() argument
462 struct wgl_egl_context *wgl_ctx = wgl_egl_context(ctx); in wgl_destroy_context()
464 if (_eglPutContext(ctx)) { in wgl_destroy_context()
465 stw_destroy_context(wgl_ctx->ctx); in wgl_destroy_context()
480 struct stw_context *ctx = stw_current_context(); in wgl_destroy_surface() local
482 stw_framebuffer_release_locked(wgl_surf->fb, ctx ? ctx in wgl_destroy_surface()
510 wgl_make_current(_EGLDisplay *disp, _EGLSurface *dsurf, _EGLSurface *rsurf, _EGLContext *ctx) wgl_make_current() argument
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dtexcompress.c261 * \param ctx the GL context
267 _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats) in _mesa_get_compressed_formats() argument
276 if (_mesa_is_desktop_gl(ctx) && in _mesa_get_compressed_formats()
277 ctx->Extensions.TDFX_texture_compression_FXT1) { in _mesa_get_compressed_formats()
282 if (ctx->Extensions.EXT_texture_compression_s3tc) { in _mesa_get_compressed_formats()
316 if (_mesa_is_gles(ctx)) { in _mesa_get_compressed_formats()
328 if (_mesa_is_gles(ctx) in _mesa_get_compressed_formats()
329 && ctx->Extensions.OES_compressed_ETC1_RGB8_texture) { in _mesa_get_compressed_formats()
334 if (_mesa_has_EXT_texture_compression_bptc(ctx)) { in _mesa_get_compressed_formats()
342 if (_mesa_is_gles3(ctx) in _mesa_get_compressed_formats()
687 _mesa_compressed_format_to_glenum(struct gl_context *ctx, mesa_format mesaFormat) _mesa_compressed_format_to_glenum() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_gen.c83 BN_CTX *ctx = NULL; in rsa_multiprime_keygen() local
106 ctx = BN_CTX_new_ex(rsa->libctx); in rsa_multiprime_keygen()
107 if (ctx == NULL) in rsa_multiprime_keygen()
109 BN_CTX_start(ctx); in rsa_multiprime_keygen()
110 r0 = BN_CTX_get(ctx); in rsa_multiprime_keygen()
111 r1 = BN_CTX_get(ctx); in rsa_multiprime_keygen()
112 r2 = BN_CTX_get(ctx); in rsa_multiprime_keygen()
192 cb, ctx)) in rsa_multiprime_keygen()
221 if (BN_mod_inverse(r1, r2, rsa->e, ctx) != NULL) { in rsa_multiprime_keygen()
242 if (!BN_mul(r1, rsa->p, rsa->q, ctx)) in rsa_multiprime_keygen()
[all...]
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dvar.rs118 fn default_macro_constant_type(ctx: &BindgenContext, value: i64) -> IntKind { in default_macro_constant_type()
120 ctx.options().default_macro_constant_type == in default_macro_constant_type()
125 } else if !ctx.options().fit_macro_constants || in default_macro_constant_type()
139 } else if !ctx.options().fit_macro_constants || in default_macro_constant_type()
176 ctx: &mut BindgenContext, in parse()
183 for callbacks in &ctx.options().parse_callbacks { in parse()
198 let value = parse_macro(ctx, &cursor); in parse()
207 let previously_defined = ctx.parsed_macro(&id); in parse()
212 ctx.note_parsed_macro(id.clone(), value.clone()); in parse()
248 ctx, in parse()
[all...]
H A Dfunction.rs301 ctx: &BindgenContext, in cursor_mangling()
304 if !ctx.options().enable_mangling { in cursor_mangling()
365 ctx: &mut BindgenContext, in args_from_ty_and_cursor()
395 (name, Item::from_ty_or_ref(ty, cursor, None, ctx)) in args_from_ty_and_cursor()
405 ctx: &mut BindgenContext, in from_ty()
448 args_from_ty_and_cursor(ty, &cursor, ctx) in from_ty()
457 Item::from_ty_or_ref(c.cur_type(), c, None, ctx); in from_ty()
471 args_from_ty_and_cursor(ty, &cursor, ctx) in from_ty()
479 if ctx.options().enable_function_attribute_detection { in from_ty()
511 let class = Item::parse(parent, None, ctx) in from_ty()
[all...]
/third_party/openssl/crypto/rsa/
H A Drsa_gen.c83 BN_CTX *ctx = NULL; in rsa_multiprime_keygen() local
106 ctx = BN_CTX_new_ex(rsa->libctx); in rsa_multiprime_keygen()
107 if (ctx == NULL) in rsa_multiprime_keygen()
109 BN_CTX_start(ctx); in rsa_multiprime_keygen()
110 r0 = BN_CTX_get(ctx); in rsa_multiprime_keygen()
111 r1 = BN_CTX_get(ctx); in rsa_multiprime_keygen()
112 r2 = BN_CTX_get(ctx); in rsa_multiprime_keygen()
192 cb, ctx)) in rsa_multiprime_keygen()
221 if (BN_mod_inverse(r1, r2, rsa->e, ctx) != NULL) { in rsa_multiprime_keygen()
242 if (!BN_mul(r1, rsa->p, rsa->q, ctx)) in rsa_multiprime_keygen()
[all...]
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file.cpp391 static void InitDcacheLookupCtx(DcacheLookupCtx *ctx, const MetaBase &base, int fd) in InitDcacheLookupCtx() argument
393 ctx->fd = fd; in InitDcacheLookupCtx()
394 ctx->name = base.name; in InitDcacheLookupCtx()
395 ctx->bidx = 0; in InitDcacheLookupCtx()
396 ctx->page = nullptr; in InitDcacheLookupCtx()
397 ctx->hash = CloudDisk::CloudFileUtils::DentryHash(ctx->name); in InitDcacheLookupCtx()
400 static std::unique_ptr<HmdfsDentryGroup> FindDentryPage(uint64_t index, DcacheLookupCtx *ctx) in FindDentryPage() argument
405 ssize_t size = FileUtils::ReadFile(ctx->fd, pos, DENTRYGROUP_SIZE, dentryBlk.get()); in FindDentryPage()
441 static HmdfsDentry *InLevel(uint32_t level, DcacheLookupCtx *ctx) in InLevel() argument
486 FindDentry(DcacheLookupCtx *ctx) FindDentry() argument
507 DcacheLookupCtx ctx; DoRemove() local
540 struct DcacheLookupCtx ctx; DoLookup() local
566 struct DcacheLookupCtx ctx; DoUpdate() local
[all...]

Completed in 19 milliseconds

1...<<161162163164165166167168169170>>...529