/external/emma/ant/ant15/com/vladium/emma/ant/ |
XFileSet.java | 11 import java.io.File; 19 * a single 'file' attribute 40 // 'file' attribute: 41 public void setFile (final File file) 45 super.setFile (file); 51 final File parent = file.getParentFile (); 55 include.setName (file.getName ());
|
/external/freetype/src/base/ |
ftsystem.c | 10 /* This file is part of the FreeType project, and may only be used, */ 13 /* this file you indicate that you have read the license and */ 20 /* This file contains the default interface used by FreeType to access */ 206 FT_FILE* file; local 212 file = STREAM_FILE( stream ); 215 ft_fseek( file, offset, SEEK_SET ); 217 return (unsigned long)ft_fread( buffer, 1, count, file ); 227 FT_FILE* file; local 240 file = ft_fopen( filepathname, "rb" ); 241 if ( !file ) [all...] |
/external/icu4c/samples/csdet/ |
csdet.c | 27 FILE *file; local 38 file = fopen(filename, "rb"); 40 if (file == NULL) { 41 printf("Cannot open file \"%s\"\n\n", filename); 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); 49 fclose(file);
|
/external/icu4c/tools/toolutil/ |
pkg_icu.cpp | 22 // read a file list -------------------------------------------------------- *** 35 /* check for multiple text file suffixes to see if this list name is a text file name */ 52 * Read a file list. 53 * If the listname ends with ".txt", then read the list file 55 * If the listname ends with ".dat", then read the ICU .dat package file. 56 * Otherwise, read the file itself as a single-item list. 61 FILE *file; local 65 fprintf(stderr, "missing list file\n") [all...] |
/external/iproute2/ip/ |
ipmonitor.c | 40 FILE *fp = (FILE*)arg; 114 char *file = NULL; local 128 if (matches(*argv, "file") == 0) { 130 file = *argv; 179 if (file) { 180 FILE *fp; 181 fp = fopen(file, "r");
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
FileSystemResourceLoader.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 34 private final File rootDir; 36 public FileSystemResourceLoader(File rootDir) { 41 this(new File(rootDir)); 46 File file = new File(rootDir, name); local 47 // Check for non-directory rather than is-file so that reads from 49 if (file.exists() && !file.isDirectory() && file.canRead()) 73 File file = new File(rootDir, filename); local [all...] |
/external/jsilver/src/org/clearsilver/ |
CSUtil.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 74 * Given an ordered list of directories to look in, locate the specified file. 75 * Returns <code>null</code> if file not found. 77 * @param filename the name of the file. 78 * @return a File object corresponding to the file. <code>null</code> if 79 * file not found. 81 public static File locateFile(List<String> loadpaths, String filename) { 89 File file = new File(path, filename) local [all...] |
/external/marisa-trie/lib/marisa/ |
reader.cc | 17 Reader::Reader(std::FILE *file) 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} 36 std::FILE *file = NULL; local 37 if (::fopen_s(&file, filename, "rb") != 0) { 41 std::FILE * const file = ::fopen(filename, "rb"); member in class:marisa::std 42 MARISA_THROW_IF(file == NULL, MARISA_IO_ERROR); 44 if (::fseek(file, offset, whence) != 0) [all...] |
writer.cc | 17 Writer::Writer(std::FILE *file) 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} 37 std::FILE *file = NULL; local 39 ::fopen_s(&file, filename, "rb+"); 41 if (file == NULL) { 42 if (::fopen_s(&file, filename, "wb") != 0) { 47 std::FILE *file = NULL local [all...] |
/external/marisa-trie/tests/ |
io-test.cc | 156 FILE *file = NULL; local 157 ASSERT(::fopen_s(&file, "io-test.dat", "wb") == 0); 159 FILE *file = std::fopen("io-test.dat", "wb"); local 160 ASSERT(file != NULL); 162 marisa::Writer writer(file); 167 ASSERT(std::fclose(file) == 0); 172 FILE *file = NULL local 175 FILE *file = std::fopen("io-test.dat", "rb"); local [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
reader.cc | 17 Reader::Reader(std::FILE *file) 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} 36 std::FILE *file = NULL; local 37 if (::fopen_s(&file, filename, "rb") != 0) { 41 std::FILE * const file = ::fopen(filename, "rb"); member in class:marisa_alpha::std 42 MARISA_ALPHA_THROW_IF(file == NULL, MARISA_ALPHA_IO_ERROR); 44 if (::fseek(file, offset, whence) != 0) [all...] |
writer.cc | 17 Writer::Writer(std::FILE *file) 18 : file_(file), fd_(-1), stream_(NULL), needs_fclose_(false) {} 37 std::FILE *file = NULL; local 39 ::fopen_s(&file, filename, "rb+"); 41 if (file == NULL) { 42 if (::fopen_s(&file, filename, "wb") != 0) { 47 std::FILE *file = NULL local [all...] |
/external/marisa-trie/v0_1_5/tests/ |
io-test.cc | 157 FILE *file = NULL; local 158 ASSERT(::fopen_s(&file, "io-test.dat", "wb") == 0); 160 FILE *file = std::fopen("io-test.dat", "wb"); local 161 ASSERT(file != NULL); 163 marisa_alpha::Writer writer(file); 168 ASSERT(std::fclose(file) == 0); 173 FILE *file = NULL local 176 FILE *file = std::fopen("io-test.dat", "rb"); local [all...] |
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_scan.c | 100 if (src->Register.File == TGSI_FILE_INPUT) { 114 src->Register.File == TGSI_FILE_INPUT && 127 info->indirect_files |= (1 << src->Register.File); 135 info->indirect_files |= (1 << dst->Register.File); 147 const uint file = fulldecl->Declaration.File; local 154 info->file_mask[file] |= (1 << reg); 155 info->file_count[file]++; 156 info->file_max[file] = MAX2(info->file_max[file], (int)reg) 219 uint file = TGSI_FILE_IMMEDIATE; local [all...] |
/external/openssl/crypto/err/ |
err_prn.c | 72 const char *file,*data; local 79 while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) 83 file, line, (flags & ERR_TXT_STRING) ? data : ""); 99 void ERR_print_errors_fp(FILE *fp)
|
/external/openssl/crypto/x509/ |
by_file.c | 75 "Load file into cache", 96 char *file; local 103 file = (char *)getenv(X509_get_default_cert_file_env()); 104 if (file) 105 ok = (X509_load_cert_crl_file(ctx,file, 130 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type) 137 if (file == NULL) return(1); 140 if ((in == NULL) || (BIO_read_filename(in,file) <= 0)) 197 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type) 204 if (file == NULL) return(1) [all...] |
/external/proguard/src/proguard/ |
FileWordReader.java | 28 * A <code>WordReader</code> that returns words from a file or a URL. 39 * Creates a new FileWordReader for the given file. 41 public FileWordReader(File file) throws IOException 43 super(file.getParentFile()); 45 this.name = file.getPath(); 48 new FileReader(file))); 76 return "line " + reader.getLineNumber() + " of file '" + name + "'";
|
/external/proguard/src/proguard/io/ |
FileDataEntry.java | 28 * This <code>DataEntry</code> represents a file. 34 private final File directory; 35 private final File file; field in class:FileDataEntry 39 public FileDataEntry(File directory, 40 File file) 43 this.file = file; 51 // Chop the directory name from the file name and get the right separators [all...] |
/external/protobuf/src/google/protobuf/ |
message_unittest.cc | 110 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local 113 EXPECT_TRUE(message.ParseFromFileDescriptor(file)); 116 EXPECT_GE(close(file), 0); 123 int file = open(filename.c_str(), O_RDONLY | O_BINARY); local 126 EXPECT_TRUE(message.ParseFromFileDescriptor(file)); 129 EXPECT_GE(close(file), 0); 270 FileDescriptorProto file; local 271 file.set_name("foo.proto"); 272 file.add_message_type()->set_name("Foo"); 273 const Descriptor* descriptor = pool.BuildFile(file)->message_type(0) [all...] |
/external/qemu/android/utils/ |
assert.c | 17 const char* file; member in struct:__anon24771 37 loc->file = fileName; 59 android_panic("ASSERTION FAILURE (%s:%d) in %s\n", loc->file, loc->lineno, loc->function);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testiconv.c | 36 FILE *file; local 42 file = fopen(argv[1], "rb"); 43 if ( !file ) { 48 while ( fgets(buffer, sizeof(buffer), file) ) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAssetManager.java | 8 import java.io.File; 29 File file = new File(resourceLoader.getAssetsBase(), path); local 30 if (file.isDirectory()) { 31 return file.list(); 38 return new FileInputStream(new File(resourceLoader.getAssetsBase(), fileName));
|
/external/skia/tests/ |
DocumentTest.cpp | 54 FILE* file = fopen(path.c_str(), "r"); local 55 // The created file should be empty. 57 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0); 58 fclose(file); 69 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "file.pdf"); 79 FILE* file = fopen(path.c_str(), "r"); local 80 REPORTER_ASSERT(reporter, file != NULL); 82 REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0) [all...] |
/external/skia/tools/ |
skhello.cpp | 5 * found in the LICENSE file. 97 SkString file; local 98 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); 99 if (!gRec[i].fProc(w, h, file.c_str(), text.c_str(), paint)) {
|
/external/smack/src/org/jivesoftware/smack/ |
BOSHConfiguration.java | 9 * you may not use this file except in compliance with the License. 39 private String file; field in class:BOSHConfiguration 45 file = "/http-bind/"; 52 file = "/http-bind/"; 64 * @param filePath the file which is described by the URL 73 file = (filePath != null ? filePath : "/"); 85 * @param filePath the file which is described by the URL 95 file = (filePath != null ? filePath : "/"); 119 if (file.charAt(0) != '/') { 120 file = '/' + file [all...] |