Searched refs:line (Results 1 - 16 of 16) 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);
40 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument
41 __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
41 int len = strlen(line);
44 line[--len] = 0;
47 if (line[20] != 'x') return 0;
52 mi->start = strtoul(line, 0, 16);
53 mi->end = strtoul(line + 9, 0, 16);
55 strcpy(mi->name, line + 49);
/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 Dbionic_utils.py50 def parse_line(self, line):
51 """ parse a syscall spec line.
53 line processing, format is
56 pos_lparen = line.find('(')
59 E("missing left parenthesis in '%s'" % line)
62 pos_rparen = line.rfind(')')
64 E("missing or misplaced right parenthesis in '%s'" % line)
67 return_type = line[:pos_lparen].strip().split()
69 E("missing return type in '%s'" % line)
81 E("misplaced colon in '%s'" % line)
[all...]
H A Dgenerate-NOTICE.py74 for line in lines[start:end]:
75 line = line.replace("\t", " ")
76 line = line.replace("/* ", "")
77 line = line.replace(" * ", "")
78 line = line.replace("** ", "")
79 line
[all...]
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 Dgensyscalls.py309 for line in open(path):
310 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))):
304 def parseLine(self,line):
305 line = string.strip(line)
308 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.py216 self.text = None # content of current line, with final \n stripped
217 self.line = 0 # number of current line
218 self.pos = 0 # current character position in current line
219 self.len = 0 # length of current line text
222 def setLineText(self,line):
223 """set the content of the (next) current line. should be called
225 self.text = line
226 self.len = len(line)
230 """refresh the content of 'line' wit
[all...]
/bionic/tests/
H A Ddlfcn_test.cpp157 char line[BUFSIZ]; local
160 while (fgets(line, sizeof(line), fp) != NULL) {
161 uintptr_t start = strtoul(line, 0, 16);
162 line[strlen(line) - 1] = '\0'; // Chomp the '\n'.
163 char* path = strchr(line, '/');
/bionic/libc/tools/zoneinfo/
H A Dupdate-tzdata.py44 for line in open('extracted/%s' % region):
45 fields = line.split()
166 for line in index_lines:
167 m = re.compile('.*href="/time-zones/repository/releases/(tzdata20\d\d\c\.tar\.gz)".*').match(line)
/bionic/libc/kernel/common/linux/
H A Dmt9t013.h90 uint16_t line; member in struct:mt9t013_exposure_gain
H A Dvideodev2.h1899 __u32 line; member in struct:v4l2_sliced_vbi_data
1916 struct v4l2_mpeg_vbi_itv0_line line[35]; member in struct:v4l2_mpeg_vbi_itv0
1920 struct v4l2_mpeg_vbi_itv0_line line[36]; member in struct:v4l2_mpeg_vbi_ITV0
/bionic/libc/netbsd/resolv/
H A Dres_init.c275 #define MATCH(line, name) \
276 (!strncmp(line, name, sizeof(name) - 1) && \
277 (line[sizeof(name) - 1] == ' ' || \
278 line[sizeof(name) - 1] == '\t'))
318 * 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

Completed in 843 milliseconds