/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 | 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 [all...] |
H A D | bionic_utils.py | 184 def parse_line(self, line): 185 """ parse a syscall spec line. 187 line processing, format is 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) [all...] |
H A D | checksyscalls.py | 76 def process_nr_line(line,dict): 78 m = re_mips_line.match(line) 84 m = re_nr_line.match(line) 89 m = re_nr_clock_line.match(line) 94 m = re_arm_nr_line.match(line) 106 m = re_x86_line.match(line) 120 for line in fp.xreadlines(): 121 line = line.strip() 122 if not line [all...] |
/bionic/libc/stdlib/ |
H A D | assert.c | 40 void __assert(const char* file, int line, const char* failed_expression) { argument 42 __libc_android_log_print(ANDROID_LOG_FATAL, "libc", fmt, file, line, failed_expression); 43 fprintf(stderr, fmt, file, line, failed_expression); 48 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument 50 __libc_android_log_print(ANDROID_LOG_FATAL, "libc", fmt, file, line, function, failed_expression); 51 fprintf(stderr, fmt, file, line, function, failed_expression);
|
/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))): 304 def parseLine(self,line): 305 line = string.strip(line) 308 if len(line) [all...] |
H A D | utils.py | 112 def parse_line(self, line): 113 pos_lparen = line.find('(') 116 E("missing left parenthesis in '%s'" % line) 119 pos_rparen = line.rfind(')') 121 E("missing or misplaced right parenthesis in '%s'" % line) 124 return_type = line[:pos_lparen].strip().split() 126 E("missing return type in '%s'" % line) 137 E("misplaced colon in '%s'" % line) 143 syscall_params = line[pos_lparen+1:pos_rparen].split(',') 149 number = line[pos_rpare [all...] |
H A D | cpp.py | 216 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/libc/bionic/ |
H A D | malloc_debug_check_mapinfo.cpp | 40 static mapinfo* 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); 58 strcpy(mi->name, line + 49);
|
H A D | pthread_debug.c | 136 static mapinfo *parse_maps_line(char *line) argument 139 int len = strlen(line); 142 line[--len] = 0; 145 if(line[20] != 'x') return 0; 150 mi->start = strtoul(line, 0, 16); 151 mi->end = strtoul(line + 9, 0, 16); 156 strcpy(mi->name, line + 49);
|
/bionic/libc/netbsd/net/ |
H A D | getservent_r.c | 74 if (sd->line) { 75 free(sd->line); 76 sd->line = NULL; 92 if (sd->line) 93 free(sd->line); 94 // sd->line = fparseln(sd->fp, NULL, NULL, NULL, FPARSELN_UNESCALL); 96 sd->line = NULL; 97 if (sd->line == NULL) 99 sp->s_name = p = sd->line;
|
/bionic/libc/tools/zoneinfo/ |
H A D | generate | 72 for line in open('extracted/%s' % region).readlines(): 73 fields = string.split(line)
|
/bionic/libc/kernel/common/linux/ |
H A D | mt9t013.h | 90 uint16_t line; member in struct:mt9t013_exposure_gain
|
H A D | videodev2.h | 1899 __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/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/netbsd/resolv/ |
H A D | res_init.c | 389 #define MATCH(line, name) \ 390 (!strncmp(line, name, sizeof(name) - 1) && \ 391 (line[sizeof(name) - 1] == ' ' || \ 392 line[sizeof(name) - 1] == '\t')) 432 * on rest of line.
|
/bionic/libc/kernel/common/media/ |
H A D | msm_camera.h | 1057 uint32_t line; member in struct:exp_gain_cfg 1080 uint32_t line; member in struct:sensor_3d_exp_cfg
|