HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 151 - 175 of 2724) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/jetty/src/java/org/eclipse/jetty/server/session/
HashedSession.java 22 import java.io.File;
96 File f = new File(_hashSessionManager._storeDir, id);
111 File file = null; local
116 file = new File(_hashSessionManager._storeDir, super.getId());
118 if (file.exists())
119 file.delete();
120 file.createNewFile()
184 File file = new File(_hashSessionManager._storeDir, super.getId()); local
    [all...]
  /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/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
KeepAliveHttpsTransportSE.java 29 private final String file; field in class:KeepAliveHttpsTransportSE
33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) {
34 super(host, port, file, timeout);
37 this.file = file;
52 file, timeout);
  /external/libvpx/libvpx/
video_reader.c 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
23 FILE *file; member in struct:VpxVideoReaderStruct
32 FILE *const file = fopen(filename, "rb"); local
33 if (!file)
34 return NULL; // Can't open file
36 if (fread(header, 1, 32, file) != 32
    [all...]
  /external/lldb/include/lldb/Symbol/
LineEntry.h 5 // This file is distributed under the University of Illinois Open Source
37 const FileSpec &file,
65 /// The compile unit object that contains the support file
66 /// list so the line entry can dump the file name (since this
67 /// object contains a file index into the support file list).
79 /// using \a style. File and load addresses may be unresolved
104 /// The compile unit object that contains the support file
105 /// list so the line entry can dump the file name (since this
106 /// object contains a file index into the support file list)
148 FileSpec file; member in struct:lldb_private::LineEntry
    [all...]
  /external/lldb/source/Symbol/
LineEntry.cpp 5 // This file is distributed under the University of Illinois Open Source
19 file(),
45 file(_file),
60 file.Clear();
81 if (file)
84 file.Dump (s);
86 file.GetFilename().Dump (s);
127 *s << ", file = " << file; local
164 *s << ": " << file; 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/nanopb-c/examples/network_server/
server.c 29 struct dirent *file; local
32 while ((file = readdir(dir)) != NULL)
34 fileinfo.inode = file->d_ino;
35 strncpy(fileinfo.name, file->d_name, sizeof(fileinfo.name));
72 response.file.funcs.encode = NULL;
77 response.file.funcs.encode = &listdir_callback;
78 response.file.arg = directory;
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
PostFile.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
33 File file = new File("README.md"); local
37 .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, file))
  /external/owasp/sanitizer/
Makefile 27 @echo " license files into a zip file suitable for"
126 -Demma.report.out.file=out/coverage/index.html \
155 java -cp ${TEST_CLASSPATH}:out/classes -agentlib:hprof=cpu=times,format=a,file=out/java.hprof.txt,lineno=y,doe=y org.owasp.html.Benchmark benchmark-data/Yahoo\!.html s
  /external/parameter-framework/test/test-subsystem/
TESTSubsystem.cpp 89 // Read boolean from file
92 std::ifstream file; local
95 file.open(strFileName.c_str());
97 file >> strContent;
102 // Write boolean to file
105 std::ofstream file; local
107 file.open(strFileName.c_str());
109 assert(file.is_open());
111 file << strContent;
  /external/pdfium/third_party/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/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/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/experimental/LightSymbolsUtil/lightsymbols/
helper.h 5 FILE* file; member in class:SkFile
12 file = NULL;
21 if (file) {
22 fclose(file);
31 if (file == NULL) {
34 file = fopen(sz, "a");
35 if (file == NULL) {
38 fprintf(file, "\n\n\nNEW SESSION, just coliding ids ... should generate a new file ideally ... \n\n\n")
    [all...]
  /external/skia/tests/
DocumentTest.cpp 53 FILE* file = fopen(path.c_str(), "r"); local
54 // The created file should be empty.
56 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0);
57 fclose(file);
68 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf");
78 FILE* file = fopen(path.c_str(), "r"); local
79 REPORTER_ASSERT(reporter, file != NULL);
81 REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0)
    [all...]
  /external/skia/tools/
chrome_fuzz.cpp 3 // found in the LICENSE file.
14 SkFILE* file = sk_fopen(filename, kRead_SkFILE_Flag); local
15 if (!file) {
16 SkDebugf("couldn't open file %s\n", filename);
19 size_t len = sk_fgetsize(file);
21 SkDebugf("couldn't read file %s\n", filename);
25 (void) sk_fread(testdata->writable_str(), len, file);
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)) {

Completed in 455 milliseconds

1 2 3 4 5 67 8 91011>>