Home
last modified time | relevance | path

Searched refs:steps (Results 1 – 25 of 530) sorted by relevance

12345678910>>...22

/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
DContinuousOutputModel.java108 private List<StepInterpolator> steps; field in ContinuousOutputModel
114 steps = new ArrayList<StepInterpolator>(); in ContinuousOutputModel()
129 if (model.steps.size() == 0) { in append()
133 if (steps.size() == 0) { in append()
149 final StepInterpolator lastInterpolator = steps.get(index); in append()
161 for (StepInterpolator interpolator : model.steps) { in append()
162 steps.add(interpolator.copy()); in append()
165 index = steps.size() - 1; in append()
166 finalTime = (steps.get(index)).getCurrentTime(); in append()
189 steps.clear(); in reset()
[all …]
/external/python/cpython2/Lib/
Dpipes.py90 return '<Template instance, steps=%r>' % (self.steps,)
94 self.steps = []
100 t.steps = self.steps[:]
119 if self.steps and self.steps[-1][1] == SINK:
128 self.steps.append((cmd, kind))
141 if self.steps and self.steps[0][1] == SOURCE:
150 self.steps.insert(0, (cmd, kind))
165 if not self.steps:
167 if self.steps[-1][1] == SINK:
174 if not self.steps:
[all …]
/external/droiddriver/src/io/appium/droiddriver/actions/
DSwipeAction.java99 private final int steps; field in SwipeAction
108 public SwipeAction(PhysicalDirection direction, int steps) { in SwipeAction() argument
109 this(direction, steps, false, 1000L); in SwipeAction()
115 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis) { in SwipeAction() argument
116 this(direction, steps, drag, timeoutMillis, 0.1F, 0.1F, 0.1F, 0.1F); in SwipeAction()
131 public SwipeAction(PhysicalDirection direction, int steps, boolean drag, long timeoutMillis, in SwipeAction() argument
135 this.steps = Math.max(2, steps); in SwipeAction()
189 double xStep = ((double) (endX - startX)) / steps; in perform()
190 double yStep = ((double) (endY - startY)) / steps; in perform()
198 for (int i = 1; i < steps; i++) { in perform()
[all …]
/external/libxml2/
Dpattern.c104 xmlStreamStepPtr steps; /* the array of steps */ member
172 xmlStepOpPtr steps; /* ops for computation */ member
214 cur->steps = (xmlStepOpPtr) xmlMalloc(cur->maxStep * sizeof(xmlStepOp)); in xmlNewPattern()
215 if (cur->steps == NULL) { in xmlNewPattern()
243 if (comp->steps != NULL) { in xmlFreePattern()
246 op = &comp->steps[i]; in xmlFreePattern()
253 xmlFree(comp->steps); in xmlFreePattern()
353 temp = (xmlStepOpPtr) xmlRealloc(comp->steps, comp->maxStep * 2 * in xmlPatternAdd()
360 comp->steps = temp; in xmlPatternAdd()
363 comp->steps[comp->nbStep].op = op; in xmlPatternAdd()
[all …]
Dxpath.c934 xmlXPathStepOp *steps; /* ops for computation of this expression */ member
991 cur->steps = (xmlXPathStepOp *) xmlMalloc(cur->maxStep * in xmlXPathNewCompExpr()
993 if (cur->steps == NULL) { in xmlXPathNewCompExpr()
998 memset(cur->steps, 0, cur->maxStep * sizeof(xmlXPathStepOp)); in xmlXPathNewCompExpr()
1022 op = &comp->steps[i]; in xmlXPathFreeCompExpr()
1034 op = &comp->steps[i]; in xmlXPathFreeCompExpr()
1042 if (comp->steps != NULL) { in xmlXPathFreeCompExpr()
1043 xmlFree(comp->steps); in xmlXPathFreeCompExpr()
1090 real = (xmlXPathStepOp *) xmlRealloc(comp->steps, in xmlXPathCompExprAdd()
1097 comp->steps = real; in xmlXPathCompExprAdd()
[all …]
/external/autotest/server/site_tests/firmware_Cr50Uart/
Dfirmware_Cr50Uart.py161 def run_steps(self, steps): argument
172 separated_steps = steps.rsplit(', ', 1)
183 self.verify_uart(steps)
187 for steps in self.TEST_CASES:
189 logging.info('TESTING: %s' % steps)
190 self.run_steps(steps)
191 logging.info('VERIFIED: %s' % steps)
/external/deqp/scripts/
Dcheck_build_sanity.py130 def runSteps (steps): argument
131 for step in steps:
205 for name, steps in recipes:
206 allSteps += steps
215 for curName, steps in recipes:
217 return (curName, steps)
258 for name, steps in RECIPES:
259 for step in steps:
264 name, steps = getAllRecipe(RECIPES) if args.recipe == "all" \ variable
269 allSteps = (PREREQUISITES if (args.skipPrerequisites == False) else []) + steps + POST_CHECKS
/external/autotest/server/site_tests/cheets_CTS_N/
Dcheets_CTS_N.py312 steps = -1 # For historic reasons the first iteration is not counted.
342 while total_tests == 0 and steps < self._max_retry:
343 steps += 1
368 self.result_history[steps] = counts
401 while steps < self._max_retry and failed > waived:
402 steps += 1
414 self.result_history[steps] = counts
437 self.result_history[steps] = counts
453 (steps, total_passed, failed, notexecuted, waived,
461 if steps > 0 and warn_on_test_retry:
[all …]
/external/autotest/server/site_tests/cheets_CTS/
Dcheets_CTS.py297 steps = -1 # For historic reasons the first iteration is not counted.
318 while steps < self._max_retry and total_tests == 0:
319 steps += 1
370 while steps < self._max_retry and (notexecuted > 0 or failed > waived):
372 while notexecuted > 0 and steps < self._max_retry:
373 steps += 1
427 steps += 1
463 (steps, total_passed, failed, notexecuted, waived,
465 if steps > 0:
469 (steps, total_passed, waived, self.summary))
/external/clang/test/SemaCXX/
Dconstexpr-steps.cpp11 constexpr bool steps(int n) { in steps() function
16 static_assert(steps((MAX - 4)), ""); // ok
17 static_assert(steps((MAX - 3)), ""); // expected-error {{constant}} expected-note{{call}}
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DUtils.java148 int steps = 1500; in findBestShift() local
150 double[] stddevs = new double[steps]; in findBestShift()
151 double bestShift = shiftSteps[0]*steps/2; in findBestShift()
153 for (int i = 0; i < steps; i++) { in findBestShift()
154 …devs[i] = getShiftError(laserT, touchT, touchY, bestShift + shiftStep * i - shiftStep * steps / 2); in findBestShift()
156 bestShift = argmin(stddevs) * shiftStep + bestShift - shiftStep * steps / 2; in findBestShift()
/external/skia/src/opts/
DSkChecksum_opts.h43 size_t steps = bytes/24; in hash_fn() local
44 while (steps --> 0) { in hash_fn()
97 size_t steps = bytes/12; in hash_fn() local
98 while (steps --> 0) { in hash_fn()
137 size_t steps = bytes/24; in hash_fn() local
138 while (steps --> 0) { in hash_fn()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py106 steps = []
108 steps += [ProvisionStep(lambda d: Wipe(d, adb_key_files), reboot=True)]
109 steps += [ProvisionStep(
115 steps.append(ProvisionStep(DisableNetwork))
118 steps.append(ProvisionStep(DisableSystemChrome))
121 steps.append(ProvisionStep(
125 steps.append(ProvisionStep(
132 steps.append(ProvisionStep(
136 steps.append(ProvisionStep(SetDate))
137 steps.append(ProvisionStep(CheckExternalStorage))
[all …]
/external/selinux/python/sepolgen/src/sepolgen/
Dutil.py34 def __init__(self, out, steps=100, indicator='#'): argument
37 self.steps = steps
52 self.blocks = int(round(self.current / float(self.steps) * 100) / 2)
177 p = ConsoleProgressBar(sys.stdout, steps=999)
/external/lisa/libs/wlgen/wlgen/
Dworkload.py76 self.steps = {
100 if step not in self.steps.keys():
102 if self.steps[step] is None:
105 self.steps[step](kwords)
125 self.steps[step] = func
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Ddebug.rb346 def look( steps = 1 ) argument
348 token = super( steps )
349 @debug_listener.look( steps, token )
353 def peek( steps = 1 ) argument
354 look( steps ).type
/external/skia/samplecode/
DSamplePathEffects.cpp98 int steps = 20; in onOnceBeforeDraw() local
104 for (int i = 0; i < steps; i++) { in onOnceBeforeDraw()
105 x += dist/steps; in onOnceBeforeDraw()
107 if (i == steps/2) { in onOnceBeforeDraw()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c351 static int get_down2_length(int length, int steps) { in get_down2_length() argument
353 for (s = 0; s < steps; ++s) length = (length + 1) >> 1; in get_down2_length()
358 int steps = 0; in get_down2_steps() local
361 ++steps; in get_down2_steps()
364 return steps; in get_down2_steps()
369 int steps; in resize_multistep() local
374 steps = get_down2_steps(length, olength); in resize_multistep()
376 if (steps > 0) { in resize_multistep()
384 for (s = 0; s < steps; ++s) { in resize_multistep()
387 if (s == steps - 1 && proj_filteredlength == olength) in resize_multistep()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DIteratorTester.java72 protected IteratorTester(int steps, in IteratorTester() argument
75 super(steps, Collections.<E>singleton(null), features, expectedElements, in IteratorTester()
DListIteratorTester.java43 protected ListIteratorTester(int steps, Iterable<E> elementsToInsert, in ListIteratorTester() argument
46 super(steps, elementsToInsert, features, expectedElements, in ListIteratorTester()
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/
Dvideo_capture_qtkit_info.mm66 // Not implemented. Mac doesn't use discrete steps in capabilities, rather
80 // Not implemented. Mac doesn't use discrete steps in capabilities, rather
93 // Not implemented. Mac doesn't use discrete steps in capabilities, rather
117 // Not implemented. Mac doesn't use discrete steps in capabilities, rather
/external/libdrm/tests/modetest/
Dcursor.c129 static const struct cursor_step steps[] = { variable
148 const struct cursor_step *step = &steps[indx % ARRAY_SIZE(steps)]; in cursor_thread_func()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DDirectSearchOptimizer.java139 public void setStartConfiguration(final double[] steps) in setStartConfiguration() argument
143 final int n = steps.length; in setStartConfiguration()
148 if (steps[j] == 0.0) { in setStartConfiguration()
152 System.arraycopy(steps, 0, vertexI, 0, j + 1); in setStartConfiguration()
/external/python/cpython2/Lib/test/
Dtest_pipes.py195 self.assertEqual(t.steps, u.steps)
196 self.assertNotEqual(id(t.steps), id(u.steps))
/external/autotest/client/bin/
Djob.py921 steps = self._state.get('client', 'steps')
922 steps.append(self.__create_step_tuple(fn, args, dargs))
923 self._state.set('client', 'steps', steps)
930 steps = self._state.get('client', 'steps')
931 steps.insert(self._next_step_index,
934 self._state.set('client', 'steps', steps)
939 steps = self._state.get('client', 'steps')
940 steps.insert(0, self.__create_step_tuple(fn, args, dargs))
942 self._state.set('client', 'steps', steps)
1055 steps = self._state.get('client', 'steps')
[all …]

12345678910>>...22