HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 326 - 350 of 1907) sorted by null

<<11121314151617181920>>

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Message.java 54 public String file; field in class:Message
108 if (file != null) {
109 locationST.add("file", file);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecureClassLoader2Test.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
20 import java.io.File;
63 File file = Support_GetLocal.getLocalFile("hyts_security.jar"); local
64 JarFile jar = new JarFile(file);
  /external/apache-harmony/support/src/test/java/tests/support/
Support_GetLocal.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
22 import java.io.File;
35 static Hashtable<String, File> cache = new Hashtable<String, File>(20);
37 public static File getLocalFile(String url) throws IOException,
40 File temp = cache.get(url);
43 temp = File.createTempFile("hyts_local", ".tmp", null);
58 public static File getExternalLocalFile(String url) throws IOException
96 File file = getLocalFile("hyts_att.jar"); local
    [all...]
  /external/apache-http/src/org/apache/http/entity/
FileEntity.java 8 * or more contributor license agreements. See the NOTICE file
10 * regarding copyright ownership. The ASF licenses this file
12 * "License"); you may not use this file except in compliance
34 import java.io.File;
41 * An entity whose content is retrieved from a file.
51 protected final File file; field in class:FileEntity
53 public FileEntity(final File file, final String contentType) {
55 if (file == null)
    [all...]
  /external/checkpolicy/
checkmodule.c 50 static int read_binary_policy(policydb_t * p, char *file, char *progname)
57 fd = open(file, O_RDONLY);
60 file, strerror(errno));
65 file, strerror(errno));
73 fprintf(stderr, "Can't map '%s': %s\n", file, strerror(errno));
111 static int write_binary_policy(policydb_t * p, char *file, char *progname)
113 FILE *outfp = NULL;
118 progname, policyvers, file);
120 outfp = fopen(file, "w");
122 perror(file);
164 char *file = txtfile, *outfile = NULL; local
    [all...]
  /external/chromium/chrome/browser/
browsing_data_local_storage_helper_browsertest.cc 3 // found in the LICENSE file.
122 // Ensure the file has been deleted.
165 const FilePath::CharType file[] = local
181 EXPECT_EQ(FilePath(file).value(), result[0].file_path.BaseName().value());
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/
HelloLicenseServlet.java 13 * in the "LICENSE" file.
89 String file = ""; local
90 for (String line; (line = input.readLine()) != null; file += line);
94 JSONObject json = new JSONObject(file);
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-java/workspace/HelloLicense/src/com/example/
HelloLicenseServlet.java 13 * in the "LICENSE" file.
89 String file = ""; local
90 for (String line; (line = input.readLine()) != null; file += line);
94 JSONObject json = new JSONObject(file);
  /external/chromium/chrome/common/extensions/
user_script.cc 3 // found in the LICENSE file.
50 UserScript::File::File(const FilePath& extension_root,
58 UserScript::File::File() {}
60 UserScript::File::~File() {}
93 void UserScript::File::Pickle(::Pickle* pickle) const {
99 void UserScript::File::Unpickle(const ::Pickle& pickle, void** iter) {
135 for (FileList::const_iterator file = js_scripts_.begin()
209 File file; local
219 File file; local
    [all...]
  /external/chromium/net/base/
upload_data.cc 3 // found in the LICENSE file.
58 // the file when we get around to reading it. We should probably find a way
59 // to lock the file or somehow protect against this error condition.
72 // We need to open the file here to decide if we should report the file's
73 // size or zero. We cache the open file, so that we can still read it when
96 FileStream* file = file_stream_; local
98 return file;
101 scoped_ptr<FileStream> file(new FileStream());
102 int64 rv = file->Open(file_path_
    [all...]
  /external/chromium/net/disk_cache/
file_win.cc 3 // found in the LICENSE file.
5 #include "net/disk_cache/file.h"
17 MyOverlapped(disk_cache::File* file, size_t offset,
25 scoped_refptr<disk_cache::File> file_;
56 MyOverlapped::MyOverlapped(disk_cache::File* file, size_t offset,
61 file_ = file;
69 File::File(base::PlatformFile file
238 HANDLE file = platform_file(); local
248 HANDLE file = platform_file(); local
    [all...]
  /external/chromium/net/tools/dump_cache/
cache_dumper.cc 3 // found in the LICENSE file.
47 // If the path starts with the long file header, skip over that
95 std::wstring file = entry_path_.value(); local
97 entry_ = CreateFileW(file.c_str(), GENERIC_WRITE|GENERIC_READ, 0, 0,
100 wprintf(L"CreateFileW (%s) failed: %d\n", file.c_str(), GetLastError());
164 // Skip this entry if it was truncated (results in an empty file).
  /external/chromium_org/base/process/
process_linux.cc 3 // found in the LICENSE file.
95 const base::FilePath file = local
98 return file_util::WriteFile(file, pid.c_str(), pid.size()) > 0;
  /external/chromium_org/chrome/browser/chromeos/drive/
local_file_reader.cc 3 // found in the LICENSE file.
25 // Opens the file at |file_path| and seeks to the |offset| from begin.
27 // the opened file.
35 // First of all, open the file.
40 base::PlatformFile file = local
42 if (file == base::kInvalidPlatformFileValue) {
49 file, base::PLATFORM_FILE_FROM_BEGIN, offset);
51 // If failed, close the file and return an error.
52 base::ClosePlatformFile(file);
56 *platform_file = file;
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/serial/
serial_io_handler.h 3 // found in the LICENSE file.
40 void Initialize(base::PlatformFile file,
114 base::PlatformFile file() const { function in class:extensions::SerialIoHandler
  /external/chromium_org/chrome/browser/extensions/
external_pref_loader.cc 3 // found in the LICENSE file.
30 CHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
49 base::FilePath file = json_files.Next(); local
50 if (file.BaseName().value() == kExternalExtensionJson)
52 if (file.empty())
54 if (file.MatchesExtension(extension)) {
55 external_extension_paths.insert(file.BaseName());
57 DVLOG(1) << "Not considering: " << file.LossyDisplayName()
65 // Extracts extension information from a json file serialized by |serializer|.
76 << " in file " << path.value() << "."
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
register_app_task.cc 3 // found in the LICENSE file.
120 FileMetadata file; local
124 if (!metadata_database()->FindFileByFileID(tracker->file_id(), &file)) {
133 if (file.details().file_kind() != FILE_KIND_FOLDER)
136 if (file.details().missing())
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-java/
HelloLicenseServlet.java 4 * found in the LICENSE file.
88 String file = ""; local
89 for (String line; (line = input.readLine()) != null; file += line);
93 JSONObject json = new JSONObject(file);
  /external/chromium_org/chrome/installer/util/
delete_after_reboot_helper.cc 3 // found in the LICENSE file.
5 // This file defines helper methods used to schedule files for deletion
7 // http://code.google.com/p/omaha/source/browse/trunk/common/file.cc and
57 // Check if the file exists, return false if not.
79 // Attempt to open the file exclusively.
80 HANDLE file = ::CreateFileW(path.value().c_str(), local
83 if (file != INVALID_HANDLE_VALUE) {
84 LOG(INFO) << " file not in use: " << path.value();
85 ::CloseHandle(file);
87 PLOG(INFO) << " file in use (or not found?): " << path.value()
    [all...]
  /external/chromium_org/components/nacl/browser/
nacl_file_host.cc 3 // found in the LICENSE file.
30 // Restrict PNaCl file lengths to reduce likelyhood of hitting bugs
31 // in file name limit error-handling-code-paths, etc.
99 base::PlatformFile file,
111 file,
120 // Convert the file URL into a file descriptor.
136 base::PlatformFile file = nacl::OpenNaClExecutableImpl(file_path); local
137 if (file != base::kInvalidPlatformFileValue) {
145 file, file_path, reply_msg))
    [all...]
  /external/chromium_org/content/browser/fileapi/
plugin_private_file_system_backend_unittest.cc 3 // found in the LICENSE file.
95 FileSystemURL file = CreateURL(root_url, "foo"); local
98 AsyncFileTestHelper::CreateFile(context_.get(), file));
100 AsyncFileTestHelper::GetPlatformPath(context_.get(), file,
  /external/chromium_org/content/browser/indexed_db/leveldb/
leveldb_unittest.cc 3 // found in the LICENSE file.
253 base::FilePath file = temp_directory.path().AppendASCII("LOCK"); local
255 leveldb::Status status = env->LockFile(file.AsUTF8Unsafe(), &lock);
261 status = env->LockFile(file.AsUTF8Unsafe(), &lock);
265 status = env->LockFile(file.AsUTF8Unsafe(), &lock2);
  /external/chromium_org/content/renderer/media/
media_stream_audio_processor_unittest.cc 3 // found in the LICENSE file.
40 base::FilePath file; local
41 CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &file));
42 file = file.Append(FILE_PATH_LITERAL("media"))
46 DCHECK(base::PathExists(file));
48 DCHECK(base::GetFileSize(file, &data_file_size64));
49 EXPECT_EQ(length, base::ReadFile(file, data, length));
100 // Read the audio data from a file.
  /external/chromium_org/courgette/
encode_decode_unittest.cc 3 // found in the LICENSE file.
11 void TestAssembleToStreamDisassemble(std::string file,
16 std::string file,
18 const void* original_buffer = file.c_str();
19 size_t original_length = file.length();
72 std::string file = FileContents("setup1.exe"); local
73 TestAssembleToStreamDisassemble(file, 971850);
77 std::string file = FileContents("chrome64_1.exe"); local
78 TestAssembleToStreamDisassemble(file, 814709);
82 std::string file = FileContents("elf-32-1") local
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
fake_resource_manager.h 3 // found in the LICENSE file.
26 const char* file,
50 const char* file,
77 const char* file() const { return file_; } function in class:FakeResourceTracker

Completed in 299 milliseconds

<<11121314151617181920>>