/third_party/python/Lib/ |
H A D | pstats.py | 41 LINE = 'line' 208 "line" : (((5, 1), ), "line number"), 211 "nfl" : (((6, 1),(4, 1),(5, 1),), "name/file/line"), 327 # Optional "amount" is either a line count, or a percentage of lines. 545 # func_name is a triple (file:string, line:int, name:string) 548 filename, line, name = func_name 549 return os.path.basename(filename), line, name 629 def generic(self, fn, line): 630 args = line [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | tsc.c | 31 char *line = NULL; in cpuinfo_tsc_freq() local 39 while (getline(&line, &len, cpuinfo) > 0) { in cpuinfo_tsc_freq() 40 if (!strncmp(line, "model name", 10)) { in cpuinfo_tsc_freq() 41 char *pos = strstr(line + 11, " @ "); in cpuinfo_tsc_freq() 53 free(line); in cpuinfo_tsc_freq()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | stat+csv_output.sh | 47 while read line 50 x=${line:0:1} 52 # Ignore initial blank line. 53 [ "$line" = "" ] && continue 56 x=$(echo $line | tr -d -c $csv_sep) 58 # echo $line $cnt 60 echo "wrong number of fields. expected $exp in $line" 1>&2
|
/third_party/elfutils/tests/ |
H A D | getsrc_die.c | 46 Dwarf_Line *line; in main() local 56 line = dwarf_getsrc_die (&cudie, addr); in main() 57 if (line == NULL) in main() 60 const char *f = dwarf_linesrc (line, NULL, NULL); in main() 62 if (dwarf_lineno (line, &l) != 0) in main()
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_module_getsrc.c | 64 Dwarf_Line *line = &lines->info[idx]; in dwfl_module_getsrc() local 65 if (addr < line->addr) in dwfl_module_getsrc() 71 /* The last line which is less than or equal to addr is what in dwfl_module_getsrc() 73 current line sequence. */ in dwfl_module_getsrc() 74 Dwarf_Line *line = &lines->info[l]; in dwfl_module_getsrc() local 75 if (! line->end_sequence && line->addr <= addr) in dwfl_module_getsrc()
|
H A D | dwfl_dwarf_line.c | 1 /* Get information from a source line record returned by libdwfl. 37 dwfl_dwarf_line (Dwfl_Line *line, Dwarf_Addr *bias) in dwfl_dwarf_line() argument 39 if (line == NULL) in dwfl_dwarf_line() 42 struct dwfl_cu *cu = dwfl_linecu (line); in dwfl_dwarf_line() 43 const Dwarf_Line *info = &cu->die.cu->lines->info[line->idx]; in dwfl_dwarf_line()
|
/third_party/curl/tests/ |
H A D | test1544.pl | 41 my $line = ""; 48 # Remove multi-line comment trail. 56 if($line ne "") { 57 # Unfold line. 58 $_ = "$line $1"; 59 $line = ""; 62 $line = "$1 "; 80 # Folded line. 81 $line = $_;
|
/third_party/musl/src/passwd/ |
H A D | getpw_r.c | 4 #define FIX(x) (pw->pw_##x = pw->pw_##x-line+buf) 8 char *line = 0; in getpw_r() local 15 rv = __getpw_a(name, uid, pw, &line, &len, res); in getpw_r() 21 memcpy(buf, line, len); in getpw_r() 28 free(line); in getpw_r()
|
/third_party/node/deps/npm/node_modules/diff/lib/diff/ |
H A D | line.js | 48 linesAndNewlines = value.split(/(\n|\r\n)/); // Ignore the final empty token that occurs if the string ends with a new line 52 } // Merge the content and line separators into single tokens 56 var line = linesAndNewlines[i]; 59 retLines[retLines.length - 1] += line; 62 line = line.trim(); 65 retLines.push(line);
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | getline.c | 28 char *line = NULL; in getline_0100() local 37 ssize_t read = getline(&line, &len, fp); in getline_0100() 39 EXPECT_STREQ("getline_0100", line, "helloworld"); in getline_0100() 72 char *line = NULL; in getline_0300() local 78 ssize_t read = getline(&line, 0, fp); in getline_0300()
|
/third_party/openssl/test/testutil/ |
H A D | tu_local.h | 22 int line, const char *type, 27 int line, const char *type, 33 int line, const char *type, 38 int line, const char *type, 43 int line, const char *type,
|
/third_party/python/Lib/email/ |
H A D | errors.py | 36 def __init__(self, line=None): 37 if line is not None: 38 super().__init__(line) 39 self.line = line 51 """A message had a continuation line as its first header line.""" 57 """Found line with no leading whitespace and no colon before blank line."""
|
/third_party/toybox/toys/posix/ |
H A D | nl.c | 1 /* nl.c - print line numbers 24 -s Separator to use between number and line (instead of TAB) 25 -v Starting line number for each section (default 1) 26 -w Width of line numbers (default 6) 43 char *line; in do_nl() local 47 line = *pline; in do_nl() 49 if (*TT.b == 'p') match = !regexec((void *)(toybuf+16), line, 0, 0, 0); in do_nl() 51 if (*line == '\n') match = TT.l && ++TT.lcount >= TT.l; in do_nl() 56 xprintf("%s", line); in do_nl()
|
/third_party/skia/gn/ |
H A D | compile_ib_files.py | 48 for line in stdout.splitlines(): 49 if ibtool_section_re.match(line): 50 current_section_header = line 51 elif not ibtool_re.match(line): 55 print(line)
|
/third_party/musl/src/internal/ |
H A D | network_conf_function.c | 28 int get_services_str(char *line, FILE *f, int *indexPtr) in get_services_str() argument 31 return fgets(line, sizeof line, f); in get_services_str() 34 memcpy(line, g_fixedServices[*indexPtr], strlen(g_fixedServices[*indexPtr])); in get_services_str()
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | network_conf_function.c | 13 int get_services_str(char *line, FILE *f, int *indexPtr) in get_services_str() argument 16 return fgets(line, sizeof line, f); in get_services_str() 19 memcpy(line, g_fixedServices[*indexPtr], strlen(g_fixedServices[*indexPtr])); in get_services_str()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | Declarator.cpp | 14 TDeclarator::TDeclarator(const ImmutableString &name, const TSourceLoc &line) in TDeclarator() argument 15 : mName(name), mArraySizes(nullptr), mLine(line) in TDeclarator() 22 const TSourceLoc &line) in TDeclarator() 23 : mName(name), mArraySizes(arraySizes), mLine(line) in TDeclarator() 20 TDeclarator(const ImmutableString &name, const TVector<unsigned int> *arraySizes, const TSourceLoc &line) TDeclarator() argument
|
/third_party/vk-gl-cts/execserver/ |
H A D | xsDefs.cpp | 31 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument 37 msg << " at " << file << ":" << line; in formatError() local 41 Error::Error (const char* message, const char* expr, const char* file, int line) in Error() argument 42 : std::runtime_error(formatError(message, expr, file, line)) in Error()
|
/third_party/vk-gl-cts/framework/xexml/ |
H A D | xeDefs.cpp | 31 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument 37 msg << " at " << file << ":" << line; in formatError() local 41 Error::Error (const char* message, const char* expr, const char* file, int line) in Error() argument 42 : std::runtime_error(formatError(message, expr, file, line)) in Error()
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_uevent.c | 158 static bool DevMgrUeventCheckRuleValid(const char *line) in DevMgrUeventCheckRuleValid() argument 160 if (strlen(line) < strlen(PNP_EVENT_STR) || line[0] == '#') { in DevMgrUeventCheckRuleValid() 164 if (strstr(line, PNP_EVENT_STR) == NULL) { in DevMgrUeventCheckRuleValid() 165 HDF_LOGE("%{public}s invalid rule: %{public}s", __func__, line); in DevMgrUeventCheckRuleValid() 222 // replace line feed in DevMgrUeventParseHdfEvent() 257 static int32_t DevMgrUeventParseRule(char *line) in DevMgrUeventParseRule() argument 259 if (!DevMgrUeventCheckRuleValid(line)) { in DevMgrUeventParseRule() 273 char *ptr = line; in DevMgrUeventParseRule() 274 char *subStr = line; in DevMgrUeventParseRule() 339 char line[LINE_MAX] = {0}; DevMgrUeventParseConfig() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography.cpp | 364 LineMetrics& line = lineMetrics_->emplace_back(); in GetLineMetrics() local 367 line.firstCharMetrics = skmFontMetrics; in GetLineMetrics() 368 line.capHeight = skmFontMetrics.fCapHeight; in GetLineMetrics() 369 line.xHeight = skmFontMetrics.fXHeight; in GetLineMetrics() 371 line.capHeight = 0.0; in GetLineMetrics() 372 line.xHeight = 0.0; in GetLineMetrics() 374 line.lineNumber = skLineMetrics.fLineNumber; in GetLineMetrics() 375 line.baseline = skLineMetrics.fBaseline; in GetLineMetrics() 376 line.ascender = skLineMetrics.fAscent; in GetLineMetrics() 377 line in GetLineMetrics() [all...] |
/third_party/glfw/src/ |
H A D | init.c | 185 char* line; in _glfwParseUriList() local 189 while ((line = strtok(text, "\r\n"))) in _glfwParseUriList() 195 if (line[0] == '#') in _glfwParseUriList() 198 if (strncmp(line, prefix, strlen(prefix)) == 0) in _glfwParseUriList() 200 line += strlen(prefix); in _glfwParseUriList() 202 while (*line != '/') in _glfwParseUriList() 203 line++; in _glfwParseUriList() 208 path = _glfw_calloc(strlen(line) + 1, 1); in _glfwParseUriList() 212 while (*line) in _glfwParseUriList() 214 if (line[ in _glfwParseUriList() [all...] |
/third_party/jerryscript/tools/ |
H A D | gen-unicode.py | 45 self.__header.append("") # for an extra empty line 53 self.__data.append("") # for an extra empty line 100 for line in csv.reader(unicode_data, delimiter=';'): 101 unicode_id = int(line[0], 16) 107 category = line[2] 116 if line[1].startswith('<'): 341 for line in unicode_data_reader: 342 letter_id = int(line[0], 16) 348 capital_letter = line[12] 349 small_letter = line[1 [all...] |
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | pblk.h | 216 struct pblk_line *line; member 345 __le16 type; /* line type */ 348 __le32 id; /* line id for current line */ 355 /* Previous line metadata */ 356 __le32 prev_id; /* Line id for previous line */ 358 /* Current line metadata */ 359 __le64 seq_nr; /* Sequence number for current line */ 379 * 4. u32 valid sector count (vsc) for all lines (~0U: free line) 386 /* Previous line metadat 703 struct pblk_line *line; global() member 955 pblk_line_vsc(struct pblk_line *line) pblk_line_vsc() argument 1021 struct pblk_line *line = pblk_ppa_to_line(pblk, p); pblk_dev_ppa_to_chunk() local 1276 struct pblk_line *line; pblk_check_io() local [all...] |
/third_party/backends/tools/ |
H A D | sane-find-scanner.c | 137 char line[256], driver[256] = ""; in check_sg() local 145 while (fgets (line, sizeof (line) - 1, stream)) in check_sg() 147 if (sscanf (line, " %*d %s\n", driver) > 0 && !strcmp (driver, "sg")) in check_sg() 169 char line[128]; in hexdump() local 205 /* It's a new line */ in hexdump() 206 printf (" %s %s\n", line, asc_buf); in hexdump() 209 ptr = line; in hexdump() 1362 parse_num (char* search, const char* line, int base, long int * number) in parse_num() argument 1366 start_number = strstr (line, searc in parse_num() 1378 parse_bcd(char* search, const char* line, long int * number) parse_bcd() argument 1404 char line [PATH_MAX], *token; parse_file() local [all...] |