/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-param-util.h | 185 RangeGenerator(T begin, T end, IncrementT step) 187 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 201 IncrementT step) 202 : base_(base), value_(value), index_(index), step_(step) {} 244 const IncrementT& step) { 246 for (T i = begin; i < end; i = i + step)
|
/external/gtest/include/gtest/internal/ |
gtest-param-util.h | 185 RangeGenerator(T begin, T end, IncrementT step) 187 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 201 IncrementT step) 202 : base_(base), value_(value), index_(index), step_(step) {} 244 const IncrementT& step) { 246 for (T i = begin; i < end; i = i + step)
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-param-util.h | 185 RangeGenerator(T begin, T end, IncrementT step) 187 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 201 IncrementT step) 202 : base_(base), value_(value), index_(index), step_(step) {} 244 const IncrementT& step) { 246 for (T i = begin; i < end; i = i + step)
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-param-util.h | 185 RangeGenerator(T begin, T end, IncrementT step) 187 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 201 IncrementT step) 202 : base_(base), value_(value), index_(index), step_(step) {} 244 const IncrementT& step) { 246 for (T i = begin; i < end; i = i + step)
|
/external/opencv/cxcore/src/ |
cxmathfuncs.cpp | 406 float* x_data = (float*)(xmat->data.ptr + xmat->step*y); 407 float* y_data = (float*)(ymat->data.ptr + ymat->step*y); 408 float* mag_data = mag ? (float*)(mag->data.ptr + mag->step*y) : 0; 409 float* angle_data = angle ? (float*)(angle->data.ptr + angle->step*y) : 0; 435 double* x_data = (double*)(xmat->data.ptr + xmat->step*y); 436 double* y_data = (double*)(ymat->data.ptr + ymat->step*y); 437 double* mag_data = mag ? (double*)(mag->data.ptr + mag->step*y) : 0; 438 double* angle_data = angle ? (double*)(angle->data.ptr + angle->step*y) : 0; 649 float* x_data = (float*)(xmat ? xmat->data.ptr + xmat->step*y : 0); 650 float* y_data = (float*)(ymat ? ymat->data.ptr + ymat->step*y : 0) [all...] |
/external/opencv3/modules/core/src/ |
downhill_simplex.cpp | 92 void test(Ptr<optim::DownhillSolver> MinProblemSolver, Ptr<optim::MinProblemSolver::Function> ptr_F, Mat &P, Mat &step) 97 MinProblemSolver->setInitStep(step); 121 Mat step = (Mat_<double>(2, 1) << -0.5, 0.5); 126 test(MinProblemSolver, ptr_F, P, step); 152 void getInitStep(OutputArray step) const { _step.copyTo(step); } 153 void setInitStep(InputArray step) 155 // set dimensionality and make a deep copy of step 156 Mat m = step.getMat(); 186 dprintf(("step\n")) [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-param-util.h | 184 RangeGenerator(T begin, T end, IncrementT step) 186 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 200 IncrementT step) 201 : base_(base), value_(value), index_(index), step_(step) {} 243 const IncrementT& step) { 245 for (T i = begin; i < end; i = i + step)
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
gtest-param-util.h | 185 RangeGenerator(T begin, T end, IncrementT step) 187 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 201 IncrementT step) 202 : base_(base), value_(value), index_(index), step_(step) {} 244 const IncrementT& step) { 246 for (T i = begin; i < end; i = i + step)
|
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
gtest-param-util.h | 185 RangeGenerator(T begin, T end, IncrementT step) 187 step_(step), end_index_(CalculateEndIndex(begin, end, step)) {} 201 IncrementT step) 202 : base_(base), value_(value), index_(index), step_(step) {} 244 const IncrementT& step) { 246 for (T i = begin; i < end; i = i + step)
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/ |
Island.java | 241 public void solve(Profile profile, TimeStep step, Vec2 gravity, boolean allowSleep) { 244 float h = step.dt; 269 // Time step: v(t + dt) = v0 * exp(-c * (t + dt)) = v0 * exp(-c * t) * exp(-c * dt) = v * 290 solverData.step = step; 295 solverDef.step = step; 305 if (step.warmStarting) { 319 for (int i = 0; i < step.velocityIterations; ++i) { 367 for (int i = 0; i < step.positionIterations; ++i) [all...] |
/external/opencv3/modules/cudaimgproc/src/cuda/ |
mean_shift.cu | 139 cudaSafeCall( cudaBindTexture2D( 0, tex_meanshift, src.data, desc, src.cols, src.rows, src.step ) ); 141 meanshift_kernel<<< grid, threads, 0, stream >>>( dst.data, dst.step, dst.cols, dst.rows, sp, sr, maxIter, eps ); 171 cudaSafeCall( cudaBindTexture2D( 0, tex_meanshift, src.data, desc, src.cols, src.rows, src.step ) ); 173 meanshiftproc_kernel<<< grid, threads, 0, stream >>>( dstr.data, dstr.step, dstsp.data, dstsp.step, dstr.cols, dstr.rows, sp, sr, maxIter, eps );
|
/external/opencv3/modules/imgproc/src/ |
samplers.cpp | 397 if (ippfunc(image.ptr(), (int)image.step, src_size, patch.ptr(), 398 (int)patch.step, win_size, icenter, &minpt, &maxpt) >= 0 ) 410 (image.ptr(), image.step, image.size(), patch.ptr(), patch.step, patch.size(), center, cn); 413 (image.ptr(), image.step, image.size(), patch.ptr<float>(), patch.step, patch.size(), center, cn); 416 (image.ptr<float>(), image.step, image.size(), patch.ptr<float>(), patch.step, patch.size(), center, cn); 451 cv::getQuadrangleSubPix_8u32f_CnR( src.ptr(), src.step, src.size(), 452 dst.ptr<float>(), dst.step, dst.size() [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
transform.c | 194 int i, j, step; local 199 step = 2*bgn; 210 xptr += step; 218 xptr += step; 233 xptr += step; 252 xptr -= step; 256 xptr -= step; 260 xptr -= step; 266 xptr += 3*step; 268 twidTab += 3*step; [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
SapServerTest.java | 256 * TODO: We need to add a IAction and add an action to a step, to be able to send 326 * Examine if the step has any expected response. 375 * Add a test step to the sequencer 378 * @return The created step index, which can be used when adding events or actions. 381 // TODO: should we add a step trigger? (in stead of just executing in sequence) 388 * Add a sub-step to a sequencer step. All requests added to the same index will be send to 391 * responses in the step will be searched for a match. 392 * @param index the index returned from addStep() to which the sub-step is to be added. 397 SeqStep step = sequence.get(index) local [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
b2MotorJoint.cpp | 117 if (data.step.warmStarting) 119 // Scale impulses to support a variable time step. 120 m_linearImpulse *= data.step.dtRatio; 121 m_angularImpulse *= data.step.dtRatio; 151 float32 h = data.step.dt; 152 float32 inv_h = data.step.inv_dt;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2World.cpp | 258 // Flag the contact for filtering at the next time step (where either 357 // Flag the contact for filtering at the next time step (where either 386 void b2World::Solve(const b2TimeStep& step) 531 island.Solve(&profile, step, m_gravity, m_allowSleep); 577 void b2World::SolveTOI(const b2TimeStep& step) 857 subStep.dt = (1.0f - minAlpha) * step.dt; 861 subStep.velocityIterations = step.velocityIterations; 897 void b2World::Step(float32 dt, int32 velocityIterations, int32 positionIterations) 910 b2TimeStep step; 911 step.dt = dt [all...] |
/external/opencv3/modules/cudastereo/src/cuda/ |
stereobm.cu | 61 #define STEREO_DISP_STEP N_DISPARITIES // the d step, must be <= 1 to avoid aliasing 245 unsigned char* disparImage = disp.data + X + Y * disp.step; 304 disparImage[disp.step * row] = (unsigned char)(d + minSSD.y); 324 stereoKernel<RADIUS><<<grid, threads, smem_size, stream>>>(left.data, right.data, left.step, disp, maxdisp); 356 cudaSafeCall( cudaMemset2D(disp.data, disp.step, 0, disp.cols, disp.rows) ); 357 cudaSafeCall( cudaMemset2D(minSSD_buf.data, minSSD_buf.step, 0xFF, minSSD_buf.cols * minSSD_buf.elemSize(), disp.rows) ); 363 size_t minssd_step = minSSD_buf.step/minSSD_buf.elemSize(); 395 cudaSafeCall( cudaBindTexture2D( 0, texForSobel, input.data, desc, input.cols, input.rows, input.step ) ); 485 disp.data[y * disp.step + x] = 0; 503 disp.data[y * disp.step + x] = 0 [all...] |
/external/opencv3/modules/features2d/src/ |
mser.cpp | 130 int step; member in struct:cv::MSER_Impl::WParams 186 // the process of computing variances unless we are at the final step 221 int step = wp.step; local 225 int y = pix/step; 226 int x = pix - y*step; 354 int step = cols; local 355 pixbuf.resize(step*rows); 361 for( j = 0; j < step; j++ ) 363 pixbuf[j] = pixbuf[j + (rows-1)*step] = borderpix 390 int step = cols; local 406 int step = size.width; local [all...] |
/external/opencv3/modules/imgcodecs/src/ |
grfmt_pxm.cpp | 193 int step = (int)img.step; local 232 for( y = 0; y < m_height; y++, data += step ) 245 for( y = 0; y < m_height; y++, data += step ) 261 for( y = 0; y < m_height; y++, data += step )
|
/external/opencv3/modules/stitching/src/ |
motion_estimators.cpp | 403 const double step = 1e-4; local 410 cam_params_.at<double>(i * 7, 0) = val - step; 412 cam_params_.at<double>(i * 7, 0) = val + step; 414 calcDeriv(err1_, err2_, 2 * step, jac.col(i * 7)); 420 cam_params_.at<double>(i * 7 + 1, 0) = val - step; 422 cam_params_.at<double>(i * 7 + 1, 0) = val + step; 424 calcDeriv(err1_, err2_, 2 * step, jac.col(i * 7 + 1)); 430 cam_params_.at<double>(i * 7 + 2, 0) = val - step; 432 cam_params_.at<double>(i * 7 + 2, 0) = val + step; 434 calcDeriv(err1_, err2_, 2 * step, jac.col(i * 7 + 2)) 584 const double step = 1e-3; local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV7/ |
Radix4FFT_v7.s | 61 add r8, r8, r5 @ xptr += step@ 72 add r8, r8, r5 @ xptr += step@ 114 sub r8, r8, r5 @ xptr -= step@ 119 sub r8, r8, r5 @ xptr -= step@ 124 sub r8, r8, r5 @ xptr -= step@
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
graph_json_test.py | 34 def _AddTestColumns(self, start_rev=15000, end_rev=16500, step=3): 44 step: Difference between adjacent revisions. 62 for i in range(start_rev, end_rev, step): 75 def _AddLongTestColumns(self, start_rev=15000, end_rev=16500, step=3): 81 step: Difference between adjacent revisions. 99 for i in range(start_rev, end_rev, step): 117 self, json_str, num_rows, num_cols, start_rev, end_rev, step=3): 136 step: Expected difference between adjacent revision numbers. 152 for index, rev in enumerate(range(start_rev, end_rev, step)): 157 self._AddTestColumns(start_rev=15700, end_rev=16000, step=1 [all...] |
/external/opencv/cv/src/ |
cvfilter.cpp | 537 dptr = dst->data.ptr + dst_origin.y*dst->step + dst_origin.x*CV_ELEM_SIZE(dst_type); 538 sptr = src->data.ptr + src_y1*src->step + src_x*pix_size; 545 delta = fill_cyclic_buffer( sptr, src->step, src_y, src_y1, src_y2 ); 548 sptr += src->step*delta; 576 y_func( rows + max_ky - anchor.y, dptr, dst->step, count, this ); 579 dptr += dst->step*count; [all...] |
/external/opencv3/modules/imgproc/test/ |
test_color.cpp | 1593 int step = (int)(src.step\/sizeof(T)); local 1965 int step = (int)src.step; local [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_tiff.cpp | 165 bool GrFmtTiffReader::ReadData( uchar* data, int step, int color ) 193 for( y = 0; y < m_height; y += tile_height0, data += step*tile_height0 ) 218 data + x*3 + step*(tile_height - i - 1), 0, 222 data + x + step*(tile_height - i - 1), 0, 559 bool GrFmtTiffReader::ReadData( uchar* data, int step, int color ) 594 for( ; y < y_limit; y++, data += step ) 681 bool GrFmtTiffWriter::WriteImage( const uchar* data, int step, 687 assert( data && width > 0 && height > 0 && step >= fileStep); 727 for( ; y < limit; y++, data += step )
|