/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/ |
AddFileActivity.java | 5 * you may not use this file except in compliance with the License. 35 import java.io.File; 39 * The purpose of AddFileActivity activity is to create a data file based on the 40 * file name and size parameters specified as an Intent external parameters or with the 58 * The intent parameter that specifies a file name. The file name must be unique for the 64 * The intent parameter that specifies a file size in bytes. The size must be a number 70 * The file storage is an optional parameter. It should be one of these: 76 * A file size multiplier. It is used to calculate the total number of bytes to be added 77 * to the file 225 File file = null; local 289 File file = getInternalFile(fileName); local [all...] |
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/ |
ProvisioningValuesLoader.java | 5 * you may not use this file except in compliance with the License. 30 import java.io.File; 40 * This loader first tries to load values from a config file in SD card. Then it fills in missing 94 File directory = Environment.getExternalStorageDirectory(); 95 File file = new File(directory, FILENAME); local 96 if (!file.exists()) { 99 Log.d(TAG, "Loading the config file..."); 101 loadFromFile(values, file); [all...] |
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/ |
RmTypeDefs.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 58 private List<File> mAnnotationClassFiles = Lists.newArrayList(); 59 private Set<File> mAnnotationOuterClassFiles = Sets.newHashSet(); 71 List<File> dirs = new ArrayList<File>(); 88 // Other arguments should be file names 89 File file = new File(arg) local [all...] |
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/ |
RmTypeDefsTest.java | 11 import java.io.File; 20 import static java.io.File.separatorChar; 30 File dir = Files.createTempDir(); 104 File srcDir = new File(dir, "test" + File.separator + "pkg"); 107 File srcFile1 = new File(srcDir, "TestClass.java"); 110 srcDir = new File(dir, "android" + File.separator + "annotation") [all...] |
/external/boringssl/src/tool/ |
digest.cc | 58 // Source is an awkward expression of a union type in C++: Stdin | File filename. 78 // OpenFile opens the regular file named |filename| and sets |*out_fd| to be a 79 // file descriptor to it. Returns true on sucess or prints an error to stderr 86 fprintf(stderr, "Failed to open input file '%s': %s\n", filename.c_str(), 95 fprintf(stderr, "Failed to stat input file '%s': %s\n", filename.c_str(), 101 fprintf(stderr, "%s: not a regular file\n", filename.c_str()); 217 // file named in the line. 224 std::unique_ptr<FILE, func_delete<FILE, int, fclose>> scoped_file; 225 FILE *file local [all...] |
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 5 // This file is distributed under the University of Illinois Open Source 592 const FileEntry *file = Ctx.getSourceManager().getFileEntryForID(FID); local 593 assert(file); 594 std::string newFname = file->getName(); 603 SmallString<64> filePath(file->getName());
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer.h | 5 // This file is distributed under the University of Illinois Open Source 39 char *file; member in struct:__sanitizer::AddressInfo 107 // does the actual file/line info fetching. Specific sanitizers may need this
|
/external/compiler-rt/lib/tsan/go/ |
tsan_go.cc | 5 // This file is distributed under the University of Illinois Open Source 46 char *file; member in struct:__tsan::SymbolizeContext 65 info.file = internal_strdup(ctx.file ? ctx.file : "-");
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_report.cc | 5 // This file is distributed under the University of Illinois Open Source 10 // This file is a part of ThreadSanitizer (TSan), a race detector. 181 Printf(" Location is file descriptor %d created by %s at:\n", 257 const char *file = frame->info.file; local 258 return file != 0 && 259 (internal_strstr(file, "tsan_interceptors.cc") || 260 internal_strstr(file, "sanitizer_common_interceptors.inc") || 261 internal_strstr(file, "tsan_interface_")); 358 StripPathPrefix(info.file, common_flags()->strip_path_prefix) [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
FileClientSessionCache.java | 5 * you may not use this file except in compliance with the License. 20 import java.io.File; 35 * File-based cache implementation. Only one process should access the 44 * This cache creates one file per SSL session using "host.port" for 45 * the file name. Files are created or replaced when session data is put 50 * least-recently-used file. We don't current persist the last access time, 58 final File directory; 61 * Map of name -> File. Keeps track of the order files were accessed in. 63 Map<String, File> accessOrder = newAccessOrder(); 77 Impl(File directory) throws IOException 136 File file = accessOrder.get(name); local 197 File file = new File(directory, name); local [all...] |
/external/deqp/framework/qphelper/ |
qpCrashHandler.c | 8 * you may not use this file except in compliance with the License. 20 * \file 69 const char* file; member in struct:qpCrashInfo_s 77 info->file = DE_NULL; 81 static void qpCrashInfo_set (qpCrashInfo* info, qpCrashType type, const char* message, const char* file, int line) 85 info->file = file; 104 info->file, 224 static void assertFailureCallback (const char* expr, const char* file, int line) 237 qpCrashInfo_set(&g_crashHandler->crashInfo, QP_CRASHTYPE_ASSERT, expr, file, line) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationUtils.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 170 * across many signatures and the rest of the file.
|
AnnotationsDirectoryItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 240 public void addContents(DexFile file) { 241 MixedItemSection wordData = file.getWordData(); 249 item.addContents(file); 255 item.addContents(file); 261 item.addContents(file); 284 protected void writeTo0(DexFile file, AnnotatedOutput out) { 313 item.writeTo(file, out); 323 item.writeTo(file, out) [all...] |
CatchStructs.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 115 * @param file {@code non-null;} file this instance is part of 117 public void encode(DexFile file) { 120 TypeIdsSection typeIds = file.getTypeIds(); 190 * @param file {@code non-null;} file this instance is part of 193 public void writeTo(DexFile file, AnnotatedOutput out) {
|
ClassDataItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 38 * {@code dex} file, as opposed to a random-access form. 63 * {@code null-ok;} encoded form, ready for writing to a file; set during 226 public void addContents(DexFile file) { 230 field.addContents(file); 237 field.addContents(file); 244 method.addContents(file); 251 method.addContents(file); 337 * @param file {@code non-null;} file this instance is part o [all...] |
ClassDefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 61 /** {@code null-ok;} source file name or {@code null} if unknown */ 85 * @param sourceFile {@code null-ok;} source file name or 128 public void addContents(DexFile file) { 129 TypeIdsSection typeIds = file.getTypeIds(); 130 MixedItemSection byteData = file.getByteData(); 131 MixedItemSection wordData = file.getWordData(); 132 MixedItemSection typeLists = file.getTypeLists(); 133 StringIdsSection stringIds = file.getStringIds() [all...] |
/external/dnsmasq/contrib/wrt/ |
dhcp_lease_time.c | 66 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member in struct:dhcp_packet 110 (ret = option_find1(&mess->file[0], &mess->file[128], opt_type, minsize)))
|
dhcp_release.c | 71 u8 chaddr[DHCP_CHADDR_MAX], sname[64], file[128]; member in struct:dhcp_packet
|
/external/doclava/src/com/google/doclava/ |
ClearPage.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 133 File file = new File(outputFilename(filename)); local 135 ensureDirectory(file); 138 stream = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), "UTF-8")); 142 System.out.println("error: " + e.getMessage() + "; when writing file: " + filename); 153 public static void ensureDirectory(File f) { 154 File parent = f.getParentFile() [all...] |
/external/e2fsprogs/lib/blkid/ |
tag.c | 8 * This file may be redistributed under the terms of the 409 char *file = NULL; local 418 file = optarg; 440 if ((ret = blkid_get_cache(&cache, file)) != 0) {
|
/external/e2fsprogs/lib/ext2fs/ |
fileio.c | 2 * fileio.c --- Simple file I/O routines 7 * This file may be redistributed under the terms of the GNU Library 34 #define BMAP_BUFFER (file->buf + fs->blocksize) 40 ext2_file_t file; local 44 * Don't let caller create or open a file for writing if the 51 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); 55 memset(file, 0, sizeof(struct ext2_file)); 56 file->magic = EXT2_ET_MAGIC_EXT2_FILE; 57 file->fs = fs; 58 file->ino = ino [all...] |
/external/e2fsprogs/misc/ |
e2initrd_helper.c | 7 * This file may be redistributed under the terms of the GNU Public 125 static char *get_line(struct mem_file *file) 130 cp = file->buf + file->ptr; 139 memcpy(ret, file->buf + file->ptr, s); 144 file->ptr += s; 148 static int mem_file_eof(struct mem_file *file) 150 return (file->ptr >= file->size) 338 struct mem_file file; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/www/projectName/ |
searchcvs.php | 18 array("regex" => "/file: ?(\S+)/", "sql" => "`cvsname` LIKE '%%%s%%'", "sqlpart" => "where"), 90 $file = basename($row["cvsname"], ",v"); variable 95 print "<a href=\"" . cvsfile($row["cvsname"]) . "\"><abbr title=\"{$row['cvsname']}\">$file</abbr></a> ({$row['branch']} " . showrev($row['revision'], $row["cvsname"]) . ")"; 115 <li><a href="?q=98877+file%3A+ChangeAdapter">98877 file: ChangeAdapter</a></li> 116 <li><a href="?q=file%3A+org.eclipse.emf%2F+days%3A+7">file: org.eclipse.emf/ days: 7</a></li> 118 <li><a href="?q=branch%3A+R2_1_+file%3A+.xml">branch: R2_1_ file: .xml</a></li> 183 function showrev($rev, $file) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
FetchBaseTask.java | 13 import java.io.File; 50 File file=new File(mapFile); local 53 properties.load(new FileInputStream(file)); 164 PrintWriter out = new PrintWriter(new FileWriter(new File(outputFile)));
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedUpdateEntryTask.java | 13 import java.io.File; 49 * file - path to the XML file that will be read - eg., /path/to/file.to.read.xml 69 private File file; field in class:RSSFeedUpdateEntryTask 84 public void setFile(String file) { 85 if (isNullString(file)) 88 { this.file = new File(file); } [all...] |