/external/icu4c/tools/toolutil/ |
D | filestrm.c | 34 FILE *file = fopen(filename, mode); in T_FileStream_open() 76 fclose((FILE*)fileStream); in T_FileStream_close() 82 FILE* temp = fopen(filename, "r"); in T_FileStream_file_exists() 105 return fread(addr, 1, len, (FILE*)fileStream); in T_FileStream_read() 112 return fwrite(addr, 1, len, (FILE*)fileStream); in T_FileStream_write() 118 rewind((FILE*)fileStream); in T_FileStream_rewind() 124 int32_t c = fputc(ch, (FILE*)fileStream); in T_FileStream_putc() 131 int c = fgetc((FILE*)fileStream); in T_FileStream_getc() 139 int32_t c = ungetc(ch, (FILE*)fileStream); in T_FileStream_ungetc() 146 int32_t c = fgetc((FILE*)fileStream); in T_FileStream_peek() [all …]
|
D | writesrc.h | 29 U_CAPI FILE * U_EXPORT2 40 usrc_writeArray(FILE *f, 51 usrc_writeUTrieArrays(FILE *f, 63 usrc_writeUTrieStruct(FILE *f,
|
/external/skia/src/ports/ |
D | SkOSFile_stdio.cpp | 49 size_t curr = ::ftell((FILE*)f); // remember where we are in sk_fgetsize() 50 ::fseek((FILE*)f, 0, SEEK_END); // go to the end in sk_fgetsize() 51 size_t size = ::ftell((FILE*)f); // record the size in sk_fgetsize() 52 ::fseek((FILE*)f, (long)curr, SEEK_SET); // go back to our prev loc in sk_fgetsize() 59 ::rewind((FILE*)f); in sk_frewind() 69 size_t curr = ::ftell((FILE*)f); in sk_fread() 71 …BUGF(("sk_fread: ftell(%p) returned -1 feof:%d ferror:%d\n", f, feof((FILE*)f), ferror((FILE*)f))); in sk_fread() 75 int err = ::fseek((FILE*)f, (long)byteCount, SEEK_CUR); in sk_fread() 78 byteCount, curr, feof((FILE*)f), ferror((FILE*)f), err)); in sk_fread() 84 return ::fread(buffer, 1, byteCount, (FILE*)f); in sk_fread() [all …]
|
/external/tcpdump/lbl/ |
D | os-sunos4.h | 25 #ifdef FILE 26 int _filbuf(FILE *); 27 int _flsbuf(u_char, FILE *); 28 int fclose(FILE *); 29 int fflush(FILE *); 30 int fgetc(FILE *); 31 int fprintf(FILE *, const char *, ...); 32 int fputc(int, FILE *); 33 int fputs(const char *, FILE *); 34 u_int fread(void *, u_int, u_int, FILE *); [all …]
|
/external/libpcap/lbl/ |
D | os-sunos4.h | 25 #ifdef FILE 26 int _filbuf(FILE *); 27 int _flsbuf(u_char, FILE *); 28 int fclose(FILE *); 29 int fflush(FILE *); 30 int fgetc(FILE *); 31 int fprintf(FILE *, const char *, ...); 32 int fputc(int, FILE *); 33 int fputs(const char *, FILE *); 34 u_int fread(void *, u_int, u_int, FILE *); [all …]
|
/external/expat/xmlwf/ |
D | xmlwf.c | 30 FILE *fp = (FILE *)userData; in characterData() 64 attributeValue(FILE *fp, const XML_Char *s) in attributeValue() 125 FILE *fp = (FILE *)userData; in startElement() 147 FILE *fp = (FILE *)userData; in endElement() 172 FILE *fp = (FILE *)userData; in startElementNS() 218 FILE *fp = (FILE *)userData; in endElementNS() 238 FILE *fp = (FILE *)userData; in processingInstruction() 300 FILE *fp = (FILE *)XML_GetUserData((XML_Parser) userData); in markup() 310 ftprintf((FILE *)XML_GetUserData(parser), T(" uri=\"%s\""), uri); in metaLocation() 311 ftprintf((FILE *)XML_GetUserData(parser), in metaLocation() [all …]
|
/external/libxml2/include/libxml/ |
D | debugXML.h | 29 xmlDebugDumpString (FILE *output, 32 xmlDebugDumpAttr (FILE *output, 36 xmlDebugDumpAttrList (FILE *output, 40 xmlDebugDumpOneNode (FILE *output, 44 xmlDebugDumpNode (FILE *output, 48 xmlDebugDumpNodeList (FILE *output, 52 xmlDebugDumpDocumentHead(FILE *output, 55 xmlDebugDumpDocument (FILE *output, 58 xmlDebugDumpDTD (FILE *output, 61 xmlDebugDumpEntities (FILE *output, [all …]
|
/external/openssl/crypto/x509/ |
D | x_all.c | 124 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() 129 int i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp() 146 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() 151 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) in i2d_X509_CRL_fp() 168 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp() 173 int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) in i2d_PKCS7_fp() 190 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp() 195 int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req) in i2d_X509_REQ_fp() 214 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 219 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPrivateKey_fp() [all …]
|
/external/oprofile/libutil/ |
D | op_fileio.h | 31 FILE * op_try_open_file(char const * name, char const * mode); 41 FILE * op_open_file(char const * name, char const * mode); 61 void op_close_file(FILE * fp); 72 void op_write_file(FILE * fp, void const * buf, size_t size); 84 void op_write_u32(FILE * fp, u32 val); 96 void op_write_u64(FILE * fp, u64 val); 106 void op_write_u8(FILE * fp, u8 val); 123 char * op_get_line(FILE * fp);
|
D | op_fileio.c | 22 static FILE * op_do_open_file(char const * name, char const * mode, int fatal) in op_do_open_file() 24 FILE * fp; in op_do_open_file() 40 FILE * op_try_open_file(char const * name, char const * mode) in op_try_open_file() 46 FILE * op_open_file(char const * name, char const * mode) in op_open_file() 52 void op_close_file(FILE * fp) in op_close_file() 59 void op_write_file(FILE * fp, void const * buf, size_t size) in op_write_file() 77 void op_write_u8(FILE * fp, u8 val) in op_write_u8() 83 void op_write_u32(FILE * fp, u32 val) in op_write_u32() 89 void op_write_u64(FILE * fp, u64 val) in op_write_u64() 97 FILE * fp; in op_read_int_from_file() [all …]
|
/external/webkit/SunSpider/ |
D | sunspider-compare-results | 51 open FILE, "<", $filename or die; 56 while (<FILE>) { 80 close FILE; 91 open FILE, ">", $path or die; 92 print FILE $contents; 93 close FILE; 99 open FILE, "<", $path or die; 100 my $result = <FILE>; 101 close FILE;
|
/external/openssl/crypto/bio/ |
D | bss_file.c | 122 FILE *file; in BIO_new_file() 145 BIO *BIO_new_fp(FILE *stream, int close_flag) in BIO_new_fp() 199 ret=fread(out,1,(int)outl,(FILE *)b->ptr); in file_read() 200 if(ret == 0 && (b->flags&BIO_FLAGS_UPLINK)?UP_ferror((FILE *)b->ptr):ferror((FILE *)b->ptr)) in file_read() 219 ret=fwrite(in,(int)inl,1,(FILE *)b->ptr); in file_write() 233 FILE *fp=(FILE *)b->ptr; in file_ctrl() 234 FILE **fpp; in file_ctrl() 282 int fd = fileno((FILE*)ptr); in file_ctrl() 288 int fd = fileno((FILE*)ptr); in file_ctrl() 296 int fd = fileno((FILE*)ptr); in file_ctrl() [all …]
|
/external/srec/portable/src/ |
D | PFileWrap.c | 35 fclose ( (FILE *)self ); in PFileClose() 47 items_read = fread ( buffer, size, *count, (FILE *)self ); in PFileRead() 56 ferror_status = ferror ( (FILE *)self ); in PFileRead() 78 items_written = fwrite ( buffer, size, *count, (FILE *)self ); in PFileWrite() 99 flush_ok = fflush ( (FILE *)self ); in PFileFlush() 119 seek_ok = fseek ( (FILE *)self, offset, origin ); in PFileSeek() 139 ftell_result = ftell ( (FILE *)self ); in PFileGetPosition() 173 is_eof = feof ( (FILE *)self ); in PFileIsEOF() 189 is_error = ferror ( (FILE *)self ); in PFileIsErrorSet() 203 clearerr ( (FILE *)self ); in PFileClearError() [all …]
|
/external/blktrace/btt/ |
D | output.c | 54 void output_section_hdr(FILE *ofp, char *hdr) in output_section_hdr() 61 void output_hdr(FILE *ofp, char *hdr) in output_hdr() 68 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) in __output_avg() 94 FILE *ofp; 109 void output_dip_avg(FILE *ofp, char *hdr, ai_dip_t (*func)(struct d_info *)) in output_dip_avg() 118 FILE *ofp; 128 FILE *ofp = q2dp->ofp; in __output_q2d_histo() 138 void output_q2d_histo(FILE *ofp) in output_q2d_histo() 186 fprintf((FILE *)arg, in __output_dip_merge_ratio() 225 void output_dip_merge_ratio(FILE *ofp) in output_dip_merge_ratio() [all …]
|
D | bno_dump.c | 24 FILE *rfp, *wfp, *cfp; 27 static FILE *bno_dump_open(__u32 device, char rwc) in bno_dump_open() 29 FILE *fp; in bno_dump_open() 45 static inline void bno_dump_write(FILE *fp, struct io *iop) in bno_dump_write() 75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; in bno_dump_add()
|
/external/bison/src/ |
D | gram.h | 220 void rule_lhs_print (rule *r, symbol *previous_lhs, FILE *out); 226 void rule_rhs_print (rule *r, FILE *out); 229 void rule_print (rule *r, FILE *out); 246 void ritem_print (FILE *out); 253 void grammar_rules_partial_print (FILE *out, const char *title, 257 void grammar_rules_print (FILE *out); 260 void grammar_dump (FILE *out, const char *title);
|
D | vcg.h | 951 void open_node (FILE *fout); 952 void output_node (node *n, FILE *fout); 953 void close_node (FILE *fout); 955 void open_edge (edge *e, FILE *fout); 956 void output_edge (edge *e, FILE *fout); 957 void close_edge (FILE *fout); 959 void open_graph (FILE *fout); 960 void output_graph (graph *g, FILE *fout); 961 void close_graph (graph *g, FILE *fout);
|
D | scan-skel.l | 45 FILE *skel_get_in (void); 46 FILE *skel_get_out (void); 50 void skel_set_in (FILE *); 51 void skel_set_out (FILE *); 127 scan_skel (FILE *in)
|
/external/libpng/contrib/pngminus/ |
D | pnm2png.c | 52 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha); 53 void get_token(FILE *pnm_file, char *token); 54 png_uint_32 get_data (FILE *pnm_file, int depth); 55 png_uint_32 get_value (FILE *pnm_file, int depth); 63 FILE *fp_rd = stdin; in main() 64 FILE *fp_al = NULL; in main() 65 FILE *fp_wr = stdout; in main() 186 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha) in pnm2png() 446 void get_token(FILE *pnm_file, char *token) in get_token() 476 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() [all …]
|
/external/webkit/WebKitTools/Scripts/ |
D | do-webcore-rename | 184 open FILE, $file or die; 185 $contents = <FILE>; 186 close FILE; 195 open FILE, ">", $file or die; 196 print FILE $newContents; 197 close FILE;
|
D | do-file-rename | 100 open FILE, $file or die; 101 $contents = <FILE>; 102 close FILE; 111 open FILE, ">", $file or die; 112 print FILE $newContents; 113 close FILE;
|
/external/qemu/ |
D | trace.h | 28 FILE *fstream; 47 FILE *fstream; 60 FILE *fstream; 71 FILE *fstream; 84 FILE *fstream; 95 FILE *fstream; 104 FILE *fstream;
|
/external/wpa_supplicant/ |
D | config_file.c | 43 static char * wpa_config_get_line(char *s, int size, FILE *stream, int *line, in wpa_config_get_line() 129 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) in wpa_config_read_network() 189 static struct wpa_config_blob * wpa_config_read_blob(FILE *f, int *line, in wpa_config_read_blob() 247 FILE *f; in wpa_config_read() 425 static void write_str(FILE *f, const char *field, struct wpa_ssid *ssid) in write_str() 435 static void write_int(FILE *f, const char *field, int value, int def) in write_int() 443 static void write_bssid(FILE *f, struct wpa_ssid *ssid) in write_bssid() 453 static void write_psk(FILE *f, struct wpa_ssid *ssid) in write_psk() 463 static void write_proto(FILE *f, struct wpa_ssid *ssid) in write_proto() 479 static void write_key_mgmt(FILE *f, struct wpa_ssid *ssid) in write_key_mgmt() [all …]
|
/external/zlib/contrib/minizip/ |
D | ioapi.c | 73 FILE* file = NULL; 97 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); 109 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream); 118 ret = ftell((FILE *)stream); 144 fseek((FILE *)stream, offset, fseek_origin); 153 ret = fclose((FILE *)stream); 162 ret = ferror((FILE *)stream);
|
/external/bluez/utils/rfcomm/ |
D | lexer.c | 157 extern FILE *yyin, *yyout; 190 FILE *yy_input_file; 286 void yyrestart (FILE *input_file ); 288 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); 296 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); 336 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; 544 FILE *yyget_in (void ); 546 void yyset_in (FILE * in_str ); 548 FILE *yyget_out (void ); 550 void yyset_out (FILE * out_str ); [all …]
|