Searched refs:line (Results 1 - 22 of 22) sorted by relevance

/bionic/libc/bionic/
H A Dassert.cpp35 void __assert(const char* file, int line, const char* failed_expression) { argument
36 __libc_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression);
39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument
40 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
H A Ddebug_mapinfo.cpp40 static mapinfo_t* parse_maps_line(char* line) { argument
44 if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %*4s %*x %*x:%*x %*d%n", &start,
49 while (isspace(line[name_pos])) {
52 const char* name = line + name_pos;
H A Dpthread_attr.cpp134 char line[BUFSIZ]; local
135 while (fgets(line, sizeof(line), fp) != NULL) {
136 if (ends_with(line, " [stack]\n")) {
138 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) {
146 __libc_fatal("No [stack] line found in /proc/self/maps!");
/bionic/libc/tools/
H A 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
[all...]
H A 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
[all...]
H A Dbionic_utils.py48 def parse_line(self, line):
49 """ parse a syscall spec line.
51 line processing, format is
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)
[all...]
H A 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)
H A 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)
49 #print 'ignoring: ' % line
H A Dgenlibgcc_compat.py105 for line in fd:
106 m = prog.search(line)
H A Dgensyscalls.py429 for line in open(path):
430 m = re.search(pattern, line)
/bionic/libc/kernel/tools/
H A Dkernel.py77 def checkInclude(self, line, from_file, kernel_root=None):
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):
304 line = string.strip(line)
307 if len(line)
[all...]
H A 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)
H A Dcpp.py151 self.text = None # content of current line, with final \n stripped
152 self.line = 0 # number of current line
153 self.pos = 0 # current character position in current line
154 self.len = 0 # length of current line text
157 def setLineText(self,line):
158 """set the content of the (next) current line. should be called
160 self.text = line
161 self.len = len(line)
165 """refresh the content of 'line' wit
[all...]
/bionic/tests/
H A Ddlfcn_test.cpp191 char line[BUFSIZ]; local
194 while (fgets(line, sizeof(line), fp) != NULL) {
195 uintptr_t start = strtoul(line, 0, 16);
196 line[strlen(line) - 1] = '\0'; // Chomp the '\n'.
197 char* path = strchr(line, '/');
H A Dpthread_test.cpp845 // What does /proc/self/maps' [stack] line say?
849 char line[BUFSIZ]; local
850 while (fgets(line, sizeof(line), fp) != NULL) {
853 sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %*4s %*x %*x:%*x %*d %10s", &lo, &hi, name);
/bionic/libc/kernel/uapi/linux/
H A Dserial.h26 int line; member in struct:serial_struct
H A Domapfb.h216 __u16 line; member in struct:omapfb_tearsync_info
H A Dvideodev2.h1134 __u32 line; member in struct:v4l2_sliced_vbi_data
1151 struct v4l2_mpeg_vbi_itv0_line line[35]; member in struct:v4l2_mpeg_vbi_itv0
1155 struct v4l2_mpeg_vbi_itv0_line line[36]; member in struct:v4l2_mpeg_vbi_ITV0
/bionic/libc/tools/zoneinfo/
H A Dupdate-tzdata.py48 for line in open('extracted/%s' % region):
49 fields = line.split()
202 for line in index_lines:
203 m = re.compile('.*href="/time-zones/repository/releases/(tzdata20\d\d\c\.tar\.gz)".*').match(line)
/bionic/libc/dns/resolv/
H A Dres_init.c286 #define MATCH(line, name) \
287 (!strncmp(line, name, sizeof(name) - 1) && \
288 (line[sizeof(name) - 1] == ' ' || \
289 line[sizeof(name) - 1] == '\t'))
329 * on rest of line.
/bionic/libc/arch-mips/string/
H A 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
271 pref 0,0(a1) # bring the first line of src, addr 0
272 pref 0,32(a1) # bring the second line of src, addr 32
273 pref 0,64(a1) # bring the third line of src, addr 64
/bionic/libc/arch-mips64/string/
H A 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
271 pref 0,0(a1) # bring the first line of src, addr 0
272 pref 0,32(a1) # bring the second line of src, addr 32
273 pref 0,64(a1) # bring the third line of src, addr 64

Completed in 340 milliseconds