/external/qemu/android/skin/ |
file.c | 12 #include "android/skin/file.h" 256 dprint( "Warning: skin file button uses unknown key name '%s'", button->name ); 559 /** SKIN FILE 563 skin_file_load_from_v1( SkinFile* file, AConfig* aconfig, const char* basepath ) 567 SkinLayout** ptail = &file->layouts; 571 file->parts = part = skin_part_create_from_v1( aconfig, basepath ); 627 file->version = 1; 632 skin_file_load_from_v2( SkinFile* file, AConfig* aconfig, const char* basepath ) 642 SkinPart** ptail = &file->parts; 656 if (file->parts == NULL 688 SkinFile* file; local [all...] |
/external/qemu/android/utils/ |
path.c | 215 /** MISC FILE AND DIRECTORY HANDLING 228 /* checks that a path points to a regular file */ 261 /* checks that one can read/write a given (regular) file */ 379 /* return the size of a given file in '*psize'. returns 0 on 387 /* result in getting the size of a different file */ 389 HANDLE file = CreateFile( /* lpFilename */ path, local 396 if (file == INVALID_HANDLE_VALUE) { 401 if (!GetFileSizeEx(file, &size)) { 408 CloseHandle(file); 502 /** OTHER FILE UTILITIE [all...] |
/external/qemu/ |
blockdev.c | 7 * later. See the COPYING file in the top-level directory. 43 QemuOpts *drive_add(const char *file, const char *fmt, ...) 57 if (file) 58 qemu_opt_set(opts, "file", file); 137 const char *file = NULL; local 183 file = qemu_opt_get(opts, "file"); 463 if (!file || !*file) { [all...] |
os-win32.c | 243 fprintf(stderr, "Could not acquire pid file: %s\n", strerror(errno)); 250 HANDLE file; local 255 file = CreateFile(filename, GENERIC_WRITE, FILE_SHARE_READ, NULL, 258 if (file == INVALID_HANDLE_VALUE) { 262 ret = WriteFileEx(file, (LPCVOID)buffer, (DWORD)len,
|
qerror.h | 10 * See the COPYING.LIB file in the top-level directory. 30 const char *file; member in struct:QError 36 QError *qerror_from_info(const char *file, int linenr, const char *func, 40 void qerror_report_internal(const char *file, int linenr, const char *func,
|
/external/qemu/distrib/sdl-1.2.15/src/main/macos/ |
SDL_main.c | 23 /* This file takes care of command line argument parsing, and stdio redirection 132 FILE *file; local 140 file = fopen(STDOUT_FILE, "rb"); 141 if ( file ) { 142 empty = (fgetc(file) == EOF) ? 1 : 0; 143 fclose(file); 148 file = fopen(STDERR_FILE, "rb"); 149 if ( file ) { 150 empty = (fgetc(file) == EOF) ? 1 : 0 [all...] |
/external/qemu/distrib/sdl-1.2.15/src/main/win32/ |
SDL_win32_main.c | 163 FILE *file; local 177 file = fopen(stdoutPath, TEXT("rb")); 178 if ( file ) { 179 empty = (fgetc(file) == EOF) ? 1 : 0; 180 fclose(file); 187 file = fopen(stderrPath, TEXT("rb")); 188 if ( file ) { 189 empty = (fgetc(file) == EOF) ? 1 : 0; 190 fclose(file); [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 34 FILE* TiXmlFOpen( const char* filename, const char* mode ); 39 FILE* TiXmlFOpen( const char* filename, const char* mode ) 42 FILE* fp = 0; 800 void TiXmlElement::Print( FILE* cfile, int depth ) const 971 FILE* file = TiXmlFOpen( value.c_str (), "rb" ); local 973 if ( file ) 975 bool result = LoadFile( file, encoding ); 976 fclose( file ); 986 bool TiXmlDocument::LoadFile( FILE* file, TiXmlEncoding encoding [all...] |
/external/skia/src/ports/ |
SkFontConfigParser_android.cpp | 5 * found in the LICENSE file. 48 * or file tag. The resulting strings are put into the fNames or FontFileInfo arrays. 78 * variants then lets textHandler handle the actual file name 109 * fileset, name, and file. 134 } else if (strncmp(tag, "file", len) == 0 && familyData->currentTag == FILESET_TAG) { 135 // If it's a file, parse the attributes, then parse the text inside 142 * name, and file. 156 (strncmp(tag, "file", len) == 0 && familyData->currentTag == FILESET_TAG)) { 168 FILE* file = NULL local [all...] |
/external/skia/tools/ |
win_dbghelp.cpp | 5 * found in the LICENSE file. 41 // ? val - evaluate expression. Used to mark the log file. 96 FILE* file = fopen(filename, "rt"); local 101 while (fgets(line, sizeof(line), file)) { 113 fclose(file); 167 printf("MiniDump file: %s\n", szFileName); 202 * This function expects the .pdb file to be in the same directory.
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
StreamInitiation.java | 9 * you may not use this file except in compliance with the License.
39 private File file;
field in class:StreamInitiation 82 * Identifies the type of file that is desired to be transfered.
92 * Sets the file which contains the information pertaining to the file to be
95 * @param file The file identified by the stream initiator to be sent.
97 public void setFile(final File file) {
[all...] |
/external/smack/src/org/xbill/DNS/ |
Master.java | 9 * A DNS master file parser. This incrementally parses the file, returning 19 private File file; field in class:Master 33 Master(File file, Name origin, long initialTTL) throws IOException { 37 this.file = file; 38 st = new Tokenizer(file); 44 * Initializes the master file reader and opens the specified master file [all...] |
/external/sonivox/arm-fm-22k/host_src/ |
eas_hostmm.c | 3 * File: 7 * This file contains the host wrapper functions for stdio, stdlib, etc. 10 * file system calls. The file locator (EAS_FILE_LOCATOR) handle passed 13 * using a file system, you can use the locator handle to point to 18 * Modify this file to suit the needs of your particular system. 21 * a MIDI type 1 file that can be played. 23 * EAS_HW_FILE is a structure to support the file I/O functions. It 24 * comprises the base memory pointer, the file read pointer, and 25 * the dup flag, which when sets, indicates that the file handle ha 204 EAS_HW_FILE *file; local [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_hostmm.c | 3 * File: 7 * This file contains the host wrapper functions for stdio, stdlib, etc. 10 * file system calls. The file locator (EAS_FILE_LOCATOR) handle passed 13 * using a file system, you can use the locator handle to point to 18 * Modify this file to suit the needs of your particular system. 21 * a MIDI type 1 file that can be played. 23 * EAS_HW_FILE is a structure to support the file I/O functions. It 24 * comprises the base memory pointer, the file read pointer, and 25 * the dup flag, which when sets, indicates that the file handle ha 204 EAS_HW_FILE *file; local [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas_hostmm.c | 3 * File: 7 * This file contains the host wrapper functions for stdio, stdlib, etc. 9 * The file locator (EAS_FILE_LOCATOR) handle passed to 12 * Modify this file to suit the needs of your particular system. 15 * a MIDI type 1 file that can be played. 17 * EAS_HW_FILE is a structure to support the file I/O functions. It 18 * comprises the file descriptor, the file read pointer, and 19 * the dup flag, which when set, indicates that the file handle has 20 * been duplicated, and offset and length within the file 111 EAS_HW_FILE *file; local 239 EAS_HW_FILE *file; local [all...] |
/external/sonivox/arm-wt-22k/misc/ |
eas_host.c | 3 * File: 7 * This file contains the host wrapper functions for stdio, stdlib, etc. 9 * Modify this file to suit the needs of your particular system. 12 * a MIDI type 1 file that can be played. To maintain efficiency, data 16 * EAS_HW_FILE is a structure to support local file buffering. It 17 * comprises the OS File handle, some data related to the local file 23 * If the file system supports duplicate file handles and buffering, 25 * native file I/O routines 233 EAS_HW_FILE *file; local [all...] |
/external/srec/srec/include/ |
utteranc.h | 7 * you may not use this file except in compliance with the License. * 47 ** open file/device, close file/device 97 unsigned long len; /* length of file/utterance */ 98 PFile* file; /* pointer to file */ member in struct:__anon26543 99 char name[MAX_LABEL]; /* file name */ 101 int num_utts; /* no. of utterances in utb file */ 102 annotate *utb_table; /* utb file header information */ 126 utt_file_info file; member in struct:__anon26544 [all...] |
/external/tinyalsa/ |
tinyplay.c | 63 void play_sample(FILE *file, unsigned int card, unsigned int device, unsigned int channels, 76 FILE *file; local 88 fprintf(stderr, "Usage: %s file.wav [-D card] [-d device] [-p period_size]" 94 file = fopen(filename, "rb"); 95 if (!file) { 96 fprintf(stderr, "Unable to open file '%s'\n", filename); 100 fread(&riff_wave_header, sizeof(riff_wave_header), 1, file); 103 fprintf(stderr, "Error: '%s' is not a riff/wave file\n", filename) [all...] |
/external/v8/samples/ |
lineprocessor.cc | 184 // Use argument as a name of file to load. 338 // Reads a file into a v8 string. 340 FILE* file = fopen(name, "rb"); local 341 if (file == NULL) return v8::Handle<v8::String>(); 343 fseek(file, 0, SEEK_END); 344 int size = ftell(file); 345 rewind(file); 350 int read = fread(&chars[i], 1, size - i, file); 353 fclose(file); [all...] |
shell.cc | 135 // function is called. This function loads the content of the file named in 141 v8::String::Utf8Value file(args[0]); 142 if (*file == NULL) { 143 return v8::ThrowException(v8::String::New("Error loading file")); 145 v8::Handle<v8::String> source = ReadFile(*file); 147 return v8::ThrowException(v8::String::New("Error loading file")); 155 // JavaScript file. 159 v8::String::Utf8Value file(args[i]); 160 if (*file == NULL) { 161 return v8::ThrowException(v8::String::New("Error loading file")); 195 FILE* file = fopen(name, "rb"); local [all...] |
/external/v8/src/ |
v8utils.cc | 48 void PrintF(FILE* out, const char* format, ...) { 56 void Flush(FILE* out) { 113 char* ReadCharsFromFile(FILE* file, 118 if (file == NULL || fseek(file, 0, SEEK_END) != 0) { 120 OS::PrintError("Cannot read from file %s.\n", filename); 125 // Get the size of the file and rewind it. 126 *size = ftell(file); 127 rewind(file); 147 FILE* file = OS::FOpen(filename, "rb"); local [all...] |
/external/v8/test/cctest/ |
cctest.h | 57 CcTest(TestFunction* callback, const char* file, const char* name, 63 const char* file() { return file_; } function in class:CcTest
|
/external/valgrind/main/coregrind/m_debuginfo/ |
readstabs.c | 7 This file is part of Valgrind, a dynamic binary instrumentation 28 The GNU General Public License is contained in the file COPYING. 80 N_STSYM = 38, /* Data segment file-scope variable */ 81 N_LCSYM = 40, /* BSS segment file-scope variable */ 84 N_SO = 100, /* Source file path and name */ 86 N_BINCL = 130, /* Beginning of an include file */ 87 N_SOL = 132, /* Include file name */ 89 N_EINCL = 162, /* End of an include file */ 91 N_EXCL = 194, /* Placeholder for an include file */ 118 } file = { NULL, True } local [all...] |
/external/zlib/src/examples/ |
gzappend.c | 1 /* gzappend -- command to append to a gzip file 36 * - Simplfy and unify file operations 37 * - Finish off gzip file in gztack() 39 * - Keep gzip file clean on appended file read errors 47 gzappend takes a gzip file and appends to it, compressing files from the 48 command line or data from stdin. The gzip file is written to directly, to 49 avoid copying that file, in case it's large. Note that this results in the 50 unfriendly behavior that if gzappend fails, the gzip file is corrupted. 60 gzappend first decompresses the gzip file internally, discarding all bu 177 } file; typedef in typeref:struct:__anon29021 [all...] |
/external/zlib/src/test/ |
minigzip.c | 9 * full-featured gzip. No attempt is made to deal with file systems 12 * real thing. On MSDOS, use only on file names without extension 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 40 # define SET_BINARY_MODE(file) 54 # define fileno(file) file->__file 171 FILE *file; member in struct:gzFile_s 222 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") 562 gzFile file; local [all...] |