/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 | 104 vector<string> GetP2PClientArgs(const string &file_id, 108 args.push_back(string("--get-url=") + file_id); 133 void LookupUrlForFile(const string& file_id, 137 bool FileShare(const string& file_id, 139 FilePath FileGetPath(const string& file_id) override; 140 ssize_t FileGetSize(const string& file_id) override; 141 ssize_t FileGetExpectedSize(const string& file_id) override; 142 bool FileGetVisible(const string& file_id, 144 bool FileMakeVisible(const string& file_id) override; 158 // Gets the on-disk path for |file_id| depending on if the fil [all...] |
fake_p2p_manager_configuration.h | 48 std::vector<std::string> GetP2PClientArgs(const std::string &file_id, 54 base::ReplaceSubstringsAfterOffset(&arg, 0, "{file_id}", file_id); 73 // Use |command_format| instead of "p2p-client --get-url={file_id} 77 // The passed |command_format| argument can have "{file_id}" and "{minsize}" 97 "p2p-client", "--get-url={file_id}", "--minimum-size={minsize}"};
|
/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)
|
/external/ltp/testcases/kernel/fs/inode/ |
inode01.c | 96 int file_id; variable 352 file_id = creat(new_string, FILE_MODE); 353 if (file_id == -1) { 372 write(file_id, new_string, len); 381 close(file_id); 502 file_id = open(path_string, READ); 503 if (file_id <= 0) { 520 read(file_id, read_string, len); 538 close(file_id); 696 close(file_id); [all...] |
inode02.c | 82 int file_id; variable 452 file_id = creat(new_string, FILE_MODE); 453 if (file_id == -1) { 473 write(file_id, new_string, len); 481 close(file_id); 606 file_id = open(path_string, READ); 607 if (file_id <= 0) { 625 read(file_id, read_string, len); 642 close(file_id); 806 close(file_id); [all...] |
/system/update_engine/payload_consumer/ |
download_action_unittest.cc | 627 string file_id = download_action_->p2p_file_id(); local 628 EXPECT_NE("", file_id); 630 p2p_manager_->FileGetSize(file_id)); 632 p2p_manager_->FileGetExpectedSize(file_id)); 634 EXPECT_TRUE(ReadFileToString(p2p_manager_->FileGetPath(file_id), 666 string file_id = utils::CalculateP2PFileId( local 668 ASSERT_TRUE(p2p_manager_->FileShare(file_id, data_.length())); 672 ASSERT_EQ(WriteFile(p2p_manager_->FileGetPath(file_id), existing_data.c_str(), 677 // DownloadAction should convey the same file_id and the file should 679 EXPECT_EQ(download_action_->p2p_file_id(), file_id); 704 string file_id = utils::CalculateP2PFileId( local [all...] |
download_action.cc | 259 string file_id = utils::CalculateP2PFileId(payload_->hash, payload_->size); local 261 // If we're sharing the update, store the file_id to convey 263 p2p_file_id_ = file_id; 271 FilePath path = system_state_->p2p_manager()->FileGetPath(file_id);
|
/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 | 175 std::ifstream file_id(file.c_str()); 176 if (!file_id.good() ) 182 file_id.close();
|
/external/tensorflow/tensorflow/python/debug/lib/ |
source_remote.py | 66 file_id=_string_to_id(file_path, string_to_id), 90 file_ids.add(trace.file_id) 91 non_tf_files = (id_to_string[file_id] for file_id in file_ids)
|
/system/extras/puncture_fs/ |
puncture_fs.c | 147 u64 file_id = 1; local 172 file_id++, 177 file_id++, 186 file_id++,
|
/system/extras/simpleperf/ |
cmd_report_sample.cpp | 254 // map from file_id to max_symbol_id requested on the file. 256 // files[file_id] is the number of symbols in the file. 295 FprintIndented(report_fp_, 2, "file_id: %u\n", callchain.file_id()); 303 max_symbol_id_map[callchain.file_id()] = 304 std::max(max_symbol_id_map[callchain.file_id()], symbol_id); 347 LOG(ERROR) << "file_id(" << pair.first << ") >= file count (" 353 << files[pair.first] << ") in file_id( " << pair.first << ")"; 477 uint32_t file_id; local 478 if (!node.dso->GetDumpId(&file_id)) { 551 uint32_t file_id; local [all...] |
/system/extras/simpleperf/scripts/ |
utils.py | 425 source_lines: a list of [file_id, line_number] for addr. 543 file_id = self._get_file_id(file_path) 544 cur_line_list.append((file_id, line_number)) 561 file_id = self.file_name_to_id.get(file_path) 562 if file_id is None: 563 file_id = self.file_name_to_id[file_path] = len(self.file_id_to_name) 565 return file_id 574 return [(self.file_id_to_name[file_id], line) for (file_id, line) in source]
|
/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 \ 108 src/common/linux/file_id.cc \
|
/external/wpa_supplicant_8/src/utils/ |
pcsc_funcs.c | 33 * SELECT: A4 00 00 02 <file_id, 2 bytes> 252 static int _scard_select_file(struct scard_data *scard, unsigned short file_id, 256 static int scard_select_file(struct scard_data *scard, unsigned short file_id, 806 static int _scard_select_file(struct scard_data *scard, unsigned short file_id, 824 wpa_printf(MSG_DEBUG, "SCARD: select file %04x", file_id); 835 cmd[5] = file_id >> 8; 836 cmd[6] = file_id & 0xff; 887 static int scard_select_file(struct scard_data *scard, unsigned short file_id, 890 return _scard_select_file(scard, file_id, buf, buf_len, [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_proxy_qmi_oc.c | 493 qmi_read_trans_req.file_id.file_id = 0x6F07; 494 qmi_read_trans_req.file_id.path_len = 4; 508 qmi_read_trans_req.file_id.path[0] = 0x00; 509 qmi_read_trans_req.file_id.path[1] = 0x3F; 510 qmi_read_trans_req.file_id.path[2] = 0xFF; 511 qmi_read_trans_req.file_id.path[3] = 0x7F; 516 qmi_read_trans_req.file_id.path[0] = 0x00; 517 qmi_read_trans_req.file_id.path[1] = 0x3F; 518 qmi_read_trans_req.file_id.path[2] = 0x20 [all...] |
/external/google-breakpad/src/common/windows/ |
pdb_source_line_writer.cc | 319 DWORD file_id; local 320 if (FAILED(file->get_uniqueId(&file_id))) { 332 CacheFileID(file_name_string, file_id); 333 fwprintf(output_, L"FILE %d %s\n", file_id, file_name); 337 StoreDuplicateFileID(file_name_string, file_id); [all...] |