/third_party/fsverity-utils/lib/ |
H A D | utils.c | 81 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 D | mustek600iin-off.c | 117 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 D | uprinter.cpp | 82 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 D | jrt-fatals.c | 135 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 D | util.py | 28 (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 D | message.py | 29 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 D | disasm.py | 86 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 D | swapping01.c | 69 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 D | pth_str02.c | 40 * 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 D | mmap14.c | 95 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 D | comment.rs | 9 /// 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 D | mod.rs | 17 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 D | version.rs | 36 // 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 D | update_file.py | 32 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 D | grammar.py | 185 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 D | gen_emulated_builtin_function_tables.py | 99 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 D | PreprocessorTest.cpp | 19 int line = 1; in preprocess() local 26 for (; line < token.location.line; ++line) in preprocess()
|
/third_party/skia/tests/ |
H A D | SkSLDSLErrorLineNumbers.cpp | 26 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 D | SkSLBlock.cpp | 15 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 D | SkSLIfStatement.h | 25 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 D | SkSLSwitchStatement.h | 29 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 D | SkSLMethodReference.h | 35 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 D | remove_files.py | 36 # 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 D | rfkill.c | 37 // 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()
|
/third_party/toybox/toys/posix/ |
H A D | cal.c | 23 // Write calendar into buffer: each line is 20 chars wide, end indicated 29 int wday, mday, start, len, line; in calstrings() local 52 for (mday=line=0;line<6;line++) { in calstrings() 67 // Worst case scenario toybuf usage: sizeof(struct tm) plus 21 bytes/line
|