/build/hb/helper/ |
H A D | separator.py | 20 line = '-' * 15 variable in Separator 23 def __init__(self, line=None): 24 if line: 25 self.line = f'\n{line}' 28 return self.line
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | mlock2.h | 28 char *line = NULL; in seek_to_smaps_entry() local 43 while (getline(&line, &size, file) > 0) { in seek_to_smaps_entry() 44 if (sscanf(line, "%lx-%lx %s %lx %s %lu %s\n", in seek_to_smaps_entry() 52 free(line); in seek_to_smaps_entry() 53 line = NULL; in seek_to_smaps_entry() 61 free(line); in seek_to_smaps_entry()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | mlock2.h | 20 char *line = NULL; in seek_to_smaps_entry() local 35 while (getline(&line, &size, file) > 0) { in seek_to_smaps_entry() 36 if (sscanf(line, "%lx-%lx %s %lx %s %lu %s\n", in seek_to_smaps_entry() 44 free(line); in seek_to_smaps_entry() 45 line = NULL; in seek_to_smaps_entry() 53 free(line); in seek_to_smaps_entry()
|
/third_party/cups-filters/filter/ |
H A D | commandtopclx.c | 35 main(int argc, /* I - Number of command-line arguments */ in main() 36 char *argv[]) /* I - Command-line arguments */ in main() 39 char line[1024], /* Line from file */ in main() local 40 *lineptr; /* Pointer into line */ in main() 98 while (fgets(line, sizeof(line), fp) != NULL) in main() 104 lineptr = line + strlen(line) - 1; in main() 112 for (lineptr = line; isspace(*lineptr); lineptr ++); in main()
|
/third_party/mesa3d/.gitlab-ci/lava/utils/ |
H A D | lava_log_hints.py | 21 for line in new_lines: 22 self.detect_r8152_issue(line) 24 def detect_r8152_issue(self, line): 27 and line["lvl"] == "target" 29 if re.search(r"r8152 \S+ eth0: Tx status -71", line["msg"]): 35 line["msg"],
|
/third_party/jerryscript/tools/vera++/scripts/rules/ |
H A D | jerry_pointer_declarator_space.tcl | 22 set line [getLine $file $line_num] 23 set line [string range $line $col_start $col_end] 25 if {[regexp {\w\*\s\w+} $line] 26 || [regexp {\w\*\)} $line] 27 || [regexp {\w\*$} $line]} {
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | Assert.h | 28 // - Logging of the error with file, line and function information. 44 # define DAWN_ASSERT_CALLSITE_HELPER(file, func, line, condition) \ 47 HandleAssertionFailure(file, func, line, #condition); \ 52 # define DAWN_ASSERT_CALLSITE_HELPER(file, func, line, condition) __assume(condition) 54 # define DAWN_ASSERT_CALLSITE_HELPER(file, func, line, condition) __builtin_assume(condition) 56 # define DAWN_ASSERT_CALLSITE_HELPER(file, func, line, condition) \ 77 int line,
|
/third_party/pulseaudio/src/utils/ |
H A D | pa-info | 23 local line 26 while read -r line; do 27 [[ $line =~ $re ]] && cards+="${BASH_REMATCH[1]} " 35 while read -r line; do 36 [[ $line != "" ]] && amixer -c$card cget "$line";
|
/third_party/rust/crates/clap/.github/workflows/ |
H A D | release-notes.py | 27 for line in lines: 28 if line.startswith("## ") and version in line: 29 note_lines.append(line) 30 elif note_lines and line.startswith("## "): 33 note_lines.append(line)
|
/third_party/selinux/libselinux/src/ |
H A D | selinux_check_securetty_context.c | 11 char *line = NULL; in selinux_check_securetty_context() local 22 while ((len = getline(&line, &line_len, fp)) != -1) { in selinux_check_securetty_context() 24 if (line[len - 1] == '\n') in selinux_check_securetty_context() 25 line[len - 1] = 0; in selinux_check_securetty_context() 28 start = line; in selinux_check_securetty_context() 44 free(line); in selinux_check_securetty_context()
|
/kernel/linux/linux-5.10/arch/nios2/mm/ |
H A D | tlb.c | 167 void dump_tlb_line(unsigned long line) in dump_tlb_line() argument 172 pr_debug("dump tlb-entries for line=%#lx (addr %08lx)\n", line, in dump_tlb_line() 173 line << (PAGE_SHIFT + cpuinfo.tlb_num_ways_log2)); in dump_tlb_line() 178 WRCTL(CTL_PTEADDR, line << 2); in dump_tlb_line() 219 unsigned int line; in flush_tlb_pid() local 226 for (line = 0; line < cpuinfo.tlb_num_lines; line++) { in flush_tlb_pid() 268 unsigned int line; in flush_tlb_all() local [all...] |
/kernel/linux/linux-6.6/arch/nios2/mm/ |
H A D | tlb.c | 167 void dump_tlb_line(unsigned long line) in dump_tlb_line() argument 172 pr_debug("dump tlb-entries for line=%#lx (addr %08lx)\n", line, in dump_tlb_line() 173 line << (PAGE_SHIFT + cpuinfo.tlb_num_ways_log2)); in dump_tlb_line() 178 WRCTL(CTL_PTEADDR, line << 2); in dump_tlb_line() 219 unsigned int line; in flush_tlb_pid() local 226 for (line = 0; line < cpuinfo.tlb_num_lines; line++) { in flush_tlb_pid() 268 unsigned int line; in flush_tlb_all() local [all...] |
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | util.h | 40 const char *function, char *file, unsigned int line, 62 const char *function, char *file, unsigned int line); 74 const char *function, char *file, unsigned int line); 81 const char *function, char *file, unsigned int line); 88 const char *function, char *file, unsigned int line); 96 char *file, unsigned int line); 114 char *file, unsigned int line); 120 char *file, unsigned int line) in gfs2_metatype_check_i() 127 file, line); in gfs2_metatype_check_i() 130 file, line); in gfs2_metatype_check_i() 116 gfs2_metatype_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, const char *function, char *file, unsigned int line) gfs2_metatype_check_i() argument [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | util.h | 40 const char *function, char *file, unsigned int line, 62 const char *function, char *file, unsigned int line); 74 const char *function, char *file, unsigned int line); 81 const char *function, char *file, unsigned int line); 88 const char *function, char *file, unsigned int line); 96 char *file, unsigned int line); 114 char *file, unsigned int line); 120 char *file, unsigned int line) in gfs2_metatype_check_i() 127 file, line); in gfs2_metatype_check_i() 130 file, line); in gfs2_metatype_check_i() 116 gfs2_metatype_check_i(struct gfs2_sbd *sdp, struct buffer_head *bh, u16 type, const char *function, char *file, unsigned int line) gfs2_metatype_check_i() argument [all...] |
/test/ostest/wukong/report/src/ |
H A D | statistics_event.cpp | 38 std::vector<std::string> line; in StatisticsDetail() local 45 UpdateLine(curEventStatisticsRecordPtr, curEventStatisticsMsgPtr->eventTypeTotal_, line); in StatisticsDetail() 46 record_.push_back(line); in StatisticsDetail() 50 UpdateLine(curBundleAllStatisticsPtr, curEventStatisticsMsgPtr->eventTypeTotal_, line); in StatisticsDetail() 51 record_.push_back(line); in StatisticsDetail() 116 uint32_t eventTypeTotal, std::vector<std::string> &line) in UpdateLine() 129 DEBUG_LOG_STR("line content curElementType{%s} | curExecTimes{%s}", curElementType.c_str(), curExecTimes.c_str()); in UpdateLine() 130 line = {curElementType, curExecTimes, curProportionStr}; in UpdateLine() 135 std::vector<std::string> line; in GlobalElementTypesStatistics() local 151 UpdateLine(eventStatisticsRecordPtr, execCount_, line); in GlobalElementTypesStatistics() 115 UpdateLine(std::shared_ptr<EventStatisticsRecord> EventStatisticsRecordPtr, uint32_t eventTypeTotal, std::vector<std::string> &line) UpdateLine() argument [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_editor.py | 37 for line in ['', '\n']: 38 with self.subTest(line=line, tabwidth=tabwidth): 40 editor.get_line_indent(line, tabwidth=tabwidth), 45 # (line, (raw, effective)) 62 for line, expected in tests: 63 with self.subTest(line=line): 65 editor.get_line_indent(line, tabwidth=4), 70 # (line, (ra [all...] |
/third_party/python/Lib/ |
H A D | cgi.py | 238 def parse_header(line): 244 parts = _parseparam(';' + line) 314 line 722 def __write(self, line): 723 """line is always bytes, not string""" 725 if self.__file.tell() + len(line) > 1000: 732 self.file.write(line) 735 self.file.write(line.decode(self.encoding, self.errors)) 740 line = self.fp.readline(1<<16) # bytes 741 self.bytes_read += len(line) [all...] |
/kernel/linux/linux-5.10/arch/x86/tools/ |
H A D | insn_decoder_test.c | 42 static void malformed_line(const char *line, int line_nr) in malformed_line() argument 44 fprintf(stderr, "%s: error: malformed line %d:\n%s", in malformed_line() 45 prog, line_nr, line); in malformed_line() 113 char line[BUFSIZE], sym[BUFSIZE] = "<unknown>"; in main() local 121 while (fgets(line, BUFSIZE, stdin)) { in main() 126 if (line[0] == '<') { in main() 127 /* Symbol line */ in main() 128 strcpy(sym, line); in main() 134 strcpy(copy, line); in main() 137 malformed_line(line, insn in main() [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | faddr2line | 34 # Multiple addresses can be specified on a single command line: 123 while read line; do 124 local fields=($line) 162 while read line; do 163 local fields=($line) 225 # cmdline, separate multiple entries with a blank line: 240 echo "$output" | while read -r line 242 echo $line 248 # For --list, show each line with its corresponding source code: 249 echo "$output" | while read -r line [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | trace-event-parse.c | 128 char *line; in parse_ftrace_printk() local 133 line = strtok_r(file, "\n", &next); in parse_ftrace_printk() 134 while (line) { in parse_ftrace_printk() 135 addr_str = strtok_r(line, ":", &fmt); in parse_ftrace_printk() 143 line = strtok_r(NULL, "\n", &next); in parse_ftrace_printk() 153 char *line; in parse_saved_cmdline() local 157 line = strtok_r(file, "\n", &next); in parse_saved_cmdline() 158 while (line) { in parse_saved_cmdline() 159 if (sscanf(line, "%d %16s", &pid, comm) == 2) in parse_saved_cmdline() 161 line in parse_saved_cmdline() [all...] |
/kernel/linux/linux-6.6/arch/x86/tools/ |
H A D | insn_decoder_test.c | 42 static void malformed_line(const char *line, int line_nr) in malformed_line() argument 44 fprintf(stderr, "%s: error: malformed line %d:\n%s", in malformed_line() 45 prog, line_nr, line); in malformed_line() 113 char line[BUFSIZE], sym[BUFSIZE] = "<unknown>"; in main() local 121 while (fgets(line, BUFSIZE, stdin)) { in main() 126 if (line[0] == '<') { in main() 127 /* Symbol line */ in main() 128 strcpy(sym, line); in main() 134 strcpy(copy, line); in main() 137 malformed_line(line, insn in main() [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | faddr2line | 34 # Multiple addresses can be specified on a single command line: 124 while read line; do 125 local fields=($line) 163 while read line; do 164 local fields=($line) 226 # cmdline, separate multiple entries with a blank line: 241 echo "$output" | while read -r line 243 echo $line 249 # For --list, show each line with its corresponding source code: 250 echo "$output" | while read -r line [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | trace-event-parse.c | 130 char *line; in parse_ftrace_printk() local 135 line = strtok_r(file, "\n", &next); in parse_ftrace_printk() 136 while (line) { in parse_ftrace_printk() 137 addr_str = strtok_r(line, ":", &fmt); in parse_ftrace_printk() 145 line = strtok_r(NULL, "\n", &next); in parse_ftrace_printk() 155 char *line; in parse_saved_cmdline() local 159 line = strtok_r(file, "\n", &next); in parse_saved_cmdline() 160 while (line) { in parse_saved_cmdline() 161 if (sscanf(line, "%d %16s", &pid, comm) == 2) in parse_saved_cmdline() 163 line in parse_saved_cmdline() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | 012v.c | 42 int line, ret; in zero12v_decode_frame() local 71 for (line = 0; line < avctx->height; line++) { in zero12v_decode_frame() 76 y = (uint16_t *)(pic->data[0] + line * pic->linesize[0]); in zero12v_decode_frame() 77 u = (uint16_t *)(pic->data[1] + line * pic->linesize[1]); in zero12v_decode_frame() 78 v = (uint16_t *)(pic->data[2] + line * pic->linesize[2]); in zero12v_decode_frame() 130 y = x + (uint16_t *)(pic->data[0] + line * pic->linesize[0]); in zero12v_decode_frame() 131 u = x/2 + (uint16_t *)(pic->data[1] + line * pic->linesize[1]); in zero12v_decode_frame() 132 v = x/2 + (uint16_t *)(pic->data[2] + line * pi in zero12v_decode_frame() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | cli.c | 46 pa_ioline *line; member 60 static void line_callback(pa_ioline *line, const char *s, void *userdata); 86 pa_assert_se(c->line = pa_ioline_new(io)); in pa_cli_new() 91 pa_ioline_set_callback(c->line, line_callback, c); in pa_cli_new() 99 pa_ioline_close(c->line); in pa_cli_free() 100 pa_ioline_unref(c->line); in pa_cli_free() 120 static void line_callback(pa_ioline *line, const char *s, void *userdata) { in line_callback() argument 125 pa_assert(line); in line_callback() 155 pa_ioline_puts(line, p = pa_strbuf_to_string_free(buf)); in line_callback() 162 pa_ioline_puts(line, PROMP in line_callback() [all...] |