Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 82) sorted by relevance

1234

/rocksdb-6.9/tools/advisor/advisor/
Dini_parser.py19 line = line.strip()
23 return line
26 def is_section_header(line): argument
29 line = line.strip()
30 if line.startswith('[') and line.endswith(']'):
35 def get_section_name(line): argument
45 def get_element(line): argument
46 line = IniParser.remove_trailing_comment(line)
47 if not line:
56 if '=' in line:
[all …]
Ddb_options_parser.py14 def is_new_option(line): argument
15 return '=' in line
18 def get_section_type(line): argument
24 section_path = line.strip()[1:-1].split()[0]
29 def get_section_name(line): argument
31 token_list = line.strip()[1:-1].split('"')
147 for line in db_options:
148 line = OptionsSpecParser.remove_trailing_comment(line)
149 if not line:
151 if OptionsSpecParser.is_section_header(line):
[all …]
Ddb_bench_runner.py70 for line in fp:
71 if line.startswith(self.benchmark):
75 print(line) # print output of the benchmark run
76 token_list = line.strip().split()
84 elif get_perf_context and line.startswith(self.PERF_CON):
92 token_list = line.strip().split(',')
111 elif line.startswith(self.DB_PATH):
115 line.split('[')[1].split(']')[0]
Ddb_stats_fetcher.py86 for line in new_lines[1:]: # new_lines[0] does not contain any stats
87 stats_on_line = self.parse_log_line_for_stats(line)
106 for line in db_logs:
107 if Log.is_new_log(line):
113 new_log = Log(line, column_families=[])
116 new_log.append_message(line)
226 for line in fp:
227 token_list = line.strip().split('\t')
247 for line in fp:
248 token_list = line.split()
Ddb_log_parser.py119 for line in db_logs:
120 if Log.is_new_log(line):
125 new_log = Log(line, self.column_families)
128 new_log.append_message(line)
Drule_parser.py451 for line in db_rules:
452 line = IniParser.remove_trailing_comment(line)
453 if not line:
455 element = IniParser.get_element(line)
460 section_name = IniParser.get_section_name(line)
471 key, value = IniParser.get_key_value_pair(line)
/rocksdb-6.9/buckifier/
Dbuckify_rocksdb.py44 for line in open(src_mk):
45 line = line.strip()
46 if len(line) == 0 or line[0] == '#':
48 if '=' in line:
51 elif '.cc' in line:
81 line = line.strip()
87 line = line[:-1]
88 line = line.strip()
96 line = line.strip()
102 line = line[:-1]
[all …]
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_trace_analyzer_test.cc249 std::string line; in TEST_F() local
253 std::stringstream ss(line); in TEST_F()
342 std::string line; in TEST_F() local
344 std::stringstream ss(line); in TEST_F()
384 std::string line; in TEST_F() local
431 std::string line; in TEST_F() local
467 std::string line; in TEST_F() local
500 std::string line; in TEST_F() local
527 std::string line; in TEST_F() local
551 std::string line; in TEST_F() local
[all …]
/rocksdb-6.9/port/
Dstack_trace.cc62 char line[kLineMax]; in PrintStackTraceLine() local
63 while (fgets(line, sizeof(line), f)) { in PrintStackTraceLine()
64 line[strlen(line) - 1] = 0; // remove newline in PrintStackTraceLine()
65 fprintf(stderr, "%s\t", line); in PrintStackTraceLine()
85 char line[kLineMax];
86 while (fgets(line, sizeof(line), f)) {
87 line[strlen(line) - 1] = 0; // remove newline
88 fprintf(stderr, "%s\t", line);
/rocksdb-6.9/options/
Doptions_parser.cc128 if (line.size() < 2) { in IsSection()
131 if (line[0] != '[' || line[line.size() - 1] != ']') { in IsSection()
146 size_t arg_end_pos = line.rfind("\""); in ParseSection()
154 *title = TrimAndRemoveComment(line.substr(1, line.size() - 2), true); in ParseSection()
190 size_t eq_pos = line.find("="); in ParseStatement()
197 TrimAndRemoveComment(line.substr(eq_pos + 1, line.size() - eq_pos - 1)); in ParseStatement()
225 std::string line; in Parse() local
233 line = TrimAndRemoveComment(line); in Parse()
234 if (line.empty()) { in Parse()
237 if (IsSection(line)) { in Parse()
[all …]
Doptions_parser.h55 static std::string TrimAndRemoveComment(const std::string& line,
98 bool IsSection(const std::string& line);
100 std::string* argument, const std::string& line,
107 const std::string& line, const int line_num);
/rocksdb-6.9/build_tools/
Derror_filter.py22 def parse_error(self, line): argument
41 def parse_error(self, line): argument
42 gtest_name_match = self._GTEST_NAME_PATTERN.match(line)
46 gtest_fail_match = self._GTEST_FAIL_PATTERN.match(line)
59 def parse_error(self, line): argument
60 if self._pattern.match(line):
61 return line
168 for line in sys.stdin:
169 line = line.strip()
171 error_msg = error_parser.parse_error(line)
Damalgamate.py60 for (line, text) in enumerate(f):
83 … sys.exit("unable to find {}, included in {} on line {}".format(filename, abs_path, line))
86 print('#line {} "{}"'.format(line+1, abs_path), file=source_out)
Dprecommit_checker.py28 line = "\n##### %s #####\n" % str
30 self.f.write("%s \n" % line)
32 print(line)
/rocksdb-6.9/CMakeFiles/
DCMakeConfigureLog.yaml174 ignore line: []
182 ignore line: [Thread model: posix]
184 ignore line: [ (in-process)]
189 ignore line: [ /usr/include/c++/v1]
191 ignore line: [ /usr/include]
192 ignore line: [End of search list.]
198 ignore line: [Thread model: posix]
324 ignore line: []
332 ignore line: [Thread model: posix]
334 ignore line: [ (in-process)]
[all …]
/rocksdb-6.9/coverage/
Dparse_gcov_output.py17 for line in sys.stdin:
18 line = line.strip()
21 match_obj = re.match("^File '(.*)'$", line)
28 match_obj = re.match("^Lines executed:(.*)% of (.*)", line)
/rocksdb-6.9/file/
Dread_write_util.cc31 std::string line; in ReadOneLine() local
34 if (std::getline(*iss, line)) { in ReadOneLine()
50 iss->str(line + input_slice.ToString()); in ReadOneLine()
58 *output = line; in ReadOneLine()
/rocksdb-6.9/docs/_sass/
D_base.scss4 font: normal #{$base-font-size}/#{$base-line-height} $base-font-family;
90 line-height: 1em;
98 line-height: 1em;
174 line-height: 1em;
181 line-height: 1em;
204 line-height: 1.2em;
210 line-height: 1.2em;
273 line-height: 1em;
D_search.scss41 line-height: 1.2em;
69 line-height: 20px;
103 line-height: 20px;
132 line-height: 2em;
D_buttons.scss8 line-height: 1.2em;
40 line-height: 20px;
D_footer.scss32 line-height: 1.2em;
68 line-height: 1em;
/rocksdb-6.9/examples/
Drocksdb_option_file_example.ini11 # - \n -- line feed - new line
18 # part of a line.
23 # Furthermore, each line can only contain at most one statement.
/rocksdb-6.9/tools/advisor/test/
Dtest_db_stats_fetcher.py24 for line in fp:
25 stat_name = line.split(':')[0].strip()
27 token_list = line.split(':')[1].strip().split(',')
/rocksdb-6.9/tools/
Ddb_crashtest.py328 line = child.stderr.readline().strip().decode('utf-8')
329 if line == '':
331 elif not line.startswith('WARNING'):
334 print('***' + line + '***')
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc869 int line; member
5805 char line[1024]; in CurrentStackTrace() local
5806 snprintf(line, sizeof(line), " %p: %s\n", raw_stack[i], symbol); in CurrentStackTrace()
5807 result += line; in CurrentStackTrace()
7451 trace.line = line; in PushTrace()
8102 int line) in WindowsDeathTest() argument
8268 int line) in FuchsiaDeathTest() argument
8862 if (!(flag->file() == file && flag->line() == line && in Create()
8979 int line = -1; in ParseInternalRunDeathTestFlag() local
10347 if (line < 0) { in FormatFileLocation()
[all …]

1234