/third_party/node/test/parallel/ |
H A D | test-repl-preview.js | 36 this.emit('line', this.lines[this.lines.length - 1]); 41 for await (const [line] of events.on(this, 'line')) { 42 if (line.includes(PROMPT)) { 174 // eslint-disable-next-line no-control-regex 175 lines = lines.map((line) => line.replace(/Error: .+?\x1B/, ''));
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | exceptions.py | 125 location = "line %d" % self.lineno 131 # if the source is set, add the line to the output 134 line = self.source.splitlines()[self.lineno - 1] 136 line = None 137 if line: 138 lines.append(" " + line.strip())
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | exceptions.py | 101 location = 'line %d' % self.lineno 107 # if the source is set, add the line to the output 110 line = self.source.splitlines()[self.lineno - 1] 112 line = None 113 if line: 114 lines.append(' ' + line.strip())
|
/third_party/node/deps/npm/lib/utils/ |
H A D | format-search-stream.js | 45 #line = 0 86 showHeaders: ++this.#line <= 1, 98 ).split('\n').map(line => line.slice(0, maxWidth)).join('\n')
|
/third_party/libdrm/radeon/ |
H A D | radeon_cs.c | 29 const char *file, const char *func, int line) in radeon_cs_begin() 32 return csi->csm->funcs->cs_begin(csi, ndw, file, func, line); in radeon_cs_begin() 37 const char *file, const char *func, int line) in radeon_cs_end() 40 return csi->csm->funcs->cs_end(csi, file, func, line); in radeon_cs_end() 28 radeon_cs_begin(struct radeon_cs *cs, uint32_t ndw, const char *file, const char *func, int line) radeon_cs_begin() argument 36 radeon_cs_end(struct radeon_cs *cs, const char *file, const char *func, int line) radeon_cs_end() argument
|
/third_party/musl/Benchmark/scripts/ |
H A D | compare_benchmark_result.py | 70 for line in lines: 71 if line.lower().startswith("bm_"): 72 m = bench_pattern.match(line) 78 print("match error: {}".format(line))
|
/third_party/python/Tools/scripts/ |
H A D | abitype.py | 182 line = source[pos:] variable 184 line = source[pos:nl+1] variable 185 tokens[-1][1] += line 186 pos += len(line)
|
H A D | parse_html5_entities.py | 86 for line in f1: 87 if line.startswith('html5 = {'): 93 if line.startswith('}'): 96 f2.write(line)
|
/third_party/python/Tools/ssl/ |
H A D | make_ssl_data.py | 32 for line in f: 33 match = pat.search(line) 51 # ignore backslash line continuation for now 129 for line in lines: 130 args.output.write(line + "\n")
|
/third_party/python/Lib/test/ |
H A D | mock_socket.py | 13 # line which the socket will feed on recv() or makefile(). 14 def reply_with(line): 16 _reply_data = line 27 # Re-insert the line, removing the \r\n we added. 49 def queue_recv(self, line): 50 self.lines.append(line)
|
/third_party/python/Lib/asyncio/ |
H A D | base_tasks.py | 78 line = linecache.getline(filename, lineno, f.f_globals) 79 extracted_list.append((filename, lineno, name, line)) 91 for line in traceback.format_exception_only(exc.__class__, exc): 92 print(line, file=file, end='')
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | exceptions.py | 125 location = "line %d" % self.lineno 131 # if the source is set, add the line to the output 134 line = self.source.splitlines()[self.lineno - 1] 136 line = None 137 if line: 138 lines.append(" " + line.strip())
|
/third_party/skia/src/sksl/dsl/ |
H A D | DSLStatement.cpp | 58 if (pos.line() != -1) { in DSLStatement() 59 fStatement->fLine = pos.line(); in DSLStatement() 86 int line = left.fStatement->fLine; in operator ,() local 91 return DSLStatement(SkSL::Block::MakeUnscoped(line, std::move(stmts))); in operator ,()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLIfStatement.cpp | 38 std::unique_ptr<Statement> IfStatement::Convert(const Context& context, int line, bool isStatic, in Convert() argument 53 return IfStatement::Make(context, line, isStatic, std::move(test), in Convert() 63 std::unique_ptr<Statement> IfStatement::Make(const Context& context, int line, bool isStatic, in Make() argument 104 return std::make_unique<IfStatement>(line, isStatic, std::move(test), in Make()
|
H A D | SkSLTernaryExpression.cpp | 27 int line = test->fLine; in Convert() local 35 context.fErrors->error(line, "ternary operator result mismatch: '" + in Convert() 41 context.fErrors->error(line, "ternary expression of opaque type '" + in Convert() 46 context.fErrors->error(line, "ternary operator result may not be an array (or struct " in Convert()
|
H A D | SkSLVariable.h | 45 Variable(int line, const Modifiers* modifiers, skstd::string_view name, const Type* type, in Variable() argument 47 : INHERITED(line, kSymbolKind, name, type) in Variable() 54 static std::unique_ptr<Variable> Convert(const Context& context, int line, 58 static std::unique_ptr<Variable> Make(const Context& context, int line,
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/bench/ |
H A D | bench.go | 93 for _, line := range lines { 94 if len(line) == 0 { 97 matches := consoleLineRE.FindStringSubmatch(line) 99 return Benchmark{}, fmt.Errorf("Unable to parse the line:\n" + line)
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | struct_member_test.cc | 30 EXPECT_EQ(st->source.range.begin.line, 0u); in TEST_F() 32 EXPECT_EQ(st->source.range.end.line, 0u); in TEST_F() 43 EXPECT_EQ(st->source.range.begin.line, 27u); in TEST_F() 45 EXPECT_EQ(st->source.range.end.line, 27u); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/ |
H A D | text_generator.h | 33 /// Line holds a single line of text 35 /// The indentation of the line in whitespaces 37 /// The content of the line, without a trailing newline character 57 /// Appends the line to the end of the TextBuffer 58 /// @param line the line to append to the TextBuffer 59 void Append(const std::string& line); 61 /// Inserts the line to the TextBuffer before the line with index `before` 62 /// @param line th 216 LineWriter line() { return LineWriter(current_buffer_); } line() function in tint::writer::TextGenerator 221 static LineWriter line(TextBuffer* buffer) { return LineWriter(buffer); } line() function in tint::writer::TextGenerator [all...] |
/third_party/toybox/toys/other/ |
H A D | makedevs.c | 20 Each line of the device table has the fields: 45 char *line = NULL; in makedevs_main() local 57 while (getline(&line, &allocated_length, fp) > 0) { in makedevs_main() 58 char type=0, user[64], group[64], *node, *ptr = line; in makedevs_main() 76 // type order here needs to line up with actions[] order. in makedevs_main() 79 error_msg("line %d: bad type %c", line_no, type); in makedevs_main() 101 perror_msg("line %d: file '%s' does not exist", line_no, ptr); in makedevs_main() 105 perror_msg("line %d: can't create node '%s'", line_no, ptr); in makedevs_main() 110 perror_msg("line %d: can't chown/chmod '%s'", line_no, ptr); in makedevs_main() 113 free(line); in makedevs_main() [all...] |
/third_party/skia/infra/bots/buildstats/ |
H A D | buildstats_flutter.py | 107 for line in lines: 110 parts = line.split('\t') 142 for line in lines: 145 parts = line.split('\t')
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
H A D | crypto.rs | 8 func: unsafe extern "C" fn(mode: c_int, n: c_int, file: *const c_char, line: c_int), in CRYPTO_set_locking_callback() 67 line!() as _, in OPENSSL_malloc() 78 line!() as _, in OPENSSL_malloc() 89 line!() as _, in OPENSSL_free()
|
/third_party/skia/bench/ |
H A D | TypefaceBench.cpp | 243 for (auto& line : fLines) { 244 font.textToGlyphs(line->utf.data(), line->utf.size(), fEncoding, 245 fGlyphIds.data(), line->glyphCount);
|
/third_party/vk-gl-cts/scripts/egl/ |
H A D | proc_address_tests.py | 51 for line in makeFunctionList(name, iface): 52 yield line 67 for line in indentLines(entries): 68 yield line
|
/third_party/vk-gl-cts/scripts/src_util/ |
H A D | check_encoding.py | 34 def checkEnds(line, ends): 35 return any(line.endswith(end) for end in ends) 111 for line in file: 112 line.decode(generalEncoding)
|