Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 1154) sorted by relevance

12345678910>>...47

/rocksdb-6.9/tools/
Dldb_cmd_impl.h22 const std::map<std::string, std::string>& options,
31 std::string from_;
33 std::string to_;
54 const std::map<std::string, std::string>& options,
66 static std::string GetFileNameFromPath(const std::string& s) { in GetFileNameFromPath()
81 std::string to_;
111 std::string to_;
278 const std::map<std::string, std::string>& options,
325 const std::map<std::string, std::string>& options,
564 const std::map<std::string, std::string>& options,
[all …]
Dtrace_analyzer_test.cc64 std::string value; in GenerateTrace()
127 std::string get_line; in CheckFileContent()
157 std::string output_path, std::string trace_path) { in AnalyzeTrace()
182 std::string test_path_;
183 std::string dbname_;
190 std::string file_path; in TEST_F()
256 std::string file_path; in TEST_F()
327 std::string file_path; in TEST_F()
393 std::string file_path; in TEST_F()
465 std::string file_path; in TEST_F()
[all …]
Dldb_cmd.cc574 const std::string& option, std::string* value) { in ParseStringOption()
841 const std::map<std::string, std::string>& options, in ParseBooleanOption() argument
866 const std::map<std::string, std::string>& options, in CompactorCommand() argument
935 const std::map<std::string, std::string>& options, in DBLoaderCommand() argument
1052 const std::map<std::string, std::string>& options, in ManifestDumpCommand() argument
1201 const std::map<std::string, std::string>& options, in FileChecksumDumpCommand() argument
1253 const std::map<std::string, std::string>& options, in ListColumnFamiliesCommand() argument
1286 const std::map<std::string, std::string>& options, in CreateColumnFamilyCommand() argument
1319 const std::map<std::string, std::string>& options, in DropColumnFamilyCommand() argument
1391 const std::map<std::string, std::string>& options, in InternalDumpCommand() argument
[all …]
Ddb_sanity_test.cc33 virtual std::string Name() const = 0;
39 std::string dbname = path_ + Name(); in Create()
48 std::string k = "key" + ToString(i); in Create()
59 std::string dbname = path_ + Name(); in Verify()
66 std::string k = "key" + ToString(i); in Verify()
68 std::string result; in Verify()
82 std::string const path_;
232 bool RunSanityTests(const std::string& command, const std::string& path) { in RunSanityTests()
279 std::string path, command; in main()
282 path = std::string(argv[1]); in main()
[all …]
/rocksdb-6.9/include/rocksdb/utilities/
Dldb_cmd.h62 std::string cmd;
64 std::map<std::string, std::string> option_map;
101 const std::map<std::string, std::string>& TEST_GetOptionMap() { in TEST_GetOptionMap()
122 static std::string HexToString(const std::string& str);
126 static std::string StringToHex(const std::string& str);
171 const std::map<std::string, std::string> option_map_;
184 bool ParseKeyValue(const std::string& line, std::string* key,
187 LDBCommand(const std::map<std::string, std::string>& options,
197 static std::string PrintKeyValue(const std::string& key,
201 static std::string PrintKeyValue(const std::string& key,
[all …]
Denv_librados.h79 Status GetChildren(const std::string& dir, std::vector<std::string>* result);
101 Status RenameFile(const std::string& src, const std::string& target) override;
103 Status LinkFile(const std::string& src, const std::string& target) override;
127 Status GetAbsolutePath(const std::string& db_path, std::string* output_path);
143 const std::string& db_name, const std::string& config_path,
144 const std::string& db_pool, const std::string& wal_dir,
149 std::string _client_name;
165 Status _GetFid(const std::string& fname, std::string& fid);
166 Status _GetFid(const std::string& fname, std::string& fid, int fid_len);
167 Status _RenameFid(const std::string& old_fname, const std::string& new_fname);
[all …]
Dobject_registry.h24 std::function<T*(const std::string&, std::unique_ptr<T>*, std::string*)>;
38 const std::string& Name() const { return name_; } in Name()
41 const std::string name_; // The name of the Entry
56 std::string* msg) const { in NewFactoryObject()
66 const Entry* FindEntry(const std::string& type,
113 std::string* errmsg) { in NewObject()
132 Status NewUniqueObject(const std::string& target, in NewUniqueObject()
134 std::string errmsg; in NewUniqueObject()
153 Status NewSharedObject(const std::string& target, in NewSharedObject()
155 std::string errmsg; in NewSharedObject()
[all …]
/rocksdb-6.9/file/
Dfilename.h61 extern std::string BlobFileName(const std::string& dbname,
66 extern std::string ArchivalDirectory(const std::string& dbname);
70 extern std::string ArchivedLogFileName(const std::string& dbname,
100 extern std::string DescriptorFileName(const std::string& dbname,
106 extern std::string CurrentFileName(const std::string& dbname);
110 extern std::string LockFileName(const std::string& dbname);
127 extern std::string InfoLogFileName(const std::string& dbname,
141 extern std::string OptionsFileName(const std::string& dbname,
151 extern std::string MetaDatabaseName(const std::string& dbname,
157 extern std::string IdentityFileName(const std::string& dbname);
[all …]
Dfilename.cc72 std::string LogFileName(const std::string& name, uint64_t number) { in LogFileName()
87 std::string BlobFileName(const std::string& dbname, const std::string& blob_dir, in BlobFileName()
94 std::string ArchivalDirectory(const std::string& dir) { in ArchivalDirectory()
110 std::string Rocks2LevelTableFileName(const std::string& fullname) { in Rocks2LevelTableFileName()
162 std::string CurrentFileName(const std::string& dbname) { in CurrentFileName()
166 std::string LockFileName(const std::string& dbname) { in LockFileName()
187 std::string InfoLogFileName(const std::string& dbname, in InfoLogFileName()
188 const std::string& db_path, const std::string& log_dir) { in InfoLogFileName()
199 const std::string& db_path, const std::string& log_dir) { in OldInfoLogFileName()
233 std::string IdentityFileName(const std::string& dbname) { in IdentityFileName()
[all …]
/rocksdb-6.9/include/rocksdb/
Dtable_properties.h29 typedef std::map<std::string, std::string> UserCollectedProperties;
33 static const std::string kDataSize;
34 static const std::string kIndexSize;
39 static const std::string kFilterSize;
193 std::string column_family_name;
197 std::string filter_policy_name;
200 std::string comparator_name;
204 std::string merge_operator_name;
216 std::string compression_name;
219 std::string compression_options;
[all …]
Ddb.h65 std::string name;
422 std::string* value, std::string* timestamp) { in Get()
440 std::string* value, std::string* timestamp) { in Get()
552 std::vector<std::string> tss;
614 std::vector<std::string> tss;
660 std::string* value, std::string* timestamp,
927 std::map<std::string, std::string>* value) = 0;
929 std::map<std::string, std::string>* value) { in GetMapProperty() argument
1103 const std::unordered_map<std::string, std::string>& /*new_options*/) { in SetOptions() argument
1107 const std::unordered_map<std::string, std::string>& new_options) { in SetOptions() argument
[all …]
Dconvenience.h170 const std::unordered_map<std::string, std::string>& opts_map,
201 const std::unordered_map<std::string, std::string>& opts_map,
245 const std::unordered_map<std::string, std::string>& opts_map,
268 const std::unordered_map<std::string, std::string>& opts_map,
285 const std::string& opts_str,
288 Status GetStringFromDBOptions(std::string* opts_str,
310 const std::string& opts_str,
316 Status StringToMap(const std::string& opts_str,
317 std::unordered_map<std::string, std::string>* opts_map);
341 const std::string& file_path);
[all …]
/rocksdb-6.9/table/
Dtable_properties.cc23 std::string& props, in AppendProperty()
24 const std::string& key, in AppendProperty()
25 const std::string& value, in AppendProperty()
26 const std::string& prop_delim, in AppendProperty()
27 const std::string& kv_delim) { in AppendProperty()
36 std::string& props, in AppendProperty()
37 const std::string& key, in AppendProperty()
39 const std::string& prop_delim, in AppendProperty()
40 const std::string& kv_delim) { in AppendProperty()
73 const std::string& prop_delim, in ToString()
[all …]
/rocksdb-6.9/port/win/
Denv_win.h115 const std::string& fname,
139 virtual Status RenameFile(const std::string& src, const std::string& target);
141 virtual Status LinkFile(const std::string& src, const std::string& target);
247 const std::string& fname,
250 Status NewDirectory(const std::string& name,
255 Status GetChildren(const std::string& dir,
264 Status GetFileSize(const std::string& fname,
270 Status RenameFile(const std::string& src,
273 Status LinkFile(const std::string& src,
278 Status AreFilesSame(const std::string& first,
[all …]
/rocksdb-6.9/options/
Doptions_parser.h43 const std::unordered_map<std::string, std::string>* opt_map);
55 static std::string TrimAndRemoveComment(const std::string& line,
59 const std::unordered_map<std::string, std::string>* db_opt_map() const { in db_opt_map()
64 const std::vector<std::unordered_map<std::string, std::string>>* cf_opt_maps() in cf_opt_maps()
83 const std::unordered_map<std::string, std::string>* new_opt_map = nullptr,
88 const std::unordered_map<std::string, std::string>* new_opt_map = nullptr,
100 std::string* argument, const std::string& line,
106 Status ParseStatement(std::string* name, std::string* value,
111 const std::unordered_map<std::string, std::string>& opt_map,
134 std::unordered_map<std::string, std::string> db_opt_map_;
[all …]
Doptions_helper.h33 const std::unordered_map<std::string, std::string>& options_map,
38 const std::unordered_map<std::string, std::string>& options_map,
42 const std::string& factory_name,
43 const std::unordered_map<std::string, std::string>& opt_map,
123 const std::unordered_map<std::string, std::string>& opts_map,
133 const std::unordered_map<std::string, std::string>& opts_map,
139 const std::string& value,
143 const std::string& opts_str,
144 std::unordered_map<std::string, std::string>* opts_map);
171 static std::unordered_map<std::string,
[all …]
/rocksdb-6.9/hdfs/
Denv_hdfs.h36 const std::string what_;
74 Status GetChildren(const std::string& path,
90 Status RenameFile(const std::string& src, const std::string& target) override;
101 Status NewLogger(const std::string& fname,
178 static const std::string kProto;
179 static const std::string pathsep;
197 std::vector <std::string> parts; in connectToPath()
203 std::string host(parts[0]); in connectToPath()
204 std::string remaining(parts[1]); in connectToPath()
224 while (pos != std::string::npos) { in split()
[all …]
/rocksdb-6.9/util/
Dstring_util.h20 extern std::vector<std::string> StringSplit(const std::string& arg, char delim);
23 inline std::string ToString(T value) { in ToString()
43 extern std::string NumberToString(uint64_t num);
103 std::string EscapeOptionString(const std::string& raw_string);
110 std::string UnescapeOptionString(const std::string& escaped_string);
112 std::string trim(const std::string& str);
115 bool ParseBoolean(const std::string& type, const std::string& value);
119 int32_t ParseInt32(const std::string& value);
124 int ParseInt(const std::string& value);
130 size_t ParseSizeT(const std::string& value);
[all …]
/rocksdb-6.9/utilities/
Denv_librados.cc74 void split(const std::string &fn, std::string *dir, std::string *file) { in split()
98 std::string _fid;
99 std::string _hint;
183 std::string _fid;
184 std::string _hint;
264 std::string _fid;
265 std::string _hint;
537 std::string _fid;
726 std::string& fid) { in _GetFid()
754 std::string fid; in _RenameFid()
[all …]
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_trace_analyzer.cc668 std::string header( in WriteCorrelationFeaturesToFile()
729 const std::set<std::string>& labels, const std::string& cf_name, in BuildLabel()
732 std::map<std::string, std::string> label_value_map; in BuildLabel()
742 std::string label; in BuildLabel()
1267 std::string row; in OutputPercentAccessStats()
1312 std::string row; in WritePercentAccessSummaryStats()
1356 std::string row; in WriteDetailedPercentAccessSummaryStats()
1379 std::string row; in WriteDetailedPercentAccessSummaryStats()
1438 const std::string& trace_file_path, const std::string& output_dir, in BlockCacheTraceAnalyzer()
2056 std::string line; in parse_cache_config_file()
[all …]
Dblock_cache_trace_analyzer_test.cc207 std::string test_path_;
249 std::string line; in TEST_F()
342 std::string line; in TEST_F()
373 std::string l; in TEST_F()
414 std::map<std::string, std::string> test_reuse_csv_files; in TEST_F()
427 std::string l; in TEST_F()
467 std::string line; in TEST_F()
551 std::string line; in TEST_F()
576 std::string l; in TEST_F()
584 std::string line; in TEST_F()
[all …]
Dblock_cache_trace_analyzer.h145 const std::string& trace_file_path, const std::string& output_dir,
301 const std::string& label_str,
309 void WriteSkewness(const std::string& label_str,
319 std::set<std::string> ParseLabelStr(const std::string& label_str) const;
321 std::string BuildLabel(const std::set<std::string>& labels,
338 std::string OutputPercentAccessStats(
344 const std::string& filename_suffix,
364 const std::string& label,
370 const std::string trace_file_path_;
371 const std::string output_dir_;
[all …]
/rocksdb-6.9/env/
Dmock_env.h38 Status NewSequentialFile(const std::string& fname,
46 Status NewRandomRWFile(const std::string& fname,
50 Status ReuseWritableFile(const std::string& fname,
55 Status NewWritableFile(const std::string& fname,
59 Status NewDirectory(const std::string& name,
64 Status GetChildren(const std::string& dir,
67 void DeleteFileInternal(const std::string& fname);
84 Status RenameFile(const std::string& src, const std::string& target) override;
86 Status LinkFile(const std::string& src, const std::string& target) override;
88 Status NewLogger(const std::string& fname,
[all …]
/rocksdb-6.9/test_util/
Dtestutil.h198 std::string contents_;
324 std::string contents_;
376 std::string contents_;
399 extern std::string KeyStr(const std::string& user_key,
526 std::string result; in EncodeInt()
561 std::string data_;
696 std::unordered_map<std::string, std::string> files_;
729 std::string name_;
753 std::string name_;
777 std::string name_;
[all …]
/rocksdb-6.9/db/
Dinternal_stats.cc83 std::string(line_size, '-').c_str()); in PrintLevelStatsHeader()
201 static const std::string allstats = "stats";
202 static const std::string sstables = "sstables";
203 static const std::string cfstats = "cfstats";
207 static const std::string dbstats = "dbstats";
236 static const std::string current_version_number =
309 const std::string DB::Properties::kNumSnapshots =
511 std::map<std::string, std::string>* value) { in GetMapProperty() argument
590 std::map<std::string, std::string>* cf_stats) { in HandleCFMapStats() argument
1082 std::map<std::string, std::string>* cf_stats) { in DumpCFMapStats() argument
[all …]

12345678910>>...47