/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
H A D | scan_ops.cc | 45 ScanOp(OpKernelConstruction* ctx, bool sum) : XlaOpKernel(ctx), sum_(sum) { argument 46 OP_REQUIRES_OK(ctx, ctx->GetAttr("reverse", &reverse_)); 47 OP_REQUIRES_OK(ctx, ctx->GetAttr("exclusive", &exclusive_)); 50 void Compile(XlaOpKernelContext* ctx) override { 51 const TensorShape input_shape = ctx->InputShape(0); 52 const TensorShape tensor_axis_shape = ctx->InputShape(1); 54 OP_REQUIRES(ctx, TensorShapeUtil 130 CumsumOp(OpKernelConstruction* ctx) argument 139 CumprodOp(OpKernelConstruction* ctx) argument [all...] |
H A D | l2loss_op.cc | 29 explicit L2LossOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {} argument 31 void Compile(XlaOpKernelContext* ctx) override { 32 const TensorShape input_shape = ctx->InputShape(0); 34 DataType dtype = ctx->input_type(0); 35 xla::ComputationBuilder* b = ctx->builder(); 39 const xla::Computation& add = *ctx->GetOrCreateAdd(dtype); 45 auto x = ctx->Input(0); 46 ctx->SetOutput(0, b->Div(b->Reduce(b->Mul(x, x), zero, add, dims), two));
|
H A D | pooling_ops.cc | 38 PoolingOp(OpKernelConstruction* ctx, int num_spatial_dims) argument 39 : XlaOpKernel(ctx), num_spatial_dims_(num_spatial_dims) { 40 if (ctx->num_inputs() == 1) { 43 OP_REQUIRES_OK(ctx, ctx->GetAttr("ksize", &ksize_int)); 44 OP_REQUIRES(ctx, ksize_int.size() == num_dims(), 48 OP_REQUIRES_OK(ctx, ctx->GetAttr("strides", &stride_int)); 49 OP_REQUIRES(ctx, stride_int.size() == num_dims(), 59 OP_REQUIRES_OK(ctx, ct 131 MaxPoolOp(OpKernelConstruction* ctx, int num_spatial_dims) argument 153 MaxPool2DOp(OpKernelConstruction* ctx) argument 169 MaxPool3DOp(OpKernelConstruction* ctx) argument 177 AvgPoolDivideByCount( XlaOpKernelContext* ctx, const xla::ComputationDataHandle& output, DataType dtype, const TensorShape& input_shape, xla::Padding padding, const std::vector<int64>& ksize, const std::vector<int64>& stride, int num_spatial_dims, TensorFormat data_format) argument 228 AvgPoolOp(OpKernelConstruction* ctx, int num_spatial_dims) argument 252 AvgPool2DOp(OpKernelConstruction* ctx) argument 264 AvgPool3DOp(OpKernelConstruction* ctx) argument 277 MaxPoolGradOp(OpKernelConstruction* ctx, int num_spatial_dims) argument 364 MaxPool2DGradOp(OpKernelConstruction* ctx) argument 380 MaxPool3DGradOp(OpKernelConstruction* ctx) argument 388 AvgPoolGradOp(OpKernelConstruction* ctx, int num_spatial_dims) argument 509 AvgPool2DGradOp(OpKernelConstruction* ctx) argument 522 AvgPool3DGradOp(OpKernelConstruction* ctx) argument [all...] |
H A D | const_op.cc | 28 explicit ConstOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) { argument 30 OP_REQUIRES_OK(ctx, ctx->GetAttr("value", &proto)); 33 ctx, ctx->output_type(0) == proto_.dtype(), 36 DataTypeString(ctx->output_type(0)), ")")); 37 OP_REQUIRES_OK(ctx, TensorShape::IsValidShape(proto_.tensor_shape())); 40 void Compile(XlaOpKernelContext* ctx) override { 45 ctx [all...] |
/external/vboot_reference/tests/ |
H A D | vb20_verify_fw.c | 23 int vb2ex_read_resource(struct vb2_context *ctx, argument 63 int vb2ex_tpm_clear_owner(struct vb2_context *ctx) argument 72 static void save_if_needed(struct vb2_context *ctx) argument 75 if (ctx->flags & VB2_CONTEXT_NVDATA_CHANGED) { 77 ctx->flags &= ~VB2_CONTEXT_NVDATA_CHANGED; 80 if (ctx->flags & VB2_CONTEXT_SECDATA_CHANGED) { 82 ctx->flags &= ~VB2_CONTEXT_SECDATA_CHANGED; 89 static int hash_body(struct vb2_context *ctx) argument 101 rv = vb2api_init_hash(ctx, VB2_HASH_TAG_FW_BODY, &expect_size); 119 rv = vb2api_extend_hash(ctx, bloc 141 struct vb2_context ctx; local [all...] |
/external/pdfium/core/fxcodec/codec/ |
H A D | ccodec_bmpmodule.cpp | 42 auto* ctx = static_cast<CBmpContext*>(pContext); local 43 if (setjmp(ctx->m_Bmp.jmpbuf)) 46 int32_t ret = ctx->m_Bmp.ReadHeader(); 50 *width = ctx->m_Bmp.width; 51 *height = ctx->m_Bmp.height; 52 *tb_flag = ctx->m_Bmp.imgTB_flag; 53 *components = ctx->m_Bmp.components; 54 *pal_num = ctx->m_Bmp.pal_num; 55 *palette = ctx->m_Bmp.palette; 58 pAttribute->m_nXDPI = ctx 66 auto* ctx = static_cast<CBmpContext*>(pContext); local 75 auto* ctx = static_cast<CBmpContext*>(pContext); local 82 auto* ctx = static_cast<CBmpContext*>(pContext); local [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fNegativeShaderDirectiveTests.cpp | 47 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources, ExpectResult expect) argument 51 tcu::TestLog& log = ctx.getLog(); 52 const glu::ShaderProgram program (ctx.getRenderContext(), sources); 72 ctx.fail(message); 76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) argument 80 tcu::TestLog& log = ctx.getLog(); 84 glu::Shader shader (ctx.getRenderContext(), shaderType); 106 ctx.fail(message); 110 void primitive_bounding_box (NegativeTestContext& ctx) argument 112 if (ctx 169 blend_equation_advanced(NegativeTestContext& ctx) argument 204 sample_variables(NegativeTestContext& ctx) argument 232 shader_image_atomic(NegativeTestContext& ctx) argument 262 shader_multisample_interpolation(NegativeTestContext& ctx) argument 309 texture_storage_multisample_2d_array(NegativeTestContext& ctx) argument 333 geometry_shader(NegativeTestContext& ctx) argument 356 gpu_shader_5(NegativeTestContext& ctx) argument 404 shader_io_blocks(NegativeTestContext& ctx) argument 422 tessellation_shader(NegativeTestContext& ctx) argument 451 texture_buffer(NegativeTestContext& ctx) argument 478 texture_cube_map_array(NegativeTestContext& ctx) argument 505 executeAccessingBoundingBoxType(NegativeTestContext& ctx, const std::string builtInTypeName, glu::GLSLVersion glslVersion) argument 598 accessing_bounding_box_type(NegativeTestContext& ctx) argument [all...] |
/external/wpa_supplicant_8/hs20/client/ |
H A D | oma_dm_client.c | 66 static void add_item(struct hs20_osu_client *ctx, xml_node_t *parent, 78 static char * oma_dm_get_target_locuri(struct hs20_osu_client *ctx, argument 84 locuri = get_node(ctx->xml, node, "Item/Target/LocURI"); 88 uri = xml_node_get_text(ctx->xml, locuri); 91 xml_node_get_text_free(ctx->xml, uri); 96 static void oma_dm_add_locuri(struct hs20_osu_client *ctx, xml_node_t *parent, argument 101 node = xml_node_create(ctx->xml, parent, NULL, element); 104 xml_node_create_text(ctx->xml, node, NULL, "LocURI", uri); 108 static xml_node_t * oma_dm_build_hdr(struct hs20_osu_client *ctx, argument 114 syncml = xml_node_create_root(ctx 130 oma_dm_add_cmdid(struct hs20_osu_client *ctx, xml_node_t *parent, int cmdid) argument 137 add_alert(struct hs20_osu_client *ctx, xml_node_t *parent, int cmdid, int data) argument 152 add_status(struct hs20_osu_client *ctx, xml_node_t *parent, int msgref, int cmdref, int cmdid, const char *cmd, int data, const char *targetref) argument 177 add_results(struct hs20_osu_client *ctx, xml_node_t *parent, int msgref, int cmdref, int cmdid, const char *locuri, const char *data) argument 196 mo_str(struct hs20_osu_client *ctx, const char *urn, const char *fname) argument 220 add_item(struct hs20_osu_client *ctx, xml_node_t *parent, const char *locuri, const char *data) argument 236 add_replace_devinfo(struct hs20_osu_client *ctx, xml_node_t *parent, int cmdid) argument 271 oma_dm_add_hs20_generic_alert(struct hs20_osu_client *ctx, xml_node_t *syncbody, int cmdid, const char *oper, const char *data) argument 292 build_oma_dm_1(struct hs20_osu_client *ctx, const char *url, int msgid, const char *oper) argument 330 build_oma_dm_1_sub_reg(struct hs20_osu_client *ctx, const char *url, int msgid) argument 343 build_oma_dm_1_sub_prov(struct hs20_osu_client *ctx, const char *url, int msgid) argument 357 build_oma_dm_1_pol_upd(struct hs20_osu_client *ctx, const char *url, int msgid) argument 370 build_oma_dm_1_sub_rem(struct hs20_osu_client *ctx, const char *url, int msgid) argument 384 oma_dm_exec_browser(struct hs20_osu_client *ctx, xml_node_t *exec) argument 418 oma_dm_exec_get_cert(struct hs20_osu_client *ctx, xml_node_t *exec) argument 465 oma_dm_exec(struct hs20_osu_client *ctx, xml_node_t *exec) argument 494 oma_dm_run_add(struct hs20_osu_client *ctx, const char *locuri, xml_node_t *add, xml_node_t *pps, const char *pps_fname) argument 650 oma_dm_add(struct hs20_osu_client *ctx, xml_node_t *add, xml_node_t *pps, const char *pps_fname) argument 718 oma_dm_replace(struct hs20_osu_client *ctx, xml_node_t *replace, xml_node_t *pps, const char *pps_fname) argument 839 oma_dm_get(struct hs20_osu_client *ctx, xml_node_t *get, xml_node_t *pps, const char *pps_fname, char **value) argument 913 oma_dm_get_cmdid(struct hs20_osu_client *ctx, xml_node_t *node) argument 932 oma_dm_send_recv(struct hs20_osu_client *ctx, const char *url, xml_node_t *syncml, const char *ext_hdr, const char *username, const char *password, const char *client_cert, const char *client_key) argument 986 oma_dm_process(struct hs20_osu_client *ctx, const char *url, xml_node_t *resp, int msgid, char **ret_resp_uri, xml_node_t *pps, const char *pps_fname) argument 1148 cmd_oma_dm_prov(struct hs20_osu_client *ctx, const char *url) argument 1185 cmd_oma_dm_sim_prov(struct hs20_osu_client *ctx, const char *url) argument 1243 oma_dm_pol_upd(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *client_cert, const char *client_key, const char *cred_username, const char *cred_password, xml_node_t *pps) argument 1290 oma_dm_sub_rem(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *client_cert, const char *client_key, const char *cred_username, const char *cred_password, xml_node_t *pps) argument 1333 cmd_oma_dm_add(struct hs20_osu_client *ctx, const char *pps_fname, const char *add_fname) argument 1364 cmd_oma_dm_replace(struct hs20_osu_client *ctx, const char *pps_fname, const char *replace_fname) argument [all...] |
H A D | spp_client.c | 26 static int hs20_spp_update_response(struct hs20_osu_client *ctx, 31 struct hs20_osu_client *ctx, const char *pps_fname); 34 static char * get_spp_attr_value(struct xml_node_ctx *ctx, xml_node_t *node, argument 37 return xml_node_get_attr_value_ns(ctx, node, SPP_NS_URI, attr_name); 41 static int hs20_spp_validate(struct hs20_osu_client *ctx, xml_node_t *node, argument 44 struct xml_node_ctx *xctx = ctx->xml; 59 write_summary(ctx, "Unexpected SOAP method name '%s' (expected '%s')", 67 write_summary(ctx, "SPP XML schema validation failed"); 74 static void add_mo_container(struct xml_node_ctx *ctx, xml_namespace_t *ns, argument 83 fnode = node_from_file(ctx, fnam 107 build_spp_post_dev_data(struct hs20_osu_client *ctx, xml_namespace_t **ret_ns, const char *session_id, const char *reason) argument 147 process_update_node(struct hs20_osu_client *ctx, xml_node_t *pps, xml_node_t *update) argument 293 update_pps(struct hs20_osu_client *ctx, xml_node_t *update, const char *pps_fname, xml_node_t *pps) argument 307 hs20_sub_rem_complete(struct hs20_osu_client *ctx, const char *pps_fname) argument 326 hs20_spp_upload_mo(struct hs20_osu_client *ctx, xml_node_t *cmd, const char *session_id, const char *pps_fname) argument 375 hs20_add_mo(struct hs20_osu_client *ctx, xml_node_t *add_mo, char *fname, size_t fname_len) argument 409 process_spp_user_input_response(struct hs20_osu_client *ctx, const char *session_id, xml_node_t *add_mo) argument 437 hs20_spp_user_input_completed(struct hs20_osu_client *ctx, const char *session_id) argument 472 hs20_spp_get_certificate(struct hs20_osu_client *ctx, xml_node_t *cmd, const char *session_id, const char *pps_fname) argument 511 hs20_spp_exec(struct hs20_osu_client *ctx, xml_node_t *exec, const char *session_id, const char *pps_fname, xml_node_t *pps, xml_node_t **ret_node) argument 598 process_spp_post_dev_data_response( struct hs20_osu_client *ctx, enum spp_post_dev_data_use use, xml_node_t *node, const char *pps_fname, xml_node_t *pps) argument 749 spp_post_dev_data(struct hs20_osu_client *ctx, enum spp_post_dev_data_use use, const char *reason, const char *pps_fname, xml_node_t *pps) argument 785 spp_sub_rem(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *client_cert, const char *client_key, const char *cred_username, const char *cred_password, xml_node_t *pps) argument 806 hs20_policy_update_complete(struct hs20_osu_client *ctx, const char *pps_fname) argument 824 process_spp_exchange_complete(struct hs20_osu_client *ctx, xml_node_t *node) argument 863 build_spp_update_response(struct hs20_osu_client *ctx, const char *session_id, const char *spp_status, const char *error_code) argument 891 hs20_spp_update_response(struct hs20_osu_client *ctx, const char *session_id, const char *spp_status, const char *error_code) argument 932 spp_pol_upd(struct hs20_osu_client *ctx, const char *address, const char *pps_fname, const char *client_cert, const char *client_key, const char *cred_username, const char *cred_password, xml_node_t *pps) argument 952 cmd_prov(struct hs20_osu_client *ctx, const char *url) argument 979 cmd_sim_prov(struct hs20_osu_client *ctx, const char *url) argument [all...] |
/external/mmc-utils/3rdparty/hmac_sha/ |
H A D | sha2.c | 216 void sha256_transf(sha256_ctx *ctx, const unsigned char *message, argument 242 wv[j] = ctx->h[j]; 260 ctx->h[j] += wv[j]; 285 wv[0] = ctx->h[0]; wv[1] = ctx->h[1]; 286 wv[2] = ctx->h[2]; wv[3] = ctx->h[3]; 287 wv[4] = ctx->h[4]; wv[5] = ctx->h[5]; 288 wv[6] = ctx 333 sha256_ctx ctx; local 340 sha256_init(sha256_ctx *ctx) argument 358 sha256_update(sha256_ctx *ctx, const unsigned char *message, unsigned int len) argument 392 sha256_final(sha256_ctx *ctx, unsigned char *digest) argument 432 sha512_transf(sha512_ctx *ctx, const unsigned char *message, unsigned int block_nb) argument 530 sha512_ctx ctx; local 537 sha512_init(sha512_ctx *ctx) argument 555 sha512_update(sha512_ctx *ctx, const unsigned char *message, unsigned int len) argument 589 sha512_final(sha512_ctx *ctx, unsigned char *digest) argument 632 sha384_ctx ctx; local 639 sha384_init(sha384_ctx *ctx) argument 657 sha384_update(sha384_ctx *ctx, const unsigned char *message, unsigned int len) argument 691 sha384_final(sha384_ctx *ctx, unsigned char *digest) argument 732 sha224_ctx ctx; local 739 sha224_init(sha224_ctx *ctx) argument 757 sha224_update(sha224_ctx *ctx, const unsigned char *message, unsigned int len) argument 791 sha224_final(sha224_ctx *ctx, unsigned char *digest) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nv10_state_raster.c | 38 nv10_emit_alpha_func(struct gl_context *ctx, int emit) argument 40 struct nouveau_pushbuf *push = context_push(ctx); 43 PUSH_DATAb(push, ctx->Color.AlphaEnabled); 46 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); 47 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); 51 nv10_emit_blend_color(struct gl_context *ctx, int emit) argument 53 struct nouveau_pushbuf *push = context_push(ctx); 56 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | 57 FLOAT_TO_UBYTE(ctx->Color.BlendColor[0]) << 16 | 58 FLOAT_TO_UBYTE(ctx 63 nv10_emit_blend_equation(struct gl_context *ctx, int emit) argument 75 nv10_emit_blend_func(struct gl_context *ctx, int emit) argument 85 nv10_emit_color_mask(struct gl_context *ctx, int emit) argument 97 nv10_emit_depth(struct gl_context *ctx, int emit) argument 111 nv10_emit_dither(struct gl_context *ctx, int emit) argument 120 nv10_emit_logic_opcode(struct gl_context *ctx, int emit) argument 133 nv10_emit_shade_model(struct gl_context *ctx, int emit) argument 143 nv10_emit_stencil_func(struct gl_context *ctx, int emit) argument 157 nv10_emit_stencil_mask(struct gl_context *ctx, int emit) argument 166 nv10_emit_stencil_op(struct gl_context *ctx, int emit) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/rsn_supp/ |
H A D | wpa_i.h | 53 struct wpa_sm_ctx *ctx; member in struct:wpa_sm 172 WPA_ASSERT(sm->ctx->set_state); 173 sm->ctx->set_state(sm->ctx->ctx, state); 178 WPA_ASSERT(sm->ctx->get_state); 179 return sm->ctx->get_state(sm->ctx->ctx); 184 WPA_ASSERT(sm->ctx [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
H A D | wpa_i.h | 53 struct wpa_sm_ctx *ctx; member in struct:wpa_sm 172 WPA_ASSERT(sm->ctx->set_state); 173 sm->ctx->set_state(sm->ctx->ctx, state); 178 WPA_ASSERT(sm->ctx->get_state); 179 return sm->ctx->get_state(sm->ctx->ctx); 184 WPA_ASSERT(sm->ctx [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/ |
H A D | wpa_i.h | 53 struct wpa_sm_ctx *ctx; member in struct:wpa_sm 172 WPA_ASSERT(sm->ctx->set_state); 173 sm->ctx->set_state(sm->ctx->ctx, state); 178 WPA_ASSERT(sm->ctx->get_state); 179 return sm->ctx->get_state(sm->ctx->ctx); 184 WPA_ASSERT(sm->ctx [all...] |
/external/boringssl/src/decrepit/cfb/ |
H A D | cfb.c | 28 static int aes_cfb_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, argument 31 EVP_CFB_CTX *cfb_ctx = ctx->cipher_data; 32 AES_set_encrypt_key(key, ctx->key_len * 8, &cfb_ctx->ks); 38 static int aes_cfb128_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, argument 44 EVP_CFB_CTX *cfb_ctx = ctx->cipher_data; 45 int num = ctx->num; 46 AES_cfb128_encrypt(in, out, len, &cfb_ctx->ks, ctx->iv, &num, 47 ctx->encrypt ? AES_ENCRYPT : AES_DECRYPT); 48 ctx->num = num;
|
/external/emma/core/java12/com/vladium/jcd/cls/attribute/ |
H A D | IAttributeVisitor.java | 20 Object visit (GenericAttribute_info attribute, Object ctx); argument 22 Object visit (CodeAttribute_info attribute, Object ctx); argument 23 Object visit (ConstantValueAttribute_info attribute, Object ctx); argument 24 Object visit (ExceptionsAttribute_info attribute, Object ctx); argument 25 Object visit (LineNumberTableAttribute_info attribute, Object ctx); argument 26 Object visit (SourceFileAttribute_info attribute, Object ctx); argument 27 Object visit (SyntheticAttribute_info attribute, Object ctx); argument 28 Object visit (BridgeAttribute_info attribute, Object ctx); argument 29 Object visit (InnerClassesAttribute_info attribute, Object ctx); argument
|
/external/libusb/libusb/ |
H A D | hotplug.c | 102 int hotplug_callback(struct libusb_context *ctx, struct libusb_device *dev, 157 static int usbi_hotplug_match_cb (struct libusb_context *ctx, argument 186 return hotplug_cb->cb (ctx, dev, event, hotplug_cb->user_data); 189 void usbi_hotplug_match(struct libusb_context *ctx, struct libusb_device *dev, argument 195 usbi_mutex_lock(&ctx->hotplug_cbs_lock); 197 list_for_each_entry_safe(hotplug_cb, next, &ctx->hotplug_cbs, list, struct libusb_hotplug_callback) { 198 usbi_mutex_unlock(&ctx->hotplug_cbs_lock); 199 ret = usbi_hotplug_match_cb (ctx, dev, event, hotplug_cb); 200 usbi_mutex_lock(&ctx->hotplug_cbs_lock); 208 usbi_mutex_unlock(&ctx 213 usbi_hotplug_notification(struct libusb_context *ctx, struct libusb_device *dev, libusb_hotplug_event event) argument 237 libusb_hotplug_register_callback(libusb_context *ctx, libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class, libusb_hotplug_callback_fn cb_fn, void *user_data, libusb_hotplug_callback_handle *callback_handle) argument 314 libusb_hotplug_deregister_callback(struct libusb_context *ctx, libusb_hotplug_callback_handle callback_handle) argument 339 usbi_hotplug_deregister_all(struct libusb_context *ctx) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_state.h | 42 extern void r200InitTnlFuncs( struct gl_context *ctx ); 44 extern void r200UpdateMaterial( struct gl_context *ctx ); 46 extern void r200UpdateWindow( struct gl_context *ctx ); 47 extern void r200UpdateDrawBuffer(struct gl_context *ctx); 49 extern GLboolean r200ValidateBuffers(struct gl_context *ctx); 50 extern GLboolean r200ValidateState( struct gl_context *ctx ); 52 extern void r200_vtbl_update_scissor( struct gl_context *ctx ); 54 extern void r200Fallback( struct gl_context *ctx, GLuint bit, GLboolean mode ); 61 extern void r200LightingSpaceChange( struct gl_context *ctx );
|
/external/mesa3d/src/mesa/main/ |
H A D | feedback.h | 51 _mesa_feedback_vertex( struct gl_context *ctx, 58 _mesa_feedback_token( struct gl_context *ctx, GLfloat token ) argument 60 if (ctx->Feedback.Count < ctx->Feedback.BufferSize) { 61 ctx->Feedback.Buffer[ctx->Feedback.Count] = token; 63 ctx->Feedback.Count++; 68 _mesa_update_hitflag( struct gl_context *ctx, GLfloat z ); 72 _mesa_init_feedback( struct gl_context *ctx );
|
H A D | accum.c | 42 GET_CURRENT_CONTEXT(ctx); 49 if (TEST_EQ_4V(tmp, ctx->Accum.ClearColor)) 52 COPY_4FV( ctx->Accum.ClearColor, tmp ); 59 GET_CURRENT_CONTEXT(ctx); 60 FLUSH_VERTICES(ctx, 0); 71 _mesa_error(ctx, GL_INVALID_ENUM, "glAccum(op)"); 75 if (ctx->DrawBuffer->Visual.haveAccumBuffer == 0) { 76 _mesa_error(ctx, GL_INVALID_OPERATION, "glAccum(no accum buffer)"); 80 if (ctx->DrawBuffer != ctx 113 _mesa_clear_accum_buffer(struct gl_context *ctx) argument 176 accum_scale_or_bias(struct gl_context *ctx, GLfloat value, GLint xpos, GLint ypos, GLint width, GLint height, GLboolean bias) argument 234 accum_or_load(struct gl_context *ctx, GLfloat value, GLint xpos, GLint ypos, GLint width, GLint height, GLboolean load) argument 328 accum_return(struct gl_context *ctx, GLfloat value, GLint xpos, GLint ypos, GLint width, GLint height) argument 440 _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value) argument [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_stipple.c | 67 const struct gl_context *ctx = st->ctx; local 69 assert(sz == sizeof(ctx->PolygonStipple)); 71 if (memcmp(st->state.poly_stipple, ctx->PolygonStipple, sz)) { 75 memcpy(st->state.poly_stipple, ctx->PolygonStipple, sz); 77 if (_mesa_is_user_fbo(ctx->DrawBuffer)) { 78 memcpy(newStipple.stipple, ctx->PolygonStipple, sizeof(newStipple.stipple)); 80 invert_stipple(newStipple.stipple, ctx->PolygonStipple, 81 ctx->DrawBuffer->Height);
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | crypto.h | 27 * @v ctx Context 29 void ( * init ) ( void *ctx ); 32 * @v ctx Context 38 void ( * update ) ( void *ctx, const void *src, size_t len ); 41 * @v ctx Context 44 void ( * final ) ( void *ctx, void *out ); 57 * @v ctx Context 62 int ( * setkey ) ( void *ctx, const void *key, size_t keylen ); 65 * @v ctx Context 68 void ( * setiv ) ( void *ctx, cons 106 digest_update( struct digest_algorithm *digest, void *ctx, const void *data, size_t len ) argument 111 digest_final( struct digest_algorithm *digest, void *ctx, void *out ) argument 116 cipher_setkey( struct cipher_algorithm *cipher, void *ctx, const void *key, size_t keylen ) argument 121 cipher_setiv( struct cipher_algorithm *cipher, void *ctx, const void *iv ) argument 126 cipher_encrypt( struct cipher_algorithm *cipher, void *ctx, const void *src, void *dst, size_t len ) argument 136 cipher_decrypt( struct cipher_algorithm *cipher, void *ctx, const void *src, void *dst, size_t len ) argument [all...] |
/external/tensorflow/tensorflow/contrib/input_pipeline/kernels/ |
H A D | input_pipeline_kernels.cc | 29 void Compute(OpKernelContext* ctx) override { 31 OP_REQUIRES_OK(ctx, ctx->input("list", &list)); 37 OP_REQUIRES_OK(ctx, ctx->allocate_output("out_element", TensorShape({}), 42 OP_REQUIRES_OK(ctx, ctx->input_ref_mutex("counter", &mu)); 46 OP_REQUIRES_OK(ctx, ctx->mutable_input("counter", &counter_tensor, true));
|
/external/ltp/testcases/kernel/syscalls/io_setup/ |
H A D | io_setup01.c | 60 io_context_t ctx; local 70 memset(&ctx, 0, sizeof(ctx)); 72 TEST(io_setup(1, &ctx)); 76 io_destroy(ctx); 82 memset(&ctx, 1, sizeof(ctx)); 84 TEST(io_setup(1, &ctx)); 88 io_destroy(ctx); 98 memset(&ctx, [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_sanity.c | 152 struct sanity_check_ctx *ctx, 158 if (!ctx->print) 166 ctx->errors++; 171 struct sanity_check_ctx *ctx, 177 if (!ctx->print) 185 ctx->warnings++; 190 struct sanity_check_ctx *ctx, 194 report_error( ctx, "(%u): Invalid register file name", file ); 202 struct sanity_check_ctx *ctx, 206 ctx 151 report_error( struct sanity_check_ctx *ctx, const char *format, ... ) argument 170 report_warning( struct sanity_check_ctx *ctx, const char *format, ... ) argument 189 check_file_name( struct sanity_check_ctx *ctx, uint file ) argument 201 is_register_declared( struct sanity_check_ctx *ctx, const scan_register *reg) argument 212 is_any_register_declared( struct sanity_check_ctx *ctx, uint file ) argument 230 is_register_used( struct sanity_check_ctx *ctx, scan_register *reg) argument 242 is_ind_register_used( struct sanity_check_ctx *ctx, scan_register *reg) argument 265 check_register_usage( struct sanity_check_ctx *ctx, scan_register *reg, const char *name, boolean indirect_access ) argument 312 struct sanity_check_ctx *ctx = (struct sanity_check_ctx *) iter; local 377 check_and_declare(struct sanity_check_ctx *ctx, scan_register *reg) argument 394 struct sanity_check_ctx *ctx = (struct sanity_check_ctx *) iter; local 453 struct sanity_check_ctx *ctx = (struct sanity_check_ctx *) iter; local 486 struct sanity_check_ctx *ctx = (struct sanity_check_ctx *) iter; local 501 struct sanity_check_ctx *ctx = (struct sanity_check_ctx *) iter; local 512 struct sanity_check_ctx *ctx = (struct sanity_check_ctx *) iter; local 561 struct sanity_check_ctx ctx; local [all...] |