| /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...] |
| warn-consumed-analysis.cpp | 20 ConsumableClass(nullptr_t p) RETURN_TYPESTATE(consumed); variable 27 ConsumableClass<T>& operator=(nullptr_t) SET_TYPESTATE(consumed); variable 35 void operator()(int a) SET_TYPESTATE(consumed); variable 43 bool operator==(nullptr_t) const TEST_TYPESTATE(consumed); variable 48 void consume() SET_TYPESTATE(consumed); variable 59 ~DestructorTester() CALLABLE_WHEN("consumed"); 72 return ConsumableClass<int>(); // expected-warning {{return value not in expected state; expected 'unconsumed', observed 'consumed'}} 75 ConsumableClass<int> returnsConsumed() RETURN_TYPESTATE(consumed); variable 87 ConsumableClass<int> var4(var0); // copy consumed value 89 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state} 701 Status() RETURN_TYPESTATE(consumed); variable 710 bool operator==(const Status &other) const SET_TYPESTATE(consumed); variable 712 bool check() const SET_TYPESTATE(consumed); variable 713 void ignore() const SET_TYPESTATE(consumed); variable 716 void clear() CALLABLE_WHEN("unknown", "consumed") SET_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...] |
| 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...] |
| /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/ |
| FdtDxe.inf | 53 gEfiEventReadyToBootGuid ## CONSUMED
54 gEfiDxeServicesTableGuid ## CONSUMED
55 gFdtTableGuid ## CONSUMED
58 gEfiFirmwareVolume2ProtocolGuid ## CONSUMED
59 gAmdMpCoreInfoProtocolGuid ## CONSUMED
|
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/ |
| RtMemoryStatusCode.h | 42 // Consumed protocols
47 // Consumed GUID
|
| /external/libxml2/ |
| testReader.c | 42 static int consumed = 0; variable 49 printf("\t --consumed: count the number of bytes consumed\n"); 92 if (consumed) 93 printf("%ld bytes consumed by parser\n", xmlTextReaderByteConsumed(reader)); 120 else if ((!strcmp(argv[i], "-consumed")) || (!strcmp(argv[i], "--consumed"))) 121 consumed++;
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
| _codecsmodule.c | 18 (string object, bytes consumed)
21 (Unicode object, bytes consumed)
182 Py_ssize_t consumed, len;
local 188 consumed = PyString_GET_SIZE(str);
200 return codec_tuple(str, consumed);
239 Py_ssize_t consumed;
local 245 consumed = pbuf.len;
248 final ? NULL : &consumed);
252 return codec_tuple(decoded, consumed);
262 Py_ssize_t consumed;
local 286 Py_ssize_t consumed; local 309 Py_ssize_t consumed; local 333 Py_ssize_t consumed; local 366 Py_ssize_t consumed; local 390 Py_ssize_t consumed; local 413 Py_ssize_t consumed; local 436 Py_ssize_t consumed; local 468 Py_ssize_t consumed; local 581 Py_ssize_t consumed; local [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
| _codecsmodule.c | 18 (string object, bytes consumed)
21 (Unicode object, bytes consumed)
182 Py_ssize_t consumed, len;
local 188 consumed = PyString_GET_SIZE(str);
200 return codec_tuple(str, consumed);
239 Py_ssize_t consumed;
local 245 consumed = pbuf.len;
248 final ? NULL : &consumed);
252 return codec_tuple(decoded, consumed);
262 Py_ssize_t consumed;
local 286 Py_ssize_t consumed; local 309 Py_ssize_t consumed; local 333 Py_ssize_t consumed; local 366 Py_ssize_t consumed; local 390 Py_ssize_t consumed; local 413 Py_ssize_t consumed; local 436 Py_ssize_t consumed; local 468 Py_ssize_t consumed; local 581 Py_ssize_t consumed; local [all...] |
| /external/clang/lib/Analysis/ |
| CMakeLists.txt | 13 Consumed.cpp
|
| /external/python/cpython2/Modules/ |
| _codecsmodule.c | 18 (string object, bytes consumed) 21 (Unicode object, bytes consumed) 182 Py_ssize_t consumed, len; local 188 consumed = PyString_GET_SIZE(str); 200 return codec_tuple(str, consumed); 239 Py_ssize_t consumed; local 245 consumed = pbuf.len; 248 final ? NULL : &consumed); 252 return codec_tuple(decoded, consumed); 262 Py_ssize_t consumed; local 286 Py_ssize_t consumed; local 309 Py_ssize_t consumed; local 333 Py_ssize_t consumed; local 366 Py_ssize_t consumed; local 390 Py_ssize_t consumed; local 413 Py_ssize_t consumed; local 436 Py_ssize_t consumed; local 468 Py_ssize_t consumed; local 581 Py_ssize_t consumed; local [all...] |
| /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmramSaveInfoHandlerSmm/ |
| SmramSaveInfoHandlerSmm.inf | 62 gEfiSmmSwDispatchProtocolGuid ## CONSUMED
63 gEfiSmmControlProtocolGuid ## CONSUMED
64 gEfiSmmReadyToLockProtocolGuid ## CONSUMED
|
| /frameworks/base/core/java/com/android/internal/widget/ |
| NestedScrollingChild.java | 88 * parent at least partially consumed the scroll and the caller should adjust the amount it 93 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat 140 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step 141 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step 142 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view 143 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view 164 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 165 * and consumed[1] the consumed dy [all...] |
| /frameworks/support/compat/src/main/java/androidx/core/view/ |
| NestedScrollingChild.java | 92 * parent at least partially consumed the scroll and the caller should adjust the amount it 97 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat 144 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step 145 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step 146 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view 147 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view 168 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 169 * and consumed[1] the consumed dy [all...] |
| NestedScrollingParent.java | 105 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the 106 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll 113 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target 114 * @param dyConsumed Vertical scroll distance in pixels already consumed by target 115 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target 116 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target 131 * report how any pixels of the scroll reported by dx, dy were consumed in the 132 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 133 * This parameter will never be null. Initial values for consumed[0] and consumed[1 [all...] |
| NestedScrollingChild2.java | 63 * parent at least partially consumed the scroll and the caller should adjust the amount it 68 * both the delta consumed and the delta unconsumed. A nested scrolling parent may treat 119 * @param dxConsumed Horizontal distance in pixels consumed by this view during this scroll step 120 * @param dyConsumed Vertical distance in pixels consumed by this view during this scroll step 121 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by this view 122 * @param dyUnconsumed Horizontal scroll distance in pixels not consumed by this view 145 * @param consumed Output. If not null, consumed[0] will contain the consumed component of dx 146 * and consumed[1] the consumed dy [all...] |
| NestedScrollingParent2.java | 109 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the 110 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll 117 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target 118 * @param dyConsumed Vertical scroll distance in pixels already consumed by target 119 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target 120 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target 136 * report how any pixels of the scroll reported by dx, dy were consumed in the 137 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 138 * This parameter will never be null. Initial values for consumed[0] and consumed[1 [all...] |
| /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
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/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)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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)
|