Home
last modified time | relevance | path

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

12

/external/python/cryptography/src/cryptography/hazmat/primitives/ciphers/
Dbase.py144 self._ctx = ctx
147 if self._ctx is None:
149 return self._ctx.update(data)
152 if self._ctx is None:
154 return self._ctx.update_into(data, buf)
157 if self._ctx is None:
159 data = self._ctx.finalize()
160 self._ctx = None
169 self._ctx = ctx
176 if self._ctx is None:
[all …]
/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/python/cryptography/src/cryptography/hazmat/primitives/
Dcmac.py32 self._ctx = self._backend.create_cmac_ctx(self._algorithm)
34 self._ctx = ctx
37 if self._ctx is None:
41 self._ctx.update(data)
44 if self._ctx is None:
46 digest = self._ctx.finalize()
47 self._ctx = None
52 if self._ctx is None:
55 ctx, self._ctx = self._ctx, None
59 if self._ctx is None:
[all …]
Dhmac.py32 self._ctx = self._backend.create_hmac_ctx(key, self.algorithm)
34 self._ctx = ctx
39 if self._ctx is None:
42 self._ctx.update(data)
45 if self._ctx is None:
51 ctx=self._ctx.copy()
55 if self._ctx is None:
57 digest = self._ctx.finalize()
58 self._ctx = None
63 if self._ctx is None:
[all …]
Dhashes.py83 self._ctx = self._backend.create_hash_ctx(self.algorithm)
85 self._ctx = ctx
90 if self._ctx is None:
93 self._ctx.update(data)
96 if self._ctx is None:
99 self.algorithm, backend=self._backend, ctx=self._ctx.copy()
103 if self._ctx is None:
105 digest = self._ctx.finalize()
106 self._ctx = None
/external/fsverity-utils/
Dhash_algs.c25 static void openssl_digest_init(struct hash_ctx *_ctx) in openssl_digest_init() argument
27 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_init()
34 static void openssl_digest_update(struct hash_ctx *_ctx, in openssl_digest_update() argument
37 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_update()
44 static void openssl_digest_final(struct hash_ctx *_ctx, u8 *digest) in openssl_digest_final() argument
46 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_final()
53 static void openssl_digest_ctx_free(struct hash_ctx *_ctx) in openssl_digest_ctx_free() argument
55 struct openssl_hash_ctx *ctx = (void *)_ctx; in openssl_digest_ctx_free()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dcmac.py46 self._ctx = ctx
51 res = self._backend._lib.CMAC_Update(self._ctx, data, len(data))
58 self._ctx, buf, length
62 self._ctx = None
72 copied_ctx, self._ctx
Dhashes.py36 self._ctx = ctx
45 res = self._backend._lib.EVP_MD_CTX_copy_ex(copied_ctx, self._ctx)
52 self._ctx, data_ptr, len(data)
64 res = self._backend._lib.EVP_DigestFinal_ex(self._ctx, buf, outlen)
75 self._ctx, buf, self.algorithm.digest_size
Dciphers.py120 self._ctx = ctx
139 self._ctx, buf, outlen,
165 res = self._backend._lib.EVP_CipherFinal_ex(self._ctx, buf, outlen)
189 self._ctx, self._backend._lib.EVP_CTRL_AEAD_GET_TAG,
195 res = self._backend._lib.EVP_CIPHER_CTX_cleanup(self._ctx)
214 self._ctx, self._backend._lib.EVP_CTRL_AEAD_SET_TAG,
224 self._ctx, self._backend._ffi.NULL, outlen,
Dhmac.py41 self._ctx = ctx
52 res = self._backend._lib.HMAC_CTX_copy(copied_ctx, self._ctx)
60 res = self._backend._lib.HMAC_Update(self._ctx, data_ptr, len(data))
67 res = self._backend._lib.HMAC_Final(self._ctx, buf, outlen)
/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/mesa3d/src/gallium/frontends/dri/
Ddri_helpers.c92 dri2_create_fence(__DRIcontext *_ctx) in dri2_create_fence() argument
94 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence()
107 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence()
112 dri2_create_fence_fd(__DRIcontext *_ctx, int fd) in dri2_create_fence_fd() argument
114 struct st_context_iface *stapi = dri_context(_ctx)->st; in dri2_create_fence_fd()
130 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence_fd()
186 dri2_client_wait_sync(__DRIcontext *_ctx, void *_fence, unsigned flags, in dri2_client_wait_sync() argument
213 dri2_server_wait_sync(__DRIcontext *_ctx, void *_fence, unsigned flags) in dri2_server_wait_sync() argument
215 struct pipe_context *ctx = dri_context(_ctx)->st->pipe; in dri2_server_wait_sync()
/external/boringssl/src/crypto/fipsmodule/sha/asm/
Dsha512-x86_64.pl172 $_ctx="16*$SZ+0*8(%rsp)";
316 mov $ctx,$_ctx # save ctx, 1st arg
361 mov $_ctx,$ctx
794 mov $ctx,$_ctx # save ctx, 1st arg
1071 mov $_ctx,$ctx
1157 mov $ctx,$_ctx # save ctx, 1st arg
1394 mov $_ctx,$ctx
1527 mov $ctx,$_ctx # save ctx, 1st arg
1736 mov `2*$SZ*$rounds`(%rsp),$ctx # $_ctx
1779 mov `2*$SZ*$rounds`(%rsp),$ctx # $_ctx
/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/python/cpython3/Lib/multiprocessing/
Dpool.py190 self._ctx = context or get_context()
196 self._change_notifier = self._ctx.SimpleQueue()
225 args=(self._cache, self._taskqueue, self._ctx, self.Process,
303 return self._repopulate_pool_static(self._ctx, self.Process,
343 self._inqueue = self._ctx.SimpleQueue()
344 self._outqueue = self._ctx.SimpleQueue()
/external/python/cryptography/tests/hazmat/primitives/
Dutils.py182 assert m._ctx != m_copy._ctx
202 assert h._ctx != h_copy._ctx
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.c353 struct pipe_context *_ctx, in rbug_screen_fence_finish() argument
359 struct pipe_context *ctx = _ctx ? rbug_context(_ctx)->pipe : NULL; in rbug_screen_fence_finish()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c879 radv_amdgpu_winsys_cs_submit_chained(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit_chained() argument
889 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit_chained()
969 radv_amdgpu_winsys_cs_submit_fallback(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit_fallback() argument
979 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit_fallback()
1059 radv_amdgpu_winsys_cs_submit_sysmem(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit_sysmem() argument
1069 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit_sysmem()
1264 static VkResult radv_amdgpu_winsys_cs_submit(struct radeon_winsys_ctx *_ctx, in radv_amdgpu_winsys_cs_submit() argument
1276 struct radv_amdgpu_ctx *ctx = radv_amdgpu_ctx(_ctx); in radv_amdgpu_winsys_cs_submit()
1281 result = radv_amdgpu_winsys_cs_submit_sysmem(_ctx, queue_idx, sem_info, bo_list, cs_array, in radv_amdgpu_winsys_cs_submit()
1284 result = radv_amdgpu_winsys_cs_submit_chained(_ctx, queue_idx, sem_info, bo_list, cs_array, in radv_amdgpu_winsys_cs_submit()
[all …]
/external/perfetto/ui/src/frontend/
Dthread_state_panel.ts65 renderCanvas(_ctx: CanvasRenderingContext2D, _size: PanelSize) {}
Dchrome_slice_panel.ts67 renderCanvas(_ctx: CanvasRenderingContext2D, _size: PanelSize) {}
/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()
/external/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_screen.c370 struct pipe_context *_ctx, in dd_screen_fence_finish() argument
375 struct pipe_context *ctx = _ctx ? dd_context(_ctx)->pipe : NULL; in dd_screen_fence_finish()
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_screen.c559 struct pipe_context *_ctx, in trace_screen_fence_finish() argument
565 struct pipe_context *ctx = _ctx ? trace_context(_ctx)->pipe : NULL; in trace_screen_fence_finish()
/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()

12