/external/python/cpython2/Lib/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)
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
TestedFrameLayout.java | 144 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { 145 onNestedPreScroll(target, dx, dy, consumed, ViewCompat.TYPE_TOUCH); 189 public boolean onNestedFling(View target, float velocityX, float velocityY, boolean consumed) { 191 && mNestedScrollingDelegate.onNestedFling(target, velocityX, velocityY, consumed); 204 public void onNestedPreScroll(@NonNull View target, int dx, int dy, @Nullable int[] consumed, 207 mNestedScrollingDelegate.onNestedPreScroll(target, dx, dy, consumed, type);
|
/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)
|
/frameworks/av/media/libstagefright/id3/ |
ID3.cpp | 881 size_t consumed = 1; local 884 size_t mimeLen = StringSize(&data[consumed], size - consumed, 0x00); 885 if (mimeLen > size - consumed) { 889 mime->setTo((const char *)&data[consumed]); 890 consumed += mimeLen; 893 uint8_t picType = data[consumed]; 901 consumed++; 902 if (consumed >= size) { 907 size_t descLen = StringSize(&data[consumed], size - consumed, encoding) [all...] |
/prebuilts/misc/windows/sdl2/test/ |
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/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...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
HeadsetMediaButton.java | 54 boolean consumed = handleCallMediaButton(event); 55 Log.v(this, "==> handleCallMediaButton(): consumed = %b.", consumed); 56 return consumed; 115 * @return true if we consumed the event.
|
/external/openssh/ |
ssh-pkcs11-helper.c | 215 u_int consumed; local 255 consumed = buf_len - buffer_len(&iqueue); 256 if (msg_len < consumed) { 257 error("msg_len %d < consumed %d", msg_len, consumed); 260 if (msg_len > consumed) 261 buffer_consume(&iqueue, msg_len - consumed);
|
/external/pcre/pcrecpp/ |
pcre_scanner.cc | 124 int consumed; local 125 return re.DoMatch(input_, RE::ANCHOR_START, &consumed, 0, 0);
|
/frameworks/base/core/java/android/view/ |
ViewParent.java | 564 * <p>Both the consumed and unconsumed portions of the scroll distance are reported to the 565 * ViewParent. An implementation may choose to use the consumed portion to match or chase scroll 572 * @param dxConsumed Horizontal scroll distance in pixels already consumed by target 573 * @param dyConsumed Vertical scroll distance in pixels already consumed by target 574 * @param dxUnconsumed Horizontal scroll distance in pixels not consumed by target 575 * @param dyUnconsumed Vertical scroll distance in pixels not consumed by target 590 * report how any pixels of the scroll reported by dx, dy were consumed in the 591 * <code>consumed</code> array. Index 0 corresponds to dx and index 1 corresponds to dy. 592 * This parameter will never be null. Initial values for consumed[0] and consumed[1 [all...] |
/external/skia/src/pdf/ |
SkPDFConvertType1FontStream.cpp | 30 size_t consumed = *size + 6; local 31 if (consumed > *len) { 34 *src = *src + consumed; 35 *len = *len - consumed;
|
/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 | 111 // consumed by this as the nested scrolling parent is used in place of the 756 // Reset the counter of how much leftover scroll needs to be consumed. 765 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { 770 consumed[1] = dy - (int) mTotalUnconsumed; 774 consumed[1] = dy; 784 && Math.abs(dy - consumed[1]) > 0) { 790 if (dispatchNestedPreScroll(dx - consumed[0], dy - consumed[1], parentConsumed, null)) { 791 consumed[0] += parentConsumed[0]; 792 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...] |
/external/boringssl/src/ssl/ |
d1_pkt.cc | 164 size_t consumed; local 166 dtls_open_record(ssl, &type, &body, &consumed, &alert, 168 ssl_read_buffer_consume(ssl, consumed); 281 /* The record has been consumed, so we may now clear the buffer. */
|
/frameworks/support/design/src/android/support/design/widget/ |
HeaderBehavior.java | 199 int consumed = 0; local 208 // Update how much dy we have consumed 209 consumed = curOffset - newOffset; 213 return consumed;
|
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/ |
MainClusterActivity.java | 159 boolean consumed = super.dispatchKeyEvent(event); 160 Log.i(TAG, "dispatchKeyEvent, event: " + event + ", consumed: " + consumed); 161 return consumed;
|
/external/clang/lib/Analysis/ |
Consumed.cpp | 1 //===- Consumed.cpp --------------------------------------------*- C++ --*-===// 10 // A intra-procedural analysis for checking consumed properties. This is based, 23 #include "clang/Analysis/Analyses/Consumed.h" 52 using namespace consumed; 128 case CallableWhenAttr::Consumed: 203 case ConsumableAttr::Consumed: 216 case ParamTypestateAttr::Consumed: 229 case ReturnTypestateAttr::Consumed: 241 case SetTypestateAttr::Consumed: 249 case consumed::CS_None 283 namespace consumed { namespace in namespace:clang 953 namespace consumed { namespace in namespace:clang [all...] |
/external/nanopb-c/generator/google/protobuf/ |
text_format.py | 361 True iff the text was consumed. 375 ParseError: If the text couldn't be consumed. 387 ParseError: If an identifier couldn't be consumed. 402 ParseError: If a signed 32bit integer couldn't be consumed. 418 ParseError: If an unsigned 32bit integer couldn't be consumed. 434 ParseError: If a signed 64bit integer couldn't be consumed. 450 ParseError: If an unsigned 64bit integer couldn't be consumed. 466 ParseError: If a floating point number couldn't be consumed. 482 ParseError: If a boolean value couldn't be consumed. 498 ParseError: If a string value couldn't be consumed [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SearchActivityView.java | 464 boolean consumed = false; 467 consumed = onSearchClicked(Logger.SEARCH_METHOD_KEYBOARD); 470 consumed = true; 473 if (DBG) Log.d(TAG, "onEditorAction consumed=" + consumed); 474 return consumed;
|