OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FileApp
(Results
1 - 7
of
7
) sorted by null
/external/chromium-trace/catapult/third_party/Paste/paste/cowbell/
__init__.py
4
from paste.
fileapp
import
FileApp
17
app =
FileApp
(os.path.join(os.path.dirname(__file__), filename))
/external/chromium-trace/catapult/third_party/Paste/tests/
test_fileapp.py
16
from paste import
fileapp
namespace
17
from paste.
fileapp
import *
109
app =
fileapp
.
FileApp
(tempfile)
126
file.write("X" *
fileapp
.CACHE_SIZE) # exceed the cashe size
130
newsize =
fileapp
.CACHE_SIZE + len(content)+12
148
app =
fileapp
.DirectoryApp(tmpdir)
195
content = LETTERS * (1+(
fileapp
.CACHE_SIZE // len(LETTERS)))
198
assert len(content) >
fileapp
.CACHE_SIZE
203
app =
fileapp
.FileApp(tempfile
[
all
...]
/external/chromium-trace/catapult/third_party/WebOb/webob/
static.py
9
'
FileApp
', 'DirectoryApp',
19
class
FileApp
(object):
116
To customize `
FileApp
` instances creation (which is what actually
133
return
FileApp
(path, **self.fileapp_kw)
/external/chromium-trace/catapult/third_party/Paste/paste/
fileapp.py
19
__all__ = ['DataApp', '
FileApp
', 'DirectoryApp', 'ArchiveStore']
170
class
FileApp
(DataApp):
269
FileApp
instances are cached. This app makes sure not to serve any files that are not in a subdirectory.
270
To customize
FileApp
creation override ``DirectoryApp.make_fileapp``
280
make_fileapp =
FileApp
urlparser.py
17
from paste import
fileapp
namespace
353
return
fileapp
.
FileApp
(filename)
478
return
fileapp
.
FileApp
(filename)
584
return
fileapp
._FileIter(file)
wsgilib.py
430
"wsgilib.send_file has been moved to paste.
fileapp
.
FileApp
",
432
from paste import
fileapp
namespace
433
return
fileapp
.
FileApp
(filename)
/external/chromium-trace/catapult/catapult_build/
dev_server.py
13
from paste import
fileapp
namespace
101
class FileAppWithGZipHandling(
fileapp
.
FileApp
):
107
# By default,
FileApp
serves gzip files as their underlying type with
Completed in 550 milliseconds