/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vp_build.c | 42 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx ) 44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current; 46 if (!ctx->VertexProgram._Current || 47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { 48 ctx->VertexProgram._Current 49 = ctx->VertexProgram._TnlProgram 50 = _mesa_get_fixed_func_vertex_program(ctx); 56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vp_build.c | 42 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx ) 44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current; 46 if (!ctx->VertexProgram._Current || 47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { 48 ctx->VertexProgram._Current 49 = ctx->VertexProgram._TnlProgram 50 = _mesa_get_fixed_func_vertex_program(ctx); 56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
evergreen_hw_context.c | 33 int si_context_init(struct r600_context *ctx) 37 LIST_INITHEAD(&ctx->active_query_list); 39 ctx->cs = ctx->ws->cs_create(ctx->ws); 41 ctx->max_db = 8;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
evergreen_hw_context.c | 33 int si_context_init(struct r600_context *ctx) 37 LIST_INITHEAD(&ctx->active_query_list); 39 ctx->cs = ctx->ws->cs_create(ctx->ws); 41 ctx->max_db = 8;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLNativeReference.java | 26 public OpenSSLNativeReference(long ctx) { 27 if (ctx == 0) { 28 throw new NullPointerException("ctx == 0"); 31 this.context = ctx;
|
/external/deqp/modules/gles31/functional/ |
es31fNegativeBufferApiTests.cpp | 46 void bind_buffer (NegativeTestContext& ctx) 48 ctx.beginSection("GL_INVALID_ENUM is generated if target is not one of the allowable values."); 49 ctx.glBindBuffer(-1, 0); 50 ctx.expectError(GL_INVALID_ENUM); 51 ctx.endSection(); 54 void delete_buffers (NegativeTestContext& ctx) 56 ctx.beginSection("GL_INVALID_VALUE is generated if n is negative."); 57 ctx.glDeleteBuffers(-1, 0); 58 ctx.expectError(GL_INVALID_VALUE); 59 ctx.endSection() [all...] |
es31fNegativeTextureApiTests.cpp | 89 void activetexture (NegativeTestContext& ctx) 91 ctx.beginSection("GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS - 1)."); 92 ctx.glActiveTexture(-1); 93 ctx.expectError(GL_INVALID_ENUM); 94 int numMaxTextureUnits = ctx.getInteger(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS); 95 ctx.glActiveTexture(GL_TEXTURE0 + numMaxTextureUnits); 96 ctx.expectError(GL_INVALID_ENUM); 97 ctx.endSection(); 102 void bindtexture (NegativeTestContext& ctx) 105 ctx.glGenTextures(2, texture) [all...] |
es31fNegativeFragmentApiTests.cpp | 46 void scissor (NegativeTestContext& ctx) 48 ctx.beginSection("GL_INVALID_VALUE is generated if either width or height is negative."); 49 ctx.glScissor(0, 0, -1, 0); 50 ctx.expectError(GL_INVALID_VALUE); 51 ctx.glScissor(0, 0, 0, -1); 52 ctx.expectError(GL_INVALID_VALUE); 53 ctx.glScissor(0, 0, -1, -1); 54 ctx.expectError(GL_INVALID_VALUE); 55 ctx.endSection(); 58 void depth_func (NegativeTestContext& ctx) [all...] |
es31fNegativeVertexArrayApiTests.cpp | 59 void vertex_attribf (NegativeTestContext& ctx) 61 ctx.beginSection("GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS."); 62 int maxVertexAttribs = ctx.getInteger(GL_MAX_VERTEX_ATTRIBS); 63 ctx.glVertexAttrib1f(maxVertexAttribs, 0.0f); 64 ctx.expectError(GL_INVALID_VALUE); 65 ctx.glVertexAttrib2f(maxVertexAttribs, 0.0f, 0.0f); 66 ctx.expectError(GL_INVALID_VALUE); 67 ctx.glVertexAttrib3f(maxVertexAttribs, 0.0f, 0.0f, 0.0f); 68 ctx.expectError(GL_INVALID_VALUE); 69 ctx.glVertexAttrib4f(maxVertexAttribs, 0.0f, 0.0f, 0.0f, 0.0f) [all...] |
es31fNegativeShaderApiTests.cpp | 89 void create_shader (NegativeTestContext& ctx) 91 ctx.beginSection("GL_INVALID_ENUM is generated if shaderType is not an accepted value."); 92 ctx.glCreateShader(-1); 93 ctx.expectError(GL_INVALID_ENUM); 94 ctx.endSection(); 97 void shader_source (NegativeTestContext& ctx) 101 ctx.beginSection("GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL."); 102 ctx.glShaderSource(1, 0, 0, 0); 103 ctx.expectError(GL_INVALID_VALUE); 104 ctx.endSection() [all...] |
es31fNegativeStateApiTests.cpp | 65 void enable (NegativeTestContext& ctx) 67 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values."); 68 ctx.glEnable(-1); 69 ctx.expectError(GL_INVALID_ENUM); 70 ctx.endSection(); 73 void disable (NegativeTestContext& ctx) 75 ctx.beginSection("GL_INVALID_ENUM is generated if cap is not one of the allowed values."); 76 ctx.glDisable(-1); 77 ctx.expectError(GL_INVALID_ENUM); 78 ctx.endSection() [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/attr/ |
error_context.h | 37 # define error(ctx, args...) do { \ 38 if ((ctx) && (ctx)->error) \ 39 (ctx)->error((ctx), args); \ 41 # define quote(ctx, name) \ 42 ( ((ctx) && (ctx)->quote) ? (ctx)->quote((ctx), (name)) : (name) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/attr/ |
error_context.h | 37 # define error(ctx, args...) do { \ 38 if ((ctx) && (ctx)->error) \ 39 (ctx)->error((ctx), args); \ 41 # define quote(ctx, name) \ 42 ( ((ctx) && (ctx)->quote) ? (ctx)->quote((ctx), (name)) : (name) [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_sha1.c | 41 sctp_sha1_init(struct sctp_sha1_context *ctx) 43 ctx->pk11_ctx = PK11_CreateDigestContext(SEC_OID_SHA1); 44 PK11_DigestBegin(ctx->pk11_ctx); 48 sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz) 50 PK11_DigestOp(ctx->pk11_ctx, ptr, siz); 54 sctp_sha1_final(unsigned char *digest, struct sctp_sha1_context *ctx) 58 PK11_DigestFinal(ctx->pk11_ctx, digest, &output_len, SHA_DIGEST_LENGTH); 59 PK11_DestroyContext(ctx->pk11_ctx, PR_TRUE); 65 sctp_sha1_init(struct sctp_sha1_context *ctx) 67 SHA1_Init(&ctx->sha_ctx) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
pixelstore.c | 43 GET_CURRENT_CONTEXT(ctx); 44 ASSERT_OUTSIDE_BEGIN_END(ctx); 48 if (!_mesa_is_desktop_gl(ctx)) 50 if (param == (GLint)ctx->Pack.SwapBytes) 52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); 53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; 56 if (!_mesa_is_desktop_gl(ctx)) 58 if (param == (GLint)ctx->Pack.LsbFirst) 60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); 61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE [all...] |
texturebarrier.c | 36 _mesa_texture_barrier(struct gl_context *ctx) 50 GET_CURRENT_CONTEXT(ctx); 51 ASSERT_OUTSIDE_BEGIN_END(ctx); 53 ctx->Driver.TextureBarrier(ctx);
|
feedback.c | 56 GET_CURRENT_CONTEXT(ctx); 57 ASSERT_OUTSIDE_BEGIN_END(ctx); 59 if (ctx->RenderMode==GL_FEEDBACK) { 60 _mesa_error( ctx, GL_INVALID_OPERATION, "glFeedbackBuffer" ); 64 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(size<0)" ); 68 _mesa_error( ctx, GL_INVALID_VALUE, "glFeedbackBuffer(buffer==NULL)" ); 69 ctx->Feedback.BufferSize = 0; 75 ctx->Feedback._Mask = 0; 78 ctx->Feedback._Mask = FB_3D; 81 ctx->Feedback._Mask = (FB_3D | FB_COLOR) [all...] |
/external/mesa3d/src/mesa/main/ |
pixelstore.c | 43 GET_CURRENT_CONTEXT(ctx); 44 ASSERT_OUTSIDE_BEGIN_END(ctx); 48 if (!_mesa_is_desktop_gl(ctx)) 50 if (param == (GLint)ctx->Pack.SwapBytes) 52 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); 53 ctx->Pack.SwapBytes = param ? GL_TRUE : GL_FALSE; 56 if (!_mesa_is_desktop_gl(ctx)) 58 if (param == (GLint)ctx->Pack.LsbFirst) 60 FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); 61 ctx->Pack.LsbFirst = param ? GL_TRUE : GL_FALSE [all...] |
texturebarrier.c | 36 _mesa_texture_barrier(struct gl_context *ctx) 50 GET_CURRENT_CONTEXT(ctx); 51 ASSERT_OUTSIDE_BEGIN_END(ctx); 53 ctx->Driver.TextureBarrier(ctx);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
vg_manager.h | 36 vg_manager_flush_frontbuffer(struct vg_context *ctx); 39 vg_manager_validate_framebuffer(struct vg_context *ctx);
|
/external/elfutils/0.153/libasm/ |
asm_abort.c | 39 asm_abort (ctx) 40 AsmCtx_t *ctx; 42 if (ctx == NULL) 46 if (likely (! ctx->textp)) 48 (void) elf_end (ctx->out.elf); 51 if (ctx->fd != -1) 52 (void) unlink (ctx->tmp_fname); 55 __libasm_finictx (ctx);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
vg_manager.h | 36 vg_manager_flush_frontbuffer(struct vg_context *ctx); 39 vg_manager_validate_framebuffer(struct vg_context *ctx);
|
/external/openssl/crypto/evp/ |
pmeth_fn.c | 66 #define M_check_autoarg(ctx, arg, arglen, err) \ 67 if (ctx->pmeth->flags & EVP_PKEY_FLAG_AUTOARGLEN) \ 69 size_t pksize = (size_t)EVP_PKEY_size(ctx->pkey); \ 82 int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) 85 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) 91 ctx->operation = EVP_PKEY_OP_SIGN; 92 if (!ctx->pmeth->sign_init) 94 ret = ctx->pmeth->sign_init(ctx) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-encblock.c | 25 void *ctx; local 26 ctx = aes_encrypt_init(key, 16); 27 if (ctx == NULL) 29 aes_encrypt(ctx, in, out); 30 aes_encrypt_deinit(ctx);
|
/external/emma/core/java12/com/vladium/emma/report/ |
AbstractItemVisitor.java | 20 public Object visit (final AllItem item, final Object ctx) 22 return ctx; 25 public Object visit (final PackageItem item, final Object ctx) 27 return ctx; 30 public Object visit (final SrcFileItem item, final Object ctx) 32 return ctx; 35 public Object visit (final ClassItem item, final Object ctx) 37 return ctx; 40 public Object visit (final MethodItem item, final Object ctx) 42 return ctx; [all...] |