Home
last modified time | relevance | path

Searched refs:line (Results 1 – 23 of 23) sorted by relevance

/bionic/libc/tools/
Dgenserv.py43 for line in f.xreadlines():
44 if len(line) > 0 and line[-1] == "\n":
45 line = line[:-1]
46 if len(line) > 0 and line[-1] == "\r":
47 line = line[:-1]
49 line = string.strip(line)
50 if len(line) == 0 or line[0] == "#":
53 m = re_service.match(line)
70 line = '/* generated by genserv.py - do not edit */\nstatic const char _services[] = "\\\n' variable
72 line += str(s)+"\\\n"
[all …]
Dgenerate-NOTICE.py77 for line in lines[start:end]:
78 line = line.replace("\t", " ")
79 line = line.replace("/* ", "")
80 line = re.sub("^ \* ", "", line)
81 line = line.replace("** ", "")
82 line = line.replace("# ", "")
83 if line.startswith("++Copyright++"):
85 line = line.replace("--Copyright--", "")
86 line = line.rstrip()
88 if line == "#" or line == " *" or line == "**" or line == "-":
[all …]
Dbionic_utils.py48 def parse_line(self, line): argument
54 pos_lparen = line.find('(')
57 E("missing left parenthesis in '%s'" % line)
60 pos_rparen = line.rfind(')')
62 E("missing or misplaced right parenthesis in '%s'" % line)
65 return_type = line[:pos_lparen].strip().split()
67 E("missing return type in '%s'" % line)
79 E("misplaced colon in '%s'" % line)
90 E("misplaced colon2 in '%s'" % line)
108 syscall_params = line[pos_lparen+1:pos_rparen].split(',')
[all …]
Dcheck-symbols.py21 for line in open(path, 'r'):
22 symbols.add(line.rstrip())
41 for line in subprocess.check_output(['readelf', '--dyn-syms', so_file]).split('\n'):
42 m = r.match(line)
Dcheck-symbols-glibc.py24 for line in subprocess.check_output(['readelf', '--dyn-syms', '-W', so_file]).split('\n'):
25 if ' HIDDEN ' in line or ' UND ' in line:
27 m = r.match(line)
Dgenlibgcc_compat.py105 for line in fd:
106 m = prog.search(line)
Dgensyscalls.py429 for line in open(path):
430 m = re.search(pattern, line)
/bionic/libc/bionic/
Dassert.cpp35 void __assert(const char* file, int line, const char* failed_expression) { in __assert() argument
36 __libc_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression); in __assert()
39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { in __assert2() argument
40 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression); in __assert2()
Ddebug_mapinfo.cpp40 static mapinfo_t* parse_maps_line(char* line) { in parse_maps_line() argument
44 if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %*4s %*x %*x:%*x %*d%n", &start, in parse_maps_line()
49 while (isspace(line[name_pos])) { in parse_maps_line()
52 const char* name = line + name_pos; in parse_maps_line()
Dpthread_attr.cpp139 char line[BUFSIZ]; in __pthread_attr_getstack_main_thread() local
140 while (fgets(line, sizeof(line), fp) != NULL) { in __pthread_attr_getstack_main_thread()
141 if (ends_with(line, " [stack]\n")) { in __pthread_attr_getstack_main_thread()
143 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { in __pthread_attr_getstack_main_thread()
/bionic/libc/kernel/tools/
Dkernel.py77 def checkInclude(self, line, from_file, kernel_root=None): argument
79 m = HeaderScanner.re_combined.match(line)
81 m = HeaderScanner.re_rel_dir.match(line)
121 for line in f:
122 if (HeaderScanner.re_combined.match(line) or
123 (kernel_root and HeaderScanner.re_rel_dir.match(line))):
303 def parseLine(self,line): argument
304 line = string.strip(line)
307 if len(line) == 0 or line[0] == "#":
310 m = ConfigParser.re_CONFIG_.match(line)
[all …]
Dutils.py52 self.line = ""
55 self.line += msg
59 return self.line
86 for line in open(path):
87 if len(line) > 0 and line[-1] == '\n':
88 line = line[:-1]
89 walk_source_files([line],callback,args,excludes)
Dcpp.py152 self.line = 0 # number of current line
157 def setLineText(self,line): argument
160 self.text = line
161 self.len = len(line)
172 tok.lineno = self.line + 1
175 tok.lineno = self.line
185 self.line += 1
409 def __init__(self,line,lineno=1): argument
411 self.line = lineno
412 self.setLineText(line)
[all …]
/bionic/tests/
Ddlfcn_test.cpp331 char line[BUFSIZ]; in TEST() local
334 while (fgets(line, sizeof(line), fp) != NULL) { in TEST()
335 uintptr_t start = strtoul(line, 0, 16); in TEST()
336 line[strlen(line) - 1] = '\0'; // Chomp the '\n'. in TEST()
337 char* path = strchr(line, '/'); in TEST()
Dpthread_test.cpp849 char line[BUFSIZ]; in TEST() local
850 while (fgets(line, sizeof(line), fp) != NULL) { in TEST()
853 sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %*4s %*x %*x:%*x %*d %10s", &lo, &hi, name); in TEST()
/bionic/libc/tools/zoneinfo/
Dupdate-tzdata.py51 for line in open('extracted/%s' % region):
52 fields = line.split()
216 for line in index_lines:
217 … m = re.compile('.*href="/time-zones/repository/releases/(tzdata20\d\d\c\.tar\.gz)".*').match(line)
/bionic/libc/kernel/uapi/linux/
Dserial.h26 int line; member
Domapfb.h216 __u16 line; member
Dvideodev2.h1134 __u32 line; member
1151 struct v4l2_mpeg_vbi_itv0_line line[35]; member
1155 struct v4l2_mpeg_vbi_itv0_line line[36]; member
/bionic/libc/arch-mips64/string/
Dmemcpy.S122 pref 0,0(a1) # bring the first line of src, addr 0
123 pref 0,32(a1) # bring the second line of src, addr 32
124 pref 0,64(a1) # bring the third line of src, addr 64
/bionic/libc/arch-mips/string/
Dmemcpy.S122 pref 0,0(a1) # bring the first line of src, addr 0
123 pref 0,32(a1) # bring the second line of src, addr 32
124 pref 0,64(a1) # bring the third line of src, addr 64
/bionic/libc/dns/resolv/
Dres_init.c286 #define MATCH(line, name) \ in __res_vinit() argument
287 (!strncmp(line, name, sizeof(name) - 1) && \ in __res_vinit()
288 (line[sizeof(name) - 1] == ' ' || \ in __res_vinit()
289 line[sizeof(name) - 1] == '\t')) in __res_vinit()
/bionic/libc/
DSYSCALLS.TXT3 # Each non-blank, non-comment line has the following format: