Home
last modified time | relevance | path

Searched refs:file_index (Results 1 – 25 of 76) sorted by relevance

1234

/external/cronet/stable/net/disk_cache/simple/
Dsimple_file_tracker.cc80 int file_index = static_cast<int>(subfile); in Register() local
82 owners_files->state[file_index]); in Register()
83 owners_files->files[file_index] = std::move(file); in Register()
84 owners_files->state[file_index] = TrackedFiles::TF_REGISTERED; in Register()
99 int file_index = static_cast<int>(subfile); in Acquire() local
101 DCHECK_EQ(TrackedFiles::TF_REGISTERED, owners_files->state[file_index]); in Acquire()
102 owners_files->state[file_index] = TrackedFiles::TF_ACQUIRED; in Acquire()
108 if (owners_files->files[file_index] == nullptr) { in Acquire()
114 owners_files->files[file_index].get()); in Acquire()
145 int file_index = static_cast<int>(subfile); in Release() local
[all …]
Dsimple_synchronous_entry.cc81 bool CanOmitEmptyFile(int file_index) { in CanOmitEmptyFile() argument
82 DCHECK_GE(file_index, 0); in CanOmitEmptyFile()
83 DCHECK_LT(file_index, kSimpleEntryNormalFileCount); in CanOmitEmptyFile()
84 return file_index == simple_util::GetFileIndexFromStreamIndex(2); in CanOmitEmptyFile()
108 SimpleFileTracker::SubFile SubFileForFileIndex(int file_index) { in SubFileForFileIndex() argument
109 DCHECK_GT(kSimpleEntryNormalFileCount, file_index); in SubFileForFileIndex()
110 return file_index == 0 ? SimpleFileTracker::SubFile::FILE_0 in SubFileForFileIndex()
290 int64_t SimpleEntryStat::GetFileSize(size_t key_length, int file_index) const { in GetFileSize()
292 if (file_index == 0) { in GetFileSize()
604 int file_index = GetFileIndexFromStreamIndex(in_entry_op.index); in ReadData() local
[all …]
Dsimple_util.cc62 int file_index) { in GetFilenameFromEntryFileKeyAndFileIndex() argument
64 return base::StringPrintf("%016" PRIx64 "_%1d", key.entry_hash, file_index); in GetFilenameFromEntryFileKeyAndFileIndex()
67 key.entry_hash, file_index, key.doom_generation); in GetFilenameFromEntryFileKeyAndFileIndex()
80 int file_index) { in GetFilenameFromKeyAndFileIndex() argument
82 base::StringPrintf("_%1d", file_index); in GetFilenameFromKeyAndFileIndex()
Dsimple_synchronous_entry.h73 int GetLastEOFOffsetInFile(size_t key_length, int file_index) const;
74 int64_t GetFileSize(size_t key_length, int file_index) const;
356 int file_index,
362 int file_index,
376 bool CheckHeaderAndKey(base::File* file, int file_index);
407 int file_index,
415 int file_index,
486 int file_index,
497 base::FilePath GetFilenameFromFileIndex(int file_index) const;
/external/cronet/tot/net/disk_cache/simple/
Dsimple_file_tracker.cc80 int file_index = static_cast<int>(subfile); in Register() local
82 owners_files->state[file_index]); in Register()
83 owners_files->files[file_index] = std::move(file); in Register()
84 owners_files->state[file_index] = TrackedFiles::TF_REGISTERED; in Register()
99 int file_index = static_cast<int>(subfile); in Acquire() local
101 DCHECK_EQ(TrackedFiles::TF_REGISTERED, owners_files->state[file_index]); in Acquire()
102 owners_files->state[file_index] = TrackedFiles::TF_ACQUIRED; in Acquire()
108 if (owners_files->files[file_index] == nullptr) { in Acquire()
114 owners_files->files[file_index].get()); in Acquire()
145 int file_index = static_cast<int>(subfile); in Release() local
[all …]
Dsimple_synchronous_entry.cc81 bool CanOmitEmptyFile(int file_index) { in CanOmitEmptyFile() argument
82 DCHECK_GE(file_index, 0); in CanOmitEmptyFile()
83 DCHECK_LT(file_index, kSimpleEntryNormalFileCount); in CanOmitEmptyFile()
84 return file_index == simple_util::GetFileIndexFromStreamIndex(2); in CanOmitEmptyFile()
108 SimpleFileTracker::SubFile SubFileForFileIndex(int file_index) { in SubFileForFileIndex() argument
109 DCHECK_GT(kSimpleEntryNormalFileCount, file_index); in SubFileForFileIndex()
110 return file_index == 0 ? SimpleFileTracker::SubFile::FILE_0 in SubFileForFileIndex()
290 int64_t SimpleEntryStat::GetFileSize(size_t key_length, int file_index) const { in GetFileSize()
292 if (file_index == 0) { in GetFileSize()
604 int file_index = GetFileIndexFromStreamIndex(in_entry_op.index); in ReadData() local
[all …]
Dsimple_util.cc62 int file_index) { in GetFilenameFromEntryFileKeyAndFileIndex() argument
64 return base::StringPrintf("%016" PRIx64 "_%1d", key.entry_hash, file_index); in GetFilenameFromEntryFileKeyAndFileIndex()
67 key.entry_hash, file_index, key.doom_generation); in GetFilenameFromEntryFileKeyAndFileIndex()
80 int file_index) { in GetFilenameFromKeyAndFileIndex() argument
82 base::StringPrintf("_%1d", file_index); in GetFilenameFromKeyAndFileIndex()
Dsimple_synchronous_entry.h73 int GetLastEOFOffsetInFile(size_t key_length, int file_index) const;
74 int64_t GetFileSize(size_t key_length, int file_index) const;
356 int file_index,
362 int file_index,
376 bool CheckHeaderAndKey(base::File* file, int file_index);
407 int file_index,
415 int file_index,
486 int file_index,
497 base::FilePath GetFilenameFromFileIndex(int file_index) const;
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/debuginfo/
Dv1_1.0_224_frozen.wrong_attr.stack.part.pbtxt.debug63 file_index: 33
72 file_index: 49
81 file_index: 38
90 file_index: 49
99 file_index: 44
108 file_index: 49
117 file_index: 44
126 file_index: 49
135 file_index: 54
144 file_index: 49
[all …]
Dv1_1.0_224_frozen.wrong_attr.line.part.pbtxt.debug63 file_index: 33
72 file_index: 49
81 file_index: 38
90 file_index: 49
99 file_index: 44
108 file_index: 49
117 file_index: 44
126 file_index: 49
135 file_index: 54
144 file_index: 49
[all …]
/external/google-breakpad/src/tools/python/
Dfilter_syms.py142 file_index = int(file_info[0])
146 self.unique_files[file_name] = file_index
150 self.duplicate_files[file_index] = existing_file_index
166 file_index = int(line_info[3])
167 line_info[3] = str(self.duplicate_files.get(file_index, file_index))
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dmake_tf_record_dataset_test.py38 file_index=[None, 1],
42 def testRead(self, batch_size, num_epochs, file_index, num_parallel_reads, argument
44 if file_index is None:
47 file_pattern = self._filenames[file_index]
66 file_index,
/external/libjpeg-turbo/
Ddjpeg.c539 int file_index; in djpeg() local
578 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE); in djpeg()
586 if (file_index != argc - 2) { in djpeg()
591 outfilename = argv[file_index + 1]; in djpeg()
593 if (file_index != argc - 1) { in djpeg()
601 if (file_index < argc - 1) { in djpeg()
608 if (file_index < argc) { in djpeg()
609 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in djpeg()
610 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in djpeg()
647 if (file_index < argc) in djpeg()
[all …]
Dcjpeg.c570 int file_index; in cjpeg() local
608 file_index = parse_switches(&cinfo, argc, argv, 0, FALSE); in cjpeg()
617 if (file_index != argc - 2) { in cjpeg()
622 outfilename = argv[file_index + 1]; in cjpeg()
624 if (file_index != argc - 1) { in cjpeg()
633 if (file_index < argc - 1) { in cjpeg()
640 if (file_index < argc) { in cjpeg()
641 if ((input_file = fopen(argv[file_index], READ_BINARY)) == NULL) { in cjpeg()
642 fprintf(stderr, "%s: can't open %s\n", progname, argv[file_index]); in cjpeg()
714 file_index = parse_switches(&cinfo, argc, argv, 0, TRUE); in cjpeg()
Djpegtran.c471 int file_index; in jpegtran() local
499 file_index = parse_switches(&dstinfo, argc, argv, 0, FALSE); in jpegtran()
509 if (file_index != argc - 2) { in jpegtran()
514 outfilename = argv[file_index + 1]; in jpegtran()
516 if (file_index != argc - 1) { in jpegtran()
524 if (file_index < argc - 1) { in jpegtran()
531 if (file_index < argc) { in jpegtran()
532 if ((fp = fopen(argv[file_index], READ_BINARY)) == NULL) { in jpegtran()
534 argv[file_index]); in jpegtran()
676 file_index = parse_switches(&dstinfo, argc, argv, 0, TRUE); in jpegtran()
/external/liburing/src/include/
Dliburing.h398 unsigned int file_index) in __io_uring_set_target_fixed_file() argument
401 sqe->file_index = file_index + 1; in __io_uring_set_target_fixed_file()
411 sqe->file_index = 0; in io_uring_initialize_sqe()
634 unsigned int file_index) in io_uring_prep_accept_direct() argument
638 if (file_index == IORING_FILE_INDEX_ALLOC) in io_uring_prep_accept_direct()
639 file_index--; in io_uring_prep_accept_direct()
640 __io_uring_set_target_fixed_file(sqe, file_index); in io_uring_prep_accept_direct()
739 unsigned file_index) in io_uring_prep_openat_direct() argument
743 if (file_index == IORING_FILE_INDEX_ALLOC) in io_uring_prep_openat_direct()
744 file_index--; in io_uring_prep_openat_direct()
[all …]
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtf_record_test_base.py218 file_index=None, argument
222 if file_index is not None:
223 file_indices = [file_index]
301 def _verify_records(self, outputs, batch_size, file_index, num_epochs, argument
303 if file_index is not None:
304 if isinstance(file_index, list):
305 file_indices = file_index
307 file_indices = [file_index]
/external/pytorch/third_party/miniz-2.1.0/
Dminiz.h1153 mz_bool mz_zip_reader_is_file_a_directory(mz_zip_archive *pZip, mz_uint file_index);
1156 mz_bool mz_zip_reader_is_file_encrypted(mz_zip_archive *pZip, mz_uint file_index);
1159 mz_bool mz_zip_reader_is_file_supported(mz_zip_archive *pZip, mz_uint file_index);
1163 mz_uint mz_zip_reader_get_filename(mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_ui…
1169 …_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags, mz_uint32 *file_index);
1172 mz_bool mz_zip_reader_file_stat(mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat …
1184 mz_bool mz_zip_reader_extract_to_mem_no_alloc(mz_zip_archive *pZip, mz_uint file_index, void *pBuf,…
1188 mz_bool mz_zip_reader_extract_to_mem(mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t b…
1194 void *mz_zip_reader_extract_to_heap(mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uin…
1198 mz_bool mz_zip_reader_extract_to_callback(mz_zip_archive *pZip, mz_uint file_index, mz_file_write_f…
[all …]
/external/cronet/stable/testing/trigger_scripts/
Dperf_device_trigger_unittest.py119 file_index = 0
120 file_index = file_index + 1
136 files['base_trigger_dimensions%d.json' % file_index] = task
137 file_index = file_index + 1
/external/cronet/tot/testing/trigger_scripts/
Dperf_device_trigger_unittest.py119 file_index = 0
120 file_index = file_index + 1
136 files['base_trigger_dimensions%d.json' % file_index] = task
137 file_index = file_index + 1
/external/cronet/tot/net/disk_cache/blockfile/
Dblock_files.cc299 int file_index = address.FileNumber(); in GetFile() local
300 if (static_cast<unsigned int>(file_index) >= block_files_.size() || in GetFile()
301 !block_files_[file_index]) { in GetFile()
303 if (!OpenBlockFile(file_index)) in GetFile()
306 DCHECK_GE(block_files_.size(), static_cast<unsigned int>(file_index)); in GetFile()
307 return block_files_[file_index].get(); in GetFile()
591 int file_index = header->next_file; in RemoveEmptyFile() local
593 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index)); in RemoveEmptyFile()
598 base::FilePath name = Name(file_index); in RemoveEmptyFile()
601 block_files_[file_index] = nullptr; in RemoveEmptyFile()
/external/cronet/stable/net/disk_cache/blockfile/
Dblock_files.cc299 int file_index = address.FileNumber(); in GetFile() local
300 if (static_cast<unsigned int>(file_index) >= block_files_.size() || in GetFile()
301 !block_files_[file_index]) { in GetFile()
303 if (!OpenBlockFile(file_index)) in GetFile()
306 DCHECK_GE(block_files_.size(), static_cast<unsigned int>(file_index)); in GetFile()
307 return block_files_[file_index].get(); in GetFile()
591 int file_index = header->next_file; in RemoveEmptyFile() local
593 DCHECK(block_files_.size() >= static_cast<unsigned int>(file_index)); in RemoveEmptyFile()
598 base::FilePath name = Name(file_index); in RemoveEmptyFile()
601 block_files_[file_index] = nullptr; in RemoveEmptyFile()
/external/OpenCL-CTS/test_common/miniz/
Dminiz.h403 mz_bool mz_zip_reader_file_stat(mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat …
406 mz_bool mz_zip_reader_is_file_a_directory(mz_zip_archive *pZip, mz_uint file_index);
407 mz_bool mz_zip_reader_is_file_encrypted(mz_zip_archive *pZip, mz_uint file_index);
411 mz_uint mz_zip_reader_get_filename(mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_ui…
419 mz_bool mz_zip_reader_extract_to_mem_no_alloc(mz_zip_archive *pZip, mz_uint file_index, void *pBuf,…
423 mz_bool mz_zip_reader_extract_to_mem(mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t b…
427 void *mz_zip_reader_extract_to_heap(mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uin…
431 mz_bool mz_zip_reader_extract_to_callback(mz_zip_archive *pZip, mz_uint file_index, mz_file_write_f…
437 mz_bool mz_zip_reader_extract_to_file(mz_zip_archive *pZip, mz_uint file_index, const char *pDst_fi…
478 …_writer_add_from_zip_reader(mz_zip_archive *pZip, mz_zip_archive *pSource_zip, mz_uint file_index);
/external/libwebsockets/lib/misc/fts/
Dtrie.c57 int file_index; member
85 uint32_t file_index; member
331 return fp->file_index; in lws_fts_file_index()
345 fp->file_index = t->next_file_index++; in lws_fts_file_index()
351 return fp->file_index; in lws_fts_file_index()
441 bp += wq32(&buf[bp], tif->file_index); in finalize_per_input()
543 lws_fts_fill(struct lws_fts *t, uint32_t file_index, const char *buf, in lws_fts_fill() argument
556 if ((int)file_index != t->last_file_index) { in lws_fts_fill()
559 t->last_file_index = (int)file_index; in lws_fts_fill()
956 t->parser->inst_file_list->file_index != file_index) { in lws_fts_fill()
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dgl_marshal.py49 file_index = 0 variable
307 'struct _glapi_table *table)' % file_index)
347 functions = functions[file_index*func_per_file:(file_index+1)*func_per_file]
359 if file_index == 0:
374 file_index = int(sys.argv[2]) variable

1234