- BackdropMatchPathTestCase::testBackdropMatchPath in core/
modules/ simpletest/ tests/ path.test - Run through our test cases, making sure each one works as expected.
- drupal_match_path in core/
includes/ drupal.inc - Check if a path matches any pattern in a set of patterns.
- LayoutPathTest::testLayoutPath in core/
modules/ layout/ tests/ layout.test - Tests that null paths (in default layouts) don't cause problems.
- PathLayoutAccess::checkAccess in core/
modules/ layout/ plugins/ access/ path_layout_access.inc - Checks for access based on the available context.
- path_is_admin in core/
includes/ path.inc - Determines whether a path is in the administrative section of the site.
- user_is_login_path in core/
modules/ user/ user.module - Determines whether a path is one related to the user login process.