Home
last modified time | relevance | path

Searched refs:line (Results 1026 - 1050 of 3915) sorted by relevance

1...<<41424344454647484950>>...157

/third_party/node/deps/npm/node_modules/diff/lib/
H A Dindex.es6.js393 linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line
397 } // Merge the content and line separators into single tokens
401 var line = linesAndNewlines[i];
404 retLines[retLines.length - 1] += line;
407 line = line.trim();
410 retLines.push(line);
664 var line = diffstr[i]; // File header found, end parsing diff metadata
666 if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) {
671 var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);
[all...]
/third_party/fsverity-utils/lib/
H A Dutils.c81 void libfsverity_warn_on(const char *condition, const char *file, int line) in libfsverity_warn_on() argument
84 condition, file, line); in libfsverity_warn_on()
87 void libfsverity_bug_on(const char *condition, const char *file, int line) in libfsverity_bug_on() argument
90 "Non-recoverable, aborting program.\n", condition, file, line); in libfsverity_bug_on()
/third_party/backends/tools/
H A Dmustek600iin-off.c117 char line[256]; in main() local
119 while (NULL != fgets (line, 255, fp)) in main()
121 if ('#' == *line) in main()
123 if (0 != (portaddr = str2int (line))) in main()
/third_party/icu/tools/colprobe/
H A Duprinter.cpp82 UPrinter::log(const Line *line, UBool nl) { in log() argument
84 log(line->name); in log()
85 if(line->expLen) { in log()
87 log(line->expansionString); in log()
/third_party/jerryscript/jerry-core/jrt/
H A Djrt-fatals.c135 const uint32_t line) /**< line */ in jerry_assert_fail()
141 (unsigned long) line); in jerry_assert_fail()
152 const uint32_t line) /**< line */ in jerry_unreachable()
157 (unsigned long) line); in jerry_unreachable()
132 jerry_assert_fail(const char *assertion, const char *file, const char *function, const uint32_t line) jerry_assert_fail() argument
150 jerry_unreachable(const char *file, const char *function, const uint32_t line) jerry_unreachable() argument
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dutil.py28 (int(line.split()[0]), line[line.index(OUT_DIR):])
29 for line in output.splitlines()
/third_party/node/deps/v8/tools/testrunner/outproc/
H A Dmessage.py29 for line in f:
30 if line.startswith("#") or not line.strip():
32 expected_lines.append(line)
/third_party/node/deps/v8/tools/
H A Ddisasm.py86 for i, line in enumerate(lines):
87 if _DISASM_HEADER_RE.match(line):
93 for line in lines[header_line + 1:]:
94 match = _DISASM_LINE_RE.match(line)
/third_party/ltp/testcases/kernel/mem/swapping/
H A Dswapping01.c69 char line[PATH_MAX]; in test_swapping() local
74 while (fgets(line, sizeof(line), file)) { in test_swapping()
75 if (strstr(line, "/dev/zram")) { in test_swapping()
/third_party/ltp/testcases/kernel/sched/pthreads/
H A Dpth_str02.c40 * user can specifiy with [-n] command line option.
56 * parse_args (): Parses command line arguments
85 * Parse command line arguments and print out program header in main()
165 | Function: Parse the command line arguments & initialize global |
206 static void sys_error(const char *msg, int line) in sys_error() argument
211 error(syserr_msg, line); in sys_error()
221 static void error(const char *msg, int line) in error() argument
223 fprintf(stderr, "ERROR [line: %d] %s\n", line, msg); in error()
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap14.c95 char line[LINELEN]; in getvmlck() local
102 while (fgets(line, LINELEN, fstatus) != NULL) in getvmlck()
103 if (strstr(line, "VmLck") != NULL) in getvmlck()
106 ret = sscanf(line, "%*[^0-9]%d%*[^0-9]", lock_sz); in getvmlck()
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomment.rs9 /// A `/**` comment, where each other line can start with `*` and the
34 /// Preprocesses multiple single line comments.
38 debug_assert!(comment.starts_with("//"), "comment is not single line"); in preprocess_single_lines()
53 // Strip any potential `*` characters preceding each line. in preprocess_multi_line()
56 .map(|line| line.trim().trim_start_matches('*').trim_start_matches('!')) in preprocess_multi_line()
57 .skip_while(|line| line.trim().is_empty()) // Skip the first empty lines. in preprocess_multi_line()
60 // Remove the trailing line corresponding to the `*/`. in preprocess_multi_line()
/third_party/rust/crates/clap/src/output/textwrap/
H A Dmod.rs17 for line in content.split_inclusive('\n') {
19 let line = word_separators::find_words_ascii_space(line).collect::<Vec<_>>();
20 total.extend(wrapper.wrap(line));
91 // If there is no space for the first word, the first line in leading_whitespace_empty_first_line()
94 // the second line. We never output trailing whitespace in leading_whitespace_empty_first_line()
100 // Whitespace is only significant inside a line. After a line in trailing_whitespace()
109 // not handle single-character words after a line break. in issue_99()
/third_party/rust/crates/autocfg/src/
H A Dversion.rs36 // Find the release line in the verbose version output. in from_rustc()
37 let release = match output.lines().find(|line| line.starts_with("release: ")) { in from_rustc()
38 Some(line) => &line["release: ".len()..], in from_rustc()
/third_party/python/Tools/scripts/
H A Dupdate_file.py32 line = infile.readline()
34 if line.endswith(b'\r\n'):
36 elif line.endswith(b'\r'):
38 elif line.endswith(b'\n'):
41 raise ValueError(f"unknown end of line: {filename}: {line!a}")
/third_party/python/Lib/lib2to3/pgen2/
H A Dgrammar.py185 for line in opmap_raw.splitlines():
186 if line:
187 op, name = line.split()
189 del line, op, name
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dgen_emulated_builtin_function_tables.py99 func += "".join(["// " + line + "\n" for line in data['comment']])
102 body = [sig, '{'] + [' ' + line for line in data['body']] + ['}']
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A DPreprocessorTest.cpp19 int line = 1; in preprocess() local
26 for (; line < token.location.line; ++line) in preprocess()
/third_party/skia/tests/
H A DSkSLDSLErrorLineNumbers.cpp26 ExpectErrorLineNumber(skiatest::Reporter* reporter, const char* msg, int line) in ExpectErrorLineNumber() argument
28 , fLine(line) in ExpectErrorLineNumber()
43 REPORTER_ASSERT(fReporter, pos.line() == fLine,
44 "Line number mismatch: expected %d, but received %d\n", fLine, pos.line());
/third_party/skia/src/sksl/ir/
H A DSkSLBlock.cpp15 std::unique_ptr<Statement> Block::MakeUnscoped(int line, StatementArray statements) { in MakeUnscoped() argument
34 return std::make_unique<Block>(line, std::move(statements), in MakeUnscoped()
52 std::unique_ptr<Block> Block::Make(int line, in Make() argument
58 return std::make_unique<Block>(line, std::move(statements), std::move(symbols), isScope); in Make()
H A DSkSLIfStatement.h25 IfStatement(int line, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() argument
27 : INHERITED(line, kStatementKind) in IfStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int line, bool isStatic,
41 static std::unique_ptr<Statement> Make(const Context& context, int line, bool isStatic,
H A DSkSLSwitchStatement.h29 SwitchStatement(int line, bool isStatic, std::unique_ptr<Expression> value, in SwitchStatement() argument
31 : INHERITED(line, kStatementKind) in SwitchStatement()
41 int line,
51 int line,
H A DSkSLMethodReference.h35 int line, in MethodReference()
38 : INHERITED(line, kExpressionKind, context.fTypes.fInvalid.get()) in MethodReference()
59 MethodReference(int line, in MethodReference() argument
63 : INHERITED(line, kExpressionKind, type) in MethodReference()
34 MethodReference(const Context& context, int line, std::unique_ptr<Expression> self, std::vector<const FunctionDeclaration*> functions) MethodReference() argument
/third_party/skia/third_party/externals/dawn/generator/
H A Dremove_files.py36 # Parse command line arguments
64 [os.path.join(root_dir, line.strip()) for line in f.readlines()])
73 stale_dirs = set([line.strip() for line in f.readlines()])
/third_party/toybox/toys/net/
H A Drfkill.c37 // Parse command line options in rfkill_main()
76 char *line, *name = 0, *type = 0; in rfkill_main() local
84 while ((line = get_line(tvar))) { in rfkill_main()
85 char *s = line; in rfkill_main()
90 free(line); in rfkill_main()

Completed in 9 milliseconds

1...<<41424344454647484950>>...157