Home
last modified time | relevance | path

Searched refs:line (Results 926 - 950 of 4118) sorted by relevance

1...<<31323334353637383940>>...165

/third_party/python/Lib/distutils/command/
H A Dbdist_rpm.py46 # supply it on the command line.
345 line = out.readline()
346 if not line:
348 l = line.strip().split()
393 list of strings (one per line).
411 vendor_hook = '\n'.join([' %s \\' % line.strip()
412 for line in vendor_hook.splitlines()])
566 for line in changelog.strip().split('\n'):
567 line = line
[all...]
/foundation/ai/intelligent_voice_framework/utils/
H A Dstring_util.cpp117 bool StringUtil::SplitLineToPair(const std::string &line, std::string &first, std::string &second) in SplitLineToPair() argument
119 if (line.empty()) { in SplitLineToPair()
120 INTELL_VOICE_LOG_ERROR("line is empty"); in SplitLineToPair()
124 size_t pos = line.find(DELIMITER_EQUAL_SIGN); in SplitLineToPair()
126 if (string::npos == pos || (line.length() - 1) == pos) { in SplitLineToPair()
130 first = line.substr(0, pos); in SplitLineToPair()
131 second = line.substr(pos + 1, string::npos); in SplitLineToPair()
137 INTELL_VOICE_LOG_ERROR("line is invalid, first:%{public}s, second:%{public}s", first.c_str(), second.c_str()); in SplitLineToPair()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_base.cpp67 for (const auto& line : lineGroup) { in CalculateSelectedRect()
68 if (line == end) { in CalculateSelectedRect()
71 auto rect = RectF(line.second.Left(), lastLineBottom, longestLine - line.second.Left(), in CalculateSelectedRect()
72 line.second.Bottom() - lastLineBottom); in CalculateSelectedRect()
74 lastLineBottom = line.second.Bottom(); in CalculateSelectedRect()
/third_party/ffmpeg/tests/
H A Drotozoom.c123 char line[3 * W]; in init_demo() local
133 if (fread(line, 1, 15, input_file) != 15) in init_demo()
136 if (fread(line, 1, 3 * W, input_file) != 3 * W) in init_demo()
139 tab_r[W * i + j] = line[3 * j ]; in init_demo()
140 tab_g[W * i + j] = line[3 * j + 1]; in init_demo()
141 tab_b[W * i + j] = line[3 * j + 2]; in init_demo()
/third_party/cJSON/tests/unity/auto/
H A Dunity_test_summary.py31 lines = list(map(lambda line: line.rstrip(), open(result_file, "r").read().split('\n')))
87 for line in lines:
88 parts = line.split(':')
97 line_out = "%s%s" % (self.root, line)
99 line_out = line
/third_party/jerryscript/tools/
H A Dgen-doctest.py62 `params` string) and the line number of the declaration.
87 :return: a tuple of a list (of the first line(s) of the doctest) and the
88 line number of the start of the code block.
90 return ['#line %d "%s"\n' % (fileinput.filelineno() + 1, self._infile)], fileinput.filelineno()
122 for line in fileinput.input(infile):
123 decl_match = re.match(r'^\[doctest\]:\s+#\s+\((.*)\)\s*$', line)
124 nl_match = re.match(r'^\s*$', line)
125 start_match = re.match(r'^```c\s*$', line)
126 end_match = re.match(r'^```\s*', line)
147 code.append(line)
[all...]
/third_party/node/deps/v8/tools/ignition/
H A Dlinux_perf_report.py82 for line in perf_stream:
84 if line[0] == "#":
87 line = line.strip()
89 # Empty line signals the end of the callchain.
90 if not line:
105 symbol = line.split(" ", 1)[1].split("+", 1)[0]
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/
H A Dv8_suppressions.py19 3. Relax line-to-line comparisons with expressions of lines to ignore and
37 # Max line length for regular experessions checking for lines to ignore.
131 def short_line_output(line):
132 if len(line) <= MAX_LINE_LENGTH:
134 return line
135 return line[0:MAX_LINE_LENGTH] + '...'
162 def fun(line):
163 return all(not e.match(line) for e in ignore)
194 # Look ahead. If next line i
[all...]
/third_party/python/Lib/
H A Dcode.py59 line.
115 msg, (dummy_filename, lineno, offset, line) = value.args
121 value = SyntaxError(msg, (filename, lineno, offset, line))
227 line = self.raw_input(prompt)
232 more = self.push(line)
242 def push(self, line):
243 """Push a line to the interpreter.
245 The line should not have a trailing newline; it may have
246 internal newlines. The line is appended to a buffer and the
251 is left as it was after the line wa
[all...]
/third_party/python/Lib/test/
H A Dtest_profile.py47 output = [line.rstrip() for line in output if mod_name in line]
136 for line in f:
137 newfile.append(line)
138 if line.startswith('#--cut'):
H A Dtest_fileinput.py68 line = next(self.it, '')
69 self._linesread.append(line)
70 return line
76 line = self.readline()
77 if not line:
79 lines.append(line)
80 size += len(line)
155 for line in fi:
156 line = line[
[all...]
H A Dtest_unicodedata.py371 for line in testdata:
372 if '#' in line:
373 line = line.split('#')[0]
374 line = line.strip()
375 if not line:
377 if line.startswith("@Part"):
378 part = line.split()[0]
380 c1,c2,c3,c4,c5 = [self.unistr(x) for x in line
[all...]
H A Dtest_code.py399 for line, end_line, column, end_column in positions:
400 assert line == end_line
413 for line, end_line, column, end_column in positions:
414 assert line == end_line
428 for line, end_line, column, end_column in positions:
429 self.assertIsNone(line)
552 line = code.co_firstlineno
565 line += line_delta
566 end_line = line + read_varint(it)
577 yield (code, length, line, end_lin
[all...]
/third_party/skia/third_party/externals/tint/src/ast/
H A Dstruct_test.cc44 EXPECT_EQ(s->source.range.begin.line, 0u); in TEST_F()
46 EXPECT_EQ(s->source.range.end.line, 0u); in TEST_F()
61 EXPECT_EQ(s->source.range.begin.line, 0u); in TEST_F()
63 EXPECT_EQ(s->source.range.end.line, 0u); in TEST_F()
77 EXPECT_EQ(s->source.range.begin.line, 27u); in TEST_F()
79 EXPECT_EQ(s->source.range.end.line, 27u); in TEST_F()
/third_party/unity/auto/
H A Dunity_test_summary.py31 lines = list(map(lambda line: line.rstrip(), open(result_file, "r").read().split('\n')))
87 for line in lines:
88 parts = line.split(':')
97 line_out = "%s%s" % (self.root, line)
99 line_out = line
/third_party/selinux/libsepol/cil/test/unit/
H A DCuTest.h82 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message);
83 void CuAssert_Line(CuTest* tc, const char* file, int line, const char* message, int condition);
85 const char* file, int line, const char* message,
88 const char* file, int line, const char* message,
91 const char* file, int line, const char* message,
94 const char* file, int line, const char* message,
H A Dtest_cil.c71 test_ast_node->line = 1; in test_cil_get_symtab_block()
89 test_ast_node->line = 1; in test_cil_get_symtab_class()
107 test_ast_node->line = 1; in test_cil_get_symtab_root()
125 test_ast_node->line = 1; in test_cil_get_symtab_flavor_neg()
142 test_ast_node->line = 1; in test_cil_get_symtab_null_neg()
173 test_ast_node->line = 1; in test_cil_get_symtab_parent_null_neg()
/third_party/ltp/tools/sparse/sparse-src/
H A Dpre-process.c99 token->pos.line = pos->line; in alloc_token()
165 replace_with_integer(token, token->pos.line); in expand_line()
256 static void preprocessor_line(struct stream *stream, struct token **line);
298 next->pos.line = pos->line; in collect_arg()
1387 if (token) /* Free the "define" token, but not the rest of the line */ in do_define()
1470 static int do_handle_define(struct stream *stream, struct token **line, struct token *token, int attr) in do_handle_define() argument
1500 static int handle_define(struct stream *stream, struct token **line, struct token *token) in handle_define() argument
1502 return do_handle_define(stream, line, toke in handle_define()
1505 handle_weak_define(struct stream *stream, struct token **line, struct token *token) handle_weak_define() argument
1510 handle_strong_define(struct stream *stream, struct token **line, struct token *token) handle_strong_define() argument
1515 do_handle_undef(struct stream *stream, struct token **line, struct token *token, int attr) do_handle_undef() argument
1546 handle_undef(struct stream *stream, struct token **line, struct token *token) handle_undef() argument
1551 handle_strong_undef(struct stream *stream, struct token **line, struct token *token) handle_strong_undef() argument
1567 handle_ifdef(struct stream *stream, struct token **line, struct token *token) handle_ifdef() argument
1582 handle_ifndef(struct stream *stream, struct token **line, struct token *token) handle_ifndef() argument
1669 handle_if(struct stream *stream, struct token **line, struct token *token) handle_if() argument
1679 handle_elif(struct stream * stream, struct token **line, struct token *token) handle_elif() argument
1712 handle_else(struct stream *stream, struct token **line, struct token *token) handle_else() argument
1737 handle_endif(struct stream *stream, struct token **line, struct token *token) handle_endif() argument
1753 handle_warning(struct stream *stream, struct token **line, struct token *token) handle_warning() argument
1759 handle_error(struct stream *stream, struct token **line, struct token *token) handle_error() argument
1765 handle_nostdinc(struct stream *stream, struct token **line, struct token *token) handle_nostdinc() argument
1842 handle_add_include(struct stream *stream, struct token **line, struct token *token) handle_add_include() argument
1856 handle_add_isystem(struct stream *stream, struct token **line, struct token *token) handle_add_isystem() argument
1870 handle_add_system(struct stream *stream, struct token **line, struct token *token) handle_add_system() argument
1901 handle_add_dirafter(struct stream *stream, struct token **line, struct token *token) handle_add_dirafter() argument
1915 handle_split_include(struct stream *stream, struct token **line, struct token *token) handle_split_include() argument
1946 handle_pragma(struct stream *stream, struct token **line, struct token *token) handle_pragma() argument
1966 handle_line(struct stream *stream, struct token **line, struct token *token) handle_line() argument
1971 handle_ident(struct stream *stream, struct token **line, struct token *token) handle_ident() argument
1976 handle_nondirective(struct stream *stream, struct token **line, struct token *token) handle_nondirective() argument
2171 handle_preprocessor_line(struct stream *stream, struct token **line, struct token *start) handle_preprocessor_line() argument
2213 preprocessor_line(struct stream *stream, struct token **line) preprocessor_line() argument
[all...]
/third_party/alsa-lib/src/topology/
H A Ddapm.c260 struct snd_soc_tplg_dapm_graph_elem *line; in tplg_elem_new_route() local
271 strcpy(elem->id, "line"); in tplg_elem_new_route()
273 elem->size = sizeof(*line); in tplg_elem_new_route()
275 line = calloc(1, sizeof(*line)); in tplg_elem_new_route()
276 if (!line) { in tplg_elem_new_route()
280 elem->route = line; in tplg_elem_new_route()
287 /* line is defined as '"sink, control, source"' */
289 struct snd_soc_tplg_dapm_graph_elem *line) in tplg_parse_line()
329 strcpy(line in tplg_parse_line()
288 tplg_parse_line(const char *text, struct snd_soc_tplg_dapm_graph_elem *line) tplg_parse_line() argument
341 struct snd_soc_tplg_dapm_graph_elem *line; tplg_parse_routes() local
746 struct snd_soc_tplg_dapm_graph_elem *line; tplg_add_route() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Dgen_framework_sc.py895 for line in indentLines(genHandles()):
896 yield line
960 for line in indentLines(lines):
961 yield line
969 for line in indentLines(["\t%s\t= %s," % v for v in bitfield.values]):
970 yield line
978 for line in indentLines([ptrn % v for v in bitfield64.values]):
979 yield line
985 for line in indentLines(['\t'+m.getAsString('\t')+';' for m in type.members]):
986 yield line
[all...]
/third_party/ffmpeg/libavcodec/
H A Dsnowdec.c53 // DWTELEM * line = slice_buffer_get_line(sb, y); in predict_slice_buffered()
54 IDWTELEM * line = sb->line[y]; in predict_slice_buffered() local
57 int v= line[x] + (128<<FRAC_BITS) + (1<<(FRAC_BITS-1)); in predict_slice_buffered()
65 // DWTELEM * line = slice_buffer_get_line(sb, y); in predict_slice_buffered()
66 IDWTELEM * line = sb->line[y]; in predict_slice_buffered() local
68 line[x] -= 128 << FRAC_BITS; in predict_slice_buffered()
135 IDWTELEM * line = slice_buffer_get_line(sb, y * b->stride_line + b->buf_y_offset) + b->buf_x_offset; in decode_subband_slice_buffered() local
136 memset(line, in decode_subband_slice_buffered()
233 IDWTELEM * line = slice_buffer_get_line(sb, (y * b->stride_line) + b->buf_y_offset) + b->buf_x_offset; dequantize_slice_buffered() local
249 IDWTELEM * line=0; // silence silly "could be used without having been initialized" warning correlate_slice_buffered() local
594 IDWTELEM * line = slice_buffer_get_line(&s->sb, yq); decode_frame() local
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DLocaleMatcherTest.java844 private static final String ENDL = System.getProperties().getProperty("line.separator");
886 private static void appendLine(StringBuilder sb, String line) { in appendLine() argument
887 if (!line.isEmpty()) { in appendLine()
888 sb.append(ENDL).append(line); in appendLine()
899 sb.append(ENDL).append("line ").append(lineNr).append(':'); in toString()
920 String line; in readTestCases()
921 while ((line = in.readLine()) != null) { in readTestCases()
923 // Start of comment, or end of line, minus trailing spaces. in readTestCases()
924 int limit = line.indexOf('#'); in readTestCases()
926 limit = line in readTestCases()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DLocaleMatcherTest.java886 private static final String ENDL = System.getProperties().getProperty("line.separator");
928 private static void appendLine(StringBuilder sb, String line) { in appendLine() argument
929 if (!line.isEmpty()) { in appendLine()
930 sb.append(ENDL).append(line); in appendLine()
941 sb.append(ENDL).append("line ").append(lineNr).append(':'); in toString()
962 String line; in readTestCases()
963 while ((line = in.readLine()) != null) { in readTestCases()
965 // Start of comment, or end of line, minus trailing spaces. in readTestCases()
966 int limit = line.indexOf('#'); in readTestCases()
968 limit = line in readTestCases()
[all...]
/third_party/libinput/src/
H A Dquirks.c537 * Parse a MatchFooBar=banana line.
540 * @param key The MatchFooBar part of the line
541 * @param value The banana part of the line.
646 * Parse a ModelFooBar=1 line.
649 * @param key The ModelFooBar part of the line
686 * Parse a AttrFooBar=banana line.
689 * @param key The AttrFooBar part of the line
690 * @param value The banana part of the line.
876 * Parse a single line, expected to be in the format Key=value. Anything
883 parse_value_line(struct quirks_context *ctx, struct section *s, const char *line) in parse_value_line() argument
925 char line[512]; parse_file() local
[all...]
/third_party/node/deps/v8/tools/unittests/testdata/
H A Dresults_processor.py19 for line in fileinput.input():
20 match = re.match(r'^Richards\d: (.*)$', line)
23 match = re.match(r'^DeltaBlue\d: (.*)$', line)

Completed in 35 milliseconds

1...<<31323334353637383940>>...165