HomeSort by relevance Sort by last modified time
    Searched refs:file_id (Results 1 - 25 of 41) sorted by null

1 2

  /external/clang/test/CodeGenCXX/
member-init-assignment.cpp 5 unsigned file_id; member in struct:Foo
10 Foo::Foo(unsigned arg) : file_id(arg = 42)
  /system/update_engine/
p2p_manager.h 56 const std::string& file_id, size_t minimum_size) = 0;
90 // |file_id|. If |minimum_size| is non-zero, will find a peer that
102 virtual void LookupUrlForFile(const std::string& file_id,
107 // Shares a file identified by |file_id| in the directory
122 virtual bool FileShare(const std::string& file_id,
125 // Gets a fully qualified path for the file identified by |file_id|.
129 virtual base::FilePath FileGetPath(const std::string& file_id) = 0;
131 // Gets the actual size of the file identified by |file_id|. This is
137 virtual ssize_t FileGetSize(const std::string& file_id) = 0;
139 // Gets the expected size of the file identified by |file_id|. Thi
    [all...]
fake_p2p_manager.h 55 void LookupUrlForFile(const std::string& file_id,
62 bool FileShare(const std::string& file_id,
67 base::FilePath FileGetPath(const std::string& file_id) override {
71 ssize_t FileGetSize(const std::string& file_id) override {
75 ssize_t FileGetExpectedSize(const std::string& file_id) override {
79 bool FileGetVisible(const std::string& file_id,
84 bool FileMakeVisible(const std::string& file_id) override {
p2p_manager.cc 101 vector<string> GetP2PClientArgs(const string &file_id,
105 args.push_back(string("--get-url=") + file_id);
130 void LookupUrlForFile(const string& file_id,
134 bool FileShare(const string& file_id,
136 FilePath FileGetPath(const string& file_id) override;
137 ssize_t FileGetSize(const string& file_id) override;
138 ssize_t FileGetExpectedSize(const string& file_id) override;
139 bool FileGetVisible(const string& file_id,
141 bool FileMakeVisible(const string& file_id) override;
155 // Gets the on-disk path for |file_id| depending on if the fil
    [all...]
fake_p2p_manager_configuration.h 60 std::vector<std::string> GetP2PClientArgs(const std::string &file_id,
66 base::ReplaceSubstringsAfterOffset(&arg, 0, "{file_id}", file_id);
85 // Use |command_format| instead of "p2p-client --get-url={file_id}
89 // The passed |command_format| argument can have "{file_id}" and "{minsize}"
109 "p2p-client", "--get-url={file_id}", "--minimum-size={minsize}"};
  /external/opencv3/modules/flann/include/opencv2/flann/
hdf5.h 86 hid_t file_id; local
87 file_id = H5Fopen(filename.c_str(), H5F_ACC_RDWR, H5P_DEFAULT);
88 if (file_id < 0) {
89 file_id = H5Fcreate(filename.c_str(), H5F_ACC_EXCL, H5P_DEFAULT, H5P_DEFAULT);
91 CHECK_ERROR(file_id,"Error creating hdf5 file.");
102 dataset_id = H5Dcreate2(file_id, name.c_str(), get_hdf5_type<T>(), space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
104 dataset_id = H5Dcreate(file_id, name.c_str(), get_hdf5_type<T>(), space_id, H5P_DEFAULT);
109 dataset_id = H5Dopen2(file_id, name.c_str(), H5P_DEFAULT);
111 dataset_id = H5Dopen(file_id, name.c_str());
122 H5Fclose(file_id);
131 hid_t file_id = H5Fopen(filename.c_str(), H5F_ACC_RDWR, H5P_DEFAULT); local
182 hid_t file_id = H5Fopen(filename.c_str(), H5F_ACC_RDWR, plist_id); local
    [all...]
  /external/autotest/server/site_tests/p2p_EndToEndTest/
p2p_EndToEndTest.py 43 def run_once(self, dut, file_id, is_master, peers, barrier):
46 file_id = '%s-%s' % (P2P_TEST_PREFIX, file_id)
47 file_temp_name = os.path.join(P2P_PATH, file_id + '.tmp')
48 file_shared_name = os.path.join(P2P_PATH, file_id + '.p2p')
104 ret = dut.run('p2p-client --get-url=%s' % file_id)
  /external/google-breakpad/src/tools/solaris/dump_syms/
Makefile 43 DUMP_OBJ=dump_symbols.o guid_creator.o dump_syms.o file_id.o md5.o
54 file_id.o:../../../common/solaris/file_id.cc
  /external/google-breakpad/src/processor/
source_line_resolver_base_types.h 71 Line(MemAddr addr, MemAddr code_size, int file_id, int source_line)
74 , source_file_id(file_id)
  /system/update_engine/payload_consumer/
download_action_unittest.cc 530 string file_id = download_action_->p2p_file_id(); local
531 EXPECT_NE("", file_id);
533 p2p_manager_->FileGetSize(file_id));
535 p2p_manager_->FileGetExpectedSize(file_id));
537 EXPECT_TRUE(ReadFileToString(p2p_manager_->FileGetPath(file_id),
569 string file_id = utils::CalculateP2PFileId("1234hash", data_.length()); local
570 ASSERT_TRUE(p2p_manager_->FileShare(file_id, data_.length()));
574 ASSERT_EQ(WriteFile(p2p_manager_->FileGetPath(file_id), existing_data.c_str(),
579 // DownloadAction should convey the same file_id and the file should
581 EXPECT_EQ(download_action_->p2p_file_id(), file_id);
606 string file_id = utils::CalculateP2PFileId("1234hash", data_.length()); local
    [all...]
download_action.cc 196 string file_id = utils::CalculateP2PFileId(install_plan_.payload_hash, local
199 // If we're sharing the update, store the file_id to convey
201 p2p_file_id_ = file_id;
209 FilePath path = system_state_->p2p_manager()->FileGetPath(file_id);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/
bootparam_prot.x 83 bp_fileid_t file_id;
bootparam_prot.h 61 bp_fileid_t file_id; member in struct:bp_getfile_arg
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/
bootparam_prot.x 83 bp_fileid_t file_id;
bootparam_prot.h 61 bp_fileid_t file_id; member in struct:bp_getfile_arg
  /external/autotest/client/cros/netprotos/
cros_p2p.py 40 def add_file(self, file_id, file_size, announce=False):
43 @param file_id: The name of the file (without .p2p extension).
48 self._files[file_id] = file_size
52 def remove_file(self, file_id, announce=False):
55 @param file_id: The name of the file (without .p2p extension).
59 del self._files[file_id]
80 for file_id, file_size in self._files.iteritems():
81 txts.append('id_%s=%d' % (file_id, file_size))
  /external/eigen/unsupported/Eigen/src/SparseExtra/
MatrixMarketIterator.h 160 std::ifstream file_id(file.c_str());
161 if (!file_id.good() )
167 file_id.close();
  /system/extras/puncture_fs/
puncture_fs.c 147 u64 file_id = 1; local
168 file_id++,
173 file_id++,
182 file_id++,
  /external/google-breakpad/src/client/solaris/handler/
Makefile 45 ../../../common/solaris/file_id.cc\
  /external/google-breakpad/
Android.mk 38 src/common/linux/file_id.cc \
101 src/common/linux/file_id.cc \
  /external/libnfc-nci/src/nfc/include/
ce_api.h 225 UINT16 file_id,
  /system/webservd/webservd/
request.cc 121 base::File Request::GetFileData(int file_id) {
123 if (file_id >= 0 && static_cast<size_t>(file_id) < file_info_.size()) {
124 file.Initialize(file_info_[file_id]->temp_file_name,
  /external/wpa_supplicant_8/src/utils/
pcsc_funcs.c 29 * SELECT: A4 00 00 02 <file_id, 2 bytes>
244 static int _scard_select_file(struct scard_data *scard, unsigned short file_id,
248 static int scard_select_file(struct scard_data *scard, unsigned short file_id,
789 static int _scard_select_file(struct scard_data *scard, unsigned short file_id,
807 wpa_printf(MSG_DEBUG, "SCARD: select file %04x", file_id);
818 cmd[5] = file_id >> 8;
819 cmd[6] = file_id & 0xff;
870 static int scard_select_file(struct scard_data *scard, unsigned short file_id,
873 return _scard_select_file(scard, file_id, buf, buf_len,
    [all...]
  /system/webservd/libwebserv/
request.cc 26 int file_id,
32 file_id_{file_id},
dbus_protocol_handler.h 124 // obtain the file content of uploaded file (identified by |file_id|) during
128 int file_id,

Completed in 3442 milliseconds

1 2