The search function is broken... tried that.
Xref search is "broken" because it doesn't recognise that function name (unfortunately xref doesn't give a nice page when it can't find a function). One of the reasons for that is the Moodle xref is running at 1.9.3 - 2 revisions behind the current stable release).
Looking at it, I think this function was introduced in 1.9.5 as part of this bug fix (http://tracker.moodle.org/browse/MDL-18273). If you are using Eclipse/Netbeans/Ctags as part of your development you should be able to Ctrl+Click to get taken to where it is declared.
If you still can't find it let me know and I'll take a look when I'm at work tomorrow (I only have a 1.9.4 version on my local dev).
Cheers,
Ian
Looking at it, I think this function was introduced in 1.9.5 as part of this bug fix (http://tracker.moodle.org/browse/MDL-18273). If you are using Eclipse/Netbeans/Ctags as part of your development you should be able to Ctrl+Click to get taken to where it is declared.
If you still can't find it let me know and I'll take a look when I'm at work tomorrow (I only have a 1.9.4 version on my local dev).
Cheers,
Ian