/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
miniopt.c | 63 t->consumed = 0; 77 t->consumed++; 86 t->consumed++; 137 t->consumed++;
|
/prebuilts/misc/windows/sdl2/test/ |
testsprite2.c | 252 int consumed; local 254 consumed = SDLTest_CommonArg(state, i); 255 if (consumed == 0) { 256 consumed = -1; 261 consumed = 2; 264 consumed = 2; 267 consumed = 2; 270 consumed = 2; 277 consumed = 2; 281 consumed = 1 [all...] |
testviewport.c | 96 int consumed; local 98 consumed = SDLTest_CommonArg(state, i); 99 if (consumed == 0) { 100 consumed = -1; 103 consumed = 1; 106 if (consumed < 0) { 111 i += consumed;
|
testscale.c | 141 int consumed; local 143 consumed = SDLTest_CommonArg(state, i); 144 if (consumed == 0) { 148 i += consumed;
|
testgl2.c | 235 int consumed; local 237 consumed = SDLTest_CommonArg(state, i); 238 if (consumed == 0) { 241 consumed = 2; 244 consumed = 2; 246 consumed = -1; 249 if (consumed < 0) { 254 i += consumed;
|
testgles2.c | 429 int consumed; local 431 consumed = SDLTest_CommonArg(state, i); 432 if (consumed == 0) { 435 consumed = 1; 438 consumed = 1; 442 consumed = -1; 445 consumed = 1; 448 consumed = -1; 451 if (consumed < 0) { 456 i += consumed; [all...] |
testrendertarget.c | 236 int consumed; local 238 consumed = SDLTest_CommonArg(state, i); 239 if (consumed == 0) { 240 consumed = -1; 243 consumed = 1; 246 if (consumed < 0) { 251 i += consumed;
|
testrendercopyex.c | 151 int consumed; local 153 consumed = SDLTest_CommonArg(state, i); 154 if (consumed == 0) { 158 i += consumed;
|
/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++;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
HeadsetMediaButton.java | 52 boolean consumed = handleHeadsetHook(event); 53 Log.v(this, "==> handleHeadsetHook(): consumed = %b.", consumed); 54 return consumed; 112 * @return true if we consumed the event.
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
Decoder.java | 32 boolean consumed; field in class:Decoder 150 consumed = true; 173 if (consumed) 174 throw new RuntimeException("Content already consumed!"); 231 consumed = true; 236 // if(!consumed) 267 // consumed = false;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/encodings/ |
utf_32.py | 55 (output, consumed, byteorder) = \ 61 elif consumed >= 4: 63 return (output, consumed) 129 (object, consumed, byteorder) = \ 135 elif consumed>=4: 137 return (object, consumed)
|
/prebuilts/gdb/linux-x86/lib/python2.7/encodings/ |
utf_32.py | 55 (output, consumed, byteorder) = \ 61 elif consumed >= 4: 63 return (output, consumed) 129 (object, consumed, byteorder) = \ 135 elif consumed>=4: 137 return (object, consumed)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/encodings/ |
utf_32.py | 55 (output, consumed, byteorder) = \ 61 elif consumed >= 4: 63 return (output, consumed) 129 (object, consumed, byteorder) = \ 135 elif consumed>=4: 137 return (object, consumed)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/encodings/ |
utf_32.py | 55 (output, consumed, byteorder) = \ 61 elif consumed >= 4: 63 return (output, consumed) 129 (object, consumed, byteorder) = \ 135 elif consumed>=4: 137 return (object, consumed)
|
/external/clang/test/SemaCXX/ |
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...] |
/external/pcre/dist/ |
pcre_scanner.cc | 128 int consumed; local 129 return re.DoMatch(input_, RE::ANCHOR_START, &consumed, 0, 0);
|
pcrecpp.cc | 189 int consumed; local 191 return DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); 231 int consumed; local 233 return DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); 273 int consumed; local 275 if (DoMatchImpl(*input, ANCHOR_START, &consumed, 277 input->remove_prefix(consumed); 321 int consumed; local 323 if (DoMatchImpl(*input, UNANCHORED, &consumed, 325 input->remove_prefix(consumed); [all...] |
/frameworks/base/core/java/android/view/ |
ViewParent.java | 522 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the 523 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll 530 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target 531 * @param dyConsumed Vertical scroll distance in pixels already consumed by target 532 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target 533 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target 548 * report how any pixels of the scroll reported by dx, dy were consumed in the 549 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 550 * This parameter will never be null. Initial values for consumed[0] and consumed[1 [all...] |
/frameworks/support/compat/api21/android/support/v4/view/ |
ViewCompatLollipop.java | 170 public static boolean dispatchNestedPreScroll(View view, int dx, int dy, int[] consumed, 172 return view.dispatchNestedPreScroll(dx, dy, consumed, offsetInWindow); 176 boolean consumed) { 177 return view.dispatchNestedFling(velocityX, velocityY, consumed);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
TestedFrameLayout.java | 153 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { 156 consumed[0] = dx; 157 consumed[1] = dy; 168 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) {
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 41 size_t consumed; member in struct:MtdReadContext 278 ctx->consumed = partition->erase_size; 332 if (ctx->consumed < ctx->partition->erase_size) { 333 size_t avail = ctx->partition->erase_size - ctx->consumed; 335 memcpy(data + read, ctx->buffer + ctx->consumed, copy); 336 ctx->consumed += copy; 341 while (ctx->consumed == ctx->partition->erase_size && 352 if (ctx->consumed == ctx->partition->erase_size && read < len) { 354 ctx->consumed = 0;
|
/external/regex-re2/util/ |
pcre.cc | 180 int consumed; local 182 return re.DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); 223 int consumed; local 225 return re.DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); 266 int consumed; local 268 if (pattern.DoMatchImpl(*input, ANCHOR_START, &consumed, 270 input->remove_prefix(consumed); 315 int consumed; local 317 if (pattern.DoMatchImpl(*input, UNANCHORED, &consumed, 319 input->remove_prefix(consumed); [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SwipeRefreshLayout.java | 112 // consumed by this as the nested scrolling parent is used in place of the 784 // Reset the counter of how much leftover scroll needs to be consumed. 793 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { 798 consumed[1] = dy - (int) mTotalUnconsumed; 802 consumed[1] = dy; 812 && Math.abs(dy - consumed[1]) > 0) { 818 if (dispatchNestedPreScroll(dx - consumed[0], dy - consumed[1], parentConsumed, null)) { 819 consumed[0] += parentConsumed[0]; 820 consumed[1] += parentConsumed[1] [all...] |
/frameworks/wilhelm/src/android/ |
android_StreamPlayer.cpp | 141 // (either because there was a command with no data, or all the data has been consumed) 210 // 2/ keep track of how much has been consumed 218 size_t consumed = oldFront->mDataSize - oldFront->mDataSizeConsumed; local 219 //SL_LOGD("consuming rest of buffer: enqueueing=%u", consumed); 232 if (consumed > 0) { 234 memcpy(bufferLoc, pSrc, consumed); 235 // 2/ keep track of how much has been consumed 238 receivedBuffer_l(bufferId, consumed); 242 // data has been consumed, and the buffer queue state has been updated 257 // here a buffer is only dequeued when fully consumed [all...] |