/freebsd/contrib/lyaml/spec/ |
H A D | ext_yaml_parser_spec.yaml | 45 e = consume (1, "---") 50 e = consume (1, "foo") 59 e = consume (1, "%YAML 1.1\n---") 62 e = consume (1, "%YAML 1.1\n") 65 e = consume (1, "%YAML 1.1\n%YAML 1.1\n---") 68 e = consume (1, "%YAML 2.0\n---") 72 e = consume (1, "%YAML 1.9\n---") 77 e = consume (1, "%TAG ! tag:ben-kiki.org,2000:app/\n---") 81 e = consume (1, "%TAG !! tag:yaml.org,2002:\n---") 85 e = consume (1, "%TAG !o! tag:ben-kiki.org,2000:\n---") [all …]
|
H A D | ext_yaml_scanner_spec.yaml | 5 function consume (n, str) 51 k = consume (1, "%YAML 1.0") 62 k = consume (1, "%TAG ! tag:ben-kiki.org,2000:app/") 66 k = consume (1, "%TAG !! tag:yaml.org,2002:") 70 k = consume (1, "%TAG !o! tag:ben-kiki.org,2000:\n---") 76 k = consume (1, "---") 86 k = consume (2, "foo\n...") 96 k = consume (15, "---\n" .. 113 k = consume (9, "---\n" .. 130 k = consume (10, "---\n" .. [all …]
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | ring.c | 43 * full: [consume, supply) 44 * empty: [supply, consume) 71 #define ring_empty(d) (((d)->consume == (d)->supply) && \ 73 #define ring_full(d) (((d)->supply == (d)->consume) && \ 89 ring->supply = ring->consume = ring->bottom = buffer; in ring_init() 119 if (ring->mark == ring->consume) { in ring_at_mark() 156 (ring_subtract(ring, ring->mark, ring->consume) < count)) { in ring_consumed() 160 if (ring->consume < ring->clearto && in ring_consumed() 161 ring->clearto <= ring->consume + count) in ring_consumed() 163 else if (ring->consume + count > ring->top && in ring_consumed() [all …]
|
/freebsd/contrib/telnet/telnet/ |
H A D | ring.c | 41 * full: [consume, supply) 42 * empty: [supply, consume) 90 #define ring_empty(d) (((d)->consume == (d)->supply) && \ 92 #define ring_full(d) (((d)->supply == (d)->consume) && \ 104 ring->supply = ring->consume = ring->bottom = buffer; in ring_init() 134 if (ring->mark == ring->consume) { in ring_at_mark() 171 (ring_subtract(ring, ring->mark, ring->consume) < count)) { in ring_consumed() 175 if (ring->consume < ring->clearto && in ring_consumed() 176 ring->clearto <= ring->consume + count) in ring_consumed() 178 else if (ring->consume + count > ring->top && in ring_consumed() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | RecordSerialization.h | 45 inline Error consume(BinaryStreamReader &Reader) { return Error::success(); } in consume() function 51 Error consume(BinaryStreamReader &Reader, APSInt &Num); 57 Error consume(BinaryStreamReader &Reader, uint32_t &Item); 58 Error consume(BinaryStreamReader &Reader, int32_t &Item); 61 Error consume(BinaryStreamReader &Reader, StringRef &Item); 63 Error consume(StringRef &Data, APSInt &Num); 64 Error consume(StringRef &Data, uint32_t &Item); 68 template <typename T> Error consume(BinaryStreamReader &Reader, T *&Item) { in consume() function 78 return consume(Reader, Item); in deserialize() 108 if (auto EC = consume(Reader, Field)) in deserialize() [all …]
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | fuzz_mgmt.c | 240 consume(&proto, sizeof(proto)); in dev_get_cbor_info() 241 consume(&major, sizeof(major)); in dev_get_cbor_info() 242 consume(&minor, sizeof(minor)); in dev_get_cbor_info() 243 consume(&build, sizeof(build)); in dev_get_cbor_info() 244 consume(&flags, sizeof(flags)); in dev_get_cbor_info() 253 consume(sa[i], strlen(sa[i])); in dev_get_cbor_info() 258 consume(sa[i], strlen(sa[i])); in dev_get_cbor_info() 263 consume(sa[i], strlen(sa[i])); in dev_get_cbor_info() 269 consume(sa[i], strlen(sa[i])); in dev_get_cbor_info() 270 consume(&va[i], sizeof(va[i])); in dev_get_cbor_info() [all …]
|
H A D | fuzz_credman.c | 214 consume(&x, sizeof(x)); in prepare_dev() 216 consume(&x, sizeof(x)); in prepare_dev() 218 consume(&x, sizeof(x)); in prepare_dev() 246 consume(&existing, sizeof(existing)); in get_metadata() 247 consume(&remaining, sizeof(remaining)); in get_metadata() 275 consume(fido_credman_rp_id_hash_ptr(rp, i), in get_rp_list() 314 consume(&val, sizeof(val)); in get_rk_list() 315 consume(fido_cred_id_ptr(cred), fido_cred_id_len(cred)); in get_rk_list() 316 consume(fido_cred_pubkey_ptr(cred), fido_cred_pubkey_len(cred)); in get_rk_list() 317 consume(fido_cred_user_id_ptr(cred), in get_rk_list() [all …]
|
H A D | fuzz_cred.c | 289 consume(authdata_ptr, authdata_len); in verify_cred() 290 consume(authdata_raw_ptr, authdata_raw_len); in verify_cred() 291 consume(x5c_ptr, x5c_len); in verify_cred() 292 consume(sig_ptr, sig_len); in verify_cred() 293 consume(attstmt_ptr, attstmt_len); in verify_cred() 324 consume(&r, sizeof(r)); in verify_cred() 326 consume(&r, sizeof(r)); in verify_cred() 328 consume(fido_cred_pubkey_ptr(cred), fido_cred_pubkey_len(cred)); in verify_cred() 329 consume(fido_cred_id_ptr(cred), fido_cred_id_len(cred)); in verify_cred() 330 consume(fido_cred_aaguid_ptr(cred), fido_cred_aaguid_len(cred)); in verify_cred() [all …]
|
H A D | fuzz_bio.c | 230 consume(&x, sizeof(x)); in prepare_dev() 232 consume(&x, sizeof(x)); in prepare_dev() 234 consume(&x, sizeof(x)); in prepare_dev() 236 consume(&x, sizeof(x)); in prepare_dev() 238 consume(&x, sizeof(x)); in prepare_dev() 262 consume(&type, sizeof(type)); in get_info() 263 consume(&max_samples, sizeof(max_samples)); in get_info() 277 consume(fido_bio_template_id_ptr(t), fido_bio_template_id_len(t)); in consume_template() 288 consume(&last_status, sizeof(last_status)); in consume_enroll() 289 consume(&remaining_samples, sizeof(remaining_samples)); in consume_enroll()
|
H A D | fuzz_assert.c | 291 consume(&r, sizeof(r)); in verify_assert() 311 consume(&r, sizeof(r)); in es256_convert() 332 consume(&r, sizeof(r)); in es384_convert() 353 consume(&r, sizeof(r)); in rs256_convert() 374 consume(&r, sizeof(r)); in eddsa_convert() 470 consume(fido_assert_authdata_raw_ptr(assert, i), in test() 472 consume(fido_assert_id_ptr(assert, i), in test() 474 consume(fido_assert_user_id_ptr(assert, i), in test() 476 consume(fido_assert_hmac_secret_ptr(assert, i), in test() 481 consume(fido_assert_blob_pt in test() [all...] |
H A D | fuzz_netlink.c | 140 consume(&nl->fd, sizeof(nl->fd)); in test() 141 consume(&nl->nfc_type, sizeof(nl->nfc_type)); in test() 142 consume(&nl->nfc_mcastgrp, sizeof(nl->nfc_mcastgrp)); in test() 143 consume(&nl->saddr, sizeof(nl->saddr)); in test() 148 consume(&target, sizeof(target)); in test()
|
/freebsd/crypto/krb5/src/tests/asn.1/ |
H A D | make-vectors.c | 204 consume(const void *data, size_t size, void *dummy) in consume() function 242 der_encode(&asn_DEF_PrincipalName, &princ, consume, NULL); in main() 248 der_encode(&asn_DEF_KRB5PrincipalName, &krb5princ, consume, NULL); in main() 254 der_encode(&asn_DEF_OtherInfo, &other_info, consume, NULL); in main() 260 der_encode(&asn_DEF_PkinitSuppPubInfo, &supp_pub_info, consume, NULL); in main() 264 der_encode(&asn_DEF_OTP_TOKENINFO, &token_info_1, consume, NULL); in main() 268 der_encode(&asn_DEF_OTP_TOKENINFO, &token_info_2, consume, NULL); in main() 272 der_encode(&asn_DEF_PA_OTP_CHALLENGE, &challenge_1, consume, NULL); in main() 276 der_encode(&asn_DEF_PA_OTP_CHALLENGE, &challenge_2, consume, NULL); in main() 280 der_encode(&asn_DEF_PA_OTP_REQUEST, &request_1, consume, NULL); in main() [all …]
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | ScriptParser.cpp | 223 if (consume("{")) { in readVersionScriptCommand() 310 while (!errorCount() && !consume(")")) in readNoCrossRefs() 371 while (!errorCount() && !consume(")")) in readAsNeeded() 387 while (!errorCount() && !consume(")")) in readExtern() 418 while (!errorCount() && !consume(")")) { in readInput() 419 if (consume("AS_NEEDED")) in readInput() 438 while (!errorCount() && !consume(")")) in readOutputArch() 482 if (!consume(")")) { in readOutputFormat() 491 consume(")"); in readOutputFormat() 518 while (!errorCount() && !consume("}")) { in readPhdrs() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | RecordSerialization.cpp | 36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() function in llvm::codeview 104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume() function in llvm::codeview 108 auto EC = consume(SR, Num); in consume() 117 if (auto EC = consume(Reader, N)) in consume_numeric() 126 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume() function in llvm::codeview 130 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { in consume() function in llvm::codeview 134 auto EC = consume(SR, Item); in consume() 139 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume() function in llvm::codeview 143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume() function in llvm::codeview
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | AtomicOrdering.h | 30 consume = 1, enumerator 55 /// \-->consume-->acquire--/ 60 // Consume = 3, // Not specified yet. 84 "consume", "acquire", "release", in toIRString() 97 /* consume */ { true, true, true, false, false, false, false, false}, in isStrongerThan() 112 /* consume */ { true, true, true, true, false, false, false, false}, in isAtLeastOrStrongerThan() 152 /* consume */ AtomicOrderingCABI::consume, in toCABI()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 656 bool TGParser::consume(tgtok::TokKind K) { in consume() function in TGParser 769 if (!consume(tgtok::less)) { in ParseSubClassReference() 805 if (!consume(tgtok::less)) { in ParseSubMultiClassReference() 1033 while (consume(tgtok::comma)) in ParseRangeList() 1046 if (!consume(tgtok::less)) in ParseOptionalRangeList() 1053 if (!consume(tgtok::greater)) { in ParseOptionalRangeList() 1065 if (!consume(tgtok::l_brace)) in ParseOptionalBitList() 1072 if (!consume(tgtok::r_brace)) { in ParseOptionalBitList() 1143 if (!consume(tgtok::greater)) { in ParseType() 1276 // but keep parsing, to consume the operand in ParseOperation() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/ |
H A D | X86Disassembler.cpp | 198 template <typename T> static bool consume(InternalInstruction *insn, T &ptr) { in consume() function 231 if (consume(insn, byte)) in readPrefixes() 263 if (consume(insn, nnextByte)) in readPrefixes() 340 if (consume(insn, byte1)) { in readPrefixes() 360 if (consume(insn, insn->vectorExtensionPrefix[2])) { in readPrefixes() 364 if (consume(insn, insn->vectorExtensionPrefix[3])) { in readPrefixes() 404 consume(insn, insn->vectorExtensionPrefix[1]); in readPrefixes() 405 consume(insn, insn->vectorExtensionPrefix[2]); in readPrefixes() 435 consume(insn, insn->vectorExtensionPrefix[1]); in readPrefixes() 467 consume(insn, insn->vectorExtensionPrefix[1]); in readPrefixes() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/XRay/ |
H A D | LogBuilderConsumer.cpp | 13 Error LogBuilderConsumer::consume(std::unique_ptr<Record> R) { in consume() function in llvm::xray::LogBuilderConsumer 17 "Must not call RecordConsumer::consume() with a null pointer."); in consume() 22 Error PipelineConsumer::consume(std::unique_ptr<Record> R) { in consume() function in llvm::xray::PipelineConsumer 26 "Must not call RecordConsumer::consume() with a null pointer."); in consume()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
H A D | BreakpadRecords.cpp | 87 static T consume(llvm::StringRef &Str) { in consume() 133 Token Tok = consume<Token>(Line); in classify() 146 Tok = consume<Token>(Line); in classify() 177 if (consume<Token>(Line) != Token::Module) in parse() 180 llvm::Triple::OSType OS = consume<llvm::Triple::OSType>(Line); in parse() 184 llvm::Triple::ArchType Arch = consume<llvm::Triple::ArchType>(Line); in parse() 206 if (consume<Token>(Line) != Token::Info) in parse() 209 if (consume<Token>(Line) != Token::CodeID) in parse() 232 if (consume<Token>(Line) != TokenType) in parseNumberName() 278 if (consume<Toke in parsePublicOrFunc() 86 static T consume(llvm::StringRef &Str) { consume() function [all...] |
/freebsd/usr.bin/dtc/ |
H A D | fdt.cc | 269 input.consume('"'); in parse_string() 287 while (!input.consume('>')) in parse_cells() 292 if (input.consume('&')) in parse_cells() 302 if (!input.consume('{')) in parse_cells() 309 input.consume('}'); in parse_cells() 393 while (!input.consume(']')) in parse_bytes() 475 input.consume('$'); in parse_define() 519 if (input.consume("/incbin/(\"")) in property() 523 if (!(valid = input.consume('"'))) in property() 534 if (!(valid &= input.consume(')'))) in property() [all …]
|
H A D | input_buffer.cc | 192 if (consume("/include/")) in skip_spaces() 203 if (consume("if ")) in handle_include() 211 consume('/'); in handle_include() 214 if (!consume('"')) in handle_include() 221 consume('"'); in handle_include() 318 input_buffer::consume(const char *str) in consume() function in dtc::input_buffer 866 consume('?'); in parse_binary_expression() 869 if (!true_case || !consume(':')) in parse_binary_expression() 919 consume('\''); in parse_expression() 924 if (!consume('\'')) in parse_expression() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 154 // or if we are about to parse function member template then consume in ParseCXXInlineMethodDef() 178 // Consume the tokens and store them for later parsing. in ParseCXXInlineMethodDef() 185 // Consume everything up to (and including) the left brace of the in ParseCXXInlineMethodDef() 212 // Consume everything up to (and including) the matching right brace. in ParseCXXInlineMethodDef() 264 // Consume everything up to (and including) the matching right brace. in ParseCXXNonStaticMemberInitializer() 267 // Consume everything up to (but excluding) the comma or semicolon. in ParseCXXNonStaticMemberInitializer() 423 // Consume the previously-pushed token. in ParseLexedMethodDeclaration() 426 // Consume the '='. in ParseLexedMethodDeclaration() 504 // Consume the previously-pushed token. in ParseLexedMethodDeclaration() 614 // Consume the previously pushed token. in ParseLexedMethodDef() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refquota/ |
H A D | refquota_001_pos.ksh | 37 # refquota limits the amount of space a dataset can consume, but does 43 # 3. Verify refquota limits the amount of space a dataset can consume 56 log_assert "refquota limits the amount of space a dataset can consume, " \ 77 log_pass "refquota limits the amount of space a dataset can consume, " \
|
/freebsd/tests/sys/cddl/zfs/tests/refquota/ |
H A D | refquota_001_pos.ksh | 36 # refquota limits the amount of space a dataset can consume, but does 42 # 3. Verify refquota limits the amount of space a dataset can consume 64 log_assert "refquota limits the amount of space a dataset can consume, " \ 85 log_pass "refquota limits the amount of space a dataset can consume, " \
|
/freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
H A D | FDRRecordConsumer.h | 22 virtual Error consume(std::unique_ptr<Record> R) = 0; 35 Error consume(std::unique_ptr<Record> R) override; 47 Error consume(std::unique_ptr<Record> R) override;
|