Lines Matching refs:specKind

109   IoSpecKind specKind{};  in Enter()  local
113 specKind = IoSpecKind::Access; in Enter()
116 specKind = IoSpecKind::Action; in Enter()
119 specKind = IoSpecKind::Asynchronous; in Enter()
122 specKind = IoSpecKind::Blank; in Enter()
125 specKind = IoSpecKind::Decimal; in Enter()
128 specKind = IoSpecKind::Delim; in Enter()
131 specKind = IoSpecKind::Encoding; in Enter()
134 specKind = IoSpecKind::Form; in Enter()
137 specKind = IoSpecKind::Pad; in Enter()
140 specKind = IoSpecKind::Position; in Enter()
143 specKind = IoSpecKind::Round; in Enter()
146 specKind = IoSpecKind::Sign; in Enter()
149 specKind = IoSpecKind::Carriagecontrol; in Enter()
152 specKind = IoSpecKind::Convert; in Enter()
155 specKind = IoSpecKind::Dispose; in Enter()
158 SetSpecifier(specKind); in Enter()
162 if (specKind == IoSpecKind::Access) { in Enter()
167 CheckStringValue(specKind, *charConst, parser::FindSourceLocation(spec)); in Enter()
168 if (specKind == IoSpecKind::Carriagecontrol && in Enter()
172 parser::ToUpperCaseLetters(common::EnumToString(specKind)), in Enter()
347 IoSpecKind specKind{}; in Enter() local
351 specKind = IoSpecKind::Access; in Enter()
354 specKind = IoSpecKind::Action; in Enter()
357 specKind = IoSpecKind::Asynchronous; in Enter()
360 specKind = IoSpecKind::Blank; in Enter()
363 specKind = IoSpecKind::Decimal; in Enter()
366 specKind = IoSpecKind::Delim; in Enter()
369 specKind = IoSpecKind::Direct; in Enter()
372 specKind = IoSpecKind::Encoding; in Enter()
375 specKind = IoSpecKind::Form; in Enter()
378 specKind = IoSpecKind::Formatted; in Enter()
381 specKind = IoSpecKind::Iomsg; in Enter()
384 specKind = IoSpecKind::Name; in Enter()
387 specKind = IoSpecKind::Pad; in Enter()
390 specKind = IoSpecKind::Position; in Enter()
393 specKind = IoSpecKind::Read; in Enter()
396 specKind = IoSpecKind::Readwrite; in Enter()
399 specKind = IoSpecKind::Round; in Enter()
402 specKind = IoSpecKind::Sequential; in Enter()
405 specKind = IoSpecKind::Sign; in Enter()
408 specKind = IoSpecKind::Status; in Enter()
411 specKind = IoSpecKind::Stream; in Enter()
414 specKind = IoSpecKind::Unformatted; in Enter()
417 specKind = IoSpecKind::Write; in Enter()
420 specKind = IoSpecKind::Carriagecontrol; in Enter()
423 specKind = IoSpecKind::Convert; in Enter()
426 specKind = IoSpecKind::Dispose; in Enter()
430 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in Enter()
431 SetSpecifier(specKind); in Enter()
435 IoSpecKind specKind{}; in Enter() local
439 specKind = IoSpecKind::Iostat; in Enter()
442 specKind = IoSpecKind::Nextrec; in Enter()
445 specKind = IoSpecKind::Number; in Enter()
448 specKind = IoSpecKind::Pos; in Enter()
451 specKind = IoSpecKind::Recl; in Enter()
454 specKind = IoSpecKind::Size; in Enter()
458 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in Enter()
459 SetSpecifier(specKind); in Enter()
463 IoSpecKind specKind{}; in Enter() local
467 specKind = IoSpecKind::Exist; in Enter()
470 specKind = IoSpecKind::Named; in Enter()
473 specKind = IoSpecKind::Opened; in Enter()
476 specKind = IoSpecKind::Pending; in Enter()
479 SetSpecifier(specKind); in Enter()
502 IoSpecKind specKind{}; in Enter() local
506 specKind = IoSpecKind::Advance; in Enter()
509 specKind = IoSpecKind::Blank; in Enter()
512 specKind = IoSpecKind::Decimal; in Enter()
515 specKind = IoSpecKind::Delim; in Enter()
518 specKind = IoSpecKind::Pad; in Enter()
521 specKind = IoSpecKind::Round; in Enter()
524 specKind = IoSpecKind::Sign; in Enter()
527 SetSpecifier(specKind); in Enter()
530 if (specKind == IoSpecKind::Advance) { in Enter()
533 CheckStringValue(specKind, *charConst, parser::FindSourceLocation(spec)); in Enter()
839 void IoChecker::SetSpecifier(IoSpecKind specKind) { in SetSpecifier() argument
846 if (specifierSet_.test(specKind)) { in SetSpecifier()
848 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in SetSpecifier()
850 specifierSet_.set(specKind); in SetSpecifier()
853 void IoChecker::CheckStringValue(IoSpecKind specKind, const std::string &value, in CheckStringValue() argument
878 if (specValues.at(specKind).count(upper) == 0) { in CheckStringValue()
879 if (specKind == IoSpecKind::Access && upper == "APPEND") { in CheckStringValue()
888 parser::ToUpperCaseLetters(common::EnumToString(specKind)), value); in CheckStringValue()
899 void IoChecker::CheckForRequiredSpecifier(IoSpecKind specKind) const { in CheckForRequiredSpecifier()
900 if (!specifierSet_.test(specKind)) { in CheckForRequiredSpecifier()
903 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in CheckForRequiredSpecifier()
925 IoSpecKind specKind, bool condition, const std::string &s) const { in CheckForRequiredSpecifier() argument
926 if (specifierSet_.test(specKind) && !condition) { in CheckForRequiredSpecifier()
928 parser::ToUpperCaseLetters(common::EnumToString(specKind)), s); in CheckForRequiredSpecifier()
933 bool condition, const std::string &s, IoSpecKind specKind) const { in CheckForRequiredSpecifier()
934 if (condition && !specifierSet_.test(specKind)) { in CheckForRequiredSpecifier()
936 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in CheckForRequiredSpecifier()
947 void IoChecker::CheckForProhibitedSpecifier(IoSpecKind specKind) const { in CheckForProhibitedSpecifier()
948 if (specifierSet_.test(specKind)) { in CheckForProhibitedSpecifier()
951 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in CheckForProhibitedSpecifier()
965 IoSpecKind specKind, bool condition, const std::string &s) const { in CheckForProhibitedSpecifier() argument
966 if (specifierSet_.test(specKind) && condition) { in CheckForProhibitedSpecifier()
968 parser::ToUpperCaseLetters(common::EnumToString(specKind)), s); in CheckForProhibitedSpecifier()
973 bool condition, const std::string &s, IoSpecKind specKind) const { in CheckForProhibitedSpecifier()
974 if (condition && specifierSet_.test(specKind)) { in CheckForProhibitedSpecifier()
976 parser::ToUpperCaseLetters(common::EnumToString(specKind))); in CheckForProhibitedSpecifier()