Searched refs:ctx (Results 376 - 400 of 4049) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/mesa/swrast/
H A Ds_triangle.h35 _swrast_culltriangle( struct gl_context *ctx,
41 _swrast_choose_triangle( struct gl_context *ctx );
44 _swrast_add_spec_terms_triangle( struct gl_context *ctx,
/external/mesa3d/src/mesa/vbo/
H A Dvbo_context.c50 init_array(struct gl_context *ctx, struct gl_vertex_array *cl, argument
62 _mesa_reference_buffer_object(ctx, &cl->BufferObj,
63 ctx->Shared->NullBufferObj);
71 static void init_legacy_currval(struct gl_context *ctx) argument
73 struct vbo_context *vbo = vbo_context(ctx);
82 init_array(ctx, cl,
83 check_size(ctx->Current.Attrib[i]),
84 ctx->Current.Attrib[i]);
89 static void init_generic_currval(struct gl_context *ctx) argument
91 struct vbo_context *vbo = vbo_context(ctx);
102 init_mat_currval(struct gl_context *ctx) argument
137 vbo_draw_indirect_prims(struct gl_context *ctx, GLuint mode, struct gl_buffer_object *indirect_data, GLsizeiptr indirect_offset, unsigned draw_count, unsigned stride, struct gl_buffer_object *indirect_params, GLsizeiptr indirect_params_offset, const struct _mesa_index_buffer *ib) argument
230 _vbo_InvalidateState( struct gl_context *ctx, GLbitfield new_state ) argument
261 vbo_set_draw_func(struct gl_context *ctx, vbo_draw_func func) argument
268 vbo_set_indirect_draw_func(struct gl_context *ctx, vbo_indirect_draw_func func) argument
[all...]
/external/mmc-utils/3rdparty/hmac_sha/
H A Dsha2.h79 void sha224_init(sha224_ctx *ctx);
80 void sha224_update(sha224_ctx *ctx, const unsigned char *message,
82 void sha224_final(sha224_ctx *ctx, unsigned char *digest);
86 void sha256_init(sha256_ctx * ctx);
87 void sha256_update(sha256_ctx *ctx, const unsigned char *message,
89 void sha256_final(sha256_ctx *ctx, unsigned char *digest);
93 void sha384_init(sha384_ctx *ctx);
94 void sha384_update(sha384_ctx *ctx, const unsigned char *message,
96 void sha384_final(sha384_ctx *ctx, unsigned char *digest);
100 void sha512_init(sha512_ctx *ctx);
[all...]
/external/ppp/pppd/
H A Dchap-md5.c62 MD5_CTX ctx; local
71 MD5_Init(&ctx);
72 MD5_Update(&ctx, &idbyte, 1);
73 MD5_Update(&ctx, secret, secret_len);
74 MD5_Update(&ctx, challenge, challenge_len);
75 MD5_Final(hash, &ctx);
92 MD5_CTX ctx; local
96 MD5_Init(&ctx);
97 MD5_Update(&ctx, &idbyte, 1);
98 MD5_Update(&ctx, (u_cha
[all...]
/external/python/cpython3/Lib/test/
H A Dmp_preload.py11 ctx = multiprocessing.get_context("forkserver")
15 ctx.set_forkserver_preload([modname])
16 proc = ctx.Process(target=f)
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dcast_op.cc28 explicit CastOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { argument
29 OP_REQUIRES_OK(ctx, ctx->GetAttr("SrcT", &src_dtype_));
30 OP_REQUIRES_OK(ctx, ctx->GetAttr("DstT", &dst_dtype_));
31 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(src_dtype_, &src_type_));
32 OP_REQUIRES_OK(ctx, DataTypeToPrimitiveType(dst_dtype_, &dst_type_));
35 void Compile(XlaOpKernelContext* ctx) override {
36 xla::ComputationBuilder* builder = ctx
[all...]
H A Dindex_ops.h28 explicit XlaArgMinMaxOp(OpKernelConstruction* ctx, bool is_min);
29 void Compile(XlaOpKernelContext* ctx) override;
37 explicit XlaArgMaxOp(OpKernelConstruction* ctx);
H A Dunpack_op.cc41 explicit UnpackOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { argument
42 OP_REQUIRES_OK(ctx, ctx->GetAttr("axis", &axis_));
45 void Compile(XlaOpKernelContext* ctx) override {
47 const TensorShape input_shape = ctx->InputShape(0);
52 OP_REQUIRES(ctx, 0 <= axis && axis < input_shape.dims(),
58 ctx, input_shape.dims() > 0 && input_shape.dim_size(axis) == num,
65 auto input = ctx->Input(0);
77 auto slice = ctx
[all...]
H A Delu_op.cc32 explicit EluOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument
34 void Compile(XlaOpKernelContext* ctx) override {
35 xla::ComputationBuilder* b = ctx->builder();
38 const auto pred = b->Gt(ctx->Input(0), zero);
39 const auto expm1 = b->Sub(b->Exp(ctx->Input(0)), one);
40 ctx->SetOutput(0, b->Select(pred, ctx->Input(0), expm1));
46 explicit EluGradOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument
66 SeluOp(OpKernelConstruction* ctx) argument
85 SeluGradOp(OpKernelConstruction* ctx) argument
[all...]
/external/tensorflow/tensorflow/core/kernels/
H A Dconditional_accumulator_base_op.cc33 void Compute(OpKernelContext* ctx,
36 OP_REQUIRES_OK(ctx, ctx->MatchSignature({DT_STRING_REF, DT_INT64}, {}));
40 OP_REQUIRES_OK(ctx, ctx->input("new_global_step", &new_global_step_tensor));
42 ctx->CtxFailureWithWarning(errors::InvalidArgument(
49 if (!status.ok()) ctx->CtxFailureWithWarning(status);
71 void Compute(OpKernelContext* ctx,
74 OP_REQUIRES_OK(ctx, ctx
[all...]
H A Dtraining_op_helpers.cc20 mutex* GetTrainingVariableMutex(OpKernelContext* ctx, int input) { argument
21 if (ctx->input_dtype(input) == DT_RESOURCE) {
23 if (LookupResource(ctx, HandleFromInput(ctx, input), &var).ok()) {
26 ctx->CtxFailureWithWarning(
31 return ctx->input_ref_mutex(input);
41 OpKernelContext* ctx, bool do_lock, const std::vector<int>& input_ids) {
49 mutex* mutex = GetTrainingVariableMutex(ctx, input);
60 mutex* mu = GetTrainingVariableMutex(ctx, input);
68 void MaybeForwardRefInputToRefOutput(OpKernelContext* ctx, in argument
40 MaybeLockVariableInputMutexesInOrder( OpKernelContext* ctx, bool do_lock, const std::vector<int>& input_ids) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Drfkill.h15 void *ctx; member in struct:rfkill_config
17 void (*blocked_cb)(void *ctx);
18 void (*unblocked_cb)(void *ctx);
/external/wpa_supplicant_8/src/drivers/
H A Drfkill.h15 void *ctx; member in struct:rfkill_config
17 void (*blocked_cb)(void *ctx);
18 void (*unblocked_cb)(void *ctx);
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Drfkill.h15 void *ctx; member in struct:rfkill_config
17 void (*blocked_cb)(void *ctx);
18 void (*unblocked_cb)(void *ctx);
/external/e2fsprogs/e2fsck/
H A Dpass3.c45 static void check_root(e2fsck_t ctx);
46 static int check_directory(e2fsck_t ctx, ext2_ino_t ino,
48 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent);
53 void e2fsck_pass3(e2fsck_t ctx) argument
55 ext2_filsys fs = ctx->fs;
64 init_resource_track(&rtrack, ctx->fs->io);
71 if (!(ctx->options & E2F_OPT_PREEN))
72 fix_problem(ctx, PR_3_PASS_HEADER, &pctx);
82 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx);
83 ctx
156 check_root(e2fsck_t ctx) argument
283 check_directory(e2fsck_t ctx, ext2_ino_t dir, struct problem_context *pctx) argument
378 e2fsck_get_lost_and_found(e2fsck_t ctx, int fix) argument
592 e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino) argument
643 e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj) argument
689 e2fsck_t ctx; member in struct:fix_dotdot_struct
729 fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument
782 e2fsck_t ctx; member in struct:expand_dir_struct
798 e2fsck_t ctx; local
853 e2fsck_expand_directory(e2fsck_t ctx, ext2_ino_t dir, int num, int guaranteed_size) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dlight.c42 GET_CURRENT_CONTEXT(ctx);
45 _mesa_debug(ctx, "glShadeModel %s\n", _mesa_enum_to_string(mode));
47 if (ctx->Light.ShadeModel == mode)
51 _mesa_error(ctx, GL_INVALID_ENUM, "glShadeModel");
55 FLUSH_VERTICES(ctx, _NEW_LIGHT);
56 ctx->Light.ShadeModel = mode;
58 if (ctx->Driver.ShadeModel)
59 ctx->Driver.ShadeModel( ctx, mode );
71 GET_CURRENT_CONTEXT(ctx);
101 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params) argument
555 _mesa_material_bitmask( struct gl_context *ctx, GLenum face, GLenum pname, GLuint legal, const char *where ) argument
613 _mesa_update_material( struct gl_context *ctx, GLuint bitmask ) argument
707 _mesa_update_color_material( struct gl_context *ctx, const GLfloat color[4] ) argument
1052 _mesa_update_tnl_spaces( struct gl_context *ctx, GLuint new_state ) argument
1101 _mesa_allow_light_in_model( struct gl_context *ctx, GLboolean flag ) argument
[all...]
H A Dtexenv.c45 _mesa_error(ctx, errCode, msg, _mesa_enum_to_string(value));
50 set_env_mode(struct gl_context *ctx, argument
73 legal = ctx->Extensions.NV_texture_env_combine4;
80 FLUSH_VERTICES(ctx, _NEW_TEXTURE);
90 set_env_color(struct gl_context *ctx, argument
96 FLUSH_VERTICES(ctx, _NEW_TEXTURE);
107 set_combiner_mode(struct gl_context *ctx, argument
122 legal = ctx->Extensions.ARB_texture_env_combine;
126 legal = (ctx->API == API_OPENGL_COMPAT &&
127 ctx
173 set_combiner_source(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument
263 set_combiner_operand(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLenum param) argument
344 set_combiner_scale(struct gl_context *ctx, struct gl_texture_unit *texUnit, GLenum pname, GLfloat scale) argument
550 get_texenvi(struct gl_context *ctx, const struct gl_texture_unit *texUnit, GLenum pname) argument
[all...]
/external/libconstrainedcrypto/
H A Dsha256.c57 static void SHA256_Transform(SHA256_CTX* ctx) { argument
60 uint8_t* p = ctx->buf;
77 A = ctx->state[0];
78 B = ctx->state[1];
79 C = ctx->state[2];
80 D = ctx->state[3];
81 E = ctx->state[4];
82 F = ctx->state[5];
83 G = ctx->state[6];
84 H = ctx
122 SHA256_init(SHA256_CTX* ctx) argument
136 SHA256_update(SHA256_CTX* ctx, const void* data, int len) argument
152 SHA256_final(SHA256_CTX* ctx) argument
179 SHA256_CTX ctx; local
[all...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_parse.c35 struct tgsi_parse_context *ctx,
38 ctx->FullHeader.Header = *(struct tgsi_header *) &tokens[0];
39 if (ctx->FullHeader.Header.HeaderSize >= 2) {
40 ctx->FullHeader.Processor = *(struct tgsi_processor *) &tokens[1];
46 ctx->Tokens = tokens;
47 ctx->Position = ctx->FullHeader.Header.HeaderSize;
54 struct tgsi_parse_context *ctx )
60 struct tgsi_parse_context *ctx )
62 return ctx
34 tgsi_parse_init( struct tgsi_parse_context *ctx, const struct tgsi_token *tokens ) argument
83 next_token( struct tgsi_parse_context *ctx, void *token ) argument
[all...]
/external/mesa3d/src/mesa/swrast_setup/
H A Dss_triangle.c50 typedef void (* swsetup_edge_render_prim_tri)(struct gl_context *ctx,
63 _swsetup_edge_render_line_tri(struct gl_context *ctx, argument
72 SScontext *swsetup = SWSETUP_CONTEXT(ctx);
75 if (ef[e2]) _swrast_Line( ctx, v2, v0 );
76 if (ef[e0]) _swrast_Line( ctx, v0, v1 );
77 if (ef[e1]) _swrast_Line( ctx, v1, v2 );
79 if (ef[e0]) _swrast_Line( ctx, v0, v1 );
80 if (ef[e1]) _swrast_Line( ctx, v1, v2 );
81 if (ef[e2]) _swrast_Line( ctx, v2, v0 );
89 _swsetup_edge_render_point_tri(struct gl_context *ctx, argument
108 _swsetup_render_tri(struct gl_context *ctx, GLuint e0, GLuint e1, GLuint e2, GLuint facing, swsetup_edge_render_prim_tri render) argument
213 swsetup_points( struct gl_context *ctx, GLuint first, GLuint last ) argument
231 swsetup_line( struct gl_context *ctx, GLuint v0, GLuint v1 ) argument
[all...]
/external/libxml2/include/libxml/
H A DSAX2.h25 xmlSAX2GetPublicId (void *ctx);
27 xmlSAX2GetSystemId (void *ctx);
29 xmlSAX2SetDocumentLocator (void *ctx,
33 xmlSAX2GetLineNumber (void *ctx);
35 xmlSAX2GetColumnNumber (void *ctx);
38 xmlSAX2IsStandalone (void *ctx);
40 xmlSAX2HasInternalSubset (void *ctx);
42 xmlSAX2HasExternalSubset (void *ctx);
45 xmlSAX2InternalSubset (void *ctx,
50 xmlSAX2ExternalSubset (void *ctx,
[all...]
H A Dnanoftp.h92 xmlNanoFTPFreeCtxt (void * ctx);
102 xmlNanoFTPConnect (void *ctx);
104 xmlNanoFTPClose (void *ctx);
106 xmlNanoFTPQuit (void *ctx);
116 xmlNanoFTPUpdateURL (void *ctx,
123 xmlNanoFTPGetResponse (void *ctx);
125 xmlNanoFTPCheckResponse (void *ctx);
131 xmlNanoFTPCwd (void *ctx,
134 xmlNanoFTPDele (void *ctx,
138 xmlNanoFTPGetConnection (void *ctx);
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_program.c38 struct fd_context *ctx = fd_context(pctx); local
39 ctx->prog.fp = hwcso;
40 ctx->dirty |= FD_SHADER_DIRTY_FP;
46 struct fd_context *ctx = fd_context(pctx); local
47 ctx->prog.vp = hwcso;
48 ctx->dirty |= FD_SHADER_DIRTY_VP;
126 struct fd_context *ctx = fd_context(pctx); local
134 if (ctx->screen->gpu_id < 300)
137 ctx->solid_prog.fp = assemble_tgsi(pctx, solid_fp, true);
138 ctx
154 struct fd_context *ctx = fd_context(pctx); local
[all...]
/external/elfutils/tests/
H A Dasm-tst6.c38 AsmCtx_t *ctx; local
51 ctx = asm_begin (fname, ebl, false);
52 if (ctx == NULL)
66 grp = asm_newscngrp (ctx, buf, NULL, 0);
70 asm_abort (ctx);
74 scn = asm_newscn_ingrp (ctx, ".data", SHT_PROGBITS,
80 asm_abort (ctx);
91 asm_abort (ctx);
100 asm_abort (ctx);
109 asm_abort (ctx);
[all...]
/external/kmod/testsuite/
H A Dtest-init.c34 struct kmod_ctx *ctx; local
37 ctx = kmod_new(NULL, &null_config);
38 if (ctx == NULL)
41 kmod_unref(ctx);
50 struct kmod_ctx *ctx; local
55 ctx = kmod_new(NULL, &null_config);
56 if (ctx == NULL)
59 err = kmod_module_new_from_path(ctx, "/mod-simple.ko", &mod);
70 kmod_unref(ctx);
85 struct kmod_ctx *ctx; local
[all...]

Completed in 659 milliseconds

<<11121314151617181920>>