/external/chromium_org/net/disk_cache/simple/ |
D | simple_synchronous_entry.cc | 121 bool CanOmitEmptyFile(int file_index) { in CanOmitEmptyFile() argument 122 DCHECK_LE(0, file_index); in CanOmitEmptyFile() 123 DCHECK_GT(disk_cache::kSimpleEntryFileCount, file_index); in CanOmitEmptyFile() 124 return file_index == disk_cache::simple_util::GetFileIndexFromStreamIndex(2); in CanOmitEmptyFile() 164 const int file_index = GetFileIndexFromStreamIndex(stream_index); in GetLastEOFOffsetInFile() local 166 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF) in GetLastEOFOffsetInFile() 171 int SimpleEntryStat::GetFileSize(const std::string& key, int file_index) const { in GetFileSize() 173 file_index == 0 ? data_size_[0] + data_size_[1] + sizeof(SimpleFileEOF) in GetFileSize() 299 int file_index = GetFileIndexFromStreamIndex(in_entry_op.index); in ReadData() local 303 DCHECK(!empty_file_omitted_[file_index]); in ReadData() [all …]
|
D | simple_util.cc | 81 int file_index) { in GetFilenameFromEntryHashAndFileIndex() argument 82 return base::StringPrintf("%016" PRIx64 "_%1d", entry_hash, file_index); in GetFilenameFromEntryHashAndFileIndex() 90 int file_index) { in GetFilenameFromKeyAndFileIndex() argument 92 base::StringPrintf("_%1d", file_index); in GetFilenameFromKeyAndFileIndex()
|
D | simple_synchronous_entry.h | 46 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);
|
D | simple_util.h | 45 int file_index); 49 int file_index);
|
/external/qemu/distrib/jpeg-6b/ |
D | jpegtran.c | 344 int file_index; in main() local 379 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); in main() 386 if (file_index != argc-2) { in main() 391 outfilename = argv[file_index+1]; in main() 393 if (file_index != argc-1) { in main() 401 if (file_index < argc-1) { in main() 408 if (file_index < argc) { in main() 409 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in main() 410 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main() 467 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); in main()
|
D | cjpeg.c | 468 int file_index; in main() local 511 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE); in main() 516 if (file_index != argc-2) { in main() 521 outfilename = argv[file_index+1]; in main() 523 if (file_index != argc-1) { in main() 531 if (file_index < argc-1) { in main() 538 if (file_index < argc) { in main() 539 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in main() 540 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main() 574 file_index = parse_switches(&cinfo, argc, argv, 0, TRUE); in main()
|
D | djpeg.c | 431 int file_index; in main() local 476 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE); in main() 481 if (file_index != argc-2) { in main() 486 outfilename = argv[file_index+1]; in main() 488 if (file_index != argc-1) { in main() 496 if (file_index < argc-1) { in main() 503 if (file_index < argc) { in main() 504 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in main() 505 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main() 535 file_index = parse_switches(&cinfo, argc, argv, 0, TRUE); in main()
|
/external/jpeg/ |
D | jpegtran.c | 344 int file_index; in main() local 379 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); in main() 386 if (file_index != argc-2) { in main() 391 outfilename = argv[file_index+1]; in main() 393 if (file_index != argc-1) { in main() 401 if (file_index < argc-1) { in main() 408 if (file_index < argc) { in main() 409 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in main() 410 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main() 467 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); in main()
|
D | cjpeg.c | 468 int file_index; in main() local 511 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE); in main() 516 if (file_index != argc-2) { in main() 521 outfilename = argv[file_index+1]; in main() 523 if (file_index != argc-1) { in main() 531 if (file_index < argc-1) { in main() 538 if (file_index < argc) { in main() 539 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in main() 540 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main() 574 file_index = parse_switches(&cinfo, argc, argv, 0, TRUE); in main()
|
D | djpeg.c | 431 int file_index; in main() local 476 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE); in main() 481 if (file_index != argc-2) { in main() 486 outfilename = argv[file_index+1]; in main() 488 if (file_index != argc-1) { in main() 496 if (file_index < argc-1) { in main() 503 if (file_index < argc) { in main() 504 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in main() 505 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in main() 535 file_index = parse_switches(&cinfo, argc, argv, 0, TRUE); in main()
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io/ |
D | handlers.c | 137 static FILE* GetFileFromIndexString(const char* s, int* file_index) { in GetFileFromIndexString() argument 139 (void**)g_OpenFiles, MAX_OPEN_FILES, s, file_index); in GetFileFromIndexString() 193 int file_index; in HandleFopen() local 211 file_index = AddFileToMap(file); in HandleFopen() 212 if (file_index == -1) { in HandleFopen() 218 *output = PrintfToNewString("fopen\1%s\1%d", filename, file_index); in HandleFopen() 407 int file_index; in HandleFclose() local 417 file = GetFileFromIndexString(file_index_string, &file_index); in HandleFclose() 430 RemoveFileFromMap(file_index); in HandleFclose()
|
/external/chromium/net/disk_cache/ |
D | block_files.cc | 230 int file_index = address.FileNumber(); in GetFile() local 231 if (static_cast<unsigned int>(file_index) >= block_files_.size() || in GetFile() 232 !block_files_[file_index]) { in GetFile() 234 if (!OpenBlockFile(file_index)) in GetFile() 237 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index)); in GetFile() 238 return block_files_[file_index]; in GetFile() 541 int file_index = header->next_file; in RemoveEmptyFile() local 543 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index)); in RemoveEmptyFile() 547 FilePath name = Name(file_index); in RemoveEmptyFile() 550 block_files_[file_index]->Release(); in RemoveEmptyFile() [all …]
|
/external/chromium_org/chrome/browser/ui/views/ |
D | select_file_dialog_extension_unittest.cc | 46 int file_index() const { return file_index_; } in file_index() function in TestListener 101 EXPECT_EQ(kFileIndex, listener->file_index()); in TEST_F() 113 EXPECT_EQ(-1, listener->file_index()); in TEST_F()
|
/external/chromium_org/net/disk_cache/ |
D | block_files.cc | 306 int file_index = address.FileNumber(); in GetFile() local 307 if (static_cast<unsigned int>(file_index) >= block_files_.size() || in GetFile() 308 !block_files_[file_index]) { in GetFile() 310 if (!OpenBlockFile(file_index)) in GetFile() 313 DCHECK_GE(block_files_.size(), static_cast<unsigned int>(file_index)); in GetFile() 314 return block_files_[file_index]; in GetFile() 625 int file_index = header->next_file; in RemoveEmptyFile() local 627 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index)); in RemoveEmptyFile() 632 base::FilePath name = Name(file_index); in RemoveEmptyFile() 635 block_files_[file_index]->Release(); in RemoveEmptyFile() [all …]
|
/external/chromium_org/net/disk_cache/v3/ |
D | block_bitmaps.cc | 112 int file_index = address.FileNumber(); in GetHeaderNumber() local 113 if (static_cast<unsigned int>(file_index) >= bitmaps_.size()) in GetHeaderNumber() 116 return file_index; in GetHeaderNumber()
|
/external/chromium_org/content/renderer/pepper/ |
D | url_request_info_util.cc | 144 int file_index = 0; in CreateWebURLRequest() local 155 file_index++; in CreateWebURLRequest()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_instance.cc | 245 for (unsigned int file_index = 0; file_index < files_created_.size(); in NPP_Destroy() local 246 file_index++) { in NPP_Destroy() 247 base::DeleteFile(files_created_[file_index], false); in NPP_Destroy()
|