| /external/oprofile/libop/ |
| op_events.c | 2 * @file op_events.c 8 * @remark Read the file COPYING 32 static void read_events(char const * file); 33 static void read_unit_masks(char const * file); 220 static void read_unit_masks(char const * file) 224 FILE * fp = fopen(file, "r"); 228 "oprofile: could not open unit mask description file %s\n", file); 232 filename = file; [all...] |
| /external/qemu/ |
| cpu-all.h | 754 void page_dump(FILE *f); 770 void cpu_dump_state(CPUState *env, FILE *f, fprintf_function cpu_fprintf, 772 void cpu_dump_statistics(CPUState *env, FILE *f, fprintf_function cpu_fprintf, 1011 void dump_exec_info(FILE *f, 1012 int (*cpu_fprintf)(FILE *f, const char *fmt, ...));
|
| /external/qemu/distrib/zlib-1.2.3/ |
| gzio.c | 5 * Compile this file with -DNO_GZCOMPRESS to avoid the compression code. 35 FILE *fdopen(int, const char *); 49 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */ 52 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */ 53 #define COMMENT 0x10 /* bit 4 set: file comment present */ 59 int z_eof; /* set if end of input file */ 60 FILE *file; /* .gz file */ member in struct:gz_stream 66 int transparent; /* 1 if input file is not a .gz file * [all...] |
| /external/quake/quake/src/QW/client/ |
| gl_warp.c | 379 void LoadPCX (FILE *f) 389 // parse the PCX file 402 Con_Printf ("Bad pcx file\n"); 463 int fgetLittleShort (FILE *f) 473 int fgetLittleLong (FILE *f) 491 void LoadTGA (FILE *fin) 648 FILE *f;
|
| /external/quake/quake/src/WinQuake/ |
| gl_warp.cpp | 428 void LoadPCX (FILE *f) 438 // parse the PCX file 451 Con_Printf ("Bad pcx file\n"); 512 int fgetLittleShort (FILE *f) 522 int fgetLittleLong (FILE *f) 540 void LoadTGA (FILE *fin) 697 FILE *f;
|
| /external/tinyxml/ |
| xmltest.cpp | 72 // This file demonstrates some basic functionality of TinyXml. 74 // what is in the XML file. But it does test the basic operations, 124 // Write to a file and read it back, to check file I/O. 142 printf( "Could not load test file 'demotest.xml'. Error='%s'. Exiting.\n", doc.ErrorDesc() ); 500 printf( "WARNING: File 'utf8test.xml' not found.\n" 542 FILE* saved = fopen( "utf8testout.xml", "r" ); 543 FILE* verify = fopen( "utf8testverify.xml", "r" ); 811 FILE* textfile = fopen( "textfile.txt", "w" ); 833 FILE* textfile = fopen( "test5.xml", "w" ) [all...] |
| /gdk/samples/quake/jni/ |
| gl_warp.cpp | 428 void LoadPCX (FILE *f) 438 // parse the PCX file 451 Con_Printf ("Bad pcx file\n"); 512 int fgetLittleShort (FILE *f) 522 int fgetLittleLong (FILE *f) 540 void LoadTGA (FILE *fin) 697 FILE *f;
|
| /hardware/qcom/media/mm-video/vidc/vdec/test/ |
| decoder_driver_test.c | 49 FILE * inputBufferFile 52 FILE * inputBufferFile 73 FILE *file_ptr = NULL; 83 DEBUG_PRINT("\n File is not located "); 105 DEBUG_PRINT("\n File can't be created"); 653 DEBUG_PRINT("\n Read Frame from File"); 662 DEBUG_PRINT("\n Read Frame from File szie = %u",data_len); 1056 FILE * inputBufferFile) [all...] |
| /hardware/ti/omap4xxx/domx/test/sample_proxy/ |
| test_sample_proxy.c | 117 * EXTERNAL REFERENCES NOTE : only use if not found in header file 201 FILE *pOutputFile; 202 FILE *pInputfile; 222 FILE *pOutputFile; 223 FILE *pInputfile; 531 printf(" writing to output file :: buffer cnt : %d\n", 549 OMX_PTR pData, OMX_U32 nBytes, FILE * fp) 553 printf("\nIn read i/p file\n"); 569 printf(" Reading from file :: Buffer cont : %d \n", nInBufCount); 574 /* @ fn SampleTest_WriteInBuffers :: Reads a buffer from a file and send to Comp * [all...] |
| /packages/inputmethods/PinyinIME/jni/share/ |
| dicttrie.cpp | 5 * you may not use this file except in compliance with the License. 112 bool DictTrie::save_dict(FILE *fp) { 153 FILE *fp = fopen(filename, "wb"); 168 bool DictTrie::load_dict(FILE *fp) { 249 FILE *fp = fopen(filename, "rb"); 282 FILE *fp = fdopen(sys_fd, "rb");
|
| /bootable/recovery/applypatch/ |
| applypatch.c | 5 * you may not use this file except in compliance with the License. 33 static int LoadPartitionContents(const char* filename, FileContents* file); 46 // Read a file into memory; optionally (retouch_flag == RETOUCH_DO_MASK) mask 48 // don't fail due to randomization); store the file contents and associated 49 // metadata in *file. 52 int LoadFileContents(const char* filename, FileContents* file, 54 file->data = NULL; 60 return LoadPartitionContents(filename, file); 63 if (stat(filename, &file->st) != 0) { 68 file->size = file->st.st_size 493 FileContents file; local [all...] |
| /dalvik/libdex/ |
| sha1.cpp | 8 * - Split a small piece into a header file. 37 Since the file IO in main() reads 16K at a time, any file 8K or 80 /*#define CMDLINE * include main() and file processing */ 278 /* sha1file computes the SHA-1 hash of the named file and puts 287 FILE* f; 327 /* Verify a file created with sha1sum by redirecting output 328 to a file. */ 335 FILE *checkfile; 402 "%s [-c|-h][-q] file name[s]\n [all...] |
| /dalvik/tools/dmtracedump/ |
| TraceDump.c | 5 * you may not use this file except in compliance with the License. 35 /* Version number in the key file. 45 /* thread list in key file is not reliable, so just max out */ 117 * Values from the header of the data file. 181 * The parsed contents of the key file. 184 char* fileData; /* contents of the entire file */ 935 DataKeys* parseKeys(FILE *fp, int verbose) 946 * We load the entire file into memory. We do this, rather than memory- 955 fprintf(stderr, "Key file is empty.\n"); 968 fprintf(stderr, "ERROR: unable to read %ld bytes from trace file\n" 1670 FILE* file = fopen(path, "w+"); local [all...] |
| /external/bluetooth/glib/gobject/ |
| glib-genmarshal.c | 73 static void print_blurb (FILE *bout, 121 static FILE *fout = NULL; 660 gchar *file = slist->data; local 663 if (strcmp (file, "/dev/stdin") == 0) 667 fd = open (file, O_RDONLY); 671 g_warning ("failed to open \"%s\": %s", file, g_strerror (errno)); 676 /* set file name for error reports */ 677 scanner->input_name = file; 679 /* parse & process file */ 862 print_blurb (FILE *bout [all...] |
| /external/chromium/base/ |
| mime_util_xdg.cc | 3 // found in the LICENSE file. 138 // Read and parse |file| which is usually named 'index.theme' per theme spec. 139 bool LoadIndexTheme(const FilePath& file); 146 std::string ReadLine(FILE* fp); 260 bool IconTheme::LoadIndexTheme(const FilePath& file) { 261 FILE* fp = file_util::OpenFile(file, "r"); 349 std::string IconTheme::ReadLine(FILE* fp) {
|
| /external/chromium/chrome/browser/chromeos/login/ |
| wizard_controller.cc | 3 // found in the LICENSE file. 62 // Path to flag file indicating that both parts of OOBE were completed. 724 // Create flag file for boot-time init scripts. 727 FILE* oobe_flag_file = file_util::OpenFile(oobe_complete_path, "w+b"); 739 // Recreate flag file in case it was lost. 741 BrowserThread::FILE, 748 // Pref is not set. For compatibility check flag file. It causes blocking 762 BrowserThread::FILE,
|
| /external/e2fsprogs/lib/ext2fs/ |
| test_io.c | 7 * This file may be redistributed under the terms of the GNU Public 48 FILE *outfile; 129 FILE *f = data->outfile; 147 FILE *f;
|
| /external/elfutils/libdwfl/ |
| linux-kernel-modules.c | 3 This file is part of Red Hat elfutils. 25 those well defined interfaces identified in the file named EXCEPTION 36 covered by this exception. If you modify this file, you may extend this 37 exception to your version of the file, but you are not obligated to do 40 this file solely under the GPL without exception. 81 /* Try to open the given file as it is or under the debuginfo directory. */ 98 /* First try the file's unadorned basename as DEBUGLINK_FILE, 167 int (*predicate) (const char *module, const char *file)) 216 int (*predicate) (const char *module, const char *file)) 233 /* We have the archive file open! * [all...] |
| /external/elfutils/src/ |
| elfcmp.c | 3 This file is part of Red Hat elfutils. 55 static void print_version (FILE *stream, struct argp_state *state); 56 void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 419 /* If we need to look at the gaps we need access to the file data. */ 518 print_version (FILE *stream, struct argp_state *state __attribute__ ((unused)))
|
| size.c | 1 /* Print size information from ELF file. 3 This file is part of Red Hat elfutils. 52 static void print_version (FILE *stream, struct argp_state *state); 53 void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 92 static const char args_doc[] = N_("[FILE...]"); 104 /* Print symbols in file named FNAME. */ 110 /* Handle ELF file. */ 205 least one file has been correctly read (i.e., we recognized the 216 print_version (FILE *stream, struct argp_state *state __attribute__ ((unused))) 294 /* Open the file and determine the type. * [all...] |
| strings.c | 3 This file is part of Red Hat elfutils. 61 static void print_version (FILE *stream, struct argp_state *state); 62 void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version; 71 { "all", 'a', NULL, 0, N_("Scan entire file, not only loaded sections"), 0 }, 77 { "print-file-name", 'f', NULL, 0, 78 N_("Print name of the file before each string."), 0 }, 92 static const char args_doc[] = N_("[FILE...]"); 106 /* True if whole file and not only loaded sections are looked at. */ 124 /* True if file names should be printed before strings. */ 134 /* Mapped parts of the ELF file. * [all...] |
| /external/grub/lib/ |
| device.c | 42 /* Maybe libc doesn't have large file support. */ 418 FILE *fp; 494 read_device_map (FILE *fp, char **map, const char *map_file) 514 /* If there is the device map file, use the data in it instead of 613 space. If MAP_FILE is not NULL, then read mappings from the file 614 MAP_FILE if it exists, otherwise, write guessed mappings to the file. 623 FILE *fp = 0; 638 /* Open the device map file. */ 657 /* Try to open the device map file to write the probed data. */ 699 /* If the device map file is opened, write the map. * [all...] |
| /external/icu4c/test/iotest/ |
| iotest.cpp | 6 * file name: iotest.cpp 84 /* On Windows, the file name obtained from __FILE__ includes a full path. 85 * This file is "wherever\icu\source\test\cintltst\cintltst.c" 112 FILE *file = fopen(".."U_FILE_SEP_STRING".."U_FILE_SEP_STRING "data" U_FILE_SEP_STRING "Makefile.in", "r"); local 113 if (file) { 114 fclose(file); 235 log_err("Can't open test file - %s\n", 319 log_err("Can't open test file - %s\n", 329 log_err("FAILURE file test case %d \"%s\" - Got: \"%s\" Expected: \"%s\"\n" 753 FILE *file = fopen(".."U_FILE_SEP_STRING".."U_FILE_SEP_STRING "data" U_FILE_SEP_STRING "Makefile.in", "r"); local [all...] |
| /external/icu4c/tools/icuswap/ |
| icuswap.cpp | 8 * file name: icuswap.cpp 16 * This tool takes an ICU data file and "swaps" it, that is, changes its 19 * The modified data file is written to a new file. 60 fileSize(FILE *f) { 81 vfprintf((FILE *)context, fmt, args); 93 " Read the input file, swap its platform properties according\n" 94 " to the -t or --type option, and write the result to the output file.\n" 105 FILE *in, *out; 165 /* open the input file, get its length, allocate memory for it, read the file * [all...] |
| /external/iproute2/lib/ |
| utils.c | 485 FILE *fp; 688 int print_timestamp(FILE *fp) 706 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in)
|