/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MethodIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 28 * Method refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public MethodIdsSection(DexFile file) { 43 super("method_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|
FieldAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 76 public void addContents(DexFile file) { 77 FieldIdsSection fieldIds = file.getFieldIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int fieldIdx = file.getFieldIds().indexOf(field);
|
FieldIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 28 * Field refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public FieldIdsSection(DexFile file) { 43 super("field_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
MethodAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 76 public void addContents(DexFile file) { 77 MethodIdsSection methodIds = file.getMethodIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int methodIdx = file.getMethodIds().indexOf(method);
|
MethodIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 28 * Method refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public MethodIdsSection(DexFile file) { 43 super("method_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
StringIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 25 * Representation of a string inside a Dalvik file. 86 public void addContents(DexFile file) { 89 MixedItemSection stringData = file.getStringData(); 97 public void writeTo(DexFile file, AnnotatedOutput out) {
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
DirectoryEntryAdapterTest.java | 5 * you may not use this file except in compliance with the License. 20 * you may not use this file except in compliance with the License. 66 DirectoryEntry file = new DirectoryEntry(); local 67 file.fileName = FILE1; 68 file.mimeType = MIME_TYPE1; 69 mDirectoryEntries.add(file);
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
DirectoryEntryAdapterTest.java | 5 * you may not use this file except in compliance with the License. 20 * you may not use this file except in compliance with the License. 66 DirectoryEntry file = new DirectoryEntry(); local 67 file.fileName = FILE1; 68 file.mimeType = MIME_TYPE1; 69 mDirectoryEntries.add(file);
|
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/ |
binary_integrity_analyzer_win_unittest.cc | 3 // found in the LICENSE file. 32 FILE* file = base::OpenFile(file_path, "w"); local 34 if (file == NULL) 37 bool success = base::TruncateFile(file); 38 return base::CloseFile(file) && success;
|
/external/chromium_org/chrome/installer/util/ |
copy_tree_work_item_unittest.cc | 3 // found in the LICENSE file. 39 // Simple function to dump some text into a new file. 42 std::ofstream file; local 43 file.open(filename.c_str()); 44 ASSERT_TRUE(file.is_open()); 45 file << contents; 46 file.close(); 62 // Simple function to read text from a file. 65 std::wifstream file; local 66 file.open(filename.c_str()) [all...] |
/external/chromium_org/components/cronet/android/ |
url_request_context_adapter.cc | 3 // found in the LICENSE file. 219 // Do nothing if already logging to a file. 224 FILE* file = base::OpenFile(file_path, "w"); local 225 if (!file) 229 net_log_logger_.reset(new net::NetLogLogger(file, *constants));
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_unittest.cc | 3 // found in the LICENSE file. 9 #include "base/files/file.h" 68 base::File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_WRITE); 69 file.SetLength(0); 70 file.Close(); 248 base::FilePath file = temp_directory.path().AppendASCII("LOCK"); local 250 leveldb::Status status = env->LockFile(file.AsUTF8Unsafe(), &lock) [all...] |
/external/chromium_org/net/base/ |
file_stream_context.cc | 3 // found in the LICENSE file. 51 FileStream::Context::OpenResult::OpenResult(base::File file, 53 : file(file.Pass()), 58 : file(other.object->file.Pass()), 65 file = other.object->file.Pass(); 117 void FileStream::Context::Seek(base::File::Whence whence 156 base::File file; local [all...] |
file_stream_context.h | 3 // found in the LICENSE file. 5 // This file defines FileStream::Context class. 12 // instance is deleted. So FileStream's destructor can schedule file 18 // header file contains the complete definition of Context class including all 30 #include "base/files/file.h" 61 Context(base::File file, const scoped_refptr<base::TaskRunner>& task_runner); 76 const base::File& file() const { return file_; } function in class:net::FileStream::Context 84 // deferred if some asynchronous operation is now in progress or if file i 119 base::File file; member in struct:net::FileStream::Context::OpenResult [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
FormDataList.cpp | 15 * along with this library; see the file COPYING.LIB. If not, write to 24 #include "core/fileapi/File.h" 88 File* file = toFile(value.blob()); local 89 // For file blob, use the filename (or relative path if it is present) as the name. 90 name = file->webkitRelativePath().isEmpty() ? file->name() : file->webkitRelativePath(); 92 // If a filename is passed in FormData.append(), use it instead of the file blob's name. 96 // For non-file blob, use the filename if it is passed in FormData.append() 121 File* file = toFile(value.blob()); local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/plugins/ |
PluginData.h | 15 along with this library; see the file COPYING.LIB. If not, write to 46 String file; member in struct:blink::PluginInfo
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDragData.cpp | 101 File* file = toFile(blob.get()); local 102 if (file->hasBackingFile()) { 103 if (file->userVisibility() == File::IsUserVisible) { 105 item.filenameData = file->path(); 106 item.displayNameData = file->name(); 109 item.fileSystemURL = file->fileSystemURL(); 110 item.fileSystemFileSize = file->size(); 116 item.stringData = file->name() [all...] |
/external/chromium_org/third_party/icu/source/tools/gencfu/ |
gencfu.cpp | 7 * File gencfu.c 17 // Usage: gencfu [options] -r confusables-file.txt -w whole-script-confusables.txt -o output-file.cfu 62 printf("Usage: %s [-v] [-options] -r confusablesRules.txt -w wholeScriptConfusables.txt -o output-file\n", progName); 156 fprintf(stderr, "confusables file, whole script confusables file and output file must all be specified.\n"); 169 /* Combine the directory with the file name */ 178 // spoof detection data file parsing is dependent on regular expressions. 189 /* write the dummy data file */ 305 FILE *file; local [all...] |
/external/chromium_org/third_party/icu/source/tools/gentest/ |
gentest.c | 8 * file name: gentest.c 16 * This program writes a little data file for testing the udata API. 80 "\tcreate the test file " DATA_NAME "." DATA_TYPE " unless the -r option is given.\n" 84 "\t\t-r or --genres generate resource file testtable32.txt instead of UData test \n" 95 /* printf("Generating the test memory mapped file\n"); */ 101 /* Create data file ----------------------------------------------------- */ 118 /* write the data to the file */ 126 fprintf(stderr, "gentest: error %d writing the output file\n", *errorCode); 139 /* Create Java file ----------------------------------------------------- */ 144 char file[512] local [all...] |
/external/chromium_org/tools/gn/ |
ninja_target_writer.cc | 3 // found in the LICENSE file. 55 std::stringstream file; local 59 NinjaCopyTargetWriter writer(target, file); 63 NinjaActionTargetWriter writer(target, file); 66 NinjaGroupTargetWriter writer(target, file); 72 NinjaBinaryTargetWriter writer(target, file); 78 std::string contents = file.str(); 140 // If we wrote any vars, separate them from the rest of the file that follows 172 // do the stamp file because duplicating all the order-only deps for each 173 // source file can really explode the ninja file but this won't be the mos [all...] |
ninja_toolchain_writer.cc | 3 // found in the LICENSE file. 57 std::ofstream file; local 58 file.open(FilePathToUTF8(ninja_file).c_str(), 60 if (file.fail()) 63 NinjaToolchainWriter gen(settings, toolchain, targets, file);
|
/external/clang/tools/libclang/ |
CXLoadedDiagnostic.h | 5 |* This file is distributed under the University of Illinois Open Source *| 66 /// \brief Decode the CXSourceLocation into file, line, column, and offset. 68 CXFile *file, 74 CXFile file; member in struct:clang::CXLoadedDiagnostic::Location
|
/external/clang/unittests/Basic/ |
FileManagerTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 21 // Used to create a fake file system for running the tests with such 23 // file system on the machine running the tests. 26 // Maps a file/directory path to its desired stat result. Anything 27 // not in this map is considered to not exist in the file system. 43 // Inject a file with the given inode value to the fake file system. 48 // Inject a directory with the given inode value to the fake file system. 55 std::unique_ptr<vfs::File> *F, 62 return CacheMissing; // This means the file/directory doesn't exist 79 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0); local 140 const FileEntry *file = manager.getFile("\/tmp\/test"); local 164 const FileEntry *file = manager.getFile("virtual\/dir\/bar.h"); local 203 const FileEntry *file = manager.getFile("xyz.txt"); local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|