/external/vboot_reference/firmware/2lib/ |
H A D | 2misc.c | 28 void vb2_workbuf_from_ctx(struct vb2_context *ctx, struct vb2_workbuf *wb) argument 30 vb2_workbuf_init(wb, ctx->workbuf + ctx->workbuf_used, 31 ctx->workbuf_size - ctx->workbuf_used); 34 int vb2_read_gbb_header(struct vb2_context *ctx, struct vb2_gbb_header *gbb) argument 39 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, 0, gbb, sizeof(*gbb)); 66 void vb2_fail(struct vb2_context *ctx, uint8_t reason, uint8_t subcode) argument 68 struct vb2_shared_data *sd = vb2_get_sd(ctx); 72 vb2_nv_init(ctx); 115 vb2_init_context(struct vb2_context *ctx) argument 139 vb2_check_recovery(struct vb2_context *ctx) argument 177 vb2_fw_parse_gbb(struct vb2_context *ctx) argument 204 vb2_check_dev_switch(struct vb2_context *ctx) argument 287 vb2_check_tpm_clear(struct vb2_context *ctx) argument 315 vb2_select_fw_slot(struct vb2_context *ctx) argument [all...] |
/external/libxkbcommon/xkbcommon/src/ |
H A D | context-priv.c | 37 xkb_context_num_failed_include_paths(struct xkb_context *ctx) argument 39 return darray_size(ctx->failed_includes); 43 xkb_context_failed_include_path_get(struct xkb_context *ctx, argument 46 if (idx >= xkb_context_num_failed_include_paths(ctx)) 49 return darray_item(ctx->failed_includes, idx); 53 xkb_atom_lookup(struct xkb_context *ctx, const char *string) argument 55 return atom_lookup(ctx->atom_table, string, strlen(string)); 59 xkb_atom_intern(struct xkb_context *ctx, const char *string, size_t len) argument 61 return atom_intern(ctx->atom_table, string, len, false); 65 xkb_atom_steal(struct xkb_context *ctx, cha argument 71 xkb_atom_text(struct xkb_context *ctx, xkb_atom_t atom) argument 77 xkb_log(struct xkb_context *ctx, enum xkb_log_level level, int verbosity, const char *fmt, ...) argument 91 xkb_context_get_buffer(struct xkb_context *ctx, size_t size) argument 116 xkb_context_get_default_rules(struct xkb_context *ctx) argument 127 xkb_context_get_default_model(struct xkb_context *ctx) argument 138 xkb_context_get_default_layout(struct xkb_context *ctx) argument 149 xkb_context_get_default_variant(struct xkb_context *ctx) argument 163 xkb_context_get_default_options(struct xkb_context *ctx) argument 174 xkb_context_sanitize_rule_names(struct xkb_context *ctx, struct xkb_rule_names *rmlvo) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | xml-utils.h | 18 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, 20 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, 22 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node); 23 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node); 24 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf); 25 const char * xml_node_get_localname(struct xml_node_ctx *ctx, 27 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node); 28 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node); 29 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent, 31 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, cons [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | xml-utils.h | 18 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, 20 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, 22 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node); 23 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node); 24 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf); 25 const char * xml_node_get_localname(struct xml_node_ctx *ctx, 27 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node); 28 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node); 29 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent, 31 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, cons [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | xml-utils.h | 18 int xml_validate(struct xml_node_ctx *ctx, xml_node_t *node, 20 int xml_validate_dtd(struct xml_node_ctx *ctx, xml_node_t *node, 22 void xml_node_free(struct xml_node_ctx *ctx, xml_node_t *node); 23 xml_node_t * xml_node_get_parent(struct xml_node_ctx *ctx, xml_node_t *node); 24 xml_node_t * xml_node_from_buf(struct xml_node_ctx *ctx, const char *buf); 25 const char * xml_node_get_localname(struct xml_node_ctx *ctx, 27 char * xml_node_to_str(struct xml_node_ctx *ctx, xml_node_t *node); 28 void xml_node_detach(struct xml_node_ctx *ctx, xml_node_t *node); 29 void xml_node_add_child(struct xml_node_ctx *ctx, xml_node_t *parent, 31 xml_node_t * xml_node_create_root(struct xml_node_ctx *ctx, cons [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | relu_op.cc | 32 explicit ReluOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument 34 void Compile(XlaOpKernelContext* ctx) override { 35 xla::ComputationBuilder* builder = ctx->builder(); 37 ctx->SetOutput(0, builder->Max(zero, ctx->Input(0))); 43 explicit Relu6Op(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument 45 void Compile(XlaOpKernelContext* ctx) override { 46 xla::ComputationBuilder* builder = ctx 55 ReluGradOp(OpKernelConstruction* ctx) argument 70 Relu6GradOp(OpKernelConstruction* ctx) argument [all...] |
H A D | reverse_op.cc | 32 explicit ReverseOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument 34 void Compile(XlaOpKernelContext* ctx) override { 36 const TensorShape x_shape = ctx->InputShape(0); 37 const TensorShape revd_shape = ctx->InputShape(1); 39 OP_REQUIRES(ctx, TensorShapeUtils::IsVector(revd_shape), 42 OP_REQUIRES(ctx, revd_shape.num_elements() == x_shape.dims(), 48 ctx->SetOutput(0, ctx->Input(0)); 53 OP_REQUIRES_OK(ctx, ct 73 ReverseV2Op(OpKernelConstruction* ctx) argument [all...] |
H A D | shape_op.cc | 31 explicit ShapeOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { argument 32 OP_REQUIRES_OK(ctx, ctx->GetAttr("out_type", &out_dtype_)); 35 void Compile(XlaOpKernelContext* ctx) override { 36 const TensorShape input_shape = ctx->InputShape(0); 38 OP_REQUIRES_OK(ctx, TensorShapeToConstant(input_shape, &shape_constant)); 39 ctx->SetConstantOutput(0, shape_constant); 50 explicit ShapeNOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { argument 72 RankOp(OpKernelConstruction* ctx) argument 88 SizeOp(OpKernelConstruction* ctx) argument 107 ExpandDimsOp(OpKernelConstruction* ctx) argument 157 SqueezeOp(OpKernelConstruction* ctx) argument 219 ZerosLikeOp(OpKernelConstruction* ctx) argument 233 OnesLikeOp(OpKernelConstruction* ctx) argument [all...] |
/external/boringssl/src/crypto/fipsmodule/cipher/ |
H A D | cipher.c | 70 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { argument 71 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); 75 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); local 76 if (ctx) { 77 EVP_CIPHER_CTX_init(ctx); 79 return ctx; 92 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { argument 93 if (ctx) { 94 EVP_CIPHER_CTX_cleanup(ctx); 95 OPENSSL_free(ctx); 128 EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx) argument 133 EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *engine, const uint8_t *key, const uint8_t *iv, int enc) argument 230 EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const uint8_t *key, const uint8_t *iv) argument 235 EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const uint8_t *key, const uint8_t *iv) argument 240 EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len) argument 309 EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len) argument 353 EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len) argument 410 EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *out_len) argument 469 EVP_Cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len) argument 474 EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len, const uint8_t *in, int in_len) argument 483 EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, uint8_t *out, int *out_len) argument 491 EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx) argument 495 EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx) argument 499 EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx) argument 503 EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx) argument 507 EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx) argument 511 EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx) argument 515 EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data) argument 519 EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx) argument 523 EVP_CIPHER_CTX_mode(const EVP_CIPHER_CTX *ctx) argument 527 EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int command, int arg, void *ptr) argument 548 EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *ctx, int pad) argument 593 EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv, int enc) argument 601 EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv) argument 606 EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const uint8_t *key, const uint8_t *iv) argument 615 EVP_CIPHER_CTX_set_flags(const EVP_CIPHER_CTX *ctx, uint32_t flags) argument [all...] |
/external/libdrm/tests/ttmtest/src/ |
H A D | ttmtest.c | 135 releaseContext(TinyDRIContext * ctx) argument 137 switch (ctx->state) { 139 uniDRIDestroyContext(ctx->display, ctx->screen, ctx->id); 141 drmClose(ctx->drmFD); 143 XFree(ctx->driPriv); 145 XFree(ctx->driverName); 147 XFree(ctx->curBusID); 148 uniDRICloseConnection(ctx 169 benchmarkBuffer(TinyDRIContext * ctx, unsigned long size, unsigned long *ticks) argument 305 testAGP(TinyDRIContext * ctx) argument 352 TinyDRIContext ctx; local [all...] |
/external/libvpx/libvpx/vpx/src/ |
H A D | vpx_decoder.c | 18 #define SAVE_STATUS(ctx, var) (ctx ? (ctx->err = var) : var) 20 static vpx_codec_alg_priv_t *get_alg_priv(vpx_codec_ctx_t *ctx) { argument 21 return (vpx_codec_alg_priv_t *)ctx->priv; 24 vpx_codec_err_t vpx_codec_dec_init_ver(vpx_codec_ctx_t *ctx, argument 32 else if (!ctx || !iface) 48 memset(ctx, 0, sizeof(*ctx)); 49 ctx 85 vpx_codec_get_stream_info(vpx_codec_ctx_t *ctx, vpx_codec_stream_info_t *si) argument 104 vpx_codec_decode(vpx_codec_ctx_t *ctx, const uint8_t *data, unsigned int data_sz, void *user_priv, long deadline) argument 123 vpx_codec_get_frame(vpx_codec_ctx_t *ctx, vpx_codec_iter_t *iter) argument 134 vpx_codec_register_put_frame_cb(vpx_codec_ctx_t *ctx, vpx_codec_put_frame_cb_fn_t cb, void *user_priv) argument 153 vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *ctx, vpx_codec_put_slice_cb_fn_t cb, void *user_priv) argument 172 vpx_codec_set_frame_buffer_functions( vpx_codec_ctx_t *ctx, vpx_get_frame_buffer_cb_fn_t cb_get, vpx_release_frame_buffer_cb_fn_t cb_release, void *cb_priv) argument [all...] |
/external/mesa3d/src/compiler/glsl/ |
H A D | standalone.cpp | 113 new_program(struct gl_context *ctx, GLenum target, GLuint id, bool is_arb_asm) argument 135 initialize_context(struct gl_context *ctx, gl_api api) argument 137 initialize_context_to_defaults(ctx, api); 142 ctx->Const.GLSLVersion = options->glsl_version; 143 ctx->Extensions.ARB_ES3_compatibility = true; 144 ctx->Const.MaxComputeWorkGroupCount[0] = 65535; 145 ctx->Const.MaxComputeWorkGroupCount[1] = 65535; 146 ctx->Const.MaxComputeWorkGroupCount[2] = 65535; 147 ctx->Const.MaxComputeWorkGroupSize[0] = 1024; 148 ctx 335 load_text_file(void *ctx, const char *file_name) argument 378 compile_shader(struct gl_context *ctx, struct gl_shader *shader) argument 399 struct gl_context *ctx = &local_ctx; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | dblist_dir.c | 39 struct dir_context ctx; local 43 ctx.dir = 0; 44 ctx.flags = flags; 46 ctx.buf = block_buf; 48 retval = ext2fs_get_mem(dblist->fs->blocksize, &ctx.buf); 52 ctx.func = func; 53 ctx.priv_data = priv_data; 54 ctx.errcode = 0; 56 retval = ext2fs_dblist_iterate2(dblist, db_dir_proc, &ctx); 59 ext2fs_free_mem(&ctx 69 struct dir_context *ctx; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | buffers.c | 55 supported_buffer_bitmask(const struct gl_context *ctx, argument 62 mask = ((1 << ctx->Const.MaxColorAttachments) - 1) << BUFFER_COLOR0; 93 draw_buffer_enum_to_bitmask(const struct gl_context *ctx, GLenum buffer) argument 101 if (_mesa_is_gles(ctx)) { 117 if (ctx->DrawBuffer->Visual.doubleBufferMode) 176 read_buffer_enum_to_index(const struct gl_context *ctx, GLenum buffer) argument 182 if (_mesa_is_gles(ctx)) { 189 if (!ctx->DrawBuffer->Visual.doubleBufferMode) 254 * current ctx->DrawBuffer is a window-system framebuffer or a user-created 256 * In the former case, we update the per-context ctx 268 draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum buffer, const char *caller) argument 353 draw_buffers(struct gl_context *ctx, struct gl_framebuffer *fb, GLsizei n, const GLenum *buffers, const char *caller) argument 579 updated_drawbuffers(struct gl_context *ctx, struct gl_framebuffer *fb) argument 608 _mesa_drawbuffers(struct gl_context *ctx, struct gl_framebuffer *fb, GLuint n, const GLenum *buffers, const GLbitfield *destMask) argument 697 _mesa_update_draw_buffers(struct gl_context *ctx) argument 718 _mesa_readbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum buffer, gl_buffer_index bufferIndex) argument 742 read_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum buffer, const char *caller) argument [all...] |
H A D | api_validate.c | 43 check_blend_func_error(struct gl_context *ctx) argument 54 for (unsigned i = ctx->Const.MaxDualSourceDrawBuffers; 55 i < ctx->DrawBuffer->_NumColorDrawBuffers; 57 if (ctx->Color.Blend[i]._UsesDualSrc) { 58 _mesa_error(ctx, GL_INVALID_OPERATION, 64 if (ctx->Color.BlendEnabled && ctx->Color._AdvancedBlendMode) { 77 if (ctx->DrawBuffer->ColorDrawBuffer[0] == GL_FRONT_AND_BACK) { 78 _mesa_error(ctx, GL_INVALID_OPERATION, 84 for (unsigned i = 1; i < ctx 126 _mesa_valid_to_render(struct gl_context *ctx, const char *where) argument 229 check_valid_to_render(struct gl_context *ctx, const char *function) argument 333 _mesa_is_valid_prim_mode(struct gl_context *ctx, GLenum mode) argument 364 _mesa_valid_prim_mode(struct gl_context *ctx, GLenum mode, const char *name) argument 614 valid_elements_type(struct gl_context *ctx, GLenum type, const char *name) argument 630 validate_DrawElements_common(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, const char *caller) argument 699 _mesa_validate_DrawElements(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument 716 _mesa_validate_MultiDrawElements(struct gl_context *ctx, GLenum mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount) argument 782 _mesa_validate_DrawRangeElements(struct gl_context *ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) argument 799 validate_draw_arrays(struct gl_context *ctx, const char *func, GLenum mode, GLsizei count, GLsizei numInstances) argument 868 _mesa_validate_DrawArrays(struct gl_context *ctx, GLenum mode, GLsizei count) argument 875 _mesa_validate_DrawArraysInstanced(struct gl_context *ctx, GLenum mode, GLint first, GLsizei count, GLsizei numInstances) argument 896 _mesa_validate_DrawElementsInstanced(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei numInstances) argument 915 _mesa_validate_DrawTransformFeedback(struct gl_context *ctx, GLenum mode, struct gl_transform_feedback_object *obj, GLuint stream, GLsizei numInstances) argument 968 valid_draw_indirect(struct gl_context *ctx, GLenum mode, const GLvoid *indirect, GLsizei size, const char *name) argument 1066 valid_draw_indirect_elements(struct gl_context *ctx, GLenum mode, GLenum type, const GLvoid *indirect, GLsizeiptr size, const char *name) argument 1089 valid_draw_indirect_multi(struct gl_context *ctx, GLsizei primcount, GLsizei stride, const char *name) argument 1120 _mesa_validate_DrawArraysIndirect(struct gl_context *ctx, GLenum mode, const GLvoid *indirect) argument 1134 _mesa_validate_DrawElementsIndirect(struct gl_context *ctx, GLenum mode, GLenum type, const GLvoid *indirect) argument 1148 _mesa_validate_MultiDrawArraysIndirect(struct gl_context *ctx, GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride) argument 1178 _mesa_validate_MultiDrawElementsIndirect(struct gl_context *ctx, GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride) argument 1209 valid_draw_indirect_parameters(struct gl_context *ctx, const char *name, GLintptr drawcount) argument 1257 _mesa_validate_MultiDrawArraysIndirectCount(struct gl_context *ctx, GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) argument 1290 _mesa_validate_MultiDrawElementsIndirectCount(struct gl_context *ctx, GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) argument 1324 check_valid_to_compute(struct gl_context *ctx, const char *function) argument 1352 _mesa_validate_DispatchCompute(struct gl_context *ctx, const GLuint *num_groups) argument 1404 _mesa_validate_DispatchComputeGroupSizeARB(struct gl_context *ctx, const GLuint *num_groups, const GLuint *group_size) argument 1487 valid_dispatch_indirect(struct gl_context *ctx, GLintptr indirect, GLsizei size, const char *name) argument 1554 _mesa_validate_DispatchComputeIndirect(struct gl_context *ctx, GLintptr indirect) argument [all...] |
H A D | ffvertex_prog.h | 36 _mesa_get_fixed_func_vertex_program(struct gl_context *ctx);
|
/external/emma/core/java12/com/vladium/util/ |
H A D | IClassLoadStrategy.java | 28 ClassLoader getClassLoader (ClassLoadContext ctx); argument
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nv20_state_raster.c | 35 nv20_emit_logic_opcode(struct gl_context *ctx, int emit) argument 37 struct nouveau_pushbuf *push = context_push(ctx); 40 PUSH_DATAb(push, ctx->Color.ColorLogicOpEnabled); 41 PUSH_DATA (push, nvgl_logicop_func(ctx->Color.LogicOp));
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_maos.h | 40 extern void r200EmitArrays( struct gl_context *ctx, GLubyte *vimap_rev );
|
H A D | radeon_fog.h | 42 radeonComputeFogBlendFactor( struct gl_context *ctx, GLfloat fogcoord );
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_fog.h | 42 radeonComputeFogBlendFactor( struct gl_context *ctx, GLfloat fogcoord );
|
H A D | radeon_maos.h | 40 extern void radeonEmitArrays( struct gl_context *ctx, GLuint inputs );
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_tess.c | 43 const struct gl_context *ctx = st->ctx; local 50 ctx->TessCtrlProgram.patch_default_outer_level, 51 ctx->TessCtrlProgram.patch_default_inner_level);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_aaline.h | 35 _swrast_choose_aa_line_function(struct gl_context *ctx);
|
H A D | s_aatriangle.h | 35 _swrast_set_aa_triangle_function(struct gl_context *ctx);
|