Home
last modified time | relevance | path

Searched refs:_ctx (Results 1 – 25 of 28) sorted by relevance

12

/external/libaom/libaom/aom_dsp/
Dfastssim.c52 static void fs_ctx_init(fs_ctx *_ctx, int _w, int _h, int _nlevels) { in fs_ctx_init() argument
61 _nlevels * sizeof(fs_level) + 2 * (lw + 8) * 8 * sizeof(*_ctx->col_buf); in fs_ctx_init()
66 level_size = 2 * im_size * sizeof(*_ctx->level[l].im1); in fs_ctx_init()
67 level_size += sizeof(*_ctx->level[l].ssim) - 1; in fs_ctx_init()
68 level_size /= sizeof(*_ctx->level[l].ssim); in fs_ctx_init()
70 level_size *= sizeof(*_ctx->level[l].ssim); in fs_ctx_init()
76 _ctx->level = (fs_level *)data; in fs_ctx_init()
77 _ctx->nlevels = _nlevels; in fs_ctx_init()
78 data += _nlevels * sizeof(*_ctx->level); in fs_ctx_init()
84 _ctx->level[l].w = lw; in fs_ctx_init()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dfastssim.c50 static void fs_ctx_init(fs_ctx *_ctx, int _w, int _h, int _nlevels) { in fs_ctx_init() argument
59 _nlevels * sizeof(fs_level) + 2 * (lw + 8) * 8 * sizeof(*_ctx->col_buf); in fs_ctx_init()
64 level_size = 2 * im_size * sizeof(*_ctx->level[l].im1); in fs_ctx_init()
65 level_size += sizeof(*_ctx->level[l].ssim) - 1; in fs_ctx_init()
66 level_size /= sizeof(*_ctx->level[l].ssim); in fs_ctx_init()
68 level_size *= sizeof(*_ctx->level[l].ssim); in fs_ctx_init()
74 _ctx->level = (fs_level *)data; in fs_ctx_init()
75 _ctx->nlevels = _nlevels; in fs_ctx_init()
76 data += _nlevels * sizeof(*_ctx->level); in fs_ctx_init()
82 _ctx->level[l].w = lw; in fs_ctx_init()
[all …]
/external/fsverity-utils/
Dhash_algs.c30 static void openssl_digest_init(struct hash_ctx *_ctx) in openssl_digest_init() argument
32 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_init()
39 static void openssl_digest_update(struct hash_ctx *_ctx, in openssl_digest_update() argument
42 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_update()
49 static void openssl_digest_final(struct hash_ctx *_ctx, u8 *digest) in openssl_digest_final() argument
51 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_final()
58 static void openssl_digest_ctx_free(struct hash_ctx *_ctx) in openssl_digest_ctx_free() argument
60 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_ctx_free()
121 static void crc32c_init(struct hash_ctx *_ctx) in crc32c_init() argument
123 struct crc32c_hash_ctx *ctx = (void *)_ctx; in crc32c_init()
[all …]
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_helpers.c91 dri2_create_fence(__DRIcontext *_ctx) in dri2_create_fence() argument
93 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence()
106 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence()
111 dri2_create_fence_fd(__DRIcontext *_ctx, int fd) in dri2_create_fence_fd() argument
113 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd()
129 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence_fd()
185 dri2_client_wait_sync(__DRIcontext *_ctx, void *_fence, unsigned flags, in dri2_client_wait_sync() argument
212 dri2_server_wait_sync(__DRIcontext *_ctx, void *_fence, unsigned flags) in dri2_server_wait_sync() argument
214 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_server_wait_sync()
Ddri2.c1672 dri2_interop_query_device_info(__DRIcontext *_ctx, in dri2_interop_query_device_info() argument
1675 struct pipe_screen *screen = dri_context(_ctx)->st->pipe->screen; in dri2_interop_query_device_info()
1696 dri2_interop_export_object(__DRIcontext *_ctx, in dri2_interop_export_object() argument
1700 struct st_context_iface *st = dri_context(_ctx)->st; in dri2_interop_export_object()
/external/v8/gnparser/
DgnParser.py162 localctx = gnParser.RContext(self, self._ctx, self.state)
212 localctx = gnParser.StatementContext(self, self._ctx, self.state)
217 la_ = self._interp.adaptivePredict(self._input,0,self._ctx)
278 localctx = gnParser.LvalueContext(self, self._ctx, self.state)
283 la_ = self._interp.adaptivePredict(self._input,1,self._ctx)
344 localctx = gnParser.AssignmentContext(self, self._ctx, self.state)
395 localctx = gnParser.CallContext(self, self._ctx, self.state)
416 la_ = self._interp.adaptivePredict(self._input,3,self._ctx)
471 localctx = gnParser.ConditionContext(self, self._ctx, self.state)
542 localctx = gnParser.BlockContext(self, self._ctx, self.state)
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtpu_estimator.py1209 self._ctx = ctx
1239 num_hosts = self._ctx.num_hosts
1240 tpu_host_placement_fn = self._ctx.tpu_host_placement_function
1254 self._ctx, self._input_fn, self._inputs_structure_recorder,
1267 elif self._ctx.is_input_broadcast_with_iterators():
1271 generate_broadcast_enqueue_ops_fn(self._ctx, self._input_fn,
1279 if self._ctx.mode != model_fn_lib.ModeKeys.PREDICT else
1290 if self._ctx.is_input_per_host_with_iterators():
1293 self._ctx, self._input_fn,
1298 self._ctx, self._input_fn,
[all …]
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_screen.c267 struct pipe_context *_ctx, in rbug_screen_fence_finish() argument
273 struct pipe_context *ctx = _ctx ? rbug_context(_ctx)->pipe : NULL; in rbug_screen_fence_finish()
/external/boringssl/src/crypto/fipsmodule/sha/asm/
Dsha512-x86_64.pl172 $_ctx="16*$SZ+0*8(%rsp)";
317 mov $ctx,$_ctx # save ctx, 1st arg
362 mov $_ctx,$ctx
795 mov $ctx,$_ctx # save ctx, 1st arg
1072 mov $_ctx,$ctx
1158 mov $ctx,$_ctx # save ctx, 1st arg
1395 mov $_ctx,$ctx
1528 mov $ctx,$_ctx # save ctx, 1st arg
1737 mov `2*$SZ*$rounds`(%rsp),$ctx # $_ctx
1780 mov `2*$SZ*$rounds`(%rsp),$ctx # $_ctx
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c731 static int radv_amdgpu_winsys_cs_submit_chained(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit_chained() argument
741 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit_chained()
812 static int radv_amdgpu_winsys_cs_submit_fallback(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit_fallback() argument
822 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit_fallback()
893 static int radv_amdgpu_winsys_cs_submit_sysmem(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit_sysmem() argument
903 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit_sysmem()
1070 static int radv_amdgpu_winsys_cs_submit(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit() argument
1081 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit()
1086 ret = radv_amdgpu_winsys_cs_submit_sysmem(_ctx, queue_idx, sem_info, cs_array, in radv_amdgpu_winsys_cs_submit()
1089 ret = radv_amdgpu_winsys_cs_submit_chained(_ctx, queue_idx, sem_info, cs_array, in radv_amdgpu_winsys_cs_submit()
[all …]
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc68 AsanInterceptorContext *_ctx = (AsanInterceptorContext *)ctx; \
70 if (_ctx) { \
71 suppressed = IsInterceptorSuppressed(_ctx->interceptor_name); \
142 AsanInterceptorContext _ctx = {#func}; \
143 ctx = (void *)&_ctx; \
/external/perfetto/ui/src/frontend/
Dthread_state_panel.ts57 renderCanvas(_ctx: CanvasRenderingContext2D, _size: PanelSize) {}
Dnotes_panel.ts217 renderCanvas(_ctx: CanvasRenderingContext2D, _size: PanelSize) {}
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_screen.c339 struct pipe_context *_ctx, in dd_screen_fence_finish() argument
344 struct pipe_context *ctx = _ctx ? dd_context(_ctx)->pipe : NULL; in dd_screen_fence_finish()
/external/openssh/
Dhostfile.c237 record_hostkey(struct hostkey_foreach_line *l, void *_ctx) in record_hostkey() argument
239 struct load_callback_ctx *ctx = (struct load_callback_ctx *)_ctx; in record_hostkey()
480 host_delete(struct hostkey_foreach_line *l, void *_ctx) in host_delete() argument
482 struct host_delete_ctx *ctx = (struct host_delete_ctx *)_ctx; in host_delete()
Dclientloop.c2223 hostkeys_find(struct hostkey_foreach_line *l, void *_ctx) in hostkeys_find() argument
2225 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in hostkeys_find()
2326 client_global_hostkeys_private_confirm(int type, u_int32_t seq, void *_ctx) in client_global_hostkeys_private_confirm() argument
2329 struct hostkeys_update_ctx *ctx = (struct hostkeys_update_ctx *)_ctx; in client_global_hostkeys_private_confirm()
Dssh-keygen.c1082 known_hosts_hash(struct hostkey_foreach_line *l, void *_ctx) in known_hosts_hash() argument
1084 struct known_hosts_ctx *ctx = (struct known_hosts_ctx *)_ctx; in known_hosts_hash()
1133 known_hosts_find_delete(struct hostkey_foreach_line *l, void *_ctx) in known_hosts_find_delete() argument
1135 struct known_hosts_ctx *ctx = (struct known_hosts_ctx *)_ctx; in known_hosts_find_delete()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_screen.c498 struct pipe_context *_ctx, in trace_screen_fence_finish() argument
504 struct pipe_context *ctx = _ctx ? trace_context(_ctx)->pipe : NULL; in trace_screen_fence_finish()
/external/python/cpython3/Lib/multiprocessing/
Dpool.py153 return self._ctx.Process(*args, **kwds)
157 self._ctx = context or get_context()
251 self._inqueue = self._ctx.SimpleQueue()
252 self._outqueue = self._ctx.SimpleQueue()
Dmanagers.py490 self._ctx = ctx or get_context()
536 self._process = self._ctx.Process(
/external/openssh/regress/misc/kexfuzz/
Dkexfuzz.c48 packet_hook(struct ssh *ssh, struct sshbuf *packet, u_char *typep, void *_ctx) in packet_hook() argument
50 struct hook_ctx *ctx = (struct hook_ctx *)_ctx; in packet_hook()
/external/clang/test/Analysis/
Dmalloc.c1175 static int releasePtr(void *_ctx) { in releasePtr() argument
1176 free(_ctx); in releasePtr()
1196 static int readNothing(void *_ctx, char *buf, int size) { in readNothing() argument
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c53 check(struct hostkey_foreach_line *l, void *_ctx) in check() argument
55 struct cbctx *ctx = (struct cbctx *)_ctx; in check()
/external/tensorflow/tensorflow/python/framework/
Dops.py6291 self._ctx = context.context()
6292 self._in_eager_mode = self._ctx.executing_eagerly()
6315 self._old_name = self._ctx.scope_name
6321 self._ctx.scope_name = name_scope_cache[cache_key]
6322 return self._ctx.scope_name
6333 self._ctx.scope_name = scope_name
6359 self._ctx.scope_name = self._old_name
/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.h75 _mesa_glsl_parse_state(struct gl_context *_ctx, gl_shader_stage stage,

12