/external/toybox/toys/other/ |
H A D | losetup.c | 15 Associate a loopback device with a file, or show current file (if any) 24 -c Check capacity (file size changed) 49 todo: basic /dev file association 61 static void loopback_setup(char *device, char *file) argument 67 // Open file (ffd) and loop device (lfd) 69 if (file) ffd = xopen(file, TT.openflags); 90 if (errno != ENXIO || !file) { 100 // Check size of file o 181 char *file = (toys.optflags & (FLAG_d|FLAG_c)) ? NULL : toys.optargs[1]; local [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | FileClientSessionCache.java | 5 * you may not use this file except in compliance with the License. 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, 118 * Gets the file name for the given host and port. 136 File file = accessOrder.get(name); 138 if (file == null) { 151 // The file is on disk but not in accessOrder yet. 152 file = new File(directory, name); 153 accessOrder.put(name, file); 183 logReadError(String host, File file, Throwable t) argument 297 delete(File file) argument 304 logWriteError(String host, File file, Throwable t) argument [all...] |
/external/emma/core/java12/com/vladium/util/ |
H A D | Files.java | 141 public static File canonicalizeFile (final File file) argument 143 if (file == null) throw new IllegalArgumentException ("null input: file"); 147 return file.getCanonicalFile (); 151 return file.getAbsoluteFile (); 156 * Invariant: (getFileName (file) + getFileExtension (file)).equals (file.getName ()). 158 * @param file File input file descripto 165 getFileName(final File file) argument 186 getFileExtension(final File file) argument 203 newFile(final File dir, final File file) argument 218 newFile(final File dir, final String file) argument 234 newFile(final String dir, final String file) argument [all...] |
/external/selinux/libsemanage/utils/ |
H A D | semanage_migrate_store | 19 print("You must install libselinux-python and libsemanage-python before running this tool", file=sys.stderr) 30 print("Could not copy %s to %s, %s" %(src, dst, strerr), file=sys.stderr) 43 print("Error creating %s" % dst, file=sys.stderr) 48 if DEBUG: print("Making file %s" % dst) 53 print("Error creating %s" % dst, file=sys.stderr) 59 (file, ext) = os.path.splitext(name) 61 # Stray non-pp file in modules directory, skip 62 print("warning: %s has invalid extension, skipping" % name, file=sys.stderr) 72 os.mkdir("%s/%s" % (bottomdir, file)) 74 copy_file(os.path.join(root, name), "%s/%s/hll" % (bottomdir, file)) [all...] |
/external/cmockery/cmockery_0_1_2/ |
H A D | mkinstalldirs | 10 # This file is maintained in Automake, please report 21 leading file name components. 56 for file 58 if test -d "$file"; then 104 for file 106 case $file in 112 set fnord $file 154 # eval: (add-hook 'write-file-hooks 'time-stamp)
|
/external/compiler-rt/lib/asan/ |
H A D | Makefile.mk | 5 # This file is distributed under the University of Illinois Open Source 13 CCSources := $(foreach file,$(wildcard $(Dir)/*.cc),$(notdir $(file))) 16 SSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
H A D | TrustedCertificateStore.java | 5 * you may not use this file except in compliance with the License. 62 * efficient lookup operations for CAs again based on the file naming 76 * configuration in the system/core/rootdir/init.rc file. The 136 File file = fileForAlias(alias); 137 if (file == null || (isUser(alias) && isTombstone(file))) { 140 X509Certificate cert = readCertificate(file); 154 File file; 156 file = new File(systemDir, alias.substring(PREFIX_SYSTEM.length())); 158 file 169 isTombstone(File file) argument 173 readCertificate(File file) argument 192 writeCertificate(File file, X509Certificate cert) argument 501 private File file(File dir, String hash, int index) { method in class:TrustedCertificateStore [all...] |
/external/deqp/framework/delibs/debase/ |
H A D | deDefs.c | 8 * you may not use this file except in compliance with the License. 20 * \file 86 void deAssertFail (const char* reason, const char* file, int line) argument 94 callback(reason, file, line); 112 num = deMin32((int)strlen(file), DE_LENGTH_OF_ARRAY(wfile)-1); 114 wfile[i] = file[i]; 124 _assert(reason, file, line); 126 __assert_fail(reason, file, line, "Unknown function"); 128 __assert("Unknown function", file, line, reason); 130 fprintf(stderr, "Assertion '%s' failed at %s:%d\n", reason, file, lin [all...] |
/external/expat/tests/ |
H A D | xmltest.sh | 14 # output differs are prefixed with "Output differs:", and a diff file 34 # RunXmlwfNotWF file reldir 37 file="$1" 39 $XMLWF -p "$file" > outfile || return $? 42 echo "Expected not well-formed: $reldir$file" 49 # RunXmlwfWF file reldir 52 file="$1" 54 $XMLWF -p -d "$OUTPUT$reldir" "$file" > outfile || return $? 57 if [ -f "out/$file" ] ; then 58 diff -u "$OUTPUT$reldir$file" "ou [all...] |
/external/libexif/ |
H A D | mkinstalldirs | 10 # This file is maintained in Automake, please report 24 leading file name components. 59 for file 61 if test -d "$file"; then 107 for file 109 case $file in 115 set fnord $file 157 # eval: (add-hook 'write-file-hooks 'time-stamp)
|
/external/libpng/ |
H A D | compile | 23 # distribute this file as part of a program that contains a 27 # This file is maintained in Automake, please report 41 # Convert a $build file to $host form and store it in $file 47 file=$1 48 case $file in 49 / | /[!/]*) # absolute file, and not a UNC file 68 file=`cmd //C echo "$file " | se [all...] |
/external/selinux/libsepol/src/ |
H A D | module.c | 238 /* Append each of the file contexts from each module to the base 239 * policy's file context. 'base_context' will be reallocated to a 241 * variable). 'base_fc_len' is the length of base's file context; it 346 static int read_helper(char *buf, struct policy_file *file, uint32_t bytes) argument 359 rc = next_entry(&buf[offset], file, read_len); 370 /* Get the section offsets from a package file, offsets will be malloc'd to 373 struct policy_file *file, 383 ERR(file->handle, "out of memory"); 387 rc = next_entry(buf, file, sizeof(uint32_t) * 3); 389 ERR(file 372 module_package_read_offsets(sepol_module_package_t * mod, struct policy_file *file, size_t ** offsets, uint32_t * sections) argument 466 struct policy_file *file = &spf->pf; local 651 struct policy_file *file = &spf->pf; local 853 write_helper(char *data, size_t len, struct policy_file *file) argument 876 struct policy_file *file = &spf->pf; local [all...] |
/external/clang/tools/libclang/ |
H A D | CXSourceLocation.cpp | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines routines for manipulating CXSourceLocations. 122 CXFile file, 129 if (!file) 137 const FileEntry *File = static_cast<const FileEntry *>(file); 156 CXFile file, 162 if (!file) 168 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); 183 static void createNullLocation(CXFile *file, unsigned *line, argument 185 if (file) 121 clang_getLocation(CXTranslationUnit TU, CXFile file, unsigned line, unsigned column) argument 155 clang_getLocationForOffset(CXTranslationUnit TU, CXFile file, unsigned offset) argument 233 clang_getExpansionLocation(CXSourceLocation location, CXFile *file, unsigned *line, unsigned *column, unsigned *offset) argument 307 clang_getInstantiationLocation(CXSourceLocation location, CXFile *file, unsigned *line, unsigned *column, unsigned *offset) argument 316 clang_getSpellingLocation(CXSourceLocation location, CXFile *file, unsigned *line, unsigned *column, unsigned *offset) argument 354 clang_getFileLocation(CXSourceLocation location, CXFile *file, unsigned *line, unsigned *column, unsigned *offset) argument [all...] |
/external/deqp/framework/delibs/deimage/ |
H A D | deTarga.c | 8 * you may not use this file except in compliance with the License. 20 * \file 21 * \brief Targa file operations. 33 FILE* file; local 35 file = fopen(fileName, "rb"); 37 if (file != DE_NULL) 51 bytesRead = (int)fread(&tgaHeader, 1, 18, file); 87 fread(buffer, 1, bufSize, file); 113 fclose(file); 125 FILE* file; local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | IoTestCase.java | 5 * you may not use this file except in compliance with the License. 58 for (File file : filesToDelete) { 59 if (file.exists()) { 60 delete(file); 76 if (testFileUrl.getProtocol().equals("file")) { 87 // testdata resources aren't file:// urls, so create a directory to store them in and then 96 * Returns the file with the given name under the testdata directory. 99 File file = new File(getTestDir(), name); 100 if (!file.exists()) { 105 copy(resourceUrl, file); 163 copy(URL url, File file) argument 180 delete(File file) argument [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
H A D | HashedSession.java | 111 File file = null; 116 file = new File(_hashSessionManager._storeDir, super.getId()); 118 if (file.exists()) 119 file.delete(); 120 file.createNewFile(); 121 fos = new FileOutputStream(file); 134 if (file != null) file.delete(); // No point keeping the file if we didn't save the whole session 184 File file [all...] |
/external/libopus/celt/ |
H A D | fixed_debug.h | 4 @file fixed_debug.h 106 static OPUS_INLINE short EXTRACT16_(int x, char *file, int line) argument 111 fprintf (stderr, "EXTRACT16: input is not short: %d in %s: line %d\n", x, file, line); 122 static OPUS_INLINE int EXTEND32_(int x, char *file, int line) argument 127 fprintf (stderr, "EXTEND32: input is not short: %d in %s: line %d\n", x, file, line); 138 static OPUS_INLINE short SHR16_(int a, int shift, char *file, int line) argument 143 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line); 151 fprintf (stderr, "SHR16: output is not short: %d in %s: line %d\n", res, file, line); 160 static OPUS_INLINE short SHL16_(int a, int shift, char *file, int line) argument 165 fprintf (stderr, "SHL16: inputs are not short: %d %d in %s: line %d\n", a, shift, file, lin 204 SHL32_(opus_int64 a, int shift, char *file, int line) argument 237 ADD16_(int a, int b, char *file, int line) argument 260 SUB16_(int a, int b, char *file, int line) argument 283 ADD32_(opus_int64 a, opus_int64 b, char *file, int line) argument 306 SUB32_(opus_int64 a, opus_int64 b, char *file, int line) argument 330 UADD32_(opus_uint64 a, opus_uint64 b, char *file, int line) argument 354 USUB32_(opus_uint64 a, opus_uint64 b, char *file, int line) argument 407 MULT16_16_(int a, int b, char *file, int line) argument 432 MULT16_32_QX_(int a, opus_int64 b, int Q, char *file, int line) argument 465 MULT16_32_PX_(int a, opus_int64 b, int Q, char *file, int line) argument 588 MULT16_16_Q15_(int a, int b, char *file, int line) argument 704 DIV32_16_(opus_int64 a, opus_int64 b, char *file, int line) argument 739 DIV32_(opus_int64 a, opus_int64 b, char *file, int line) argument [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_helpers.h | 64 // Get an identifier that uniquely identifies this type within the file. 66 // outermost file scope. 72 // Gets the unqualified class name for the file. For each .proto file, there 76 string FileClassName(const FileDescriptor* file, bool immutable = true); 78 // Returns the file's Java package name. 79 string FileJavaPackage(const FileDescriptor* file, bool immutable = true); 86 // file. 90 const FileDescriptor* file); 174 return descriptor->file() 211 HasGenericServices(const FileDescriptor *file) argument [all...] |
/external/protobuf/src/google/protobuf/testing/ |
H A D | file.cc | 32 // emulates google3/file/base/file.cc 34 #include <google/protobuf/testing/file.h> 67 FILE* file = fopen(name.c_str(), "rb"); local 68 if (file == NULL) return false; 71 size_t n = fread(buffer, 1, sizeof(buffer), file); 76 int error = ferror(file); 77 if (fclose(file) != 0) return false; 86 FILE* file = fopen(name.c_str(), "wb"); local 87 if (file 104 FILE* file = fopen(name.c_str(), "wb"); local [all...] |
/external/smali/dexlib2/ |
H A D | build.gradle | 46 ext.testAccessorOutputDir = file("${buildDir}/generated-accessor-test-sources") 47 ext.testAccessorOutputFile = file("${buildDir}/generated-accessor-test-sources/org/jf/dexlib2/AccessorTypes.java") 50 // The sources for building the test dex file for the accessor test 80 // You must manually execute this task to regenerate SyntheticAccessorFSM.java, after modifying the ragel file 85 commandLine 'ragel', '-J', '-o', file('src/main/java/org/jf/dexlib2/util/SyntheticAccessorFSM.java'), 90 outputs.dir file(testAccessorOutputDir) 92 mkdir(file(testAccessorOutputFile).parent) 101 def outputDex = file("${sourceSets.accessorTest.output.resourcesDir}/accessorTest.dex") 105 outputs.file outputDex
|
/external/deqp/framework/egl/ |
H A D | egluDefs.cpp | 8 * you may not use this file except in compliance with the License. 20 * \file 39 void checkError (deUint32 err, const char* message, const char* file, int line) argument 49 throw BadAllocError(desc.str().c_str(), DE_NULL, file, line); 51 throw Error(err, desc.str().c_str(), DE_NULL, file, line); 61 Error::Error (deUint32 errCode, const char* message, const char* expr, const char* file, int line) argument 62 : tcu::TestError (message, expr, file, line) 72 BadAllocError::BadAllocError (const char* message, const char* expr, const char* file, int line) argument 73 : tcu::ResourceError(message, expr, file, line)
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | Section.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 24 * A section of a {@code .dex} file. Each section consists of a list 31 /** {@code non-null;} file that this instance is part of */ 32 private final DexFile file; field in class:Section 38 /** {@code >= -1;} offset from the start of the file to this part, or 61 * Constructs an instance. The file offset is initially unknown. 65 * @param file {@code non-null;} file that this instance is part of 69 public Section(String name, DexFile file, in argument [all...] |
/external/google-breakpad/src/common/windows/ |
H A D | pdb_source_line_writer.h | 30 // PDBSourceLineWriter uses a pdb file produced by Visual C++ to output 52 // A structure that carries information that identifies a pdb file. 55 // The basename of the pdb file from which information was loaded. 72 // A structure that carries information that identifies a PE file, 75 // The basename of the PE file. 78 // The PE file's code identifier, which consists of its timestamp 79 // and file size concatenated together into a single hex string. 90 PDB_FILE, // a .pdb file containing debug symbols 91 EXE_FILE, // a .exe or .dll file 98 // Opens the given file 184 FileIDIsCached(const wstring &file) argument 189 CacheFileID(const wstring &file, DWORD id) argument 194 StoreDuplicateFileID(const wstring &file, DWORD id) argument [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
H A D | javamicro_helpers.h | 65 // Gets the unqualified class name for the file. Each .proto file becomes a 67 string FileClassName(const Params& params, const FileDescriptor* file); 69 // Returns the file's Java package name. 70 string FileJavaPackage(const Params& params, const FileDescriptor* file); 73 // java_multiple_files is false, or the proto file contains any file-scope 75 bool IsOuterClassNeeded(const Params& params, const FileDescriptor* file); 78 // in the Java namespace, given that it is in the given file enclosed in the 79 // given parent message (or NULL for file [all...] |
/external/smali/smali/ |
H A D | build.gradle | 39 ext.antlrOutput = file("${buildDir}/generated-sources/antlr3") 42 ext.jflexOutput = file("${buildDir}/generated-sources/jflex") 45 ext.testAntlrOutput = file("${buildDir}/generated-test-sources/antlr3") 82 inputs.dir file(antlrSource) 83 outputs.dir file(antlrOutput) 95 inputs.dir file(antlrSource) 96 outputs.dir file(antlrOutput) 108 inputs.dir file(testAntlrSource) 109 outputs.dir file(testAntlrOutput) 121 inputs.dir file(jflexSourc [all...] |