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

/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.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 Dbionic_utils.py184 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 Dchecksyscalls.py76 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 Dassert.c40 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 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.py112 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 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/libc/bionic/
H A Dmalloc_debug_check_mapinfo.cpp40 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 Dpthread_debug.c136 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 Dgetservent_r.c74 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 Dgenerate72 for line in open('extracted/%s' % region).readlines():
73 fields = string.split(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/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/netbsd/resolv/
H A Dres_init.c389 #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 Dmsm_camera.h1057 uint32_t line; member in struct:exp_gain_cfg
1080 uint32_t line; member in struct:sensor_3d_exp_cfg

Completed in 481 milliseconds