HomeSort by relevance Sort by last modified time
    Searched refs:consumed (Results 1 - 25 of 208) sorted by null

1 2 3 4 5 6 7 8 9

  /external/clang/test/SemaCXX/
warn-consumed-parsing.cpp 9 // FIXME: This test is here because the warning is issued by the Consumed
14 int returnTypestateForUnconsumable() RETURN_TYPESTATE(consumed); // expected-warning {{return state set for an unconsumable type 'int'}} variable
25 int var0 SET_TYPESTATE(consumed); // expected-warning {{'set_typestate' attribute only applies to methods}}
26 int var1 TEST_TYPESTATE(consumed); // expected-warning {{'test_typestate' attribute only applies to methods}}
27 int var2 CALLABLE_WHEN("consumed"); // expected-warning {{'callable_when' attribute only applies to methods}}
28 int var3 CONSUMABLE(consumed); // expected-warning {{'consumable' attribute only applies to classes}}
29 int var4 RETURN_TYPESTATE(consumed); // expected-warning {{'return_typestate' attribute only applies to functions}}
31 void function0() SET_TYPESTATE(consumed); // expected-warning {{'set_typestate' attribute only applies to methods}} variable
32 void function1() TEST_TYPESTATE(consumed); // expected-warning {{'test_typestate' attribute only applies to methods}} variable
33 void function2() CALLABLE_WHEN("consumed"); // expected-warning {{'callable_when' attribute only applies to methods}
34 void function3() CONSUMABLE(consumed); \/\/ expected-warning {{'consumable' attribute only applies to classes}} variable
41 void consumes() SET_TYPESTATE(consumed); variable
42 bool testUnconsumed() TEST_TYPESTATE(consumed); variable
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testautomation.c 51 int consumed; local
53 consumed = SDLTest_CommonArg(state, i);
54 if (consumed == 0) {
55 consumed = -1;
60 consumed = 2;
66 consumed = 2;
72 consumed = 2;
78 consumed = 2;
82 if (consumed < 0) {
88 i += consumed;
    [all...]
testdropfile.c 44 int consumed; local
46 consumed = SDLTest_CommonArg(state, i);
49 consumed = 1;
51 if (consumed == 0) {
52 consumed = -1;
54 if (consumed < 0) {
58 i += consumed;
testwm2.c 63 int consumed; local
65 consumed = SDLTest_CommonArg(state, i);
66 if (consumed == 0) {
67 consumed = -1;
69 if (consumed < 0) {
73 i += consumed;
testdraw2.c 191 int consumed; local
193 consumed = SDLTest_CommonArg(state, i);
194 if (consumed == 0) {
195 consumed = -1;
200 consumed = 2;
203 consumed = 2;
206 consumed = 2;
209 consumed = 2;
214 consumed = 1;
217 consumed = 1
    [all...]
testgles.c 126 int consumed; local
128 consumed = SDLTest_CommonArg(state, i);
129 if (consumed == 0) {
132 consumed = 1;
135 consumed = 1;
139 consumed = -1;
142 consumed = 1;
145 consumed = -1;
148 if (consumed < 0) {
153 i += consumed;
    [all...]
testintersections.c 214 int consumed; local
216 consumed = SDLTest_CommonArg(state, i);
217 if (consumed == 0) {
218 consumed = -1;
223 consumed = 2;
226 consumed = 2;
229 consumed = 2;
232 consumed = 2;
237 consumed = 1;
240 consumed = 1
    [all...]
  /frameworks/support/core-ui/java/android/support/v4/view/
NestedScrollingChildHelper.java 149 * @return true if the parent consumed any of the nested scroll
188 * @return true if the parent consumed any of the nested scroll
190 public boolean dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) {
201 if (consumed == null) {
205 consumed = mTempNestedScrollConsumed;
207 consumed[0] = 0;
208 consumed[1] = 0;
209 ViewParentCompat.onNestedPreScroll(mNestedScrollingParent, mView, dx, dy, consumed);
216 return consumed[0] != 0 || consumed[1] != 0
    [all...]
  /frameworks/support/compat/java/android/support/v4/view/
NestedScrollingChild.java 89 * parent at least partially consumed the scroll and the caller should adjust the amount it
94 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat
141 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step
142 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step
143 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view
144 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view
165 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx
166 * and consumed[1] the consumed dy
    [all...]
NestedScrollingParent.java 102 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the
103 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll
110 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target
111 * @param dyConsumed Vertical scroll distance in pixels already consumed by target
112 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target
113 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target
128 * report how any pixels of the scroll reported by dx, dy were consumed in the
129 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy.
130 * This parameter will never be null. Initial values for consumed[0] and consumed[1
    [all...]
ViewParentCompat.java 45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed);
47 boolean consumed);
104 int[] consumed) {
106 ((NestedScrollingParent) parent).onNestedPreScroll(target, dx, dy, consumed);
112 float velocityY, boolean consumed) {
115 consumed);
183 int[] consumed) {
184 ViewParentCompatLollipop.onNestedPreScroll(parent, target, dx, dy, consumed);
189 float velocityY, boolean consumed) {
191 consumed);
    [all...]
  /external/apache-http/src/org/apache/http/entity/
InputStreamEntity.java 58 private boolean consumed = false; field in class:InputStreamEntity
105 this.consumed = true;
110 return !this.consumed;
115 this.consumed = true;
  /frameworks/wilhelm/src/android/
android_AudioToCbRenderer.cpp 65 size_t consumed = 0; local
68 consumed = mDecodeCbf(
73 offset += consumed;
74 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
75 if (consumed == 0) {
76 // decoded data is not being consumed, skip this buffer
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/
miniopt.h 43 int consumed; /* number of argv entries cosumed in member in struct:miniopt
  /frameworks/support/compat/api21/android/support/v4/view/
ViewParentCompatLollipop.java 68 int[] consumed) {
70 parent.onNestedPreScroll(target, dx, dy, consumed);
78 float velocityY, boolean consumed) {
80 return parent.onNestedFling(target, velocityX, velocityY, consumed);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
WebSearchSuggestionView.java 78 boolean consumed = false;
81 consumed = mIcon2.requestFocus();
83 consumed = requestFocus();
86 return consumed;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
KeyboardInterpreter.java 39 boolean consumed = true;
67 consumed = false;
113 consumed = false;
120 return consumed;
  /prebuilts/gdb/darwin-x86/lib/python2.7/encodings/
utf_16.py 60 (output, consumed, byteorder) = \
66 elif consumed >= 2:
68 return (output, consumed)
105 (object, consumed, byteorder) = \
111 elif consumed>=2:
113 return (object, consumed)
utf_8_sig.py 22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
23 return (output, consumed+prefix)
64 (output, consumed) = codecs.utf_8_decode(input[3:], errors, final)
65 return (output, consumed+3)
100 (output, consumed) = codecs.utf_8_decode(input[3:],errors)
101 return (output, consumed+3)
  /prebuilts/gdb/linux-x86/lib/python2.7/encodings/
utf_16.py 60 (output, consumed, byteorder) = \
66 elif consumed >= 2:
68 return (output, consumed)
105 (object, consumed, byteorder) = \
111 elif consumed>=2:
113 return (object, consumed)
utf_8_sig.py 22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
23 return (output, consumed+prefix)
64 (output, consumed) = codecs.utf_8_decode(input[3:], errors, final)
65 return (output, consumed+3)
100 (output, consumed) = codecs.utf_8_decode(input[3:],errors)
101 return (output, consumed+3)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/
utf_16.py 60 (output, consumed, byteorder) = \
66 elif consumed >= 2:
68 return (output, consumed)
105 (object, consumed, byteorder) = \
111 elif consumed>=2:
113 return (object, consumed)
utf_8_sig.py 22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
23 return (output, consumed+prefix)
64 (output, consumed) = codecs.utf_8_decode(input[3:], errors, final)
65 return (output, consumed+3)
100 (output, consumed) = codecs.utf_8_decode(input[3:],errors)
101 return (output, consumed+3)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/
utf_16.py 60 (output, consumed, byteorder) = \
66 elif consumed >= 2:
68 return (output, consumed)
105 (object, consumed, byteorder) = \
111 elif consumed>=2:
113 return (object, consumed)
utf_8_sig.py 22 (output, consumed) = codecs.utf_8_decode(input, errors, True)
23 return (output, consumed+prefix)
64 (output, consumed) = codecs.utf_8_decode(input[3:], errors, final)
65 return (output, consumed+3)
100 (output, consumed) = codecs.utf_8_decode(input[3:],errors)
101 return (output, consumed+3)

Completed in 355 milliseconds

1 2 3 4 5 6 7 8 9