Searched defs:Expected (Results 1 - 19 of 19) sorted by relevance

/freebsd-head/contrib/ntp/ntpd/
H A Dcheck_y2k.c408 time_t Expected; local
431 Expected = t * 24 * 60 * 60;
432 if ( Observed != Expected || Flag )
437 (unsigned long)Observed, (unsigned long)Expected,
438 ((long)Observed - (long)Expected) );
452 if ( Observed != Expected || Flag )
457 (unsigned long)Observed, (unsigned long)Expected,
458 ((long)Observed - (long)Expected) );
470 if ( Observed != Expected || Flag )
475 (unsigned long)Observed, (unsigned long)Expected,
[all...]
/freebsd-head/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h120 /// \param Expected -- the kind of lock expected.
125 LockKind Expected, LockKind Received,
124 handleIncorrectUnlockKind(StringRef Kind, Name LockName, LockKind Expected, LockKind Received, SourceLocation LocLocked, SourceLocation LocUnlock) argument
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
H A DSignals.cpp63 auto Expected = CallbackAndCookie::Status::Initialized; local
65 if (!RunMe.Flag.compare_exchange_strong(Expected, Desired))
79 auto Expected = CallbackAndCookie::Status::Empty; local
81 if (!SetMe.Flag.compare_exchange_strong(Expected, Desired))
H A DYAMLParser.cpp393 /// \a Expected. This updates \a Column.
394 bool consume(uint32_t Expected);
935 bool Scanner::consume(uint32_t Expected) { argument
936 if (Expected >= 0x80) {
946 if (uint8_t(*Current) == Expected) {
1318 setError("Expected quote at end of scalar", Current);
1502 setError("Expected a line break after block scalar header", Current);
2158 setError("Unexpected token. Expected Key or Block End", T);
2179 setError( "Unexpected token. Expected Key, Flow Entry, or Flow "
2213 setError( "Unexpected token. Expected Bloc
[all...]
/freebsd-head/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_basic_logging.cpp375 uint8_t Expected = 0; variable
376 if (!atomic_compare_exchange_strong(&BasicInitialized, &Expected, 1,
443 uint8_t Expected = 0; variable
444 if (!atomic_compare_exchange_strong(&BasicInitialized, &Expected, 0,
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h167 // Expected<T> needs to be able to steal the payload when constructed from an
169 template <typename T> friend class Expected;
322 /// the type system. This allows to catch invalid conversion to Expected<T> at
433 template <class T> class LLVM_NODISCARD Expected { class in namespace:llvm
435 template <class OtherT> friend class Expected;
454 /// Create an Expected<T> error value from the given Error.
455 Expected(Error Err) function in class:llvm::Expected
458 // Expected is unchecked upon construction in Debug builds.
462 assert(Err && "Cannot create Expected<T> from Error success value.");
467 /// Expected<
474 Expected(OtherT &&Val, function in class:llvm::Expected
487 Expected(Expected &&Other) { moveConstruct(std::move(Other)); } function in class:llvm::Expected
492 Expected(Expected<OtherT> &&Other, function in class:llvm::Expected
501 explicit Expected( function in class:llvm::Expected
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp151 Expected<COFFModuleDefinition> parse() {
176 Error expect(Kind Expected, StringRef Msg) { argument
178 if (Tok.K != Expected)
361 Expected<COFFModuleDefinition> parseCOFFModuleDefinition(MemoryBufferRef MB,
/freebsd-head/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelectorImpl.h115 "Expected to store MIs in order");
141 int64_t Expected = MatchTable[CurrentIdx++]; local
148 << "], ExpectedOpcode=" << Expected
150 if (Opcode != Expected) {
230 int64_t Expected = MatchTable[CurrentIdx++]; local
233 << InsnID << "], Expected=" << Expected << ")\n"); local
235 if (State.MIs[InsnID]->getNumOperands() != Expected) {
250 "Expected G_CONSTANT");
251 assert(Predicate > GIPFP_I64_Invalid && "Expected
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp241 const CXXRecordDecl *Expected = Ty->getPointeeCXXRecordDecl(); local
242 if (!Expected)
243 Expected = Ty->getAsCXXRecordDecl();
245 return Expected->getCanonicalDecl() == RD->getCanonicalDecl();
/freebsd-head/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchTree.cpp435 const CodeGenInstruction *Expected = OpcodeP->getInstr(); local
436 OpcodesForThisPredicate.push_back(Expected);
458 for (const CodeGenInstruction *Expected : OpcodeP->getInstrs())
459 OpcodesForThisPredicate.push_back(Expected);
462 for (const CodeGenInstruction *Expected : OpcodesForThisPredicate) {
469 auto Partition = InstrToPartition.find(Expected);
473 .insert(std::make_pair(Expected, Partitions.size()))
475 PartitionToInstr.push_back(Expected);
/freebsd-head/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp220 "Expected 'mangled_name:NUM:NUM', found " + *LineIt);
239 "Expected 'NUM[.NUM]: NUM[ mangled_name:NUM]*', found " +
1020 std::error_code SampleProfileReaderGCC::readSectionTag(uint32_t Expected) { argument
1025 if (Tag != Expected)
/freebsd-head/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp697 MatchClassKind Expected = static_cast<MatchClassKind>(ExpectedKind); local
709 if (validateOperandClass(Op, Expected) == Match_Success) {
720 if (isSubclass(Expected, MCK_DREGS)) {
725 return validateOperandClass(Op, Expected);
/freebsd-head/contrib/ntp/parseutil/
H A Ddcfd.c1300 time_t Expected; local
1324 Expected = t * 24 * 60 * 60;
1325 if ( Observed != Expected || Flag )
1330 (unsigned long)Observed, (unsigned long)Expected,
1331 ((long)Observed - (long)Expected) );
/freebsd-head/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp216 /// \param Expected Expected value.
224 EmitAtomicCompareExchange(RValue Expected, RValue Desired,
365 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); local
369 Ptr.getPointer(), Expected, Desired, SuccessOrder, FailureOrder,
389 // Update Expected if Expected isn't equal to Old, otherwise branch to the
394 // Update the memory at Expected with Old's value.
1447 assert(IntVal->getType()->isIntegerTy() && "Expected integer value");
1706 RValue Expected, RValu
1705 EmitAtomicCompareExchange( RValue Expected, RValue Desired, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak) argument
2038 EmitAtomicCompareExchange( LValue Obj, RValue Expected, RValue Desired, SourceLocation Loc, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak, AggValueSlot Slot) argument
[all...]
/freebsd-head/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp2091 CanQualType Expected local
2094 SimplifiedTypeClass ExpectedSTC = getSimplifiedTypeClass(Expected);
2100 = CachedCompletionTypes.find(QualType(Expected).getAsString());
/freebsd-head/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp1034 assert(A && "Expected non-nullptr argument.");
3899 types::ID Expected = HeaderModuleInput.getType(); local
3900 if (I.getType() != Expected) {
3903 << types::getTypeName(Expected);
3969 assert(CTC && "Expected valid CUDA Toolchain.");
6838 assert(CurTC == nullptr && "Expected one dependence!");
6869 assert(CurTC == nullptr && "Expected one dependence!");
/freebsd-head/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h460 bool TryConsumeToken(tok::TokenKind Expected) { argument
461 if (Tok.isNot(Expected))
470 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { argument
471 if (!TryConsumeToken(Expected))
/freebsd-head/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp2342 unsigned Expected,
2345 " operands but expected only " + Twine(Expected) + "!");
2340 emitTooManyOperandsError(TreePattern &TP, StringRef InstName, unsigned Expected, unsigned Actual) argument
/freebsd-head/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp4688 assert(PrevDecl && "Expected a non-null Decl");
10826 QualType Expected[] = { Context.IntTy, CharPP, CharPP, CharPP }; local
10833 if (Context.hasSameUnqualifiedType(AT, Expected[i]))
10835 else if (Expected[i] == CharPP) {
10853 Diag(FD->getLocation(), diag::err_main_arg_wrong) << i << Expected[i]; local

Completed in 207 milliseconds