Searched refs:ctx (Results 151 - 175 of 4049) sorted by relevance

1234567891011>>

/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_context.c72 static const GLubyte *r200GetString( struct gl_context *ctx, GLenum name ) argument
74 r200ContextPtr rmesa = R200_CONTEXT(ctx);
188 struct gl_context *ctx; local
252 ctx = &rmesa->radeon.glCtx;
254 driContextSetFlags(ctx, flags);
258 _swrast_CreateContext( ctx );
259 _vbo_CreateContext( ctx );
260 _tnl_CreateContext( ctx );
261 _swsetup_CreateContext( ctx );
262 _ae_create_context( ctx );
[all...]
H A Dr200_swtcl.h41 extern void r200InitSwtcl( struct gl_context *ctx );
43 extern void r200ChooseRenderState( struct gl_context *ctx );
44 extern void r200ChooseVertexState( struct gl_context *ctx );
46 extern void r200CheckTexSizes( struct gl_context *ctx );
48 extern void r200BuildVertices( struct gl_context *ctx, GLuint start, GLuint count,
54 extern void r200_translate_vertex( struct gl_context *ctx,
58 extern void r200_print_vertex( struct gl_context *ctx, const radeonVertex *v );
60 extern void r200_import_float_colors( struct gl_context *ctx );
61 extern void r200_import_float_spec_colors( struct gl_context *ctx );
63 extern void r200PointsBitmap( struct gl_context *ctx, GLin
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/constant/
H A DICONSTANTVisitor.java20 //Object visit (CONSTANT_info constant, Object ctx);
22 Object visit (CONSTANT_Class_info constant, Object ctx); argument
24 Object visit (CONSTANT_InterfaceMethodref_info constant, Object ctx); argument
25 Object visit (CONSTANT_Methodref_info constant, Object ctx); argument
26 Object visit (CONSTANT_Fieldref_info constant, Object ctx); argument
28 Object visit (CONSTANT_Double_info constant, Object ctx); argument
29 Object visit (CONSTANT_Float_info constant, Object ctx); argument
30 Object visit (CONSTANT_Integer_info constant, Object ctx); argument
31 Object visit (CONSTANT_Long_info constant, Object ctx); argument
32 Object visit (CONSTANT_String_info constant, Object ctx); argument
34 visit(CONSTANT_Utf8_info constant, Object ctx) argument
35 visit(CONSTANT_NameAndType_info constant, Object ctx) argument
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dtnl.h43 _tnl_CreateContext( struct gl_context *ctx );
46 _tnl_DestroyContext( struct gl_context *ctx );
49 _tnl_InvalidateState( struct gl_context *ctx, GLuint new_state );
56 _tnl_wakeup( struct gl_context *ctx );
61 _tnl_need_projected_coords( struct gl_context *ctx, GLboolean flag );
67 _tnl_allow_vertex_fog( struct gl_context *ctx, GLboolean value );
70 _tnl_allow_pixel_fog( struct gl_context *ctx, GLboolean value );
73 _tnl_program_string(struct gl_context *ctx, GLenum target, struct gl_program *program);
79 _tnl_draw_prims(struct gl_context *ctx,
91 _tnl_RasterPos(struct gl_context *ctx, cons
[all...]
/external/mesa3d/src/mesa/main/
H A Dbufferobj.c69 buffer_usage_warning(struct gl_context *ctx, GLuint *id, const char *fmt, ...) argument
74 _mesa_gl_vdebug(ctx, id,
98 * \param ctx the GL context
104 get_buffer_target(struct gl_context *ctx, GLenum target) argument
108 if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles3(ctx)
114 return &ctx->Array.ArrayBufferObj;
116 return &ctx->Array.VAO->IndexBufferObj;
118 return &ctx->Pack.BufferObj;
120 return &ctx
193 get_buffer(struct gl_context *ctx, const char *func, GLenum target, GLenum error) argument
217 simplified_access_mode(struct gl_context *ctx, GLbitfield access) argument
298 buffer_object_subdata_range_good(struct gl_context *ctx, const struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, bool mappedRange, const char *caller) argument
361 validate_clear_buffer_format(struct gl_context *ctx, GLenum internalformat, GLenum format, GLenum type, const char *caller) argument
419 convert_clear_buffer_data(struct gl_context *ctx, mesa_format internalformat, GLubyte *clearValue, GLenum format, GLenum type, const GLvoid *data, const char *caller) argument
444 _mesa_new_buffer_object(struct gl_context *ctx, GLuint name) argument
462 _mesa_delete_buffer_object(struct gl_context *ctx, struct gl_buffer_object *bufObj) argument
487 _mesa_reference_buffer_object_(struct gl_context *ctx, struct gl_buffer_object **ptr, struct gl_buffer_object *bufObj) argument
551 _mesa_initialize_buffer_object(struct gl_context *ctx, struct gl_buffer_object *obj, GLuint name) argument
587 _mesa_total_buffer_object_memory(struct gl_context *ctx) argument
617 buffer_data_fallback(struct gl_context *ctx, GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage, GLenum storageFlags, struct gl_buffer_object *bufObj) argument
663 buffer_sub_data_fallback(struct gl_context *ctx, GLintptr offset, GLsizeiptr size, const GLvoid *data, struct gl_buffer_object *bufObj) argument
696 _mesa_buffer_get_subdata( struct gl_context *ctx, GLintptrARB offset, GLsizeiptrARB size, GLvoid * data, struct gl_buffer_object * bufObj ) argument
726 _mesa_ClearBufferSubData_sw(struct gl_context *ctx, GLintptr offset, GLsizeiptr size, const GLvoid *clearValue, GLsizeiptr clearValueSize, struct gl_buffer_object *bufObj) argument
767 map_buffer_range_fallback(struct gl_context *ctx, GLintptr offset, GLsizeiptr length, GLbitfield access, struct gl_buffer_object *bufObj, gl_map_buffer_index index) argument
788 flush_mapped_buffer_range_fallback(struct gl_context *ctx, GLintptr offset, GLsizeiptr length, struct gl_buffer_object *obj, gl_map_buffer_index index) argument
810 unmap_buffer_fallback(struct gl_context *ctx, struct gl_buffer_object *bufObj, gl_map_buffer_index index) argument
828 copy_buffer_sub_data_fallback(struct gl_context *ctx, struct gl_buffer_object *src, struct gl_buffer_object *dst, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) argument
982 _mesa_handle_bind_buffer_gen(struct gl_context *ctx, GLuint buffer, struct gl_buffer_object **buf_handle, const char *caller) argument
1016 bind_buffer_object(struct gl_context *ctx, GLenum target, GLuint buffer) argument
1071 _mesa_update_default_objects_buffer_objects(struct gl_context *ctx) argument
1089 _mesa_lookup_bufferobj(struct gl_context *ctx, GLuint buffer) argument
1100 _mesa_lookup_bufferobj_locked(struct gl_context *ctx, GLuint buffer) argument
1115 _mesa_lookup_bufferobj_err(struct gl_context *ctx, GLuint buffer, const char *caller) argument
1132 _mesa_begin_bufferobj_lookups(struct gl_context *ctx) argument
1139 _mesa_end_bufferobj_lookups(struct gl_context *ctx) argument
1162 _mesa_multi_bind_lookup_bufferobj(struct gl_context *ctx, const GLuint *buffers, GLuint index, const char *caller) argument
1202 unbind(struct gl_context *ctx, struct gl_vertex_array_object *vao, unsigned index, struct gl_buffer_object *obj) argument
1242 _mesa_buffer_unmap_all_mappings(struct gl_context *ctx, struct gl_buffer_object *bufObj) argument
1530 _mesa_buffer_storage(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLenum target, GLsizeiptr size, const GLvoid *data, GLbitfield flags, const char *func) argument
1628 _mesa_buffer_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage, const char *func) argument
1766 _mesa_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, const GLvoid *data, const char *func) argument
1884 _mesa_clear_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid *data, const char *func, bool subdata) argument
2011 _mesa_unmap_buffer(struct gl_context *ctx, struct gl_buffer_object *bufObj, const char *func) argument
2096 get_buffer_parameter(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLenum pname, GLint64 *params, const char *func) argument
2271 _mesa_copy_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *src, struct gl_buffer_object *dst, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, const char *func) argument
2387 _mesa_map_buffer_range(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr length, GLbitfield access, const char *func) argument
2626 get_map_buffer_access_flags(struct gl_context *ctx, GLenum access, GLbitfield *flags) argument
2686 _mesa_flush_mapped_buffer_range(struct gl_context *ctx, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr length, const char *func) argument
2778 set_ubo_binding(struct gl_context *ctx, struct gl_uniform_buffer_binding *binding, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, GLboolean autoSize) argument
2805 set_ssbo_binding(struct gl_context *ctx, struct gl_shader_storage_buffer_binding *binding, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, GLboolean autoSize) argument
2833 bind_uniform_buffer(struct gl_context *ctx, GLuint index, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, GLboolean autoSize) argument
2864 bind_shader_storage_buffer(struct gl_context *ctx, GLuint index, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, GLboolean autoSize) argument
2895 bind_buffer_range_uniform_buffer(struct gl_context *ctx, GLuint index, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size) argument
2930 bind_buffer_range_shader_storage_buffer(struct gl_context *ctx, GLuint index, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size) argument
2962 bind_buffer_base_uniform_buffer(struct gl_context *ctx, GLuint index, struct gl_buffer_object *bufObj) argument
2984 bind_buffer_base_shader_storage_buffer(struct gl_context *ctx, GLuint index, struct gl_buffer_object *bufObj) argument
3008 set_atomic_buffer_binding(struct gl_context *ctx, struct gl_atomic_buffer_binding *binding, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size) argument
3035 bind_atomic_buffer(struct gl_context *ctx, unsigned index, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, const char *name) argument
3072 bind_buffers_check_offset_and_size(struct gl_context *ctx, GLuint index, const GLintptr *offsets, const GLsizeiptr *sizes) argument
3105 error_check_bind_uniform_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const char *caller) argument
3134 error_check_bind_shader_storage_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const char *caller) argument
3167 unbind_uniform_buffers(struct gl_context *ctx, GLuint first, GLsizei count) argument
3182 unbind_shader_storage_buffers(struct gl_context *ctx, GLuint first, GLsizei count) argument
3194 bind_uniform_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const GLuint *buffers, bool range, const GLintptr *offsets, const GLsizeiptr *sizes, const char *caller) argument
3305 bind_shader_storage_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const GLuint *buffers, bool range, const GLintptr *offsets, const GLsizeiptr *sizes, const char *caller) argument
3417 error_check_bind_xfb_buffers(struct gl_context *ctx, struct gl_transform_feedback_object *tfObj, GLuint first, GLsizei count, const char *caller) argument
3468 unbind_xfb_buffers(struct gl_context *ctx, struct gl_transform_feedback_object *tfObj, GLuint first, GLsizei count) argument
3481 bind_xfb_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const GLuint *buffers, bool range, const GLintptr *offsets, const GLsizeiptr *sizes, const char *caller) argument
3602 error_check_bind_atomic_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const char *caller) argument
3634 unbind_atomic_buffers(struct gl_context *ctx, GLuint first, GLsizei count) argument
3645 bind_atomic_buffers(struct gl_context *ctx, GLuint first, GLsizei count, const GLuint *buffers, bool range, const GLintptr *offsets, const GLsizeiptr *sizes, const char *caller) argument
[all...]
H A Dblend.c46 legal_src_factor(const struct gl_context *ctx, GLenum factor) argument
65 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2;
70 return ctx->API != API_OPENGLES
71 && ctx->Extensions.ARB_blend_func_extended;
83 legal_dst_factor(const struct gl_context *ctx, GLenum factor) argument
101 return _mesa_is_desktop_gl(ctx) || ctx->API == API_OPENGLES2;
103 return (ctx->API != API_OPENGLES
104 && ctx
124 validate_blend_factors(struct gl_context *ctx, const char *func, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorA, GLenum dfactorA) argument
184 update_uses_dual_src(struct gl_context *ctx, int buf) argument
199 num_buffers(const struct gl_context *ctx) argument
343 legal_simple_blend_equation(const struct gl_context *ctx, GLenum mode) argument
404 advanced_blend_mode(const struct gl_context *ctx, GLenum mode) argument
919 _mesa_get_clamp_fragment_color(const struct gl_context *ctx, const struct gl_framebuffer *drawFb) argument
926 _mesa_get_clamp_vertex_color(const struct gl_context *ctx, const struct gl_framebuffer *drawFb) argument
933 _mesa_get_clamp_read_color(const struct gl_context *ctx, const struct gl_framebuffer *readFb) argument
943 _mesa_update_clamp_fragment_color(struct gl_context *ctx, const struct gl_framebuffer *drawFb) argument
963 _mesa_update_clamp_vertex_color(struct gl_context *ctx, const struct gl_framebuffer *drawFb) argument
980 _mesa_get_render_format(const struct gl_context *ctx, mesa_format format) argument
[all...]
H A Dfog.c85 update_fog_scale(struct gl_context *ctx) argument
87 if (ctx->Fog.End == ctx->Fog.Start)
88 ctx->Fog._Scale = 1.0f;
90 ctx->Fog._Scale = 1.0f / (ctx->Fog.End - ctx->Fog.Start);
97 GET_CURRENT_CONTEXT(ctx);
109 _mesa_error( ctx, GL_INVALID_ENUM, "glFog" );
112 if (ctx
[all...]
/external/libvpx/libvpx/vpx/src/
H A Dvpx_codec.c21 #define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var)
53 const char *vpx_codec_error(vpx_codec_ctx_t *ctx) { argument
54 return (ctx) ? vpx_codec_err_to_string(ctx->err)
58 const char *vpx_codec_error_detail(vpx_codec_ctx_t *ctx) { argument
59 if (ctx && ctx->err)
60 return ctx
65 vpx_codec_destroy(vpx_codec_ctx_t *ctx) argument
88 vpx_codec_control_(vpx_codec_ctx_t *ctx, int ctrl_id, ...) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv10_state_polygon.c35 nv10_emit_cull_face(struct gl_context *ctx, int emit) argument
37 struct nouveau_pushbuf *push = context_push(ctx);
38 GLenum mode = ctx->Polygon.CullFaceMode;
41 PUSH_DATAb(push, ctx->Polygon.CullFlag);
50 nv10_emit_front_face(struct gl_context *ctx, int emit) argument
52 struct nouveau_pushbuf *push = context_push(ctx);
55 PUSH_DATA (push, ctx->Polygon.FrontFace == GL_CW ?
60 nv10_emit_line_mode(struct gl_context *ctx, int emit) argument
62 struct nouveau_pushbuf *push = context_push(ctx);
63 GLboolean smooth = ctx
74 nv10_emit_line_stipple(struct gl_context *ctx, int emit) argument
79 nv10_emit_point_mode(struct gl_context *ctx, int emit) argument
91 nv10_emit_polygon_mode(struct gl_context *ctx, int emit) argument
104 nv10_emit_polygon_offset(struct gl_context *ctx, int emit) argument
119 nv10_emit_polygon_stipple(struct gl_context *ctx, int emit) argument
[all...]
/external/mmc-utils/3rdparty/hmac_sha/
H A Dhmac_sha2.c44 void hmac_sha224_init(hmac_sha224_ctx *ctx, const unsigned char *key, argument
68 memset(ctx->block_ipad + num, 0x36, fill);
69 memset(ctx->block_opad + num, 0x5c, fill);
73 ctx->block_ipad[i] = key_used[i] ^ 0x36;
74 ctx->block_opad[i] = key_used[i] ^ 0x5c;
77 sha224_init(&ctx->ctx_inside);
78 sha224_update(&ctx->ctx_inside, ctx->block_ipad, SHA224_BLOCK_SIZE);
80 sha224_init(&ctx->ctx_outside);
81 sha224_update(&ctx
91 hmac_sha224_reinit(hmac_sha224_ctx *ctx) argument
99 hmac_sha224_update(hmac_sha224_ctx *ctx, const unsigned char *message, unsigned int message_len) argument
105 hmac_sha224_final(hmac_sha224_ctx *ctx, unsigned char *mac, unsigned int mac_size) argument
121 hmac_sha224_ctx ctx; local
130 hmac_sha256_init(hmac_sha256_ctx *ctx, const unsigned char *key, unsigned int key_size) argument
177 hmac_sha256_reinit(hmac_sha256_ctx *ctx) argument
185 hmac_sha256_update(hmac_sha256_ctx *ctx, const unsigned char *message, unsigned int message_len) argument
191 hmac_sha256_final(hmac_sha256_ctx *ctx, unsigned char *mac, unsigned int mac_size) argument
207 hmac_sha256_ctx ctx; local
216 hmac_sha384_init(hmac_sha384_ctx *ctx, const unsigned char *key, unsigned int key_size) argument
263 hmac_sha384_reinit(hmac_sha384_ctx *ctx) argument
271 hmac_sha384_update(hmac_sha384_ctx *ctx, const unsigned char *message, unsigned int message_len) argument
277 hmac_sha384_final(hmac_sha384_ctx *ctx, unsigned char *mac, unsigned int mac_size) argument
293 hmac_sha384_ctx ctx; local
302 hmac_sha512_init(hmac_sha512_ctx *ctx, const unsigned char *key, unsigned int key_size) argument
349 hmac_sha512_reinit(hmac_sha512_ctx *ctx) argument
357 hmac_sha512_update(hmac_sha512_ctx *ctx, const unsigned char *message, unsigned int message_len) argument
363 hmac_sha512_final(hmac_sha512_ctx *ctx, unsigned char *mac, unsigned int mac_size) argument
379 hmac_sha512_ctx ctx; local
[all...]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dmatmul_op.cc31 explicit MatMulOp(OpKernelConstruction* ctx, bool is_sparse = false) argument
32 : XlaOpKernel(ctx), is_sparse_(is_sparse) {
33 OP_REQUIRES_OK(ctx, ctx->GetAttr("transpose_a", &transpose_a_));
34 OP_REQUIRES_OK(ctx, ctx->GetAttr("transpose_b", &transpose_b_));
36 OP_REQUIRES_OK(ctx, ctx->GetAttr("Ta", &a_type_));
37 OP_REQUIRES_OK(ctx, ctx
96 SparseMatMulOp(OpKernelConstruction* ctx) argument
[all...]
H A Dindex_ops.cc34 XlaArgMinMaxOp::XlaArgMinMaxOp(OpKernelConstruction* ctx, bool is_min) argument
35 : XlaOpKernel(ctx), is_min_(is_min) {}
37 void XlaArgMinMaxOp::Compile(XlaOpKernelContext* ctx) { argument
38 const TensorShape input_shape = ctx->InputShape(0);
39 const TensorShape dimension_shape = ctx->InputShape(1);
41 OP_REQUIRES(ctx, TensorShapeUtils::IsScalar(dimension_shape),
47 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsIntScalar(1, &dim));
53 ctx, axis >= 0 && axis < input_dims,
58 ctx, axis_siz
81 XlaArgMaxOp(OpKernelConstruction* ctx) argument
94 XlaArgMinOp(OpKernelConstruction* ctx) argument
[all...]
H A Dbatch_norm_op.cc28 explicit FusedBatchNormOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { argument
29 OP_REQUIRES_OK(ctx, ctx->GetAttr("epsilon", &epsilon_));
30 OP_REQUIRES_OK(ctx, ctx->GetAttr("is_training", &is_training_));
32 OP_REQUIRES_OK(ctx, ctx->GetAttr("data_format", &data_format_str));
34 ctx, FormatFromString(data_format_str, &data_format_),
36 OP_REQUIRES(ctx,
105 FusedBatchNormGradOp(OpKernelConstruction* ctx) argument
[all...]
/external/mesa3d/src/egl/main/
H A Deglcontext.h72 _eglInitContext(_EGLContext *ctx, _EGLDisplay *dpy,
77 _eglQueryContext(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx, EGLint attribute, EGLint *value);
81 _eglBindContext(_EGLContext *ctx, _EGLSurface *draw, _EGLSurface *read,
90 _eglGetContext(_EGLContext *ctx) argument
92 if (ctx)
93 _eglGetResource(&ctx->Resource);
94 return ctx;
102 _eglPutContext(_EGLContext *ctx) argument
104 return (ctx) ? _eglPutResource(&ctx
113 _eglLinkContext(_EGLContext *ctx) argument
125 _eglUnlinkContext(_EGLContext *ctx) argument
138 _EGLContext *ctx = (_EGLContext *) context; local
149 _eglGetContextHandle(_EGLContext *ctx) argument
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Dcwise_ops_common.cc20 BinaryOpShared::BinaryOpShared(OpKernelConstruction* ctx, DataType out, argument
22 : OpKernel(ctx) {
24 OP_REQUIRES_OK(ctx, ctx->MatchSignature({in, in}, {out}));
28 void BinaryOpShared::SetUnimplementedError(OpKernelContext* ctx) { argument
29 ctx->SetStatus(errors::Unimplemented(
30 "Broadcast between ", ctx->input(0).shape().DebugString(), " and ",
31 ctx->input(1).shape().DebugString(), " is not supported yet."));
34 void BinaryOpShared::SetComputeError(OpKernelContext* ctx) { argument
39 const string& op = ctx
55 BinaryOpState(OpKernelContext* ctx) argument
[all...]
/external/vboot_reference/firmware/lib/cryptolib/
H A Dsha_utility.c14 void DigestInit(DigestContext* ctx, int sig_algorithm) { argument
15 ctx->algorithm = hash_type_map[sig_algorithm];
16 switch(ctx->algorithm) {
19 ctx->sha1_ctx = (SHA1_CTX*) VbExMalloc(sizeof(SHA1_CTX));
20 SHA1_init(ctx->sha1_ctx);
24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX));
25 SHA256_init(ctx->sha256_ctx);
29 ctx->sha512_ctx = (VB_SHA512_CTX*) VbExMalloc(sizeof(VB_SHA512_CTX));
30 SHA512_init(ctx->sha512_ctx);
36 void DigestUpdate(DigestContext* ctx, cons argument
54 DigestFinal(DigestContext* ctx) argument
[all...]
/external/libusb/libusb/
H A Dio.c549 void *event_thread_func(void *ctx)
552 libusb_handle_events(ctx);
591 libusb_hotplug_deregister_callback(ctx, hotplug_cb_handle); // This wakes up libusb_handle_events()
593 libusb_exit(ctx);
647 libusb_handle_events(ctx);
692 libusb_get_pollfds(ctx)
694 libusb_get_next_timeout(ctx);
698 libusb_handle_events_timeout(ctx, &zero_tv);
700 libusb_handle_events_timeout(ctx, &zero_tv);
728 libusb_get_pollfds(ctx)
1123 usbi_io_init(struct libusb_context *ctx) argument
1183 usbi_io_exit(struct libusb_context *ctx) argument
1310 disarm_timerfd(struct libusb_context *ctx) argument
1328 arm_timerfd_for_next_timeout(struct libusb_context *ctx) argument
1357 arm_timerfd_for_next_timeout(struct libusb_context *ctx) argument
1371 struct libusb_context *ctx = ITRANSFER_CTX(transfer); local
1440 struct libusb_context *ctx = ITRANSFER_CTX(transfer); local
1473 struct libusb_context *ctx = TRANSFER_CTX(transfer); local
1688 struct libusb_context *ctx = ITRANSFER_CTX(transfer); local
1710 struct libusb_context *ctx = ITRANSFER_CTX(transfer); local
1740 libusb_try_lock_events(libusb_context *ctx) argument
1782 libusb_lock_events(libusb_context *ctx) argument
1797 libusb_unlock_events(libusb_context *ctx) argument
1832 libusb_event_handling_ok(libusb_context *ctx) argument
1860 libusb_event_handler_active(libusb_context *ctx) argument
1888 libusb_interrupt_event_handler(libusb_context *ctx) argument
1920 libusb_lock_event_waiters(libusb_context *ctx) argument
1931 libusb_unlock_event_waiters(libusb_context *ctx) argument
1962 libusb_wait_for_event(libusb_context *ctx, struct timeval *tv) argument
1996 handle_timeouts_locked(struct libusb_context *ctx) argument
2038 handle_timeouts(struct libusb_context *ctx) argument
2049 handle_timerfd_trigger(struct libusb_context *ctx) argument
2071 handle_events(struct libusb_context *ctx, struct timeval *tv) argument
2280 get_next_timeout(libusb_context *ctx, struct timeval *tv, struct timeval *out) argument
2327 libusb_handle_events_timeout_completed(libusb_context *ctx, struct timeval *tv, int *completed) argument
2396 libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) argument
2416 libusb_handle_events(libusb_context *ctx) argument
2438 libusb_handle_events_completed(libusb_context *ctx, int *completed) argument
2464 libusb_handle_events_locked(libusb_context *ctx, struct timeval *tv) argument
2508 libusb_pollfds_handle_timeouts(libusb_context *ctx) argument
2547 libusb_get_next_timeout(libusb_context *ctx, struct timeval *tv) argument
2625 libusb_set_pollfd_notifiers(libusb_context *ctx, libusb_pollfd_added_cb added_cb, libusb_pollfd_removed_cb removed_cb, void *user_data) argument
2639 usbi_fd_notification(struct libusb_context *ctx) argument
2654 usbi_add_pollfd(struct libusb_context *ctx, int fd, short events) argument
2675 usbi_remove_pollfd(struct libusb_context *ctx, int fd) argument
2719 libusb_get_pollfds( libusb_context *ctx) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c63 struct gl_context *ctx = st->ctx; local
65 const struct gl_program *vertProg = ctx->VertexProgram._Current;
66 const struct gl_program *fragProg = ctx->FragmentProgram._Current;
73 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW);
76 if (ctx->Transform.ClipOrigin == GL_UPPER_LEFT) {
86 if (st_fb_orientation(ctx->DrawBuffer) == Y_0_BOTTOM) {
94 raster->flatshade = ctx->Light.ShadeModel == GL_FLAT;
96 raster->flatshade_first = ctx->Light.ProvokingVertex ==
100 raster->light_twoside = ctx
[all...]
H A Dst_cb_drawpixels_shader.c75 struct tgsi_drawpix_transform *ctx = tgsi_drawpix_transform(tctx); local
76 const unsigned tgsi_tex_target = ctx->tex_target == PIPE_TEXTURE_2D
78 unsigned i, sem_texcoord = ctx->use_texcoord ? TGSI_SEMANTIC_TEXCOORD :
82 if (ctx->first_instruction_emitted)
85 ctx->first_instruction_emitted = true;
88 if (ctx->scale_and_bias) {
89 if (ctx->info.const_file_max[0] < (int)ctx->scale_const) {
90 tgsi_transform_const_decl(tctx, ctx->scale_const, ctx
220 struct tgsi_drawpix_transform ctx; local
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_internal-cipher.c47 struct crypto_cipher *ctx; local
49 ctx = os_zalloc(sizeof(*ctx));
50 if (ctx == NULL)
53 ctx->alg = alg;
57 if (key_len > sizeof(ctx->u.rc4.key)) {
58 os_free(ctx);
61 ctx->u.rc4.keylen = key_len;
62 os_memcpy(ctx->u.rc4.key, key, key_len);
65 ctx
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
230 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
H A Dcrypto_internal.c42 struct crypto_hash *ctx; local
47 ctx = os_zalloc(sizeof(*ctx));
48 if (ctx == NULL)
51 ctx->alg = alg;
55 MD5Init(&ctx->u.md5);
58 SHA1Init(&ctx->u.sha1);
62 sha256_init(&ctx->u.sha256);
67 sha384_init(&ctx->u.sha384);
72 sha512_init(&ctx
143 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
179 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_internal-cipher.c47 struct crypto_cipher *ctx; local
49 ctx = os_zalloc(sizeof(*ctx));
50 if (ctx == NULL)
53 ctx->alg = alg;
57 if (key_len > sizeof(ctx->u.rc4.key)) {
58 os_free(ctx);
61 ctx->u.rc4.keylen = key_len;
62 os_memcpy(ctx->u.rc4.key, key, key_len);
65 ctx
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
230 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
H A Dcrypto_internal.c42 struct crypto_hash *ctx; local
47 ctx = os_zalloc(sizeof(*ctx));
48 if (ctx == NULL)
51 ctx->alg = alg;
55 MD5Init(&ctx->u.md5);
58 SHA1Init(&ctx->u.sha1);
62 sha256_init(&ctx->u.sha256);
67 sha384_init(&ctx->u.sha384);
72 sha512_init(&ctx
143 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
179 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_internal-cipher.c47 struct crypto_cipher *ctx; local
49 ctx = os_zalloc(sizeof(*ctx));
50 if (ctx == NULL)
53 ctx->alg = alg;
57 if (key_len > sizeof(ctx->u.rc4.key)) {
58 os_free(ctx);
61 ctx->u.rc4.keylen = key_len;
62 os_memcpy(ctx->u.rc4.key, key, key_len);
65 ctx
103 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
166 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
230 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
H A Dcrypto_internal.c42 struct crypto_hash *ctx; local
47 ctx = os_zalloc(sizeof(*ctx));
48 if (ctx == NULL)
51 ctx->alg = alg;
55 MD5Init(&ctx->u.md5);
58 SHA1Init(&ctx->u.sha1);
62 sha256_init(&ctx->u.sha256);
67 sha384_init(&ctx->u.sha384);
72 sha512_init(&ctx
143 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
179 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
[all...]

Completed in 639 milliseconds

1234567891011>>