| /external/hyphenation/ |
| substrings.c | 170 FILE *in, *out;
179 if (argc!=3) die("Usage: <orig-file> <new-file>\n");
|
| /external/icu4c/samples/layout/ |
| FontMap.cpp | 41 FILE *file; local 43 file = fopen(fileName, "r"); 45 if (file == NULL) { 46 sprintf(errorMessage, "Could not open the font map file: %s.", fileName); 52 while (fgets(buffer, BUFFER_SIZE, file) != NULL) { 102 sprintf(errorMessage, "The font map file %s does not contain any valid scripts.", fileName); 107 fclose(file); 220 sprintf(errorMessage, "Could not open font file %s", fFontNames[fontIndex]);
|
| /external/icu4c/samples/ugrep/ |
| ugrep.cpp | 37 int firstFileNum; // argv index of the first file name 43 // Info regarding the file currently being processed 48 UChar *ucharBuf = 0; // Buffer, holds converted file. (Simple minded program, always reads 49 // the whole file at once. 51 char *charBuf = 0; // Buffer, for original, unconverted file data. 57 int lineStart; // Index of first char of the current line in the file buffer 134 // Loop through the lines of a file, trying to match the regex pattern on each. 221 int remainingArgs = argc-optInd; // pattern file ... 229 // More than one file to be processed. Display file names with match output 273 FILE *file = fopen(name, "rb"); local [all...] |
| /external/icu4c/test/iotest/ |
| trnstst.c | 6 * file name: strtst.c 27 log_err("Couldn't open test file for writing\n"); 57 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err)); 62 log_err("Error getting the same transliterator was not returned on NULL file\n"); 120 FILE *infile; 130 log_err("Couldn't open test file for writing\n"); 185 log_verbose("Re reading test file to verify transliteration\n"); 189 log_err("Couldn't reopen test file\n"); 197 log_err("Wanted %d UChars from file, got %d\n", u_strlen(compare), len); 203 log_err("Wanted %d UChars from file, but u_strlen() returns %d\n", u_strlen(compare), len) [all...] |
| /external/icu4c/tools/genbrk/ |
| genbrk.cpp | 7 * File genbrk.c 16 // Usage: genbrk [options] -r rule-file.txt -o output-file.brk 21 // The input rule file is a plain text file containing break rules 23 // file can be encoded as utf-8, or utf-16 (either endian), or 62 printf("Usage: %s [-v] [-options] -r rule-file -o output-file\n", progName); 152 fprintf(stderr, "rule file and output file must both be specified.\n") [all...] |
| /external/icu4c/tools/gencfu/ |
| gencfu.cpp | 7 * File gencfu.c 17 // Usage: gencfu [options] -r confusables-file.txt -w whole-script-confusables.txt -o output-file.cfu 62 printf("Usage: %s [-v] [-options] -r confusablesRules.txt -w wholeScriptConfusables.txt -o output-file\n", progName); 156 fprintf(stderr, "confusables file, whole script confusables file and output file must all be specified.\n"); 169 /* Combine the directory with the file name */ 178 // spoof detection data file parsing is dependent on regular expressions. 189 /* write the dummy data file */ 305 FILE *file; local [all...] |
| /external/icu4c/tools/genctd/ |
| genctd.cpp | 7 * File genctd.c 14 // Usage: genctd [options] -o output-file.ctd input-file 19 // The input file is a plain text file containing words, one per line. 22 // The file can be encoded as utf-8, or utf-16 (either endian), or 62 printf("Usage: %s [-v] [-options] -o output-file dictionary-file\n", progName); 150 fprintf(stderr, "input and output file must both be specified.\n"); 162 /* Combine the directory with the file name * [all...] |
| /external/icu4c/tools/gendraft/ |
| genheaders.pl | 8 #* file name: genheaders.pl 15 #* This tool filters the deprecated.html and friends file generated by Doxygen and generates udarft.h 19 use File::Find; 20 use File::Basename; 21 use IO::File; 23 use File::Copy; 25 use File::Path; 26 use File::Copy; 77 $excludeFH = IO::File->new($exclude,"r") 78 or die "could not open the file $exclude for reading: $! \n" [all...] |
| /external/icu4c/tools/genren/ |
| genren.pl | 8 #* file name: genren.pl 47 /^-o/ && (($headername = shift (@ARGV)), next); # output file 67 open HEADER, ">$headername"; # opening a header file 80 * file name: $headername 90 * THIS FILE IS MACHINE-GENERATED, DON'T PLAY WITH IT IF YOU DON'T KNOW WHAT 132 next; # Couldn't do nm for the file 258 -o - output file name (defaults to 'urename.h' 260 Will produce a renaming .h file
|
| /external/icu4c/tools/icupkg/ |
| icupkg.cpp | 8 * file name: icupkg.cpp 56 FILE *where=isHelp ? stdout : stderr; 67 "Read the input ICU .dat package file, modify it according to the options,\n" 69 "and optionally write the resulting ICU .dat package to the output file.\n" 83 "This tool can also be used to just swap a single ICU data file, replacing the\n" 85 "outfilename) for a non-package ICU data file.\n" 128 "\tList file syntax: Items are listed on one or more lines and separated\n" 153 "\t-l or --list list the package items to stdout or to output list file\n" 275 /* swap a single file (icuswap replacement) rather than work on a package */ 315 * If we swap a single file, just assume that we are modifying it [all...] |
| /external/iproute2/ip/ |
| xfrm_policy.c | 431 FILE *fp = (FILE*)arg; 842 FILE *fp = (FILE*)arg;
|
| xfrm_state.c | 699 FILE *fp = (FILE*)arg; 1029 FILE *fp = (FILE*)arg;
|
| /external/iproute2/misc/ |
| lnstat_util.c | 127 lf->fields[i].file = lf; 171 /* allocate lnstat_file and open given file */ 172 static struct lnstat_file *alloc_and_open(const char *path, const char *file) 185 strcpy(lf->basename, file); 278 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) 300 char *file; local 304 file = strndup(name, colon-name); 307 file = NULL; 314 if (file && strcmp(file, lf->basename) [all...] |
| /external/iproute2/tc/ |
| m_mirred.c | 249 print_mirred(struct action_util *au,FILE * f, struct rtattr *arg)
|
| q_atm.c | 191 static int atm_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
| q_gred.c | 255 static int gred_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
| q_tbf.c | 218 static int tbf_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
|
| /external/ipsec-tools/src/racoon/ |
| localconf.c | 179 FILE *fp; 192 "failed to open pre_share_key file %s\n", 251 * get a file name of a type specified.
|
| /external/jhead/ |
| jhead.h | 2 // Include file for jhead program. 4 // This include file only defines stuff that goes across modules. 7 // gets used in more than one file. 51 // This structure is used to store jpeg file sections in memory. 230 int ReadJpegSections (FILE * infile, ReadMode_t ReadMode); 275 #define M_XMP 0x10E1 // Not a real tag (same value in file as Exif!)
|
| /external/jpeg/ |
| rdjpgcom.c | 5 * This file is part of the Independent JPEG Group's software. 6 * For conditions of distribution and use, see the accompanying README file. 8 * This file contains a very simple stand-alone application that displays 9 * the text in COM (comment) markers in a JFIF file. 57 * These macros are used to read the input file. 61 static FILE * infile; /* input JPEG file */ 79 ERREXIT("Premature EOF in JPEG file"); 92 ERREXIT("Premature EOF in JPEG file"); 95 ERREXIT("Premature EOF in JPEG file"); [all...] |
| wrtarga.c | 5 * This file is part of the Independent JPEG Group's software. 6 * For conditions of distribution and use, see the accompanying README file. 8 * This file contains routines to write output images in Targa format. 163 * Startup: write the file header. 171 FILE *outfile; 207 * Finish up at the end of the file. 213 /* Make sure we wrote the output file OK */
|
| /external/libgsm/src/ |
| gsm_print.c | 3 * Universitaet Berlin. See the accompanying file "COPYRIGHT" for 16 int gsm_print P3((f, s, c), FILE * f, gsm s, gsm_byte * c)
|
| /external/libmtp/examples/ |
| detect.c | 2 * \file detect.c 202 // Try to get Media player device info XML file... 205 LIBMTP_file_t *file, *tmp; local 206 file = files; 207 while (file != NULL) { 208 if (!strcmp(file->filename, "WMPInfo.xml") || 209 !strcmp(file->filename, "WMPinfo.xml") || 210 !strcmp(file->filename, "default-capabilities.xml")) { 211 if (file->item_id != 0) { 212 /* Dump this file */ [all...] |
| /external/libpcap/ |
| fad-gifc.c | 45 #include <sys/file.h> 143 FILE *proc_net_f; 241 * fail due to an error reading the file?
|
| nametoaddr.c | 433 static FILE *fp = NULL;
|