/external/chromium_org/base/files/ |
scoped_platform_file_closer.cc | 11 if (file && *file != kInvalidPlatformFileValue)
|
memory_mapped_file_posix.cc | 17 : file_(kInvalidPlatformFileValue), 26 if (fstat(file_, &file_stat) == kInvalidPlatformFileValue) { 45 if (file_ != kInvalidPlatformFileValue) 50 file_ = kInvalidPlatformFileValue;
|
memory_mapped_file.cc | 50 if (file_ == kInvalidPlatformFileValue) {
|
file.cc | 7 // TODO(rvargas): remove this (needed for kInvalidPlatformFileValue). 22 : file_(kInvalidPlatformFileValue), 30 : file_(kInvalidPlatformFileValue),
|
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
image_writer_utils.cc | 14 ImageWriter::ImageWriter() : file_(base::kInvalidPlatformFileValue), 19 if (file_ != base::kInvalidPlatformFileValue) 24 if (file_ != base::kInvalidPlatformFileValue) 26 DCHECK_EQ(base::kInvalidPlatformFileValue, file_); 42 if (file_ != base::kInvalidPlatformFileValue && 44 file_ = base::kInvalidPlatformFileValue; 72 ImageReader::ImageReader() : file_(base::kInvalidPlatformFileValue) { 76 if (file_ != base::kInvalidPlatformFileValue) 81 if (file_ != base::kInvalidPlatformFileValue) 83 DCHECK_EQ(base::kInvalidPlatformFileValue, file_) [all...] |
/external/chromium_org/chrome/common/media_galleries/ |
picasa_types.cc | 30 *platform_file = base::kInvalidPlatformFileValue; 59 : indicator_file(base::kInvalidPlatformFileValue), 60 category_file(base::kInvalidPlatformFileValue), 61 date_file(base::kInvalidPlatformFileValue), 62 filename_file(base::kInvalidPlatformFileValue), 63 name_file(base::kInvalidPlatformFileValue), 64 token_file(base::kInvalidPlatformFileValue), 65 uid_file(base::kInvalidPlatformFileValue) {
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
local_file_reader.cc | 33 DCHECK_EQ(base::kInvalidPlatformFileValue, *platform_file); 42 if (file == base::kInvalidPlatformFileValue) { 67 DCHECK_NE(base::kInvalidPlatformFileValue, platform_file); 74 // Or, if |platform_file| is kInvalidPlatformFileValue, does nothing. 78 if (platform_file != base::kInvalidPlatformFileValue) { 92 platform_file_(base::kInvalidPlatformFileValue) { 104 platform_file_ = base::kInvalidPlatformFileValue; 118 platform_file_(base::kInvalidPlatformFileValue), 131 DCHECK_EQ(base::kInvalidPlatformFileValue, platform_file_); 150 DCHECK_NE(base::kInvalidPlatformFileValue, platform_file_) [all...] |
/external/chromium_org/base/ |
platform_file.cc | 25 return kInvalidPlatformFileValue;
|
platform_file_unittest.cc | 42 EXPECT_EQ(kInvalidPlatformFileValue, file); 53 EXPECT_NE(kInvalidPlatformFileValue, file); 65 EXPECT_NE(kInvalidPlatformFileValue, file); 76 EXPECT_EQ(kInvalidPlatformFileValue, file); 87 EXPECT_NE(kInvalidPlatformFileValue, file); 101 EXPECT_NE(kInvalidPlatformFileValue, file); 123 EXPECT_NE(kInvalidPlatformFileValue, file); 135 EXPECT_NE(kInvalidPlatformFileValue, file); 155 EXPECT_NE(kInvalidPlatformFileValue, file); 233 EXPECT_NE(kInvalidPlatformFileValue, file) [all...] |
platform_file_win.cc | 97 if (file != kInvalidPlatformFileValue) 107 if (file == kInvalidPlatformFileValue) 124 if (file == kInvalidPlatformFileValue || offset < 0) 137 if (file == kInvalidPlatformFileValue || size < 0) 158 if (file == kInvalidPlatformFileValue || size < 0) 183 if (file == kInvalidPlatformFileValue) 212 if (file == kInvalidPlatformFileValue) 238 return ((file != kInvalidPlatformFileValue) && ::FlushFileBuffers(file)); 244 if (file == kInvalidPlatformFileValue)
|
platform_file.h | 129 const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE; 133 const PlatformFile kInvalidPlatformFileValue = -1; 265 // if (file != kInvalidPlatformFileValue) 279 *value_ = kInvalidPlatformFileValue;
|
/external/chromium_org/webkit/glue/ |
webfileutilities_impl.cc | 59 return base::kInvalidPlatformFileValue; 71 if (handle == base::kInvalidPlatformFileValue) 74 handle = base::kInvalidPlatformFileValue; 80 if (handle == base::kInvalidPlatformFileValue || !data || length <= 0)
|
/external/chromium_org/chrome/browser/extensions/api/serial/ |
serial_io_handler_posix.cc | 19 DCHECK_NE(file(), base::kInvalidPlatformFileValue); 27 DCHECK_NE(file(), base::kInvalidPlatformFileValue); 101 DCHECK_NE(file(), base::kInvalidPlatformFileValue); 111 DCHECK_NE(file(), base::kInvalidPlatformFileValue);
|
/external/chromium_org/net/disk_cache/simple/ |
simple_test_util.cc | 21 if (base::kInvalidPlatformFileValue == entry_file)
|
/external/chromium_org/content/renderer/pepper/ |
ppb_broker_impl.cc | 34 pipe_handle_(PlatformFileToInt(base::kInvalidPlatformFileValue)), 46 pipe_handle_ = PlatformFileToInt(base::kInvalidPlatformFileValue); 100 if (pipe_handle_ == PlatformFileToInt(base::kInvalidPlatformFileValue)) 115 PlatformFileToInt(base::kInvalidPlatformFileValue)); 117 handle == PlatformFileToInt(base::kInvalidPlatformFileValue));
|
/external/chromium_org/courgette/ |
memory_allocator.cc | 18 TempFile::TempFile() : file_(base::kInvalidPlatformFileValue) { 28 file_ = base::kInvalidPlatformFileValue; 33 DCHECK(file_ == base::kInvalidPlatformFileValue); 45 if (file_ == base::kInvalidPlatformFileValue) 52 return file_ != base::kInvalidPlatformFileValue;
|
/external/chromium/webkit/glue/ |
webfileutilities_impl.cc | 108 return base::kInvalidPlatformFileValue; 119 if (handle == base::kInvalidPlatformFileValue) 122 handle = base::kInvalidPlatformFileValue; 128 if (handle == base::kInvalidPlatformFileValue) 136 if (handle == base::kInvalidPlatformFileValue || offset < 0) 145 if (handle == base::kInvalidPlatformFileValue || !data || length <= 0) 156 if (handle == base::kInvalidPlatformFileValue || !data || length <= 0)
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
safe_picasa_album_table_reader.cc | 33 if (album_table_files_.indicator_file == base::kInvalidPlatformFileValue || 34 album_table_files_.category_file == base::kInvalidPlatformFileValue || 35 album_table_files_.date_file == base::kInvalidPlatformFileValue || 36 album_table_files_.filename_file == base::kInvalidPlatformFileValue || 37 album_table_files_.name_file == base::kInvalidPlatformFileValue || 38 album_table_files_.token_file == base::kInvalidPlatformFileValue || 39 album_table_files_.uid_file == base::kInvalidPlatformFileValue) {
|
/external/chromium_org/chrome/browser/local_discovery/ |
pwg_raster_converter.cc | 26 FileHandlers() : pdf_file_(base::kInvalidPlatformFileValue), 27 pwg_file_(base::kInvalidPlatformFileValue) { } 31 if (pdf_file_ != base::kInvalidPlatformFileValue) 33 if (pwg_file_ != base::kInvalidPlatformFileValue) 49 DCHECK_NE(pdf_file_, base::kInvalidPlatformFileValue); 52 pdf_file_ = base::kInvalidPlatformFileValue; 57 DCHECK_NE(pwg_file_, base::kInvalidPlatformFileValue); 60 pwg_file_ = base::kInvalidPlatformFileValue; 94 return pdf_file_ != base::kInvalidPlatformFileValue && 95 pwg_file_ != base::kInvalidPlatformFileValue; [all...] |
/external/chromium_org/net/base/ |
file_stream_context.cc | 45 : file(base::kInvalidPlatformFileValue) { 58 if (file_ != base::kInvalidPlatformFileValue) 63 } else if (file_ != base::kInvalidPlatformFileValue) { 92 if (file_ == base::kInvalidPlatformFileValue) { 105 if (file_ != base::kInvalidPlatformFileValue) { 107 file_ = base::kInvalidPlatformFileValue; 218 if (file == base::kInvalidPlatformFileValue) 232 if (file_ == base::kInvalidPlatformFileValue) 242 if (file_ == base::kInvalidPlatformFileValue) { 250 file_ = base::kInvalidPlatformFileValue; [all...] |
/external/chromium/base/ |
platform_file.h | 25 const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE; 28 const PlatformFile kInvalidPlatformFileValue = -1; 152 // if (file != kInvalidPlatformFileValue) 166 *value_ = kInvalidPlatformFileValue;
|
/external/chromium_org/chrome/renderer/spellchecker/ |
hunspell_engine.cc | 41 : file_(base::kInvalidPlatformFileValue), 135 if (file_ != base::kInvalidPlatformFileValue) 142 return file_ != base::kInvalidPlatformFileValue;
|
cocoa_spelling_engine_mac.cc | 17 DCHECK(bdict_file == base::kInvalidPlatformFileValue);
|
/external/chromium_org/ipc/ |
ipc_platform_file.h | 27 return base::kInvalidPlatformFileValue;
|
/external/chromium_org/content/renderer/ |
mhtml_generator.cc | 17 file_(base::kInvalidPlatformFileValue) { 45 file_ = base::kInvalidPlatformFileValue;
|