/external/clang/test/SemaCXX/ |
D | warn-consumed-parsing.cpp | 14 int returnTypestateForUnconsumable() RETURN_TYPESTATE(consumed); // expected-warning {{return state… 25 int var0 SET_TYPESTATE(consumed); // expected-warning {{'set_typestate' attribute only applies to m… 26 int var1 TEST_TYPESTATE(consumed); // expected-warning {{'test_typestate' attribute only applies to… 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 applie… 31 void function0() SET_TYPESTATE(consumed); // expected-warning {{'set_typestate' attribute only appl… 32 void function1() TEST_TYPESTATE(consumed); // expected-warning {{'test_typestate' attribute only ap… 34 void function3() CONSUMABLE(consumed); // expected-warning {{'consumable' attribute only applies to… 41 void consumes() SET_TYPESTATE(consumed); in CONSUMABLE() 42 bool testUnconsumed() TEST_TYPESTATE(consumed); in CONSUMABLE() [all …]
|
D | warn-consumed-analysis.cpp | 20 ConsumableClass(nullptr_t p) RETURN_TYPESTATE(consumed); in CONSUMABLE() 27 ConsumableClass<T>& operator=(nullptr_t) SET_TYPESTATE(consumed); in CONSUMABLE() 35 void operator()(int a) SET_TYPESTATE(consumed); in CONSUMABLE() 43 bool operator==(nullptr_t) const TEST_TYPESTATE(consumed); in CONSUMABLE() 48 void consume() SET_TYPESTATE(consumed); in CONSUMABLE() 75 ConsumableClass<int> returnsConsumed() RETURN_TYPESTATE(consumed); 424 void testParamTypestateCallee(ConsumableClass<int> Param0 PARAM_TYPESTATE(consumed), 425 ConsumableClass<int> &Param1 PARAM_TYPESTATE(consumed)) { 701 Status() RETURN_TYPESTATE(consumed); 710 bool operator==(const Status &other) const SET_TYPESTATE(consumed); [all …]
|
/external/python/cpython3/Modules/ |
D | _codecsmodule.c | 298 Py_ssize_t consumed = data->len; in _codecs_utf_7_decode_impl() local 301 final ? NULL : &consumed); in _codecs_utf_7_decode_impl() 302 return codec_tuple(decoded, consumed); in _codecs_utf_7_decode_impl() 318 Py_ssize_t consumed = data->len; in _codecs_utf_8_decode_impl() local 321 final ? NULL : &consumed); in _codecs_utf_8_decode_impl() 322 return codec_tuple(decoded, consumed); in _codecs_utf_8_decode_impl() 340 Py_ssize_t consumed = data->len; in _codecs_utf_16_decode_impl() local 343 final ? NULL : &consumed); in _codecs_utf_16_decode_impl() 344 return codec_tuple(decoded, consumed); in _codecs_utf_16_decode_impl() 362 Py_ssize_t consumed = data->len; in _codecs_utf_16_le_decode_impl() local [all …]
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 182 Py_ssize_t consumed, len; in escape_encode() local 188 consumed = PyString_GET_SIZE(str); in escape_encode() 200 return codec_tuple(str, consumed); in escape_encode() 239 Py_ssize_t consumed; in utf_7_decode() local 245 consumed = pbuf.len; in utf_7_decode() 248 final ? NULL : &consumed); in utf_7_decode() 252 return codec_tuple(decoded, consumed); in utf_7_decode() 262 Py_ssize_t consumed; in utf_8_decode() local 268 consumed = pbuf.len; in utf_8_decode() 271 final ? NULL : &consumed); in utf_8_decode() [all …]
|
/external/libaom/libaom/tools/ |
D | obu_parser.cc | 122 int consumed = 0; in DumpObu() local 125 while (consumed < length) { in DumpObu() 126 const int remaining = length - consumed; in DumpObu() 137 const uint8_t obu_header_byte = *(data + consumed); in DumpObu() 139 fprintf(stderr, "OBU parsing failed at offset %d.\n", consumed); in DumpObu() 148 *(data + consumed + kObuHeaderSizeBytes); in DumpObu() 151 consumed + kObuHeaderSizeBytes); in DumpObu() 163 if (aom_uleb_decode(data + consumed + obu_header_size, in DumpObu() 167 consumed + obu_header_size); in DumpObu() 177 consumed += obu_header_size + static_cast<int>(length_field_size) + in DumpObu() [all …]
|
/external/python/cpython2/Lib/encodings/ |
D | 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)
|
D | 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)
|
D | 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/python/cpython3/Lib/encodings/ |
D | utf_8_sig.py | 23 (output, consumed) = codecs.utf_8_decode(input, errors, True) 24 return (output, consumed+prefix) 66 (output, consumed) = \ 68 return (output, consumed+3) 113 (output, consumed) = codecs.utf_8_decode(input[3:],errors) 114 return (output, consumed+3)
|
D | 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)
|
D | utf_16.py | 60 (output, consumed, byteorder) = \ 66 elif consumed >= 2: 68 return (output, consumed) 134 (object, consumed, byteorder) = \ 140 elif consumed>=2: 142 return (object, consumed)
|
/external/pcre/pcrecpp/include/ |
D | pcrecpp.h | 583 int consumed; in Consume() local 584 if (DoMatchImpl(*input, ANCHOR_START, &consumed, args, in Consume() 586 input->remove_prefix(consumed); in Consume() 597 int consumed; in FindAndConsume() local 598 if (DoMatchImpl(*input, UNANCHORED, &consumed, args, in FindAndConsume() 600 input->remove_prefix(consumed); in FindAndConsume() 642 int* consumed, 681 int* consumed,
|
/external/apache-http/src/org/apache/http/entity/ |
D | InputStreamEntity.java | 58 private boolean consumed = false; field in InputStreamEntity 105 this.consumed = true; in writeTo() 110 return !this.consumed; in isStreaming() 115 this.consumed = true; in consumeContent()
|
/external/curl/tests/libtest/ |
D | lib1591.c | 33 static size_t consumed = 0; variable 39 if(consumed == strlen(data)) { in read_callback() 43 if(amount > strlen(data)-consumed) { in read_callback() 47 consumed += amount; in read_callback()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | StringEscapeUtils.java | 175 final int consumed = translate(input, pos, out); in translate() local 176 if (consumed == 0) { in translate() 193 for (int pt = 0; pt < consumed; pt++) { in translate() 315 final int consumed = translator.translate(input, index, out); in translate() local 316 if (consumed != 0) { in translate() 317 return consumed; in translate()
|
/external/minijail/ |
D | minijail0.c | 25 int consumed = parse_args(j, argc, argv, &exit_immediately, &elftype, in main() local 27 argc -= consumed; in main() 28 argv += consumed; in main()
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | Type.java | 341 static int consumed(final int coded) { in consumed() method in Type 345 static int encode(final int size, final int consumed) { in encode() argument 346 return consumed << 2 | size; in encode() 360 index += consumed(coded); in getArgumentTypesSize() 378 final int consumed = consumed(getTypeSize(signature.substring(dim))); in getTypeSize() local 379 return encode(1, dim + consumed); in getTypeSize()
|
/external/openssh/ |
D | ssh-pkcs11-helper.c | 215 u_int consumed; in process() local 255 consumed = buf_len - buffer_len(&iqueue); in process() 256 if (msg_len < consumed) { in process() 257 error("msg_len %d < consumed %d", msg_len, consumed); in process() 260 if (msg_len > consumed) in process() 261 buffer_consume(&iqueue, msg_len - consumed); in process()
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
D | Decoder.java | 32 boolean consumed; field in Decoder 150 consumed = true; in Decoder() 173 if (consumed) in readContent() 231 consumed = true; in readContent()
|
/external/syzkaller/vendor/golang.org/x/net/http2/ |
D | writesched.go | 120 consumed := FrameWriteRequest{ 143 return consumed, rest, 2 208 consumed, rest, numresult := q.s[0].Consume(n) 217 return consumed, true
|
/external/libxml2/ |
D | testReader.c | 42 static int consumed = 0; variable 92 if (consumed) in handleFile() 121 consumed++; in main()
|
/external/skia/src/pdf/ |
D | SkPDFConvertType1FontStream.cpp | 32 size_t consumed = *size + 6; in parsePFBSection() local 33 if (consumed > *len) { in parsePFBSection() 36 *src = *src + consumed; in parsePFBSection() 37 *len = *len - consumed; in parsePFBSection()
|
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/ |
D | FreehandView.java | 56 boolean consumed = false; in onTouchEvent() 86 consumed = true; in onTouchEvent() 90 consumed = true; in onTouchEvent() 101 return consumed || super.onTouchEvent(event); in onTouchEvent()
|
/external/skqp/src/pdf/ |
D | SkPDFConvertType1FontStream.cpp | 32 size_t consumed = *size + 6; in parsePFBSection() local 33 if (consumed > *len) { in parsePFBSection() 36 *src = *src + consumed; in parsePFBSection() 37 *len = *len - consumed; in parsePFBSection()
|
/external/brotli/go/cbrotli/ |
D | reader.go | 99 var written, consumed C.size_t 107 &written, &consumed) 108 r.in = r.in[int(consumed):]
|