OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:progress_func
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/
download.py
47
def DownloadAndComputeHash(from_stream, to_stream=None,
progress_func
=None):
54
progress_func
: [optional] A function used to report download progress. If
55
provided,
progress_func
is called with progress=0 at the
66
if not
progress_func
:
67
progress_func
= progress_no_op
72
progress_func
(progress=0)
81
progress_func
(size)
83
progress_func
(progress=-1)
/external/chromium_org/native_client_sdk/src/build_tools/
manifest_util.py
61
def DownloadAndComputeHash(from_stream, to_stream=None,
progress_func
=None):
69
progress_func
: [optional] A function used to report download progress. If
70
provided,
progress_func
is called with progress=0 at the
80
if not
progress_func
:
81
progress_func
= progress_no_op
85
progress_func
(progress=0)
94
progress_func
(size)
96
progress_func
(progress=100)
Completed in 47 milliseconds