OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kOneMB
(Results
1 - 4
of
4
) sorted by null
/external/chromium/base/test/
test_file_util_win.cc
20
static const ptrdiff_t
kOneMB
= 1024 * 1024;
57
kOneMB
,
61
// If the file size isn't a multiple of
kOneMB
, we'll need special
68
::ReadFile(file_handle, buffer,
kOneMB
, &bytes_read, NULL);
72
if (bytes_read <
kOneMB
) {
77
ZeroMemory(buffer + bytes_read,
kOneMB
- bytes_read);
84
DCHECK((total_bytes %
kOneMB
) == 0);
86
if (!::WriteFile(file_handle, buffer,
kOneMB
, &bytes_written, NULL) ||
87
bytes_written !=
kOneMB
) {
/external/chromium_org/base/test/
test_file_util_win.cc
22
static const ptrdiff_t
kOneMB
= 1024 * 1024;
153
kOneMB
,
157
// If the file size isn't a multiple of
kOneMB
, we'll need special
164
::ReadFile(file_handle, buffer,
kOneMB
, &bytes_read, NULL);
168
if (bytes_read <
kOneMB
) {
173
ZeroMemory(buffer + bytes_read,
kOneMB
- bytes_read);
180
DCHECK((total_bytes %
kOneMB
) == 0);
182
if (!::WriteFile(file_handle, buffer,
kOneMB
, &bytes_written, NULL) ||
183
bytes_written !=
kOneMB
) {
/external/chromium/net/disk_cache/
backend_unittest.cc
[
all
...]
/external/chromium_org/net/disk_cache/
backend_unittest.cc
[
all
...]
Completed in 95 milliseconds