/bionic/libc/tools/ |
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 = 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 …]
|
D | generate-NOTICE.py | 74 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 = line.replace("# ", "") 80 if line.startswith("++Copyright++"): 82 line = line.replace("--Copyright--", "") 83 line = line.rstrip() 85 if line == "#" or line == " *" or line == "**" or line == "-": [all …]
|
D | bionic_utils.py | 184 def parse_line(self, line): argument 190 pos_lparen = line.find('(') 193 E("missing left parenthesis in '%s'" % line) 196 pos_rparen = line.rfind(')') 198 E("missing or misplaced right parenthesis in '%s'" % line) 201 return_type = line[:pos_lparen].strip().split() 203 E("missing return type in '%s'" % line) 215 E("misplaced colon in '%s'" % line) 226 E("misplaced colon2 in '%s'" % line) 233 syscall_params = line[pos_lparen+1:pos_rparen].split(',') [all …]
|
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)
|
D | gensyscalls.py | 319 for line in open(path): 320 m = re.search(pattern, line)
|
/bionic/libc/bionic/ |
D | assert.cpp | 35 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() 40 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { in __assert2() argument 41 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression); in __assert2()
|
D | debug_mapinfo.cpp | 40 static mapinfo_t* parse_maps_line(char* line) { in parse_maps_line() argument 41 int len = strlen(line); in parse_maps_line() 44 line[--len] = 0; in parse_maps_line() 47 if (line[20] != 'x') return 0; in parse_maps_line() 52 mi->start = strtoul(line, 0, 16); in parse_maps_line() 53 mi->end = strtoul(line + 9, 0, 16); in parse_maps_line() 55 strcpy(mi->name, line + 49); in parse_maps_line()
|
/bionic/libc/kernel/tools/ |
D | kernel.py | 77 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))): 304 def parseLine(self,line): argument 305 line = string.strip(line) 308 if len(line) == 0 or line[0] == "#": 311 m = ConfigParser.re_CONFIG_.match(line) [all …]
|
D | utils.py | 78 self.line = "" 81 self.line += msg 85 return self.line 112 for line in open(path): 113 if len(line) > 0 and line[-1] == '\n': 114 line = line[:-1] 115 walk_source_files([line],callback,args,excludes)
|
D | cpp.py | 217 self.line = 0 # number of current line 222 def setLineText(self,line): argument 225 self.text = line 226 self.len = len(line) 237 tok.lineno = self.line + 1 240 tok.lineno = self.line 250 self.line += 1 476 def __init__(self,line,lineno=1): argument 478 self.line = lineno 479 self.setLineText(line) [all …]
|
/bionic/tests/ |
D | dlfcn_test.cpp | 157 char line[BUFSIZ]; in TEST() local 160 while (fgets(line, sizeof(line), fp) != NULL) { in TEST() 161 uintptr_t start = strtoul(line, 0, 16); in TEST() 162 line[strlen(line) - 1] = '\0'; // Chomp the '\n'. in TEST() 163 char* path = strchr(line, '/'); in TEST()
|
/bionic/libc/tools/zoneinfo/ |
D | generate | 43 for line in open('extracted/%s' % region): 44 fields = line.split()
|
/bionic/libc/kernel/common/linux/ |
D | mt9t013.h | 90 uint16_t line; member
|
D | videodev2.h | 1899 __u32 line; member 1916 struct v4l2_mpeg_vbi_itv0_line line[35]; member 1920 struct v4l2_mpeg_vbi_itv0_line line[36]; member
|
/bionic/libc/arch-mips/string/ |
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
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 275 #define MATCH(line, name) \ in __res_vinit() argument 276 (!strncmp(line, name, sizeof(name) - 1) && \ in __res_vinit() 277 (line[sizeof(name) - 1] == ' ' || \ in __res_vinit() 278 line[sizeof(name) - 1] == '\t')) in __res_vinit()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 3 # Each non comment line has the following format:
|