Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 28) sorted by relevance

12

/rocksdb-6.9/
D.travis.yml3 os:
57 - os: osx
59 - os: osx
61 - os: osx
63 - os: osx
68 - os: linux
71 - os: linux
76 os: osx
87 os: osx
98 os: osx
[all …]
/rocksdb-6.9/tools/
Dldb_test.py5 import os
7 import os.path
35 return os.system(cmd + " 2>/dev/null ")
50 return "--db=%s" % os.path.join(self.TMP_DIR, dbName)
260 dumpFilePath = os.path.join(self.TMP_DIR, "dump1")
269 dumpFilePath = os.path.join(self.TMP_DIR, "dump2")
394 dbPath = os.path.join(self.TMP_DIR, self.DB_NAME)
418 dbPath = os.path.join(self.TMP_DIR, self.DB_NAME)
442 dbPath = os.path.join(self.TMP_DIR, self.DB_NAME)
479 dbPath = os.path.join(self.TMP_DIR, self.DB_NAME)
[all …]
Ddb_crashtest.py5 import os
123 test_tmpdir = os.environ.get(_TEST_DIR_ENV_VAR)
129 os.mkdir(dbname)
136 os.open(f.name, os.O_DIRECT)
471 os.mkdir(dbname)
498 test_tmpdir = os.environ.get(_TEST_DIR_ENV_VAR)
499 if test_tmpdir is not None and not os.path.isdir(test_tmpdir):
/rocksdb-6.9/tools/advisor/test/
Dtest_rule_parser.py6 import os
44 this_path = os.path.abspath(os.path.dirname(__file__))
45 ini_path = os.path.join(this_path, 'input_files/triggered_rules.ini')
50 log_path = os.path.join(this_path, 'input_files/LOG-0')
51 options_path = os.path.join(this_path, 'input_files/OPTIONS-000005')
101 this_path = os.path.abspath(os.path.dirname(__file__))
102 ini_path = os.path.join(this_path, 'input_files/test_rules.ini')
107 log_path = os.path.join(this_path, 'input_files/LOG-1')
163 this_path = os.path.abspath(os.path.dirname(__file__))
164 ini_path = os.path.join(this_path, 'input_files/rules_err1.ini')
[all …]
Dtest_db_options_parser.py9 import os
15 self.this_path = os.path.abspath(os.path.dirname(__file__))
16 self.og_options = os.path.join(
25 self.generated_options = os.path.join(
28 if os.path.isfile(self.generated_options):
29 os.remove(self.generated_options)
153 self.assertFalse(os.path.isfile(self.generated_options))
155 self.assertTrue(os.path.isfile(self.generated_options))
Dtest_db_bench_runner.py9 import os
22 this_path = os.path.abspath(os.path.dirname(__file__))
23 options_path = os.path.join(this_path, 'input_files/OPTIONS-000005')
113 this_path = os.path.abspath(os.path.dirname(__file__))
114 options_path = os.path.join(this_path, 'input_files/OPTIONS-000005')
Dtest_db_log_parser.py8 import os
62 this_path = os.path.abspath(os.path.dirname(__file__))
63 logs_path_prefix = os.path.join(this_path, 'input_files/LOG-0')
Dtest_db_stats_fetcher.py9 import os
17 this_path = os.path.abspath(os.path.dirname(__file__))
18 stats_file = os.path.join(
/rocksdb-6.9/db/blob/
Dblob_file_meta.cc24 std::ostream& operator<<(std::ostream& os, in operator <<() argument
26 os << "blob_file_number: " << shared_meta.GetBlobFileNumber() in operator <<()
32 return os; in operator <<()
42 std::ostream& operator<<(std::ostream& os, const BlobFileMetaData& meta) { in operator <<() argument
46 os << (*shared_meta) << " garbage_blob_count: " << meta.GetGarbageBlobCount() in operator <<()
49 return os; in operator <<()
Dblob_file_garbage.cc116 std::ostream& operator<<(std::ostream& os, in operator <<() argument
118 os << "blob_file_number: " << blob_file_garbage.GetBlobFileNumber() in operator <<()
122 return os; in operator <<()
Dblob_file_addition.cc132 std::ostream& operator<<(std::ostream& os, in operator <<() argument
134 os << "blob_file_number: " << blob_file_addition.GetBlobFileNumber() in operator <<()
140 return os; in operator <<()
Dblob_file_meta.h58 std::ostream& operator<<(std::ostream& os,
122 std::ostream& operator<<(std::ostream& os, const BlobFileMetaData& meta);
Dblob_file_garbage.h52 std::ostream& operator<<(std::ostream& os,
Dblob_file_addition.h62 std::ostream& operator<<(std::ostream& os,
/rocksdb-6.9/buckifier/
Dbuckify_rocksdb.py12 import os
60 for root, dirnames, filenames in os.walk(repo_path): # noqa: B007 T25377293 Grandfathered in
66 cc_files.append(os.path.join(root, filename))
68 cc_files.append(os.path.join(root, filename))
216 script_dir = os.path.dirname(sys.argv[0])
217 script_dir = os.path.abspath(script_dir)
218 rocksdb_path = os.path.abspath(
219 os.path.join(script_dir, "../"))
Dutil.py15 import os
74 if cmd_dir is not None and not os.path.exists(cmd_dir):
/rocksdb-6.9/build_tools/
Dprecommit_checker.py13 import os
58 def shell(self, cmd, path=os.getcwd()):
60 os.chdir(path)
70 def GetOutput(self, cmd, path=os.getcwd()):
72 os.chdir(path)
123 if "J" in os.environ:
124 cmd = cmd.replace("J=1", "J=%s" % os.environ["J"])
125 cmd = cmd.replace("make ", "make -j%s " % os.environ["J"])
Damalgamate.py31 from os import path
/rocksdb-6.9/db/
Drange_del_aggregator_bench.cc65 std::ostream& operator<<(std::ostream& os, const Stats& s) { in operator <<() argument
67 fmt_holder.copyfmt(os); in operator <<()
69 os << std::left; in operator <<()
70 os << std::setw(25) << "AddTombstones: " in operator <<()
74 os << std::setw(25) << "ShouldDelete (first): " in operator <<()
77 os << std::setw(25) << "ShouldDelete (rest): " in operator <<()
83 os.copyfmt(fmt_holder); in operator <<()
84 return os; in operator <<()
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_trace_analyzer_plot.py4 import os
47 for file in os.listdir(csv_result_dir):
89 for file in os.listdir(csv_result_dir):
216 for file in os.listdir(csv_result_dir):
268 for file in os.listdir(csv_result_dir):
314 for file in os.listdir(csv_result_dir):
352 for file in os.listdir(csv_result_dir):
657 for csv_relative_dir in os.listdir(csv_result_dir):
660 if not os.path.isdir(csv_abs_dir):
664 if not os.path.exists(result_dir):
[all …]
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc2654 PrintHeader(os); in PrintTo()
10794 *os << ' '; in PrintByteSegmentInObjectTo()
10799 *os << text; in PrintByteSegmentInObjectTo()
10824 *os << ">"; in PrintBytesInObjectToImpl()
10920 *os << "'"; in PrintAsStringLiteralTo()
10946 *os << "'"; in PrintCharAndCodeTo()
10963 *os << ")"; in PrintCharAndCodeTo()
11007 *os << "\""; in PrintCharsAsStringTo()
11053 *os << "NULL"; in PrintTo()
11070 *os << "NULL"; in PrintTo()
[all …]
Dgtest.h10555 return os;
10595 *os << value;
10727 *os << '{';
10738 *os << ' ';
10747 *os << '}';
10765 *os << p;
11046 *os << '(';
11050 *os << ", ";
11052 *os << ')';
11372 *os << "(";
[all …]
/rocksdb-6.9/utilities/persistent_cache/
Dpersistent_cache_tier.cc85 std::ostringstream os; in PrintStats() local
87 os << "---- next tier -----" << std::endl; in PrintStats()
89 os << stat.first << ": " << stat.second << std::endl; in PrintStats()
92 return os.str(); in PrintStats()
/rocksdb-6.9/util/
Dstring_util.h29 std::ostringstream os; in ToString()
30 os << value; in ToString()
31 return os.str(); in ToString()
/rocksdb-6.9/tools/advisor/advisor/
Ddb_options_parser.py9 import os
272 this_path = os.path.abspath(os.path.dirname(__file__))
274 file_path = os.path.join(this_path, file_name)

12