/external/ceres-solver/internal/ceres/ |
D | dynamic_compressed_row_jacobian_writer.cc | 44 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers() 49 const int num_residuals = program_->NumResiduals(); in CreateJacobian() 50 const int num_effective_parameters = program_->NumEffectiveParameters(); in CreateJacobian() 58 program_, jacobian); in CreateJacobian() 72 program_->residual_blocks()[residual_id]; in Write() 77 program_, residual_id, &evaluated_jacobian_blocks); in Write() 86 program_->parameter_blocks()[evaluated_jacobian_blocks[i].first]; in Write()
|
D | problem_impl.cc | 141 new ParameterBlock(values, size, program_->parameter_blocks_.size()); in InternalAddParameterBlock() 149 program_->parameter_blocks_.push_back(new_parameter_block); in InternalAddParameterBlock() 170 DeleteBlockInVector(program_->mutable_residual_blocks(), residual_block); in InternalRemoveResidualBlock() 210 ProblemImpl::ProblemImpl() : program_(new internal::Program) {} in ProblemImpl() 213 program_(new internal::Program) {} in ProblemImpl() 217 const int num_residual_blocks = program_->residual_blocks_.size(); in ~ProblemImpl() 220 for (int i = 0; i < program_->residual_blocks_.size(); ++i) { in ~ProblemImpl() 221 DeleteBlock(program_->residual_blocks_[i]); in ~ProblemImpl() 225 for (int i = 0; i < program_->parameter_blocks_.size(); ++i) { in ~ProblemImpl() 226 DeleteBlock(program_->parameter_blocks_[i]); in ~ProblemImpl() [all …]
|
D | program_evaluator.h | 114 program_(program), in ProgramEvaluator() 147 if (!program_->StateVectorToParameterBlocks(state)) { in Evaluate() 152 VectorRef(residuals, program_->NumResiduals()).setZero(); in Evaluate() 164 program_->NumEffectiveParameters()).setZero(); in Evaluate() 172 int num_residual_blocks = program_->NumResidualBlocks(); in Evaluate() 190 const ResidualBlock* residual_block = program_->residual_blocks()[i]; in Evaluate() 256 const int num_parameters = program_->NumEffectiveParameters(); in Evaluate() 286 return program_->Plus(state, delta, state_plus_delta); in Plus() 290 return program_->NumParameters(); in NumParameters() 293 return program_->NumEffectiveParameters(); in NumEffectiveParameters() [all …]
|
D | dense_jacobian_writer.h | 51 : program_(program) { in DenseJacobianWriter() 60 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers() 64 return new DenseSparseMatrix(program_->NumResiduals(), in CreateJacobian() 65 program_->NumEffectiveParameters(), in CreateJacobian() 78 program_->residual_blocks()[residual_id]; in Write() 105 Program* program_;
|
D | compressed_row_jacobian_writer.cc | 83 program_->residual_blocks(); in CreateJacobian() 85 int total_num_residuals = program_->NumResiduals(); in CreateJacobian() 86 int total_num_effective_parameters = program_->NumEffectiveParameters(); in CreateJacobian() 155 program_->parameter_blocks()[parameter_indices[j]]; in CreateJacobian() 173 PopulateJacobianRowAndColumnBlockVectors(program_, jacobian); in CreateJacobian() 189 program_->residual_blocks()[residual_id]; in Write() 193 GetOrderedParameterBlocks(program_, residual_id, &evaluated_jacobian_blocks); in Write() 202 program_->parameter_blocks()[evaluated_jacobian_blocks[i].first]; in Write()
|
D | compressed_row_jacobian_writer.h | 50 : program_(program) { in CompressedRowJacobianWriter() 92 return ScratchEvaluatePreparer::Create(*program_, num_threads); in CreateEvaluatePreparers() 103 Program* program_;
|
D | callbacks.cc | 42 : program_(program), parameters_(parameters) {} in StateUpdatingCallback() 49 program_->StateVectorToParameterBlocks(parameters_); in operator ()() 50 program_->CopyParameterBlockStateToUserState(); in operator ()()
|
D | block_jacobian_writer.cc | 125 : program_(program) { in BlockJacobianWriter() 140 program_->MaxDerivativesPerResidualBlock(); in CreateEvaluatePreparers() 153 program_->parameter_blocks(); in CreateJacobian() 167 program_->residual_blocks(); in CreateJacobian()
|
D | dynamic_compressed_row_jacobian_writer.h | 50 : program_(program) { in DynamicCompressedRowJacobianWriter() 77 Program* program_;
|
D | problem_impl.h | 164 const Program& program() const { return *program_; } in program() 165 Program* mutable_program() { return program_.get(); } in mutable_program() 202 internal::scoped_ptr<internal::Program> program_; variable
|
D | block_jacobian_writer.h | 75 Program* program_;
|
D | callbacks.h | 51 Program* program_;
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | codegen.cc | 54 CodeGen::CodeGen() : program_(), equivalent_(), memos_() { in CodeGen() 61 return Program(program_.rbegin() + Offset(head), program_.rend()); in Compile() 132 CHECK_LT(program_.size(), static_cast<size_t>(BPF_MAXINSNS)); in Append() 133 CHECK_EQ(program_.size(), equivalent_.size()); in Append() 135 Node res = program_.size(); in Append() 136 program_.push_back(sock_filter{ in Append() 143 CHECK_LT(target, program_.size()) << "Bogus offset target node"; in Offset() 144 return (program_.size() - 1) - target; in Offset()
|
D | bpf_dsl_unittest.cc | 66 : program_() { in PolicyEmulator() 68 program_ = PolicyCompiler(&policy, &traps).Compile(); in PolicyEmulator() 79 const std::string actual = DumpBPF::StringPrintProgram(program_); in PolicyEmulator() 103 uint32_t res = Verifier::EvaluateBPF(program_, data, &err); in Emulate() 111 CodeGen::Program program_; member in sandbox::bpf_dsl::__anon429868d40111::PolicyEmulator
|
D | codegen.h | 106 Program program_; variable
|
/external/autotest/client/deps/glbench/src/ |
D | texturetest.cc | 47 program_ = InitShaderProgram(kVertexShader, kFragmentShader); in Run() 49 int attr1 = glGetAttribLocation(program_, "c1"); in Run() 53 int attr2 = glGetAttribLocation(program_, "c2"); in Run() 57 int texture_sampler = glGetUniformLocation(program_, "texture"); in Run() 127 glDeleteProgram(program_); in Run()
|
D | texturetest.h | 38 GLuint program_; variable
|
/external/webrtc/webrtc/modules/video_render/ios/ |
D | open_gles20.mm | 64 program_ = 0; 77 if (program_) { 79 glDeleteProgram(program_); 84 program_ = CreateProgram(vertext_shader_, fragment_shader_); 85 if (!program_) { 89 int position_handle = glGetAttribLocation(program_, "aPosition"); 90 int texture_handle = glGetAttribLocation(program_, "aTextureCoord"); 107 glUseProgram(program_); 108 int i = glGetUniformLocation(program_, "Ytex"); 111 i = glGetUniformLocation(program_, "Utex"); [all …]
|
D | open_gles20.h | 54 GLuint program_; variable
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.hpp | 112 …DrawCommand (const RenderState& state_, const RenderTarget& renderTarget_, const Program& program_… in DrawCommand() argument 115 , program (program_) in DrawCommand()
|