/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...] |
H A D | find-map.c | 5 char line[128]; in find_map() local 14 while (!found && fgets(line, sizeof(line), maps)) { in find_map() 18 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", in find_map() 24 if (!strncmp(&line[m], name, strlen(name))) in find_map()
|
/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...] |
H A D | find-map.c | 5 char line[128]; in find_map() local 14 while (!found && fgets(line, sizeof(line), maps)) { in find_map() 18 if (2 != sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", in find_map() 24 if (!strncmp(&line[m], name, strlen(name))) in find_map()
|
/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...] |
/third_party/spirv-tools/test/ |
H A D | text_advance_test.cpp | 29 ASSERT_EQ(2u, data.position().line); in TEST() 38 ASSERT_EQ(0u, data.position().line); in TEST() 47 ASSERT_EQ(0u, data.position().line); in TEST() 56 ASSERT_EQ(2u, data.position().line); in TEST() 65 ASSERT_EQ(1u, data.position().line); in TEST() 109 EXPECT_EQ(0u, pos.line); in TEST() 116 EXPECT_EQ(0u, pos.line); in TEST() 123 EXPECT_EQ(1u, pos.line); in TEST() 130 EXPECT_EQ(2u, pos.line); in TEST() 139 EXPECT_EQ(0u, pos.line); in TEST() [all...] |
/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/musl/src/passwd/ |
H A D | getspnam.c | 8 static char *line; in getspnam() local 13 if (!line) line = malloc(LINE_LIM); in getspnam() 14 if (!line) return 0; in getspnam() 15 e = getspnam_r(name, &sp, line, LINE_LIM, &res); in getspnam()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | ohos_js_env_logger.cpp | 32 void JsEnvLogger(JsEnv::JsEnvLogLevel level, const char* fileName, const char* functionName, int line, in JsEnvLogger() argument 42 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 46 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 50 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 54 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 58 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger() 62 cFormat.c_str(), fileName, functionName, line, printArgs); in JsEnvLogger()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/test/ |
H A D | scene_board_judgement_test.cpp | 81 std::string line; in HWTEST_F() local 83 judgement.SafeGetLine(configFile, line); in HWTEST_F() 84 ASSERT_EQ(line, "Hello"); in HWTEST_F() 86 judgement.SafeGetLine(configFile, line); in HWTEST_F() 87 assert(line == ""); in HWTEST_F() 89 judgement.SafeGetLine(configFile, line); in HWTEST_F() 90 assert(line == "World"); in HWTEST_F()
|
/third_party/ffmpeg/libavfilter/ |
H A D | bbox.c | 33 const type *line; \ 52 line = data; \ 55 if (line[x] > min_val) \ 57 line += linesize; \ 62 line = data + (h-1)*linesize; \ 65 if (line[x] > min_val) \ 67 line -= linesize; \
|
/third_party/mesa3d/.gitlab-ci/bare-metal/ |
H A D | poe_run.py | 54 for line in self.ser.lines(timeout=5 * 60, phase="bootloader"): 55 if re.search("Booting Linux", line): 64 for line in self.ser.lines(timeout=self.test_timeout, phase="test"): 65 if re.search("---. end Kernel panic", line): 69 if re.search("binner overflow mem", line): 73 if re.search("nouveau 57000000.gpu: bus: MMIO read of 00000000 FAULT at 137000", line): 77 result = re.search("hwci: mesa: (\S*)", line)
|
/third_party/mesa3d/bin/ |
H A D | gen_vs_module_defs.py | 42 for line in lines: 43 line = line.strip() 44 tokens = line.split(';') 49 if line: 50 out_file_lines.append('\t' + line) 56 out_file_lines.append('\t;' + line)
|
/third_party/node/deps/v8/tools/ |
H A D | find-commit-for-patch.py | 37 for line in patch: 38 if line.startswith("diff --git "): 40 words = line.split() 43 elif line.startswith("index "): 45 hashes = line.split()[1] 63 for line in output.splitlines(): 65 _, _, actual_hash, filename = line.split()
|
/third_party/node/tools/ |
H A D | checkimports.py | 11 if not any(not re.match('using \w+::{0};'.format(imported), line) and 12 re.search('\\b{0}\\b'.format(imported), line) for line in lines): 20 lines = [line.strip() for line in source_file] 23 for idx, line in enumerate(lines, 1): 24 matches = re.search(r'^using (\w+::(\w+));$', line)
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLConstructorArray.cpp | 16 int line, in Convert() 23 context.fErrors->error(line, "construction of array type '" + type.displayName() + in Convert() 38 return ConstructorArrayCast::Make(context, line, type, std::move(args.front())); in Convert() 44 context.fErrors->error(line, String::printf("invalid arguments to '%s' constructor " in Convert() 60 return ConstructorArray::Make(context, line, type, std::move(args)); in Convert() 64 int line, in Make() 74 return std::make_unique<ConstructorArray>(line, type, std::move(args)); in Make() 15 Convert(const Context& context, int line, const Type& type, ExpressionArray args) Convert() argument 63 Make(const Context& context, int line, const Type& type, ExpressionArray args) Make() argument
|
H A D | SkSLConstructorScalarCast.cpp | 17 int line, in Convert() 25 context.fErrors->error(line, "invalid arguments to '" + type.displayName() + in Convert() 44 context.fErrors->error(line, in Convert() 53 return ConstructorScalarCast::Make(context, line, type, std::move(args[0])); in Convert() 57 int line, in Make() 78 return Literal::Make(line, arg->as<Literal>().value(), &type); in Make() 80 return std::make_unique<ConstructorScalarCast>(line, type, std::move(arg)); in Make() 16 Convert(const Context& context, int line, const Type& rawType, ExpressionArray args) Convert() argument 56 Make(const Context& context, int line, const Type& type, std::unique_ptr<Expression> arg) Make() argument
|