DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (495129e490bc)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
# Configuration file.

# Define typed variable "v", read valueset from file.
#variable: v, Version, [/usr/local/lxr/source/versions], [/usr/local/lxr/source/defversion]
#variable: v, Version, [/usr/local/src/dawn/mozilla/versions], [/usr/local/src/dawn/mozilla/defversion]

# Define typed variable "a".  First value is default.
#variable: a, Architecture, (-)

# Define the base url for the LXR files. Tree name (if any) is appended
# to this.
# http:// or https:// are omitted because they can cause odd behavior with
# the port number being appended in situations where the backend server
# doesn't do the SSL decryption itself.
# As long as Apache does "SetEnv HTTPS on" in the right place, this works.
baseurl: mxr.mozilla.org/

# url prefix for bonsai
bonsaihome: http://bonsai.mozilla.org

# These are the templates for the HTML heading, directory listing and
# footer, respectively.
htmlhead: template-head
htmltail: template-tail
htmldir:  template-dir

sourcehead: template-source-head
sourcetail: template-source-tail
sourcedirhead: template-sourcedir-head
sourcedirtail: template-sourcedir-tail

treechooser: template-tree
treeentry: template-tree-entry

revchooser: template-rev
reventry: template-rev-entry

identref: template-ident-fileref

# If there's only one tree being indexed then allow this older
# syntax for backward compatability. "sourceroot" should
# be the directory containing the source we're indexing.
#sourceroot: /home/mozillatrees/nspr/nspr

# If we're indexing more than one tree then include one sourceroot
# entry per tree where each entry is a tree/directory pair.

#XXX: PLEASE KEEP THIS LIST IN ALPHABETICAL ORDER!!! :XXX#
sourceroot: addons /data/mxr-data/addons/addons
sourceprefix: addons addons
sourceroot: aviary101branch /data/mxr-data/aviary101branch/mozilla
sourceprefix: aviary101branch mozilla
sourceroot: aviarybranch /data/mxr-data/aviarybranch/mozilla
sourceprefix: aviarybranch mozilla
sourceroot: bugzilla /data/mxr-data/bugzilla/bugzilla
sourceprefix: bugzilla mozilla/webtools/bugzilla
sourceroot: bugzilla-org /data/mxr-data/bugzilla-org/bugzilla-org
sourceprefix: bugzilla-org bugzilla-org
sourceroot: bugzilla2.18 /data/mxr-data/bugzilla2.18/bugzilla
sourceprefix: bugzilla2.18 mozilla/webtools/bugzilla
sourceroot: bugzilla2.20 /data/mxr-data/bugzilla2.20/bugzilla
sourceprefix: bugzilla2.20 mozilla/webtools/bugzilla
sourceroot: bugzilla2.22 /data/mxr-data/bugzilla2.22/bugzilla
sourceprefix: bugzilla2.22 mozilla/webtools/bugzilla
sourceroot: bugzilla3.0 /data/mxr-data/bugzilla3.0/bugzilla
sourceprefix: bugzilla3.0 mozilla/webtools/bugzilla
sourceroot: bugzilla3.2 /data/mxr-data/bugzilla3.2/bugzilla
sourceprefix: bugzilla3.2 mozilla/webtools/bugzilla
sourceroot: bugzilla3.4 /data/mxr-data/bugzilla3.4/bugzilla
sourceprefix: bugzilla3.4 mozilla/webtools/bugzilla
sourceroot: bugzilla3.6 /data/mxr-data/bugzilla3.6/bugzilla
sourceprefix: bugzilla3.6 mozilla/webtools/bugzilla
sourceroot: build-central /data/mxr-data/build-central/build
sourceprefix: build-central build
alias: build build-central
sourceroot: camino /data/mxr-data/camino/camino
sourceprefix: camino camino
sourceroot: chromium /data/mxr-data/chromium/chromium
sourceprefix: chromium chromium
sourceroot: classic /data/mxr-data/classic/mozilla
sourceprefix: classic mozilla
sourceroot: comm-central /data/mxr-data/comm-central/comm-central
sourceprefix: comm-central comm-central
sourceroot: comm-1.9.1 /data/mxr-data/comm-1.9.1/comm-1.9.1
sourceprefix: comm-1.9.1 comm-1.9.1
sourceroot: comm-1.9.2 /data/mxr-data/comm-1.9.2/comm-1.9.2
sourceprefix: comm-1.9.2 comm-1.9.2
sourceroot: comm-2.0 /data/mxr-data/comm-2.0/comm-2.0
sourceprefix: comm-2.0 comm-2.0
sourceroot: comm-aurora /data/mxr-data/comm-aurora/comm-aurora
sourceprefix: comm-aurora comm-aurora
sourceroot: comm-beta /data/mxr-data/comm-beta/comm-beta
sourceprefix: comm-beta comm-beta
sourceroot: comm-release /data/mxr-data/comm-release/comm-release
sourceprefix: comm-release comm-release
sourceroot: comm-esr10 /data/mxr-data/comm-esr10/comm-esr10
sourceprefix: comm-esr10 comm-esr10
sourceroot: comm-esr17 /data/mxr-data/comm-esr17/comm-esr17
sourceprefix: comm-esr17 comm-esr17
sourceroot: comm-esr24 /data/mxr-data/comm-esr24/comm-esr24
sourceprefix: comm-esr24 comm-esr24
sourceroot: comm-esr31 /data/mxr-data/comm-esr31/comm-esr31
sourceprefix: comm-esr31 comm-esr31
sourceroot: comm-esr38 /data/mxr-data/comm-esr38/comm-esr38
sourceprefix: comm-esr38 comm-esr38
sourceroot: comm-esr45 /data/mxr-data/comm-esr45/comm-esr45
sourceprefix: comm-esr45 comm-esr45
sourceroot: firefox /data/mxr-data/firefox/mozilla
sourceprefix: firefox mozilla
sourceroot: firefox2 /data/mxr-data/firefox2/mozilla
sourceprefix: firefox2 mozilla
sourceroot: fuel /data/mxr-data/fuel/fuel
sourceprefix: fuel mozilla/browser/fuel
sourceroot: gaia /data/mxr-data/gaia/gaia
sourceprefix: gaia gaia
sourceroot: incubator-central /data/mxr-data/incubator-central/incubator
sourceprefix: incubator-central incubator
sourceroot: js /data/mxr-data/js/mozilla
sourceprefix: js mozilla
sourceroot: jss /data/mxr-data/jss/mozilla
sourceprefix: jss jss
sourceroot: l10n /data/mxr-data/l10n/mozilla
sourceprefix: l10n l10n
sourceroot: l10n-central /data/mxr-data/l10n-central/l10n-central
sourceprefix: l10n-central l10n-central
sourceroot: l10n-gaia /data/mxr-data/l10n-gaia/l10n-gaia
sourceprefix: l10n-gaia l10n-gaia
sourceroot: l10n-gaia-v1_0_1 /data/mxr-data/l10n-gaia-v1_1/l10n-gaia-v1_0_1
sourceprefix: l10n-gaia-v1_0_1 l10n-gaia
sourceroot: l10n-gaia-v1_1 /data/mxr-data/l10n-gaia-v1_1/l10n-gaia-v1_1
sourceprefix: l10n-gaia-v1_1 l10n-gaia
sourceroot: l10n-gaia-v1_2 /data/mxr-data/l10n-gaia-v1_2/l10n-gaia-v1_2
sourceprefix: l10n-gaia-v1_2 l10n-gaia
sourceroot: l10n-gaia-v1_3 /data/mxr-data/l10n-gaia-v1_3/l10n-gaia-v1_3
sourceprefix: l10n-gaia-v1_3 l10n-gaia
sourceroot: l10n-mozilla-aurora /data/mxr-data/l10n-mozilla-aurora/l10n
sourceprefix: l10n-mozilla-aurora l10n
sourceroot: l10n-mozilla-beta /data/mxr-data/l10n-mozilla-beta/l10n
sourceprefix: l10n-mozilla-beta l10n
sourceroot: l10n-mozilla-release /data/mxr-data/l10n-mozilla-release/l10n
sourceprefix: l10n-mozilla-release l10n
sourceroot: l10n-aviarybranch /data/mxr-data/l10n-aviarybranch/mozilla
sourceprefix: l10n-aviarybranch l10n
sourceroot: l10n-mozilla1.8 /data/mxr-data/l10n-mozilla1.8/mozilla
sourceprefix: l10n-mozilla1.8 l10n
sourceroot: l10n-mozilla1.8.0 /data/mxr-data/l10n-mozilla1.8.0/mozilla
sourceprefix: l10n-mozilla1.8.0 l10n
sourceroot: l10n-mozilla1.9.1 /data/mxr-data/l10n-mozilla1.9.1/mozilla
sourceprefix: l10n-mozilla1.9.1 l10n
sourceroot: l10n-mozilla1.9.2 /data/mxr-data/l10n-mozilla1.9.2/mozilla
sourceprefix: l10n-mozilla1.9.2 l10n
sourceroot: l10n-mozilla2.0 /data/mxr-data/l10n-mozilla2.0/mozilla
sourceprefix: l10n-mozilla2.0 l10n
sourceroot: labs-central /data/mxr-data/labs-central/labs
sourceprefix: labs-central labs
sourceroot: mobile-browser /data/mxr-data/mobile-browser/mobile-browser
sourceprefix: mobile-browser mozilla/mobile
sourceroot: mozilla /data/mxr-data/mozilla/mozilla
sourceprefix: mozilla mozilla
sourceroot: mozilla-aurora /data/mxr-data/mozilla-aurora/mozilla-aurora
sourceprefix: mozilla-aurora mozilla
sourceroot: mozilla-beta /data/mxr-data/mozilla-beta/mozilla-beta
sourceprefix: mozilla-beta mozilla
sourceroot: mozilla-release /data/mxr-data/mozilla-release/mozilla-release
sourceprefix: mozilla-release mozilla
sourceroot: mozilla-esr10 /data/mxr-data/mozilla-esr10/mozilla-esr10
sourceprefix: mozilla-esr10 mozilla
sourceroot: mozilla-esr17 /data/mxr-data/mozilla-esr17/mozilla-esr17
sourceprefix: mozilla-esr17 mozilla
sourceroot: mozilla-esr24 /data/mxr-data/mozilla-esr24/mozilla-esr24
sourceprefix: mozilla-esr24 mozilla
sourceroot: mozilla-esr31 /data/mxr-data/mozilla-esr31/mozilla-esr31
sourceprefix: mozilla-esr31 mozilla
sourceroot: mozilla-esr38 /data/mxr-data/mozilla-esr38/mozilla-esr38
sourceprefix: mozilla-esr38 mozilla
sourceroot: mozilla-esr45 /data/mxr-data/mozilla-esr45/mozilla-esr45
sourceprefix: mozilla-esr45 mozilla
sourceroot: mozilla-b2g28_v1_3 /data/mxr-data/mozilla-b2g28_v1_3/mozilla-b2g28_v1_3
sourceprefix: mozilla-b2g28_v1_3 mozilla
sourceroot: mozilla-b2g28_v1_3t /data/mxr-data/mozilla-b2g28_v1_3t/mozilla-b2g28_v1_3t
sourceprefix: mozilla-b2g28_v1_3t mozilla
sourceroot: mozilla-b2g30_v1_4 /data/mxr-data/mozilla-b2g30_v1_4/mozilla-b2g30_v1_4
sourceprefix: mozilla-b2g30_v1_4 mozilla
sourceroot: mozilla-b2g32_v2_0 /data/mxr-data/mozilla-b2g32_v2_0/mozilla-b2g32_v2_0
sourceprefix: mozilla-b2g32_v2_0 mozilla
sourceroot: mozilla-b2g34_v2_1 /data/mxr-data/mozilla-b2g34_v2_1/mozilla-b2g34_v2_1
sourceprefix: mozilla-b2g34_v2_1 mozilla
sourceroot: mozilla-b2g37_v2_2 /data/mxr-data/mozilla-b2g37_v2_2/mozilla-b2g37_v2_2
sourceprefix: mozilla-b2g37_v2_2 mozilla
sourceroot: mozilla-central /data/mxr-data/mozilla-central/mozilla-central
sourceprefix: mozilla-central mozilla
sourceroot: mozilla-com /data/mxr-data/mozillasvn/svn.mozilla.org/projects/www.mozilla.com
sourceprefix: mozilla-com mozilla-com
sourceroot: mozilla-org /data/mxr-data/mozilla-org/mozilla-org
sourceprefix: mozilla-org mozilla-org
sourceroot: mozilla1.7 /data/mxr-data/mozilla1.7/mozilla
sourceprefix: mozilla1.7 mozilla
sourceroot: mozilla1.8 /data/mxr-data/mozilla1.8/mozilla
sourceprefix: mozilla1.8 mozilla
sourceroot: mozilla1.8.0 /data/mxr-data/mozilla1.8.0/mozilla
sourceprefix: mozilla1.8.0 mozilla
sourceroot: mozilla1.9.1 /data/mxr-data/mozilla1.9.1/mozilla
sourceprefix: mozilla1.9.1 mozilla
sourceroot: mozilla1.9.2 /data/mxr-data/mozilla1.9.2/mozilla
sourceprefix: mozilla1.9.2 mozilla
sourceroot: mozilla2.0 /data/mxr-data/mozilla2.0/mozilla
sourceprefix: mozilla2.0 mozilla
sourceroot: mozillasvn /data/mxr-data/mozillasvn/svn.mozilla.org
sourceprefix: mozillasvn svn.mozilla.org
sourceroot: mozillasvn-all /data/mxr-data/mozillasvn-all/svn.mozilla.org
sourceprefix: mozillasvn-all svn.mozilla.org
sourceroot: mozillausers-central /data/mxr-data/mozillausers-central/users
sourceprefix: mozillausers-central mozillausers
sourceroot: mozmill-tests /data/mxr-data/mozmill-tests/mozmill-tests
sourceprefix: mozmill-tests mozmill-tests
sourceroot: nspr /data/mxr-data/nspr/mozilla
sourceprefix: nspr nspr
sourceroot: nspr-cvs /data/mxr-data/nspr-cvs/mozilla
sourceprefix: nspr-cvs mozilla/nsprpub
sourceroot: nss /data/mxr-data/nss/mozilla
sourceprefix: nss nss
sourceroot: projects-central /data/mxr-data/projects-central/projects
sourceprefix: projects-central projects
sourceroot: python-nss /data/mxr-data/python-nss/mozilla
sourceprefix: python-nss python-nss
sourceroot: rust /data/mxr-data/rust/rust
sourceprefix: rust rust
sourceroot: seamonkey /data/mxr-data/seamonkey/mozilla
sourceprefix: seamonkey mozilla
sourceroot: security /data/mxr-data/security/mozilla
sourceprefix: security mozilla
sourceroot: services-central /data/mxr-data/services-central/services-central
sourceprefix: services-central services
sourceroot: servo /data/mxr-data/servo/servo
sourceprefix: servo servo
sourceroot: spreadfirefox /data/mxr-data/mozillasvn/svn.mozilla.org/projects/spreadfirefox.com
sourceprefix: spreadfirefox spreadfirefox
sourceroot: tamarin-central /data/mxr-data/tamarin-central/tamarin-central
sourceprefix: tamarin-central tamarin
sourceroot: webtools /data/mxr-data/webtools/mozilla/webtools
sourceprefix: webtools mozilla/webtools
sourceroot: webtools-central /data/mxr-data/webtools-central/webtools
sourceprefix: webtools-central webtools
#XXX: PLEASE KEEP THIS LIST IN ALPHABETICAL ORDER!!! :XXX#

# name of the source.
srcrootname: mozilla

# prepend this to url
#virtroot: /mxr-test

# "#include <foo.h>" is mapped to this directory (in the LXR source
# tree)
incprefix: /include

# The database files go here.
#dbdir: /opt/lxr-data/db

# If using multiple trees, give the parent directory containing
# dirs for each tree. For mozilla, /data/mxr-data contains
# a directory for each tree. Each of these directories contains
# the tree's databases, and a mozilla directory containing the
# source.
dbdir: /data/mxr-data

# Glimpse can be found here.
glimpsebin: /usr/bin/glimpse

# The power of regexps.  This is pretty Linux-specific, but quite
# useful.  Tinker with it and see what it does.  (How's that for
# documentation?)
#map: /include/asm[^\/]*/ /include/asm-$a/
#map: /arch/[^\/]+/ /arch/$a/