/external/chromium_org/sandbox/linux/seccomp-bpf/ |
verifier.cc | 20 : program(p), data(d), ip(0), accumulator(0), acc_is_valid(false) {} 21 const std::vector<struct sock_filter>& program; member in struct:sandbox::__anon14553::State 80 const std::vector<struct sock_filter>& program, 87 uint32_t computed_ret = Verifier::EvaluateBPF(program, *data, err); 98 *err = "Exit code from BPF program doesn't match"; 112 sandbox, program, data, root_code, *code.passed(), err)) { 120 sandbox, program, data, root_code, *code.failed(), err)) { 139 program, 155 sandbox, program, data, root_code, *code.failed(), err)) { 196 sandbox, program, data, root_code, passed, err)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_cache.c | 33 #include "program/prog_cache.h" 34 #include "program/program.h" 41 struct gl_program *program; member in struct:cache_item 122 (struct gl_shader_program **)&c->program, 125 _mesa_reference_program(ctx, &c->program, NULL); 179 return cache->last->program; 188 return c->program; 201 struct gl_program *program) 211 c->program = program; /* no refcount change * [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 28 #include "program/prog_instruction.h" 35 * \brief Should swrast use a fragment program? 37 * \return true if the current fragment program exists and is not the fixed 38 * function fragment program 152 * Initialize the virtual fragment program machine state prior to running 153 * fragment program on a fragment. This involves initializing the input 156 * \param program the fragment program we're about to run 162 const struct gl_fragment_program *program, 167 if (program->Base.Target == GL_FRAGMENT_PROGRAM_NV) 218 const struct gl_fragment_program *program = ctx->FragmentProgram._Current; local 277 const struct gl_fragment_program *program = ctx->FragmentProgram._Current; local [all...] |
/external/mesa3d/src/mesa/program/ |
prog_cache.c | 33 #include "program/prog_cache.h" 34 #include "program/program.h" 41 struct gl_program *program; member in struct:cache_item 122 (struct gl_shader_program **)&c->program, 125 _mesa_reference_program(ctx, &c->program, NULL); 179 return cache->last->program; 188 return c->program; 201 struct gl_program *program) 211 c->program = program; /* no refcount change * [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 28 #include "program/prog_instruction.h" 35 * \brief Should swrast use a fragment program? 37 * \return true if the current fragment program exists and is not the fixed 38 * function fragment program 152 * Initialize the virtual fragment program machine state prior to running 153 * fragment program on a fragment. This involves initializing the input 156 * \param program the fragment program we're about to run 162 const struct gl_fragment_program *program, 167 if (program->Base.Target == GL_FRAGMENT_PROGRAM_NV) 218 const struct gl_fragment_program *program = ctx->FragmentProgram._Current; local 277 const struct gl_fragment_program *program = ctx->FragmentProgram._Current; local [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_program.cpp | 39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 40 return ToJBool(program && program->CallInit()); 46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 47 return ToJBool(program && lib_name && program->OpenLibrary(ToCppString(env, lib_name))); 53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 54 return ToJBool(program && func_name && program->BindInitFunction(ToCppString(env, func_name))); 60 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz) local 69 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 78 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 85 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 94 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 101 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 113 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 122 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 134 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 180 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local 185 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); local [all...] |
/frameworks/native/opengl/tests/gl2_jni/jni/ |
gl_code.cpp | 74 GLuint program = glCreateProgram(); local 75 if (program) { 76 glAttachShader(program, vertexShader); 78 glAttachShader(program, pixelShader); 80 glLinkProgram(program); 82 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 89 glGetProgramInfoLog(program, bufLength, NULL, buf); 90 ALOGE("Could not link program:\n%s\n", buf); 94 glDeleteProgram(program); [all...] |
/frameworks/native/opengl/tests/gldual/jni/ |
gl_code.cpp | 74 GLuint program = glCreateProgram(); local 75 if (program) { 76 glAttachShader(program, vertexShader); 78 glAttachShader(program, pixelShader); 80 glLinkProgram(program); 82 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 89 glGetProgramInfoLog(program, bufLength, NULL, buf); 90 ALOGE("Could not link program:\n%s\n", buf); 94 glDeleteProgram(program); [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
Renderer.cpp | 78 GLuint program = glCreateProgram(); local 79 if (program) 81 glAttachShader(program, vertexShader); 83 glAttachShader(program, pixelShader); 86 glLinkProgram(program); 88 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 90 LOGI("Program Linked (%d)!", program); 95 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 101 glGetProgramInfoLog(program, bufLength, NULL, buf) [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
Renderer.cpp | 78 GLuint program = glCreateProgram(); local 79 if (program) 81 glAttachShader(program, vertexShader); 83 glAttachShader(program, pixelShader); 86 glLinkProgram(program); 88 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 90 LOGI("Program Linked!"); 95 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 101 glGetProgramInfoLog(program, bufLength, NULL, buf); 102 LOGE("Could not link program:\n%s\n", buf) [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
ShaderProgram.java | 22 import android.filterfw.core.Program; 31 public class ShaderProgram extends Program { 73 ShaderProgram program = nativeCreateIdentity(getGLEnvironment(context)); local 74 program.setTimer(); 75 return program; 234 throw new RuntimeException("Could not prepare shader-program for drawing!");
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
TeapotRenderer.cpp | 203 GLuint program; local 207 // Create shader program 208 program = glCreateProgram(); 209 LOGI( "Created Shader %d", program ); 215 glDeleteProgram( program ); 223 glDeleteProgram( program ); 227 // Attach vertex shader to program 228 glAttachShader( program, vert_shader ); 230 // Attach fragment shader to program 231 glAttachShader( program, frag_shader ) [all...] |
/external/ceres-solver/internal/ceres/ |
gradient_checking_cost_function.cc | 45 #include "ceres/program.h" 258 Program* program = problem_impl->mutable_program(); local 262 const vector<ParameterBlock*>& parameter_blocks = program->parameter_blocks(); 279 const vector<ResidualBlock*>& residual_blocks = program->residual_blocks();
|
gradient_checking_cost_function_test.cc | 41 #include "ceres/program.h" 378 const Program& program = problem_impl.program(); local 379 const Program& gradient_checking_program = 380 gradient_checking_problem_impl->program(); 385 // Program. This is not exepected to be the case and writing code to 388 for (int i = 0; i < program.parameter_blocks().size(); ++i) { 390 program.parameter_blocks()[i], 394 for (int i = 0; i < program.residual_blocks().size(); ++i) [all...] |
program_test.cc | 31 #include "ceres/program.h" 78 TEST(Program, RemoveFixedBlocksNothingConstant) { 94 scoped_ptr<Program> reduced_program( 96 .program() 107 TEST(Program, RemoveFixedBlocksAllParameterBlocksConstant) { 118 scoped_ptr<Program> reduced_program( 120 .program() 132 TEST(Program, RemoveFixedBlocksNoResidualBlocks) { 145 scoped_ptr<Program> reduced_program( 147 .program() 314 Program* program = problem.mutable_program(); local 381 Program* program = problem.mutable_program(); local [all...] |
solver_impl.cc | 55 #include "ceres/program.h" 69 Program* program, 75 minimizer_options.is_constrained = program->IsBoundsConstrained(); 79 Vector parameters(program->NumParameters()); 83 program->ParameterBlocksToStateVector(parameters.data()); 92 StateUpdatingCallback updating_callback(program, parameters.data()); 129 program->StateVectorToParameterBlocks(parameters.data()); 130 program->CopyParameterBlockStateToUserState(); 139 Program* program 610 const Program& program = problem_impl->program(); local [all...] |
/external/chromium_org/chrome/browser/ |
process_singleton_browsertest.cc | 62 base::FilePath program; local 63 ASSERT_TRUE(PathService::Get(base::FILE_EXE, &program)); 64 CommandLine command_line(program); 192 base::FilePath program; local 193 ASSERT_TRUE(PathService::Get(base::FILE_EXE, &program)); 194 base::FilePath::StringType exe_name = program.BaseName().value();
|
/external/chromium_org/courgette/ |
encoded_program_fuzz_unittest.cc | 41 courgette::AssemblyProgram* program = NULL; local 44 &program); 49 const courgette::Status encode_status = Encode(program, &encoded); 52 DeleteAssemblyProgram(program);
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_copy_texture_CHROMIUM_unittest.cc | 450 GLuint program = GLTestHelper::LoadProgram(v_shader_str, f_shader_str); local 451 glUseProgram(program); 452 GLuint position_loc = glGetAttribLocation(program, "g_Position"); 455 // Delete program from other context. 457 glDeleteProgram(program); 461 // Program should still be usable on this context. 466 // test using program before 482 // test using program after
|
gl_depth_texture_unittest.cc | 89 GLuint program = GLTestHelper::LoadProgram(v_shader_str, f_shader_str); local 91 GLint position_loc = glGetAttribLocation(program, "v_position"); 92 GLint resolution_loc = glGetUniformLocation(program, "u_resolution"); 129 glUseProgram(program);
|
gl_pointcoord_unittest.cc | 98 GLuint program = GLTestHelper::LoadProgram(v_shader_str, f_shader_str); local 99 glUseProgram(program); 101 GLint position_loc = glGetAttribLocation(program, "a_position"); 102 GLint pointsize_loc = glGetUniformLocation(program, "u_pointsize");
|
/external/chromium_org/media/tools/player_x11/ |
gl_video_renderer.cc | 174 GLuint program = glCreateProgram(); local 191 glAttachShader(program, vertex_shader); 208 glAttachShader(program, fragment_shader); 211 glLinkProgram(program); 213 glGetProgramiv(program, GL_LINK_STATUS, &result); 217 glGetProgramInfoLog(program, kErrorSize - 1, &len, log); 221 glUseProgram(program); 222 glDeleteProgram(program); 225 glUniform1i(glGetUniformLocation(program, "y_tex"), 0); 226 glUniform1i(glGetUniformLocation(program, "u_tex"), 1) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_vs.c | 38 #include "program/prog_print.h" 39 #include "program/prog_parameter.h" 54 * Compute the VUE map for vertex shader program. 179 /* Either we are using fixed function or an ARB vertex program. In 199 const GLuint *program; local 213 c.prog_data.outputs_written = vp->program.Base.OutputsWritten; 214 c.prog_data.inputs_read = vp->program.Base.InputsRead; 235 _mesa_fprint_program_opt(stdout, &c.vp->program.Base, PROG_PRINT_DEBUG, 252 if (c.vp->program.Base.SamplersUsed) 272 /* get the program [all...] |
/external/chromium_org/third_party/webrtc/modules/video_render/android/ |
video_render_opengles20.cc | 113 "%s: Could not create program", __FUNCTION__); 281 GLuint program = glCreateProgram(); local 282 if (program) { 283 glAttachShader(program, vertexShader); 285 glAttachShader(program, pixelShader); 287 glLinkProgram(program); 289 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); 292 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); 296 glGetProgramInfoLog(program, bufLength, NULL, buf); 298 "%s: Could not link program: %s" [all...] |
/external/deqp/framework/referencerenderer/ |
rrRenderer.hpp | 4 * drawElements Quality Program Reference Renderer 60 struct Program 62 Program (const VertexShader* vertexShader_, const FragmentShader* fragmentShader_, const GeometryShader* geometryShader_ = DE_NULL) 110 DrawCommand (const RenderState& state_, const RenderTarget& renderTarget_, const Program& program_, int numVertexAttribs_, const VertexAttrib* vertexAttribs_, const PrimitiveList& primitives_) 113 , program (program_) 122 const Program& program; member in class:rr::DrawCommand
|