Home
last modified time | relevance | path

Searched refs:previous (Results 1 – 25 of 1181) sorted by relevance

12345678910>>...48

/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
Djsmin_2_0_9.py106 previous = read(1)
107 if previous == '\\':
110 if previous == '/':
115 previous = next1
118 write(previous)
119 elif not previous:
121 elif previous >= '!':
122 if previous in "'\"":
123 in_quote = previous
124 write(previous)
[all …]
/external/ceres-solver/internal/ceres/
Dline_search_direction.cc43 bool NextDirection(const LineSearchMinimizer::State& previous, in NextDirection() argument
59 bool NextDirection(const LineSearchMinimizer::State& previous, in NextDirection() argument
66 beta = current.gradient_squared_norm / previous.gradient_squared_norm; in NextDirection()
69 gradient_change = current.gradient - previous.gradient; in NextDirection()
71 previous.gradient_squared_norm); in NextDirection()
74 gradient_change = current.gradient - previous.gradient; in NextDirection()
76 previous.search_direction.dot(gradient_change)); in NextDirection()
82 *search_direction = -current.gradient + beta * previous.search_direction; in NextDirection()
111 bool NextDirection(const LineSearchMinimizer::State& previous, in NextDirection() argument
120 previous.search_direction * previous.step_size, in NextDirection()
[all …]
Dline_search.cc153 const FunctionSample& previous, in InterpolatingPolynomialMinimizingStepSize() argument
180 << ", lowerbound: " << lowerbound << ", previous: " << previous in InterpolatingPolynomialMinimizingStepSize()
193 if (previous.value_is_valid) { in InterpolatingPolynomialMinimizingStepSize()
196 samples.push_back(ValueSample(previous.x, previous.value)); in InterpolatingPolynomialMinimizingStepSize()
202 if (previous.value_is_valid) { in InterpolatingPolynomialMinimizingStepSize()
205 samples.push_back(previous); in InterpolatingPolynomialMinimizingStepSize()
238 FunctionSample previous = ValueAndGradientSample(0.0, 0.0, 0.0); in Search() local
239 previous.value_is_valid = false; in Search()
286 previous, in Search()
300 previous = current; in Search()
[all …]
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dtokenutil.py43 token = token.previous
58 if first_in_line.previous:
59 return GetFirstTokenInSameLine(first_in_line.previous)
121 previous = token.previous
122 if previous:
123 if func(previous):
124 return previous
125 if end_func and end_func(previous):
128 token = previous
225 if token.previous:
[all …]
Decmalintrules.py140 token = token.previous
215 token.previous and token.line_number == token.previous.line_number and
216 len(token.previous.string) - len(token.previous.string.rstrip()) == 0):
232 if (token.previous and token.previous.type == Type.WHITESPACE and
237 token.previous, position=Position.All(token.previous.string))
239 elif (token.previous and
240 not token.previous.IsComment() and
242 token.previous.type in Type.EXPRESSION_ENDER_TYPES):
386 if token.previous and token.previous.type == Type.WHITESPACE:
389 token.previous, position=Position.All(token.previous.string))
[all …]
Derror_fixer.py164 iterator = iterator.previous
217 tokenutil.InsertSpaceTokenAfter(token.previous)
231 tokenutil.InsertBlankLineAfter(token.previous)
241 if not token.previous:
255 self._DeleteToken(token.previous)
257 tokenutil.InsertBlankLineAfter(token.previous)
285 if token.attached_object.type_end_token == start_token.previous:
290 tokenutil.InsertTokenAfter(new_token, start_token.previous)
301 last_type = end_token.previous
304 last_type = last_type.previous
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimap.java111 Node<K, V> previous; // the previous node (with any key) field in LinkedListMultimap.Node
223 node.previous = tail; in addNode()
239 node.previous = nextSibling.previous; in addNode()
248 if (nextSibling.previous == null) { // nextSibling was head in addNode()
251 nextSibling.previous.next = node; in addNode()
253 nextSibling.previous = node; in addNode()
266 if (node.previous != null) { in removeNode()
267 node.previous.next = node.next; in removeNode()
272 node.next.previous = node.previous; in removeNode()
274 tail = node.previous; in removeNode()
[all …]
/external/elfutils/lib/
Dlist.h37 assert (_newp->previous == NULL); \
39 (first) = _newp->next = _newp->previous = _newp; \
43 _newp->previous = (first)->previous; \
44 _newp->previous->next = _newp->next->previous = _newp; \
66 _elem->next->previous = _elem->previous; \
67 _elem->previous->next = _elem->next; \
71 assert ((_elem->next = _elem->previous = NULL, 1)); \
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java115 Node<K, V> previous; // the previous node (with any key) field in LinkedListMultimap.Node
227 node.previous = tail; in addNode()
243 node.previous = nextSibling.previous; in addNode()
252 if (nextSibling.previous == null) { // nextSibling was head in addNode()
255 nextSibling.previous.next = node; in addNode()
257 nextSibling.previous = node; in addNode()
270 if (node.previous != null) { in removeNode()
271 node.previous.next = node.next; in removeNode()
276 node.next.previous = node.previous; in removeNode()
278 tail = node.previous; in removeNode()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
DNonMonotonousSequenceException.java49 private final Number previous; field in NonMonotonousSequenceException
61 Number previous, in NonMonotonousSequenceException() argument
63 this(wrong, previous, index, MathUtils.OrderDirection.INCREASING, true); in NonMonotonousSequenceException()
78 Number previous, in NonMonotonousSequenceException() argument
89 wrong, previous, index, index - 1); in NonMonotonousSequenceException()
94 this.previous = previous; in NonMonotonousSequenceException()
121 return previous; in getPrevious()
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
Dpulldom.py14 previous = None
16 if previous is not None and \
17 (ignore_until is None or previous[1] is ignore_until):
18 if previous[1] is ignore_until:
20 for token in self.tokens(previous, event):
23 ignore_until = previous[1]
24 previous = event
25 if ignore_until is None or previous[1] is ignore_until:
26 for token in self.tokens(previous, None):
Dgenshistream.py15 previous = None
17 if previous is not None:
18 for token in self.tokens(previous, event):
20 previous = event
23 if previous is not None:
24 for token in self.tokens(previous, None):
/external/glide/library/src/main/java/com/bumptech/glide/load/
DMultiTransformation.java34 Resource<T> previous = resource; in transform() local
37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform()
38 if (previous != null && !previous.equals(resource) && !previous.equals(transformed)) { in transform()
39 previous.recycle(); in transform()
41 previous = transformed; in transform()
43 return previous; in transform()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DAbstractSequentialIteratorTest.java48 protected Integer computeNext(Integer previous) { in testSampleCode()
49 return (previous == 1 << 30) ? null : previous * 2; in testSampleCode()
94 protected Integer computeNext(Integer previous) { in newDoubler()
95 return (previous == last) ? null : previous * 2; in newDoubler()
103 protected T computeNext(T previous) {
112 protected Object computeNext(Object previous) {
/external/clang/test/SemaObjC/
Dcheck-dup-objc-decls-1.m3 @interface Foo // expected-note {{previous definition is here}}
8 @class Bar; // expected-note {{previous definition is here}}
16 typedef int OBJECT; // expected-note {{previous definition is here}}
21 typedef int Gorf; // expected-note {{previous definition is here}}
23 … {{redefinition of 'Gorf' as different kind of symbol}} expected-note {{previous definition is her…
32 @interface A<P> @end // expected-note {{previous definition is here}}
35 @protocol PP<P> @end // expected-note {{previous definition is here}}
38 @interface A(Cat)<P> @end // expected-note {{previous definition is here}}
43 NSString * TestBaz; // expected-note {{previous definition is here}}
Dclass-protocol-method-match.m6 - (bycopy id)bud; // expected-note {{previous declaration is here}}
7 - (unsigned char) baz; // expected-note {{previous declaration is here}}
14 - (unsigned char) baz; // expected-note {{previous declaration is here}}
15 - (unsigned char) also_ok; // expected-note {{previous declaration is here}}
16 - (void) ban : (int) arg, ...; // expected-note {{previous declaration is here}}
20 - (void) bar : (unsigned char)arg; // expected-note {{previous declaration is here}}
22 - (char) bak; // expected-note {{previous declaration is here}}
Dcheck-dup-decl-methods-1.m11 - (int) meth; // expected-note {{previous declaration is here}}
13 - (T*) meth1; // expected-note {{previous declaration is here}}
19 - (int) catm : (char)ch1; // expected-note {{previous declaration is here}}
27 + (int) catm1 : (char)ch : (int)i; // expected-note {{previous declaration is here}}
28 + (T*) meth1; // expected-note {{previous declaration is here}}
35 - (int) meth; // expected-note {{previous declaration is here}}
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractSequentialIteratorTest.java61 protected Integer computeNext(Integer previous) { in testSampleCode()
62 return (previous == 1 << 30) ? null : previous * 2; in testSampleCode()
107 protected Integer computeNext(Integer previous) { in newDoubler()
108 return (previous == last) ? null : previous * 2; in newDoubler()
116 protected T computeNext(T previous) {
125 protected Object computeNext(Object previous) {
/external/autotest/client/site_tests/firmware_TouchMTB/tools/
Dawk_process_syn18 previous = 0;
24 if (previous == 0) {
25 previous = $3;
28 interval = current - previous;
29 previous = current;
/external/autotest/client/profilers/powertop/src/
Dsuggestions.c58 static char previous[1024]; variable
119 if (strlen(previous) && displaytime > 0.0) in pick_suggestion()
125 if (strcmp(ptr->string, previous)==0 && displaytime > 0.0) in pick_suggestion()
133 if (strcmp(ptr->string, previous)) { in pick_suggestion()
135 strcpy(previous, ptr->string); in pick_suggestion()
142 memset(previous, 0, sizeof(previous)); in pick_suggestion()
/external/libvpx/libvpx/test/
Dactive_map_refresh_test.cc20 int CheckMb(const vpx_image_t &current, const vpx_image_t &previous, in CheckMb() argument
40 previous.planes[plane][previous.stride[plane] * r + c]) in CheckMb()
49 const vpx_image_t &previous, uint8_t *map) { in GenerateMap() argument
52 map[mb_r * mb_cols + mb_c] = CheckMb(current, previous, mb_r, mb_c); in GenerateMap()
81 vpx_image_t *previous = y4m_holder_->img(); in PreEncodeFrameHook() local
82 ASSERT_TRUE(previous != NULL); in PreEncodeFrameHook()
89 GenerateMap(mb_height, mb_width, *current, *previous, active_map); in PreEncodeFrameHook()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java191 State previous = state();
192 switch (previous) {
210 throw new AssertionError("isStoppable is incorrectly implemented, saw: " + previous);
212 throw new AssertionError("Unexpected state: " + previous);
338 State previous = snapshot.state;
339 if (previous != STOPPING && previous != RUNNING) {
341 "Cannot notifyStopped() when the service is " + previous);
346 terminated(previous);
363 State previous = state();
364 switch (previous) {
[all …]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/
Doptionaltags.py17 for previous, token, next in self.slider():
21 not self.is_optional_start(token["name"], previous, next)):
29 def is_optional_start(self, tagname, previous, next): argument
78 if previous and previous['type'] == 'EndTag' and \
79 previous['name'] in ('tbody', 'thead', 'tfoot'):
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharacterIteration.java40 c = ci.previous(); in next32()
56 ci.previous(); in next32()
81 ci.previous(); in nextTrail32()
91 char trail = ci.previous(); in previous32()
94 char lead = ci.previous(); in previous32()
114 ci.previous(); in current32()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteration.java36 c = ci.previous(); in next32()
52 ci.previous(); in next32()
77 ci.previous(); in nextTrail32()
87 char trail = ci.previous(); in previous32()
90 char lead = ci.previous(); in previous32()
110 ci.previous(); in current32()

12345678910>>...48