MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ALICE_upper_case

Function ALICE_upper_case

src/alice/alice.cpp:625–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623//
624
625void ALICE_upper_case(const TEXT* in, TEXT* out, const size_t buf_size)
626{
627 const TEXT* const end = out + buf_size - 1;
628 for (TEXT c = *in++; c && out < end; c = *in++) {
629 *out++ = (c >= 'a' && c <= 'z') ? c - 'a' + 'A' : c;
630 }
631 *out = 0;
632}
633
634
635//____________________________________________________________

Callers 2

askFunction · 0.85
aliceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected