Home
last modified time | relevance | path

Searched refs:P_ (Results 1 – 9 of 9) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/sed/
Dutils.h23 void panic P_((const char *str, ...));
25 FILE *ck_fopen P_((const char *name, const char *mode, int fail));
26 FILE *ck_fdopen P_((int fd, const char *name, const char *mode, int fail));
27 void ck_fwrite P_((const VOID *ptr, size_t size, size_t nmemb, FILE *stream));
28 size_t ck_fread P_((VOID *ptr, size_t size, size_t nmemb, FILE *stream));
29 void ck_fflush P_((FILE *stream));
30 void ck_fclose P_((FILE *stream));
31 const char *follow_symlink P_((const char *path));
32 size_t ck_getline P_((char **text, size_t *buflen, FILE *stream));
33 FILE * ck_mkstemp P_((char **p_filename, char *tmpdir, char *base));
[all …]
Dsed.h190 void bad_prog P_((const char *why));
191 size_t normalize_text P_((char *text, size_t len, enum text_types buftype));
192 struct vector *compile_string P_((struct vector *, char *str, size_t len));
193 struct vector *compile_file P_((struct vector *, const char *cmdfile));
194 void check_final_program P_((struct vector *));
195 void rewind_read_files P_((void));
196 void finish_program P_((struct vector *));
198 struct regex *compile_regex P_((struct buffer *b, int flags, int needed_sub));
199 int match_regex P_((struct regex *regex,
203 void release_regex P_((struct regex *));
[all …]
Dfmt.c138 static bool get_paragraph P_ ((void));
139 static int get_line P_ ((int c));
140 static int get_space P_ ((int c));
141 static int copy_rest P_ ((int c));
142 static bool same_para P_ ((int c));
143 static void flush_paragraph P_ ((void));
144 static void fmt_paragraph P_ ((void));
145 static void check_punctuation P_ ((WORD *w));
146 static COST base_cost P_ ((WORD *this));
147 static COST line_cost P_ ((WORD *next, int len));
[all …]
Dexecute.c135 bool (*read_fn) P_((struct input *)); /* read one line */
186 static VOID *bootstrap_memchr P_((const VOID *s, int c, size_t n));
204 static void resize_line P_((struct line *, size_t));
237 static void str_append P_((struct line *, const char *, size_t));
275 static void str_append_modified P_((struct line *, const char *, size_t,
387 static void line_init P_((struct line *, struct line *, size_t initial_size));
410 static void line_reset P_((struct line *, struct line *));
432 static void line_copy P_((struct line *from, struct line *to, int state));
468 static void line_append P_((struct line *from, struct line *to, int state));
487 static void line_exchange P_((struct line *a, struct line *b, int state));
[all …]
Dcompile.c223 static int inchar P_((void));
245 static void savchar P_((int ch));
265 static int in_nonblank P_((void));
277 static countT in_integer P_((int ch));
293 static int add_then_next P_((struct buffer *b, int ch));
303 static char * convert_number P_((char *, char *, const char *, int, int, int));
351 static struct buffer *read_filename P_((void));
376 static struct output *get_openfile P_((struct output **file_ptrs, const char *mode, int fail));
424 static struct sed_cmd *next_cmd_entry P_((struct vector **vectorp));
450 static int snarf_char_class P_((struct buffer *b, mbstate_t *cur_stat));
[all …]
Dsed.c49 extern char *getenv P_((const char *));
90 static void usage P_((int));
109 static void usage P_((int));
Dutils.c61 static void do_ck_fclose P_((FILE *fp));
104 static const char *utils_fp_name P_((FILE *fp));
546 static void resize_buffer P_((struct buffer *b, size_t newlen));
/ndk/sources/host-tools/sed-4.2.1/
Dbasicdefs.h69 # define P_(s) s macro
71 # define P_(s) () macro
122 extern char *strerror P_((int e));
DChangeLog918 * lib/basicdefs.h [P_]: Make more portable
2026 * sed/execute.c: forgot to P_() the prototype and
2325 declaration, with a P_ prototype.