HomeSort by relevance Sort by last modified time
    Searched refs:ctx (Results 101 - 125 of 5623) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/tensorflow/tensorflow/core/distributed_runtime/rpc/
grpc_testlib_ops.cc 28 explicit ErrorOp(OpKernelConstruction* ctx) : OpKernel(ctx) {
29 OP_REQUIRES_OK(ctx, ctx->GetAttr("message", &errmsg_));
32 void Compute(OpKernelContext* ctx) override {
33 ctx->SetStatus(errors::Internal(errmsg_));
47 explicit InvalidRefType(OpKernelConstruction* ctx) : OpKernel(ctx) {
48 OP_REQUIRES_OK(ctx, ctx->GetAttr("TOut", &dtout_))
    [all...]
  /external/wpa_supplicant_8/src/utils/
edit.h 12 int edit_init(void (*cmd_cb)(void *ctx, char *cmd),
13 void (*eof_cb)(void *ctx),
14 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),
15 void *ctx, const char *history_file, const char *ps);
17 int (*filter_cb)(void *ctx, const char *cmd));
  /frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
BindingExpressionBaseVisitor.java 18 * {@link #visitChildren} on {@code ctx}.</p>
20 @Override public T visitRootExpr(BindingExpressionParser.RootExprContext ctx) { return visitChildren(ctx); }
25 * {@link #visitChildren} on {@code ctx}.</p>
27 @Override public T visitRootLambda(BindingExpressionParser.RootLambdaContext ctx) { return visitChildren(ctx); }
32 * {@link #visitChildren} on {@code ctx}.</p>
34 @Override public T visitDefaults(BindingExpressionParser.DefaultsContext ctx) { return visitChildren(ctx); }
39 * {@link #visitChildren} on {@code ctx}.</p
    [all...]
BindingExpressionListener.java 13 * @param ctx the parse tree
15 void enterRootExpr(BindingExpressionParser.RootExprContext ctx);
19 * @param ctx the parse tree
21 void exitRootExpr(BindingExpressionParser.RootExprContext ctx);
25 * @param ctx the parse tree
27 void enterRootLambda(BindingExpressionParser.RootLambdaContext ctx);
31 * @param ctx the parse tree
33 void exitRootLambda(BindingExpressionParser.RootLambdaContext ctx);
36 * @param ctx the parse tree
38 void enterDefaults(BindingExpressionParser.DefaultsContext ctx);
    [all...]
  /external/libvpx/libvpx/vp8/encoder/
lookahead.c 27 static struct lookahead_entry *pop(struct lookahead_ctx *ctx,
30 struct lookahead_entry *buf = ctx->buf + index;
32 assert(index < ctx->max_sz);
33 if (++index >= ctx->max_sz) index -= ctx->max_sz;
38 void vp8_lookahead_destroy(struct lookahead_ctx *ctx) {
39 if (ctx) {
40 if (ctx->buf) {
43 for (i = 0; i < ctx->max_sz; ++i) {
44 vp8_yv12_de_alloc_frame_buffer(&ctx->buf[i].img)
55 struct lookahead_ctx *ctx = NULL; local
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
logging_ops.cc 26 explicit AssertOp(OpKernelConstruction* ctx) : OpKernel(ctx) {
27 OP_REQUIRES_OK(ctx, ctx->GetAttr("summarize", &summarize_));
30 void Compute(OpKernelContext* ctx) override {
31 const Tensor& cond = ctx->input(0);
32 OP_REQUIRES(ctx, IsLegacyScalar(cond.shape()),
40 for (int i = 1; i < ctx->num_inputs(); ++i) {
41 strings::StrAppend(&msg, "[", ctx->input(i).SummarizeValue(summarize_),
43 if (i < ctx->num_inputs() - 1) strings::StrAppend(&msg, " ")
    [all...]
  /external/mesa3d/src/gallium/drivers/freedreno/
freedreno_context.c 45 struct fd_context *ctx = fd_context(pctx); local
48 ctx->batch->needs_out_fence_fd = true;
50 if (!ctx->screen->reorder) {
51 fd_batch_flush(ctx->batch, true);
53 fd_bc_flush(&ctx->screen->batch_cache, ctx);
60 if (!ctx->last_fence || ctx->batch->needs_out_fence_fd) {
61 ctx->batch->needs_flush = true;
62 fd_gmem_render_noop(ctx->batch)
76 struct fd_context *ctx = fd_context(pctx); local
109 struct fd_context *ctx = fd_context(pctx); local
158 struct fd_context *ctx = fd_context(pctx); local
    [all...]
  /external/boringssl/src/crypto/evp/
evp_ctx.c 141 void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx) {
142 if (ctx == NULL) {
145 if (ctx->pmeth && ctx->pmeth->cleanup) {
146 ctx->pmeth->cleanup(ctx);
148 EVP_PKEY_free(ctx->pkey);
149 EVP_PKEY_free(ctx->peerkey);
150 OPENSSL_free(ctx);
153 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *ctx) {
    [all...]
  /external/mesa3d/src/mesa/main/
pixel.c 48 GET_CURRENT_CONTEXT(ctx);
50 if (ctx->Pixel.ZoomX == xfactor &&
51 ctx->Pixel.ZoomY == yfactor)
54 FLUSH_VERTICES(ctx, _NEW_PIXEL);
55 ctx->Pixel.ZoomX = xfactor;
56 ctx->Pixel.ZoomY = yfactor;
69 get_pixelmap(struct gl_context *ctx, GLenum map)
73 return &ctx->PixelMaps.ItoI;
75 return &ctx->PixelMaps.StoS;
77 return &ctx->PixelMaps.ItoR
    [all...]
objectpurge.c 45 buffer_object_purgeable(struct gl_context *ctx, GLuint name, GLenum option)
50 bufObj = _mesa_lookup_bufferobj(ctx, name);
52 _mesa_error(ctx, GL_INVALID_VALUE,
57 _mesa_error(ctx, GL_INVALID_OPERATION, "glObjectPurgeable(buffer 0)" );
62 _mesa_error(ctx, GL_INVALID_OPERATION,
70 if (ctx->Driver.BufferObjectPurgeable)
71 retval = ctx->Driver.BufferObjectPurgeable(ctx, bufObj, option);
78 renderbuffer_purgeable(struct gl_context *ctx, GLuint name, GLenum option)
83 bufObj = _mesa_lookup_renderbuffer(ctx, name)
    [all...]
matrix.c 70 GET_CURRENT_CONTEXT(ctx);
72 FLUSH_VERTICES(ctx, 0);
80 _mesa_error( ctx, GL_INVALID_VALUE, "glFrustum" );
84 _math_matrix_frustum( ctx->CurrentStack->Top,
88 ctx->NewState |= ctx->CurrentStack->DirtyFlag;
113 GET_CURRENT_CONTEXT(ctx);
115 FLUSH_VERTICES(ctx, 0);
118 _mesa_debug(ctx, "glOrtho(%f, %f, %f, %f, %f, %f)\n",
125 _mesa_error( ctx, GL_INVALID_VALUE, "glOrtho" )
    [all...]
vtxfmt.h 42 extern void _mesa_install_exec_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
43 extern void _mesa_install_save_vtxfmt( struct gl_context *ctx, const GLvertexformat *vfmt );
44 extern void _mesa_initialize_vbo_vtxfmt(struct gl_context *ctx);
viewport.c 39 set_viewport_no_notify(struct gl_context *ctx, unsigned idx,
44 width = MIN2(width, (GLfloat) ctx->Const.MaxViewportWidth);
45 height = MIN2(height, (GLfloat) ctx->Const.MaxViewportHeight);
55 if (ctx->Extensions.ARB_viewport_array ||
56 (ctx->Extensions.OES_viewport_array &&
57 _mesa_is_gles31(ctx))) {
59 ctx->Const.ViewportBounds.Min, ctx->Const.ViewportBounds.Max);
61 ctx->Const.ViewportBounds.Min, ctx->Const.ViewportBounds.Max)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i915/
i830_context.c 66 struct gl_context *ctx = &intel->ctx; local
85 intel_init_texture_formats(ctx);
90 intelInitTriFuncs(ctx);
93 _tnl_destroy_pipeline(ctx);
94 _tnl_install_pipeline(ctx, intel_pipeline);
99 intel->ctx.Const.MaxTextureUnits = I830_TEX_UNITS;
100 intel->ctx.Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = I830_TEX_UNITS;
101 intel->ctx.Const.MaxTextureCoordUnits = I830_TEX_UNITS;
106 ctx->Const.MaxTextureLevels = 12
    [all...]
  /external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
Context.java 53 Context ctx; local
55 ctx = new Context(level, level);
57 ctx = new Context(whereJava + "." + level, whereC + "_" + level);
59 ctx.state = state;
60 ctx.inEvent = inEvent;
61 return ctx;
65 Context ctx = new Context(whereJava, whereC); local
66 ctx.state = state;
67 ctx.inEvent = inEvent;
68 return ctx;
72 Context ctx = cloneContext(); local
78 Context ctx = cloneContext(); local
84 Context ctx = cloneContext(); local
    [all...]
AbstractSimpleTypeNode.java 32 void constrain(Context ctx) {
33 context = ctx;
34 nameNode.constrain(ctx);
  /prebuilts/misc/windows/sdl2/test/
testgl2.c 40 static GL_Context ctx; variable
107 ctx.glClearColor(0.0, 0.0, 0.0, 1.0);
108 ctx.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
110 ctx.glBegin(GL_QUADS);
113 ctx.glColor3fv(color[0]);
114 ctx.glVertex3fv(cube[0]);
115 ctx.glColor3fv(color[1]);
116 ctx.glVertex3fv(cube[1]);
117 ctx.glColor3fv(color[2]);
118 ctx.glVertex3fv(cube[2])
    [all...]
  /hardware/intel/img/psb_video/src/
pnw_H263ES.c 46 #define INIT_CONTEXT_H263ES context_ENC_p ctx = (context_ENC_p) (obj_context->format_data)
47 #define SURFACE(id) ((object_surface_p) object_heap_lookup( &ctx->obj_context->driver_data->surface_heap, id ))
48 #define BUFFER(id) ((object_buffer_p) object_heap_lookup( &ctx->obj_context->driver_data->buffer_heap, id ))
106 context_ENC_p ctx; local
116 ctx = (context_ENC_p) obj_context->format_data;
130 ctx->eCodec = IMG_CODEC_H263_VBR;
131 ctx->sRCParams.RCEnable = IMG_TRUE;
133 ctx->eCodec = IMG_CODEC_H263_CBR;
134 ctx->sRCParams.RCEnable = IMG_TRUE;
136 ctx->eCodec = IMG_CODEC_H263_NO_RC
    [all...]
tng_hostbias.h 36 void tng_init_bias_params(context_ENC_p ctx);
37 VAStatus tng__generate_bias(context_ENC_p ctx);
38 VAStatus tng_load_bias(context_ENC_p ctx, IMG_FRAME_TYPE eFrameType);
  /external/elfutils/libasm/
asm_getelf.c 40 asm_getelf (AsmCtx_t *ctx)
42 return ctx != NULL ? ctx->out.elf : NULL;
  /external/libconstrainedcrypto/include/constrainedcrypto/
hash-internal.h 53 #define HASH_init(ctx) (ctx)->f->init(ctx)
54 #define HASH_update(ctx, data, len) (ctx)->f->update(ctx, data, len)
55 #define HASH_final(ctx) (ctx)->f->final(ctx)
56 #define HASH_hash(data, len, digest) (ctx)->f->hash(data, len, digest
    [all...]
  /external/tensorflow/tensorflow/compiler/jit/
xla_device_ops.cc 22 XlaDeviceDummyOp::XlaDeviceDummyOp(OpKernelConstruction* ctx) : OpKernel(ctx) {}
24 void XlaDeviceDummyOp::Compute(OpKernelContext* ctx) {
  /external/mesa3d/src/amd/common/
ac_nir_to_llvm.c 143 static LLVMValueRef get_sampler_desc(struct nir_to_llvm_context *ctx,
199 create_llvm_function(LLVMContextRef ctx, LLVMModuleRef module,
209 ret_type = LLVMStructTypeInContext(ctx, return_types,
212 ret_type = LLVMVoidTypeInContext(ctx);
220 LLVMAppendBasicBlockInContext(ctx, main_function, "main_body");
259 static LLVMValueRef get_shared_memory_ptr(struct nir_to_llvm_context *ctx,
267 offset = LLVMConstInt(ctx->i32, idx * 16, false);
269 ptr = ctx->shared_memory;
270 ptr = LLVMBuildGEP(ctx->builder, ptr, &offset, 1, "");
272 ptr = LLVMBuildBitCast(ctx->builder, ptr, LLVMPointerType(type, addr_space), "")
4448 struct nir_to_llvm_context ctx = {0}; local
4620 LLVMContextRef ctx = LLVMGetModuleContext(llvm_module); local
    [all...]
  /external/deqp/modules/gles31/functional/
es31fNegativeTessellationTests.cpp 81 static void checkExtensionSupport (NegativeTestContext& ctx, const char* extName)
83 if (!ctx.getContextInfo().isExtensionSupported(extName))
87 static void checkTessellationSupport (NegativeTestContext& ctx)
89 checkExtensionSupport(ctx, "GL_EXT_tessellation_shader");
109 void single_tessellation_stage (NegativeTestContext& ctx)
111 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2));
112 const bool requireTES = !ctx.getContextInfo().isExtensionSupported("GL_NV_gpu_shader5");
117 checkTessellationSupport(ctx);
120 glu::ShaderProgram program(ctx.getRenderContext(),
125 tcu::TestLog& log = ctx.getLog()
    [all...]
  /external/syslinux/gpxe/src/crypto/axtls/
sha1.c 34 static void SHA1PadMessage(SHA1_CTX *ctx);
35 static void SHA1ProcessMessageBlock(SHA1_CTX *ctx);
40 void SHA1Init(SHA1_CTX *ctx)
42 ctx->Length_Low = 0;
43 ctx->Length_High = 0;
44 ctx->Message_Block_Index = 0;
45 ctx->Intermediate_Hash[0] = 0x67452301;
46 ctx->Intermediate_Hash[1] = 0xEFCDAB89;
47 ctx->Intermediate_Hash[2] = 0x98BADCFE;
48 ctx->Intermediate_Hash[3] = 0x10325476
    [all...]

Completed in 793 milliseconds

1 2 3 45 6 7 8 91011>>