Searched refs:file_index (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/
H A Dselect_file_dialog_extension_unittest.cc46 int file_index() const { return file_index_; } function in class:TestListener
101 EXPECT_EQ(kFileIndex, listener->file_index());
113 EXPECT_EQ(-1, listener->file_index());
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_synchronous_entry.cc121 bool CanOmitEmptyFile(int file_index) { argument
122 DCHECK_LE(0, file_index);
123 DCHECK_GT(disk_cache::kSimpleEntryFileCount, file_index);
124 return file_index == disk_cache::simple_util::GetFileIndexFromStreamIndex(2);
164 const int file_index = GetFileIndexFromStreamIndex(stream_index); local
166 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF)
171 int SimpleEntryStat::GetFileSize(const std::string& key, int file_index) const {
173 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF)
299 int file_index = GetFileIndexFromStreamIndex(in_entry_op.index); local
303 DCHECK(!empty_file_omitted_[file_index]);
327 int file_index = GetFileIndexFromStreamIndex(index); local
655 const int file_index = GetFileIndexFromStreamIndex(stream_index); local
741 MaybeOpenFile( int file_index, PlatformFileError* out_error) argument
759 MaybeCreateFile( int file_index, FileRequired file_required, PlatformFileError* out_error) argument
1023 InitializeCreatedFile( int file_index, CreateEntryResult* out_result) argument
1132 int file_index = GetFileIndexFromStreamIndex(index); local
1160 DeleteFileForEntryHash( const FilePath& path, const uint64 entry_hash, const int file_index) argument
1200 GetFilenameFromFileIndex(int file_index) argument
[all...]
H A Dsimple_util.h45 int file_index);
49 int file_index);
H A Dsimple_util.cc81 int file_index) {
82 return base::StringPrintf("%016" PRIx64 "_%1d", entry_hash, file_index);
90 int file_index) {
92 base::StringPrintf("_%1d", file_index);
80 GetFilenameFromEntryHashAndFileIndex(uint64 entry_hash, int file_index) argument
89 GetFilenameFromKeyAndFileIndex(const std::string& key, int file_index) argument
H A Dsimple_synchronous_entry.h46 int GetLastEOFOffsetInFile(const std::string& key, int file_index) const;
47 int GetFileSize(const std::string& key, int file_index) const;
215 bool MaybeOpenFile(int file_index,
220 bool MaybeCreateFile(int file_index,
299 int file_index);
305 base::FilePath GetFilenameFromFileIndex(int file_index);
/external/jpeg/
H A Dcjpeg.c468 int file_index; local
511 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE);
516 if (file_index != argc-2) {
521 outfilename = argv[file_index+1];
523 if (file_index != argc-1) {
531 if (file_index < argc-1) {
538 if (file_index < argc) {
539 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
540 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]);
574 file_index
[all...]
H A Djpegtran.c344 int file_index; local
379 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE);
386 if (file_index != argc-2) {
391 outfilename = argv[file_index+1];
393 if (file_index != argc-1) {
401 if (file_index < argc-1) {
408 if (file_index < argc) {
409 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
410 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]);
467 file_index
[all...]
H A Ddjpeg.c431 int file_index; local
476 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE);
481 if (file_index != argc-2) {
486 outfilename = argv[file_index+1];
488 if (file_index != argc-1) {
496 if (file_index < argc-1) {
503 if (file_index < argc) {
504 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
505 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]);
535 file_index
[all...]
/external/qemu/distrib/jpeg-6b/
H A Dcjpeg.c468 int file_index; local
511 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE);
516 if (file_index != argc-2) {
521 outfilename = argv[file_index+1];
523 if (file_index != argc-1) {
531 if (file_index < argc-1) {
538 if (file_index < argc) {
539 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
540 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]);
574 file_index
[all...]
H A Djpegtran.c344 int file_index; local
379 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE);
386 if (file_index != argc-2) {
391 outfilename = argv[file_index+1];
393 if (file_index != argc-1) {
401 if (file_index < argc-1) {
408 if (file_index < argc) {
409 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
410 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]);
467 file_index
[all...]
H A Ddjpeg.c431 int file_index; local
476 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE);
481 if (file_index != argc-2) {
486 outfilename = argv[file_index+1];
488 if (file_index != argc-1) {
496 if (file_index < argc-1) {
503 if (file_index < argc) {
504 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) {
505 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]);
535 file_index
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/
H A Dhandlers.c134 * @param[out] file_index The index of this file.
137 static FILE* GetFileFromIndexString(const char* s, int* file_index) { argument
139 (void**)g_OpenFiles, MAX_OPEN_FILES, s, file_index);
193 int file_index; local
211 file_index = AddFileToMap(file);
212 if (file_index == -1) {
218 *output = PrintfToNewString("fopen\1%s\1%d", filename, file_index);
407 int file_index; local
417 file = GetFileFromIndexString(file_index_string, &file_index);
430 RemoveFileFromMap(file_index);
[all...]
/external/chromium_org/net/disk_cache/v3/
H A Dblock_bitmaps.cc112 int file_index = address.FileNumber(); local
113 if (static_cast<unsigned int>(file_index) >= bitmaps_.size())
116 return file_index;
/external/chromium/net/disk_cache/
H A Dblock_files.cc230 int file_index = address.FileNumber(); local
231 if (static_cast<unsigned int>(file_index) >= block_files_.size() ||
232 !block_files_[file_index]) {
234 if (!OpenBlockFile(file_index))
237 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index));
238 return block_files_[file_index];
541 int file_index = header->next_file; local
543 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index));
547 FilePath name = Name(file_index);
550 block_files_[file_index]
[all...]
/external/chromium_org/net/disk_cache/
H A Dblock_files.cc306 int file_index = address.FileNumber(); local
307 if (static_cast<unsigned int>(file_index) >= block_files_.size() ||
308 !block_files_[file_index]) {
310 if (!OpenBlockFile(file_index))
313 DCHECK_GE(block_files_.size(), static_cast<unsigned int>(file_index));
314 return block_files_[file_index];
625 int file_index = header->next_file; local
627 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index));
632 base::FilePath name = Name(file_index);
635 block_files_[file_index]
[all...]
/external/chromium_org/content/renderer/pepper/
H A Durl_request_info_util.cc144 int file_index = 0; local
155 file_index++;
/external/chromium_org/content/child/npapi/
H A Dplugin_instance.cc245 for (unsigned int file_index = 0; file_index < files_created_.size();
246 file_index++) {
247 base::DeleteFile(files_created_[file_index], false);

Completed in 384 milliseconds