These are custom functions that you can see in Programmability - Functions folders in SSMS.
@hkeric.wci posted how to create your own a long time ago.