Lines Matching full:terminator
11 #include "terminator.h"
73 const Descriptor &y, const Terminator &terminator) { in Compare() argument
75 terminator, x.rank() == y.rank() || x.rank() == 0 || y.rank() == 0); in Compare()
85 terminator.Crash("Character array comparison: operands are not " in Compare()
99 terminator.Crash("Compare: could not allocate storage for result"); in Compare()
137 const Terminator &terminator) { in AdjustLRHelper() argument
150 terminator.Crash("ADJUSTL/R: could not allocate storage for result"); in AdjustLRHelper()
162 Terminator terminator{sourceFile, sourceLine}; in AdjustLR() local
165 AdjustLRHelper<char, ADJUSTR>(result, string, terminator); in AdjustLR()
168 AdjustLRHelper<char16_t, ADJUSTR>(result, string, terminator); in AdjustLR()
171 AdjustLRHelper<char32_t, ADJUSTR>(result, string, terminator); in AdjustLR()
174 terminator.Crash("ADJUSTL/R: bad string type code %d", in AdjustLR()
189 const Terminator &terminator) { in LenTrim() argument
201 terminator.Crash("LEN_TRIM: could not allocate storage for result"); in LenTrim()
213 const Terminator &terminator) { in LenTrimKind() argument
216 LenTrim<std::int8_t, CHAR>(result, string, terminator); in LenTrimKind()
219 LenTrim<std::int16_t, CHAR>(result, string, terminator); in LenTrimKind()
222 LenTrim<std::int32_t, CHAR>(result, string, terminator); in LenTrimKind()
225 LenTrim<std::int64_t, CHAR>(result, string, terminator); in LenTrimKind()
228 LenTrim<common::uint128_t, CHAR>(result, string, terminator); in LenTrimKind()
231 terminator.Crash("LEN_TRIM: bad KIND=%d", kind); in LenTrimKind()
258 const Terminator &terminator) { in MaxMinHelper() argument
259 RUNTIME_CHECK(terminator, in MaxMinHelper()
278 terminator.Crash("Character MAX/MIN: operands are not " in MaxMinHelper()
296 RUNTIME_CHECK(terminator, accumulator.Allocate(lb, ub) == CFI_SUCCESS); in MaxMinHelper()
317 Terminator terminator{sourceFile, sourceLine}; in MaxMin() local
318 RUNTIME_CHECK(terminator, accumulator.raw().type == x.raw().type); in MaxMin()
321 MaxMinHelper<char, ISMIN>(accumulator, x, terminator); in MaxMin()
324 MaxMinHelper<char16_t, ISMIN>(accumulator, x, terminator); in MaxMin()
327 MaxMinHelper<char32_t, ISMIN>(accumulator, x, terminator); in MaxMin()
330 terminator.Crash( in MaxMin()
339 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
340 RUNTIME_CHECK(terminator, in RTNAME()
352 terminator.Crash("Character array concatenation: operands are not " in RTNAME()
371 terminator.Crash( in RTNAME()
386 Terminator terminator{__FILE__, __LINE__}; in RTNAME() local
387 RUNTIME_CHECK(terminator, accumulator.rank() == 0); in RTNAME()
393 terminator, accumulator.Allocate(nullptr, nullptr) == CFI_SUCCESS); in RTNAME()
400 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
402 RUNTIME_CHECK(terminator, rhs.rank() == 0 || rhs.rank() == rank); in RTNAME()
419 terminator.Crash("Character array assignment: operands are not " in RTNAME()
443 RUNTIME_CHECK(terminator, lhs.Allocate(lhsAt, ub) == CFI_SUCCESS); in RTNAME()
470 terminator.Crash( in RTNAME()
498 terminator.Crash( in RTNAME()
526 terminator.Crash( in RTNAME()
531 terminator.Crash( in RTNAME()
540 Terminator terminator{__FILE__, __LINE__}; in RTNAME() local
541 RUNTIME_CHECK(terminator, x.rank() == 0); in RTNAME()
542 RUNTIME_CHECK(terminator, y.rank() == 0); in RTNAME()
543 RUNTIME_CHECK(terminator, x.raw().type == y.raw().type); in RTNAME()
555 terminator.Crash("CharacterCompareScalar: bad string type code %d", in RTNAME()
578 Terminator terminator{__FILE__, __LINE__}; in RTNAME() local
579 RUNTIME_CHECK(terminator, x.raw().type == y.raw().type); in RTNAME()
582 Compare<char>(result, x, y, terminator); in RTNAME()
585 Compare<char16_t>(result, x, y, terminator); in RTNAME()
588 Compare<char32_t>(result, x, y, terminator); in RTNAME()
591 terminator.Crash("CharacterCompareScalar: bad string type code %d", in RTNAME()
635 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
638 LenTrimKind<char>(result, string, kind, terminator); in RTNAME()
641 LenTrimKind<char16_t>(result, string, kind, terminator); in RTNAME()
644 LenTrimKind<char32_t>(result, string, kind, terminator); in RTNAME()
647 terminator.Crash("LEN_TRIM: bad string type code %d", in RTNAME()
654 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
658 terminator.Crash("REPEAT could not allocate storage for result"); in RTNAME()
668 Terminator terminator{sourceFile, sourceLine}; in RTNAME() local
686 terminator.Crash( in RTNAME()
690 RUNTIME_CHECK(terminator, result.Allocate(nullptr, nullptr) == CFI_SUCCESS); in RTNAME()