/bionic/libc/bionic/ |
H A D | assert.cpp | 35 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 D | debug_mapinfo.cpp | 40 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 D | pthread_attr.cpp | 134 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 D | genserv.py | 43 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 D | generate-NOTICE.py | 77 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 D | bionic_utils.py | 48 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 D | check-symbols-glibc.py | 24 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 D | check-symbols.py | 21 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 D | genlibgcc_compat.py | 105 for line in fd: 106 m = prog.search(line)
|
H A D | gensyscalls.py | 429 for line in open(path): 430 m = re.search(pattern, line)
|
/bionic/libc/kernel/tools/ |
H A D | kernel.py | 77 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 D | utils.py | 52 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 D | cpp.py | 151 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 D | dlfcn_test.cpp | 191 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 D | pthread_test.cpp | 845 // 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 D | serial.h | 26 int line; member in struct:serial_struct
|
H A D | omapfb.h | 216 __u16 line; member in struct:omapfb_tearsync_info
|
H A D | videodev2.h | 1134 __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 D | update-tzdata.py | 48 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 D | res_init.c | 286 #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 D | memcpy.S | 122 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 D | memcpy.S | 122 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
|