Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 87) sorted by relevance

1234

/hardware/st/secure_element2/secure_element/esehal/src/
Dlibse-gto.c45 se_gto_get_userdata(struct se_gto_ctx *ctx) in se_gto_get_userdata()
54 se_gto_set_userdata(struct se_gto_ctx *ctx, void *userdata) in se_gto_set_userdata()
85 log_stderr(struct se_gto_ctx *ctx, const char *s) in log_stderr()
95 struct se_gto_ctx *ctx; in se_gto_new() local
122 se_gto_get_log_level(struct se_gto_ctx *ctx) in se_gto_get_log_level()
128 se_gto_set_log_level(struct se_gto_ctx *ctx, int level) in se_gto_set_log_level()
138 se_gto_get_log_fn(struct se_gto_ctx *ctx) in se_gto_get_log_fn()
144 se_gto_set_log_fn(struct se_gto_ctx *ctx, se_gto_log_fn *fn) in se_gto_set_log_fn()
150 se_gto_get_gtodev(struct se_gto_ctx *ctx) in se_gto_get_gtodev()
156 se_gto_set_gtodev(struct se_gto_ctx *ctx, const char *gtodev) in se_gto_set_gtodev()
[all …]
Dlog.c40 vsay(struct se_gto_ctx *ctx, const char *fmt, va_list args) in vsay()
81 log_teardown(struct se_gto_ctx *ctx) in log_teardown()
Dspi.c39 spi_setup(struct se_gto_ctx *ctx) in spi_setup()
69 spi_teardown(struct se_gto_ctx *ctx) in spi_teardown()
/hardware/interfaces/identity/aidl/default/libeic/
DEicSession.c37 bool eicSessionInit(EicSession* ctx) { in eicSessionInit()
63 bool eicSessionShutdown(EicSession* ctx) { in eicSessionShutdown()
74 bool eicSessionGetId(EicSession* ctx, uint32_t* outId) { in eicSessionGetId()
79 bool eicSessionGetAuthChallenge(EicSession* ctx, uint64_t* outAuthChallenge) { in eicSessionGetAuthChallenge()
84 bool eicSessionGetEphemeralKeyPair(EicSession* ctx, in eicSessionGetEphemeralKeyPair()
92 EicSession* ctx, const uint8_t readerEphemeralPublicKey[EIC_P256_PUB_KEY_SIZE]) { in eicSessionSetReaderEphemeralPublicKey()
98 bool eicSessionSetSessionTranscript(EicSession* ctx, const uint8_t* sessionTranscript, in eicSessionSetSessionTranscript()
DEicProvisioning.c26 bool eicProvisioningInit(EicProvisioning* ctx, bool testCredential) { in eicProvisioningInit()
43 bool eicProvisioningInitForUpdate(EicProvisioning* ctx, bool testCredential, const char* docType, in eicProvisioningInitForUpdate()
119 bool eicProvisioningShutdown(EicProvisioning* ctx) { in eicProvisioningShutdown()
129 bool eicProvisioningGetId(EicProvisioning* ctx, uint32_t* outId) { in eicProvisioningGetId()
134 bool eicProvisioningCreateCredentialKey(EicProvisioning* ctx, const uint8_t* challenge, in eicProvisioningCreateCredentialKey()
156 bool eicProvisioningStartPersonalization(EicProvisioning* ctx, int accessControlProfileCount, in eicProvisioningStartPersonalization()
226 bool eicProvisioningAddAccessControlProfile(EicProvisioning* ctx, int id, in eicProvisioningAddAccessControlProfile()
266 bool eicProvisioningBeginAddEntry(EicProvisioning* ctx, const uint8_t* accessControlProfileIds, in eicProvisioningBeginAddEntry()
315 bool eicProvisioningAddEntryValue(EicProvisioning* ctx, const uint8_t* accessControlProfileIds, in eicProvisioningAddEntryValue()
362 EicProvisioning* ctx, uint8_t signatureOfToBeSigned[EIC_ECDSA_P256_SIGNATURE_SIZE]) { in eicProvisioningFinishAddingEntries()
[all …]
DEicPresentation.c27 bool eicPresentationInit(EicPresentation* ctx, uint32_t sessionId, bool testCredential, in eicPresentationInit()
107 bool eicPresentationShutdown(EicPresentation* ctx) { in eicPresentationShutdown()
117 bool eicPresentationGetId(EicPresentation* ctx, uint32_t* outId) { in eicPresentationGetId()
122 bool eicPresentationGenerateSigningKeyPair(EicPresentation* ctx, const char* docType, in eicPresentationGenerateSigningKeyPair()
190 bool eicPresentationCreateEphemeralKeyPair(EicPresentation* ctx, in eicPresentationCreateEphemeralKeyPair()
201 bool eicPresentationCreateAuthChallenge(EicPresentation* ctx, uint64_t* authChallenge) { in eicPresentationCreateAuthChallenge()
217 bool eicPresentationValidateRequestMessage(EicPresentation* ctx, const uint8_t* sessionTranscript, in eicPresentationValidateRequestMessage()
354 bool eicPresentationPushReaderCert(EicPresentation* ctx, const uint8_t* certX509, in eicPresentationPushReaderCert()
381 static bool getChallenge(EicPresentation* ctx, uint64_t* outAuthChallenge) { in getChallenge()
395 bool eicPresentationSetAuthToken(EicPresentation* ctx, uint64_t challenge, uint64_t secureUserId, in eicPresentationSetAuthToken()
[all …]
/hardware/google/gfxstream/host/gl/gles1_dec/
DGLESv1Decoder.cpp140 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glFinishRoundTrip() local
147 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glVertexPointerOffset() local
153 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glColorPointerOffset() local
159 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glTexCoordPointerOffset() local
165 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glNormalPointerOffset() local
171 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glPointSizePointerOffset() local
177 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glWeightPointerOffset() local
183 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glMatrixIndexPointerOffset() local
198 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glVertexPointerData() local
215 GLESv1Decoder *ctx = (GLESv1Decoder *)self; in s_glColorPointerData() local
[all …]
/hardware/google/gfxstream/guest/GLESv1_enc/
DGLEncoder.cpp51 GLEncoder *ctx = (GLEncoder *)self; in s_glGetError() local
78 GLEncoder *ctx = (GLEncoder *)self; in s_glGetIntegerv() local
121 GLEncoder *ctx = (GLEncoder *)self; in s_glGetFloatv() local
160 GLEncoder *ctx = (GLEncoder *)self; in s_glGetFixedv() local
199 GLEncoder *ctx = (GLEncoder *)self; in s_glGetBooleanv() local
234 GLEncoder * ctx = (GLEncoder *) self; in s_glGetPointerv() local
241 GLEncoder *ctx = (GLEncoder *)self; in s_glFlush() local
270 GLEncoder *ctx = (GLEncoder *)self; in s_glPixelStorei() local
278 GLEncoder *ctx = (GLEncoder *)self; in s_glVertexPointer() local
285 GLEncoder *ctx = (GLEncoder *)self; in s_glNormalPointer() local
[all …]
Dgl_enc.cpp35 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glAlphaFunc_enc() local
63 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearColor_enc() local
93 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearDepthf_enc() local
120 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClipPlanef_enc() local
150 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glColor4f_enc() local
180 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glDepthRangef_enc() local
208 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glFogf_enc() local
236 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glFogfv_enc() local
266 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glFrustumf_enc() local
298 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glGetClipPlanef_enc() local
[all …]
/hardware/google/gfxstream/host/gl/gles2_dec/
DGLESv2Decoder.cpp92 GLESv2Decoder *ctx = (GLESv2Decoder *) userData; in s_getProc() local
296 GLESv2Decoder *ctx = (GLESv2Decoder *)self; in s_glFinishRoundTrip() local
303 GLESv2Decoder *ctx = (GLESv2Decoder *) self; in s_glGetCompressedTextureFormats() local
317 GLESv2Decoder *ctx = (GLESv2Decoder *) self; in s_glVertexAttribPointerData() local
335 GLESv2Decoder *ctx = (GLESv2Decoder *) self; in s_glVertexAttribPointerOffset() local
342 GLESv2Decoder *ctx = (GLESv2Decoder *)self; in s_glDrawElementsData() local
349 GLESv2Decoder *ctx = (GLESv2Decoder *)self; in s_glDrawElementsOffset() local
355 GLESv2Decoder *ctx = (GLESv2Decoder *)self; in s_glDrawElementsDataNullAEMU() local
362 GLESv2Decoder *ctx = (GLESv2Decoder *)self; in s_glDrawElementsOffsetNullAEMU() local
368 GLESv2Decoder *ctx = (GLESv2Decoder *)self; in s_glMapBufferRangeAEMU() local
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Validate.cpp159 bool GLESv2Validate::renderbufferParam(GLEScontext* ctx, GLenum pname){ in renderbufferParam()
178 bool GLESv2Validate::framebufferTarget(GLEScontext* ctx, GLenum target) { in framebufferTarget()
190 bool GLESv2Validate::framebufferAttachment(GLEScontext* ctx, GLenum attachment) { in framebufferAttachment()
218 bool GLESv2Validate::bufferTarget(GLEScontext* ctx, GLenum target) { in bufferTarget()
248 bool GLESv2Validate::bufferUsage(GLEScontext* ctx, GLenum usage) { in bufferUsage()
268 bool GLESv2Validate::bufferParam(GLEScontext* ctx, GLenum pname) { in bufferParam()
285 bool GLESv2Validate::blendEquationMode(GLEScontext* ctx, GLenum mode){ in blendEquationMode()
344 bool GLESv2Validate::textureTarget(GLEScontext* ctx, GLenum target) { in textureTarget()
364 bool GLESv2Validate::textureParams(GLEScontext* ctx, GLenum param) { in textureParams()
423 bool GLESv2Validate::pixelStoreParam(GLEScontext* ctx, GLenum param){ in pixelStoreParam()
[all …]
/hardware/google/gfxstream/guest/GLESv2_enc/
DGL2Encoder.cpp498 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetError() local
517 ErrorUpdater(GL2Encoder* ctx) : in ErrorUpdater()
560 ScopedQueryUpdate(GL2Encoder* ctx, uint32_t bytes, T* target) : in ScopedQueryUpdate()
620 GL2Encoder *ctx = (GL2Encoder *) self; in s_glFlush() local
627 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetString() local
656 GL2Encoder *ctx = (GL2Encoder *)self; in s_glPixelStorei() local
665 GL2Encoder *ctx = (GL2Encoder *) self; in s_glBindBuffer() local
691 GL2Encoder *ctx = (GL2Encoder *) self; in s_glBufferData() local
709 GL2Encoder *ctx = (GL2Encoder *) self; in s_glBufferSubData() local
722 GL2Encoder *ctx = (GL2Encoder *) self; in s_glGenBuffers() local
[all …]
DGL2EncoderUtils.cpp27 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize() local
34 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize3D() local
41 GL2Encoder * ctx = (GL2Encoder *) self; in uniformType() local
47 GL2Encoder *ctx = (GL2Encoder *)self; in clearBufferNumElts() local
53 GL2Encoder *ctx = (GL2Encoder *)self; in numActiveUniformsInUniformBlock() local
59 GL2Encoder *ctx = (GL2Encoder *)self; in glActiveUniformBlockivParamSize() local
DGLESv2Validation.cpp332 bool bufferTarget(GL2Encoder* ctx, GLenum target) { in bufferTarget()
360 bool bufferParam(GL2Encoder* ctx, GLenum pname) { in bufferParam()
376 bool bufferUsage(GL2Encoder* ctx, GLenum usage) { in bufferUsage()
394 bool pixelStoreParam(GL2Encoder* ctx, GLenum param) { in pixelStoreParam()
433 bool rboFormat(GL2Encoder* ctx, GLenum internalformat) { in rboFormat()
508 bool framebufferTarget(GL2Encoder* ctx, GLenum target) { in framebufferTarget()
520 bool framebufferAttachment(GL2Encoder* ctx, GLenum attachment) { in framebufferAttachment()
596 bool vertexAttribType(GL2Encoder* ctx, GLenum type) in vertexAttribType()
657 bool textureTarget(GL2Encoder* ctx, GLenum target) { in textureTarget()
684 bool textureParams(GL2Encoder* ctx, GLenum param) { in textureParams()
[all …]
Dgl2_enc.cpp35 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glActiveTexture_enc() local
62 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glAttachShader_enc() local
90 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindAttribLocation_enc() local
121 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindBuffer_enc() local
149 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindFramebuffer_enc() local
177 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindRenderbuffer_enc() local
205 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindTexture_enc() local
233 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBlendColor_enc() local
263 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBlendEquation_enc() local
290 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBlendEquationSeparate_enc() local
[all …]
/hardware/qcom/wlan/legacy/cld80211-lib/
Dcld80211_lib.c76 static int init_exit_sockets(struct cld80211_ctx *ctx) in init_exit_sockets()
90 static void cleanup_exit_sockets(struct cld80211_ctx *ctx) in cleanup_exit_sockets()
104 void exit_cld80211_recv(struct cld80211_ctx *ctx) in exit_cld80211_recv()
228 static int get_multicast_id(struct cld80211_ctx *ctx, const char *group, bool sync_driver) in get_multicast_id()
251 int cld80211_add_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_add_mcast_group()
274 int cld80211_remove_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_remove_mcast_group()
298 struct nl_msg *cld80211_msg_alloc(struct cld80211_ctx *ctx, int cmd, in cld80211_msg_alloc()
330 int cld80211_send_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg) in cld80211_send_msg()
349 int cld80211_send_recv_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg, in cld80211_send_recv_msg()
395 int cld80211_recv(struct cld80211_ctx *ctx, int timeout, bool recv_multi_msg, in cld80211_recv()
[all …]
/hardware/qcom/wlan/wcn6740/cld80211-lib/
Dcld80211_lib.c87 static int init_exit_sockets(struct cld80211_ctx *ctx) in init_exit_sockets()
101 static void cleanup_exit_sockets(struct cld80211_ctx *ctx) in cleanup_exit_sockets()
115 void exit_cld80211_recv(struct cld80211_ctx *ctx) in exit_cld80211_recv()
239 static int get_multicast_id(struct cld80211_ctx *ctx, const char *group) in get_multicast_id()
260 int cld80211_add_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_add_mcast_group()
283 int cld80211_remove_mcast_group(struct cld80211_ctx *ctx, const char* mcgroup) in cld80211_remove_mcast_group()
309 struct nl_msg *cld80211_msg_alloc(struct cld80211_ctx *ctx, int cmd, in cld80211_msg_alloc()
341 int cld80211_send_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg) in cld80211_send_msg()
360 int cld80211_send_recv_msg(struct cld80211_ctx *ctx, struct nl_msg *nlmsg, in cld80211_send_recv_msg()
406 int cld80211_recv(struct cld80211_ctx *ctx, int timeout, bool recv_multi_msg, in cld80211_recv()
[all …]
/hardware/google/apf/next/
Dtest_buf_allocator.c36 uint8_t* apf_allocate_buffer(__attribute__ ((unused)) void* ctx, uint32_t size) { in apf_allocate_buffer()
70 int apf_transmit_buffer(__attribute__((unused)) void* ctx, uint8_t* ptr, in apf_transmit_buffer()
/hardware/google/aemu/host-common/
Daddress_space_host_memory_allocator_unittests.cpp81 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST() local
92 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST() local
111 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST() local
150 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST() local
165 AddressSpaceHostMemoryAllocatorContext ctx(&ops, &hw_funcs); in TEST() local
/hardware/interfaces/macsec/aidl/default/
DMacsecPskPlugin.cpp52 static int omac1_aes(CMAC_CTX* ctx, const uint8_t* data, size_t data_len, in omac1_aes()
77 static int aes_kdf(CMAC_CTX* ctx, const char* label, const uint8_t* context, int ctx_bits, in aes_kdf()
192 CMAC_CTX* ctx = NULL; in calcIcv() local
216 CMAC_CTX* ctx = NULL; in generateSak() local
255 AES_KEY* ctx = NULL; in wrapSak() local
285 AES_KEY* ctx = NULL; in unwrapSak() local
/hardware/google/gfxstream/guest/renderControl_enc/
DrenderControl_enc.cpp35 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetRendererVersion_enc() local
76 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetEGLVersion_enc() local
125 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcQueryEGLString_enc() local
172 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetGLString_enc() local
219 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetNumConfigs_enc() local
264 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetConfigs_enc() local
310 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcChooseConfig_enc() local
362 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetFBParam_enc() local
404 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcCreateContext_enc() local
448 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcDestroyContext_enc() local
[all …]
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp392 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__close() local
402 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__activate() local
409 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__setDelay() local
417 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__poll() local
424 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__query() local
431 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__batch() local
439 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__flush() local
/hardware/google/gfxstream/guest/magma/magma_enc/
Dmagma_enc.cpp37 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_device_import_enc() local
83 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_device_release_enc() local
110 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_device_query_enc() local
161 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_device_query_fudge_enc() local
219 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_device_create_connection_enc() local
265 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_connection_release_enc() local
292 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_connection_get_error_enc() local
334 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_connection_create_context_enc() local
380 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_connection_release_context_enc() local
408 magma_encoder_context_t *ctx = (magma_encoder_context_t *)self; in magma_connection_create_buffer_enc() local
[all …]
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp337 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__close() local
347 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__activate() local
354 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__setDelay() local
362 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__poll() local
369 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__batch() local
376 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__flush() local
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dring_buffer.cpp132 void ring_buffer_deinit(void *ctx) in ring_buffer_deinit()
154 enum rb_status rb_write (void *ctx, u8 *buf, size_t length, int overwrite, in rb_write()
354 size_t rb_read (void *ctx, u8 *buf, size_t max_length) in rb_read()
449 u8 *rb_get_read_buf(void *ctx, size_t *length) in rb_get_read_buf()
573 void rb_config_threshold(void *ctx, in rb_config_threshold()
585 void rb_get_stats(void *ctx, struct rb_stats *rbs) in rb_get_stats()

1234