/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | dwarf-aux.c | 62 /* Unlike dwarf_getsrc_die(), cu_getsrc_die() only returns statement line */ 67 Dwarf_Line *line; in cu_getsrc_die() local 79 line = dwarf_onesrcline(lines, n); in cu_getsrc_die() 80 if (!line || dwarf_lineaddr(line, &laddr) != 0) in cu_getsrc_die() 87 /* Going backward to find the lowest line */ in cu_getsrc_die() 89 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die() 90 if (!line || dwarf_lineaddr(line, &laddr) != 0) in cu_getsrc_die() 94 /* Going foward to find the statement line */ in cu_getsrc_die() 119 Dwarf_Line *line; cu_find_lineinfo() local 850 Dwarf_Line *line; die_walk_lines() local 1317 Dwarf_Line *line; die_get_postprologue_addr() local [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | dwarf-aux.c | 62 /* Unlike dwarf_getsrc_die(), cu_getsrc_die() only returns statement line */ 67 Dwarf_Line *line; in cu_getsrc_die() local 79 line = dwarf_onesrcline(lines, n); in cu_getsrc_die() 80 if (!line || dwarf_lineaddr(line, &laddr) != 0) in cu_getsrc_die() 87 /* Going backward to find the lowest line */ in cu_getsrc_die() 89 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die() 90 if (!line || dwarf_lineaddr(line, &laddr) != 0) in cu_getsrc_die() 94 /* Going forward to find the statement line */ in cu_getsrc_die() 119 Dwarf_Line *line; cu_find_lineinfo() local 869 Dwarf_Line *line; die_walk_lines() local 1343 Dwarf_Line *line; die_get_postprologue_addr() local [all...] |
/third_party/littlefs/scripts/ |
H A D | cov.py | 179 'file', 'function', 'line', 181 _by = ['file', 'function', 'line'] 189 def __new__(cls, file='', function='', line=0, 191 return super().__new__(cls, file, function, int(Int(line)), 195 return CovResult(self.file, self.function, self.line, 235 for line in proc.stderr: 236 sys.stdout.write(line) 239 # collect line/branch coverage 270 # there are other hits on this line 278 for line i [all...] |
/third_party/python/Lib/ |
H A D | mailbox.py | 245 line = message.readline() 247 if line.endswith(b'\r\n'): 248 line = line[:-2] + b'\n' 249 elif line.endswith(b'\r'): 250 line = line[:-1] + b'\n' 251 if not line: 253 if mangle_from_ and line.startswith(b'From '): 254 line [all...] |
/foundation/resourceschedule/memmgr/common/src/ |
H A D | kernel_interface.cpp | 163 std::string line; in ReadLinesFromFile() local 171 getline(inf, line); in ReadLinesFromFile() 172 lines.push_back(line); in ReadLinesFromFile() 333 char *line = strtok_r(contentPtr, "\n", &restPtr); in ReadZswapdPressureShow() local 335 for (size_t i = 0; i < strlen(line); i++) { in ReadZswapdPressureShow() 336 if (line[i] == ':') { in ReadZswapdPressureShow() 337 line[i] = ' '; in ReadZswapdPressureShow() 340 std::string lineStr(line); in ReadZswapdPressureShow() 347 line = strtok_r(NULL, "\n", &restPtr); in ReadZswapdPressureShow() 348 } while (line); in ReadZswapdPressureShow() 481 char *line = strtok_r(contentPtr, "\\n", &restPtr); ReadSwapOutKBSinceKernelBoot() local 530 char *line = strtok_r(contentPtr, "\\n", &restPtr); ParseMeminfo() local [all...] |
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client_main.py | 154 def __init__(self, line, offset, function): 155 self.line = line 162 result += ":%d" % (self.line) 167 result += "() at line:%d, col:%d)" % (self.function.line, self.function.column) 171 return ("Breakpoint(line:%d, offset:%d, active_index:%d)" 172 % (self.line, self.offset, self.active_index)) 175 def __init__(self, line=None, source_name=None, function=None): 177 self.line [all...] |
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_parser.py | 56 for line in kernel_output: 57 line = line.rstrip() # line always has a trailing \n 58 if kunit_start_re.search(line): 59 prefix_len = len(line.split('TAP version')[0]) 61 yield line[prefix_len:] if prefix_len > 0 else line 62 elif kunit_end_re.search(line): 65 yield line[prefix_le [all...] |
/kernel/liteos_m/tools/ |
H A D | mem_analysis.py | 105 #when the analysis of one line LR is finished, need record "\r\n" and the new line info
202 def line_start_check(line):
203 if line.startswith(' .text.'):
204 function_name = line.split(".text.")[1]
205 elif line.startswith(' .rodata.'):
206 function_name = line.split(".rodata.")[1]
207 elif line.startswith(' .bss.'):
208 function_name = line.split(".bss.")[1]
209 elif line [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | hscale.c | 47 uint8_t ** src = desc->src->plane[0].line; in lum_h_scale() 48 uint8_t ** dst = desc->dst->plane[0].line; in lum_h_scale() 66 src = desc->src->plane[3].line; in lum_h_scale() 67 dst = desc->dst->plane[3].line; in lum_h_scale() 101 const uint8_t * src[4] = { desc->src->plane[0].line[sp0], in lum_convert() 102 desc->src->plane[1].line[sp1], in lum_convert() 103 desc->src->plane[2].line[sp1], in lum_convert() 104 desc->src->plane[3].line[sp0]}; in lum_convert() 105 uint8_t * dst = desc->dst->plane[0].line[i]; in lum_convert() 115 dst = desc->dst->plane[3].line[ in lum_convert() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | bidiconf.cpp | 53 char line[10000]; member in BiDiConformanceTest 94 errln("\nError on line %d: Levels parse error at %s", (int)lineNumber, start); in parseLevels() 112 errln("\nError on line %d: Reorder parse error at %s", (int)lineNumber, start); in parseOrdering() 253 errln("\nError on line %d: BiDi class string not recognized at %s", (int)lineNumber, start); in parseInputStringFromBiDiClasses() 285 // paraLevelName must be initialized in case the first non-comment line is in error in TestBidiTest() 287 while(errorCount<10 && fgets(line, (int)sizeof(line), bidiTestFile.getAlias())!=NULL) { in TestBidiTest() 290 char *commentStart=strchr(line, '#'); in TestBidiTest() 294 u_rtrim(line); in TestBidiTest() 295 const char *start=u_skipWhitespace(line); in TestBidiTest() [all...] |
H A D | textfile.cpp | 78 UBool TextFile::readLine(UnicodeString& line, UErrorCode& ec) { in readLine() argument 104 // Remove BOM in first line, if present in readLine() 109 line = str.unescape(); in readLine() 113 UBool TextFile::readLineSkippingComments(UnicodeString& line, UErrorCode& ec, in readLineSkippingComments() argument 116 if (!readLine(line, ec)) return false; in readLineSkippingComments() 119 ICU_Utility::skipWhitespace(line, pos, true); in readLineSkippingComments() 121 if (pos == line.length() || line.charAt(pos) == 0x23/*'#'*/) { in readLineSkippingComments() 124 // Process line in readLineSkippingComments() 125 if (trim) line in readLineSkippingComments() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkIntersections.h | 76 SkDLine line; in conicLine() local 77 line.set(b); in conicLine() 79 return intersect(conic, line); in conicLine() 100 SkDLine line; in cubicLine() local 101 line.set(b); in cubicLine() 103 return intersect(cubic, line); in cubicLine() 134 SkDLine line; in lineHorizontal() local 135 line.set(a); in lineHorizontal() 137 return horizontal(line, left, right, y, flipped); in lineHorizontal() 141 SkDLine line; in lineVertical() local 186 SkDLine line; quadLine() local 272 intersectRay(const SkTCurve& tCurve, const SkDLine& line) intersectRay() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | nonstdio.c | 92 static char line[256]; variable 101 lineptr = line; in xmon_getchar() 114 if (lineptr > line) { in xmon_getchar() 122 while (lineptr > line) { in xmon_getchar() 130 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar() 138 lineleft = lineptr - line; in xmon_getchar() 139 lineptr = line; in xmon_getchar()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
H A D | null_syscall.c | 67 char line[128]; in get_proc_frequency() local 82 while (fgets(line, sizeof(line), f) != NULL) { in get_proc_frequency() 83 if (strncmp(line, "timebase", 8) == 0) { in get_proc_frequency() 84 p = strchr(line, ':'); in get_proc_frequency() 92 if (((strncmp(line, "clock", 5) == 0) || in get_proc_frequency() 93 (strncmp(line, "cpu MHz", 7) == 0))) { in get_proc_frequency() 94 p = strchr(line, ':'); in get_proc_frequency()
|
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | nonstdio.c | 92 static char line[256]; variable 101 lineptr = line; in xmon_getchar() 114 if (lineptr > line) { in xmon_getchar() 122 while (lineptr > line) { in xmon_getchar() 130 if (lineptr >= &line[sizeof(line) - 1]) in xmon_getchar() 138 lineleft = lineptr - line; in xmon_getchar() 139 lineptr = line; in xmon_getchar()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | ga102.c | 35 u8 line = (data & 0x0000003f); in ga102_gpio_reset() local 45 nvkm_gpio_set(gpio, 0, func, line, defs); in ga102_gpio_reset() 47 nvkm_mask(device, 0x021200 + (line * 4), 0xff, unk0); in ga102_gpio_reset() 49 nvkm_mask(device, 0x00d740 + (unk1 * 4), 0xff, line); in ga102_gpio_reset() 54 ga102_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in ga102_gpio_drive() argument 58 nvkm_mask(device, 0x021200 + (line * 4), 0x00003000, data); in ga102_gpio_drive() 64 ga102_gpio_sense(struct nvkm_gpio *gpio, int line) in ga102_gpio_sense() argument 67 return !!(nvkm_rd32(device, 0x021200 + (line * 4)) & 0x00004000); in ga102_gpio_sense()
|
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_config.py | 90 for line in blob.split('\n'): 91 line = line.strip() 92 if not line: 95 match = config_matcher.match(line) 100 empty_match = is_not_set_matcher.match(line) 105 if line[0] == '#': 107 raise KconfigParseError('Failed to parse: ' + line)
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/ |
H A D | null_syscall.c | 68 char line[128]; in get_proc_frequency() local 83 while (fgets(line, sizeof(line), f) != NULL) { in get_proc_frequency() 84 if (strncmp(line, "timebase", 8) == 0) { in get_proc_frequency() 85 p = strchr(line, ':'); in get_proc_frequency() 93 if (((strncmp(line, "clock", 5) == 0) || in get_proc_frequency() 94 (strncmp(line, "cpu MHz", 7) == 0))) { in get_proc_frequency() 95 p = strchr(line, ':'); in get_proc_frequency()
|
/test/xts/tools/lite/reliability/ |
H A D | NativePressTest.py | 53 for line in splitlines: 54 print("Start go get pid with line:" + line) 55 if len(line.split()) >= 1: 56 print("Start go get pid:" + line) 57 testPID.append(line.split()[1]) 87 for line in splitlines: 88 print("Get exception file with line " + line) 89 splitlines = line [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_mem.c | 77 const char *func, const char *file, size_t line) { in ngtcp2_mem_malloc_debug() 81 file, line); in ngtcp2_mem_malloc_debug() 87 const char *file, size_t line) { in ngtcp2_mem_free_debug() 88 fprintf(stderr, "free ptr=%p in %s at %s:%zu\n", ptr, func, file, line); in ngtcp2_mem_free_debug() 94 const char *func, const char *file, size_t line) { in ngtcp2_mem_calloc_debug() 98 size, func, file, line); in ngtcp2_mem_calloc_debug() 105 size_t line) { in ngtcp2_mem_realloc_debug() 109 size, func, file, line); in ngtcp2_mem_realloc_debug() 76 ngtcp2_mem_malloc_debug(const ngtcp2_mem *mem, size_t size, const char *func, const char *file, size_t line) ngtcp2_mem_malloc_debug() argument 86 ngtcp2_mem_free_debug(const ngtcp2_mem *mem, void *ptr, const char *func, const char *file, size_t line) ngtcp2_mem_free_debug() argument 93 ngtcp2_mem_calloc_debug(const ngtcp2_mem *mem, size_t nmemb, size_t size, const char *func, const char *file, size_t line) ngtcp2_mem_calloc_debug() argument 103 ngtcp2_mem_realloc_debug(const ngtcp2_mem *mem, void *ptr, size_t size, const char *func, const char *file, size_t line) ngtcp2_mem_realloc_debug() argument
|
/third_party/ltp/testcases/kernel/security/integrity/ima/tests/ |
H A D | ima_keys.sh | 30 while read line; do 31 if echo $line | grep -q 'template=' && ! echo $line | grep -q 'template=ima-buf'; then 73 grep -E "($templates).*($keyrings)" $ASCII_MEASUREMENTS | while read line 77 digest=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f2) 78 algorithm=$(echo "$line" | cut -d' ' -f4 | cut -d':' -f1) 79 keyring=$(echo "$line" | cut -d' ' -f5) 81 echo "$line" | cut -d' ' -f6 | tst_hexdump -d > $test_file
|
/third_party/python/Tools/scripts/ |
H A D | pdeps.py | 18 # - command line options to select output type 73 line = fp.readline() 74 if not line: break 75 while line[-1:] == '\\': 78 line = line[:-1] + nextline 79 m_found = m_import.match(line) or m_from.match(line) 83 words = line[a1:b1].split(',') 84 # print '#', line, word [all...] |
/third_party/python/Lib/idlelib/ |
H A D | calltip.py | 157 For Python-coded functions and methods, the first line is introspected. 160 empty line or _MAX_LINES. For builtins, this typically includes 191 for line in doc.split('\n', _MAX_LINES)[:_MAX_LINES]: 192 line = line.strip() 193 if not line: 195 if len(line) > _MAX_COLS: 196 line = line[: _MAX_COLS - 3] + '...' 197 lines.append(line) [all...] |
H A D | outwin.py | 13 r'file "([^"]*)", line (\d+)', 24 "Compile the patterns for matching to file name and line number." 30 def file_line_helper(line): 31 """Extract file name and line number from line of text. 33 Check if line of text contains one of the file/line patterns. 34 If it does and if the file and line are valid, return 35 a tuple of the file name and line number. If it doesn't match 36 or if the file or line i [all...] |
/third_party/skia/third_party/externals/harfbuzz/test/subset/ |
H A D | subset_test_suite.py | 89 for line in definition.splitlines(): 90 line = line.strip() 92 if line.startswith("#"): 95 if not line: 98 if line in destinations: 99 current_destination = destinations[line] 101 current_destination.append(line)
|