/dalvik/dx/src/com/android/dx/dex/file/ |
StringIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 28 * Strings list section of a {@code .dex} file. 39 * Constructs an instance. The file offset is initially unknown. 41 * @param file {@code non-null;} file that this instance is part of 43 public StringIdsSection(DexFile file) { 44 super("string_ids", file, 4); 74 * Writes the portion of the file header that refers to this instance.
|
TypeIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 33 * Type identifiers list section of a {@code .dex} file. 42 * Constructs an instance. The file offset is initially unknown. 44 * @param file {@code non-null;} file that this instance is part of 46 public TypeIdsSection(DexFile file) { 47 super("type_ids", file, 4); 78 * Writes the portion of the file header that refers to this instance.
|
UniformListItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 119 public void addContents(DexFile file) { 121 i.addContents(file); 187 protected void writeTo0(DexFile file, AnnotatedOutput out) { 198 i.writeTo(file, out);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/content/ |
FileProviderExample.java | 5 * you may not use this file except in compliance with the License. 29 import java.io.File; 47 // Save a thumbnail to file 48 final File thumbsDir = new File(getFilesDir(), "thumbs"); 50 final File file = new File(thumbsDir, "private.png"); local 51 saveThumbnail(view, file); 53 // Now share that private file using FileProvide [all...] |
/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. 56 protected final File file; field in class:FileEntity 58 public FileEntity(final File file, final String contentType) { 60 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_org/base/process/ |
process_linux.cc | 3 // found in the LICENSE file. 95 const base::FilePath file = local 98 return base::WriteFile(file, pid.c_str(), pid.size()) > 0;
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
TestFileUtil.java | 3 // found in the LICENSE file. 7 import java.io.File; 24 File file = new File(name); local 25 if (!file.createNewFile()) { 26 throw new IOException("File \"" + name + "\" already exists"); 31 writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); 46 File file = new File(name) local [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_util_unittest.cc | 3 // found in the LICENSE file. 125 // Set up file system context for testing. 234 base::FilePath file = temp_dir.path().AppendASCII("test.gdoc"); local 235 EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); 236 EXPECT_EQ(url, ReadUrlFromGDocFile(file)); 237 EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); 240 file = temp_dir.path().AppendASCII("test.gsheet"); 241 EXPECT_TRUE(CreateGDocFile(file, url, resource_id)); 242 EXPECT_EQ(url, ReadUrlFromGDocFile(file)); 243 EXPECT_EQ(resource_id, ReadResourceIdFromGDocFile(file)); [all...] |
/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/safe_browsing/ |
binary_feature_extractor_win.cc | 3 // found in the LICENSE file. 96 // Map the file into memory. 97 base::MemoryMappedFile file; local 98 if (!file.Initialize(file_path)) 102 if (!pe_image.Initialize(file.data(), file.length()))
|
/external/chromium_org/chrome/browser/spellchecker/ |
spellcheck_hunspell_dictionary.h | 3 // found in the LICENSE file. 8 #include "base/files/file.h" 63 const base::File& GetDictionaryFile() const; 87 // Dictionary file information to be passed between the FILE and UI threads. 98 // The desired location of the dictionary file, whether or not it exists. 101 // The dictionary file. 102 base::File file; member in struct:SpellcheckHunspellDictionary::DictionaryFile 119 // Gets the default location for the dictionary file [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
register_app_task.cc | 3 // found in the LICENSE file. 136 FileMetadata file; local 140 if (!metadata_database()->FindFileByFileID(tracker->file_id(), &file)) { 149 if (file.details().file_kind() != FILE_KIND_FOLDER) 152 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 VLOG(1) << " file not in use: " << path.value(); 85 ::CloseHandle(file); 87 PLOG(WARNING) << " 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. 8 #include "base/files/file.h" 30 // Restrict PNaCl file lengths to reduce likelyhood of hitting bugs 31 // in file name limit error-handling-code-paths, etc. 48 base::File file, 61 file.Pass(), 90 base::File file_to_open = nacl::OpenNaClReadExecImpl(full_filepath, 120 // Convert the file URL into a file descriptor 139 base::File file = nacl::OpenNaClReadExecImpl(file_path, local [all...] |
/external/chromium_org/content/browser/fileapi/ |
plugin_private_file_system_backend_unittest.cc | 3 // found in the LICENSE file. 37 void DidOpenFileSystem(base::File::Error* error_out, 38 base::File::Error error) { 80 base::File::Error error = base::File::FILE_ERROR_FAILED; 89 ASSERT_EQ(base::File::FILE_OK, error); 93 error = base::File::FILE_ERROR_FAILED; 102 ASSERT_EQ(base::File::FILE_OK, error); 106 FileSystemURL file = CreateURL(root_url, "foo"); local 108 EXPECT_EQ(base::File::FILE_OK [all...] |
/external/chromium_org/content/renderer/media/ |
aec_dump_message_filter.cc | 3 // found in the LICENSE file. 156 // Delegate has been removed, we must close the file. 157 base::File file = IPC::PlatformFileForTransitToFile(file_handle); local 158 DCHECK(file.IsValid()); 159 file.Close();
|
/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/device/serial/ |
serial_io_handler.h | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 128 const base::File& file() const { return file_; } function in class:device::SerialIoHandler 162 // Continues an Open operation on the FILE thread. 167 void FinishOpen(base::File file); 171 // Continues a Close operation on the FILE thread. 172 static void DoClose(base::File port); 174 // File for the opened serial device. This value is only modified from the I [all...] |
/external/chromium_org/media/audio/openbsd/ |
audio_manager_openbsd.cc | 3 // found in the LICENSE file. 38 const char *file; local 40 if ((file = getenv("AUDIOCTLDEVICE")) == 0 || *file == '\0') 41 file = "/dev/audioctl"; 43 if ((fd = open(file, O_RDONLY)) < 0)
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
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
|