/external/qemu/android/filesystems/ |
H A D | ramdisk_extractor_unittest.cpp | 31 FILE* file = ::fopen(mTempFilePath.c_str(), "wb"); local 32 if (!file) { 36 bool result = (fwrite(data, dataSize, 1, file) == 1); 37 fclose(file);
|
/external/qemu/android/utils/ |
H A D | assert.c | 17 const char* file; member in struct:__anon29205 37 loc->file = fileName; 59 android_panic("ASSERTION FAILURE (%s:%d) in %s\n", loc->file, loc->lineno, loc->function);
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testiconv.c | 36 FILE *file; local 42 file = fopen(argv[1], "rb"); 43 if ( !file ) { 48 while ( fgets(buffer, sizeof(buffer), file) ) {
|
/external/skia/experimental/LightSymbolsUtil/lightsymbols/ |
H A D | helper.h | 5 FILE* file; member in class:SkFile 12 file = NULL; 21 if (file) { 22 fclose(file); 31 if (file == NULL) { 34 file = fopen(sz, "a"); 35 if (file == NULL) { 38 fprintf(file, "\n\n\nNEW SESSION, just coliding ids ... should generate a new file ideally ... \n\n\n"); 47 fprintf(file, " [all...] |
/external/skia/platform_tools/android/launcher/ |
H A D | skia_launcher.cpp | 5 * found in the LICENSE file. 18 FILE* file = fopen(fileName, "r"); local 19 if (file) { 20 fclose(file);
|
/external/skia/src/images/ |
H A D | SkImageEncoder.cpp | 5 * found in the LICENSE file. 21 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, argument 24 SkFILEWStream stream(file); 37 bool SkImageEncoder::EncodeFile(const char file[], const SkBitmap& bm, Type t, argument 40 return enc.get() && enc.get()->encodeFile(file, bm, quality);
|
/external/skia/tests/ |
H A D | DocumentTest.cpp | 53 FILE* file = fopen(path.c_str(), "r"); local 54 // The created file should be empty. 56 REPORTER_ASSERT(reporter, fread(buffer, 1, 1, file) == 0); 57 fclose(file); 68 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "file.pdf"); 78 FILE* file = fopen(path.c_str(), "r"); local 79 REPORTER_ASSERT(reporter, file != NULL); 81 REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0); 83 fclose(file);
|
/external/skia/tools/lua/ |
H A D | lua_app.cpp | 5 * found in the LICENSE file. 20 static SkData* read_into_data(const char file[]) { argument 21 SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(file));
|
/external/smack/src/org/jivesoftware/smackx/entitycaps/cache/ |
H A D | SimpleDirectoryPersistentCache.java | 5 * you may not use this file except in compliance with the License. 43 * by an file. 120 * Writes the DiscoverInfo packet to an file 122 * @param file 126 private static void writeInfoToFile(File file, DiscoverInfo info) throws IOException { argument 127 DataOutputStream dos = new DataOutputStream(new FileOutputStream(file)); 136 * Tries to restore an DiscoverInfo packet from a file. 138 * @param file 142 private static DiscoverInfo restoreInfoFromFile(File file) throws IOException { argument 143 DataInputStream dis = new DataInputStream(new FileInputStream(file)); [all...] |
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
H A D | IncomingFileTransfer.java | 9 * you may not use this file except in compliance with the License.
28 * An incoming file transfer is created when the
30 * method is invoked. It is a file being sent to the local user from another
31 * user on the jabber network. There are two stages of the file transfer to be
35 * The first way that a file is recieved is by calling the
37 * method and then returns the <b><i>InputStream</b></i> to read the file
40 * The second way that a file can be recieved through this class is by invoking
42 * takes as its parameter a file on the local file system where the file
102 recieveFile(final File file) argument [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
H A D | FileDataStore.java | 12 public FileDataStore(@Nonnull File file) throws FileNotFoundException, IOException { argument 13 this.raf = new RandomAccessFile(file, "rw");
|
/external/smali/util/src/main/java/org/jf/util/ |
H A D | PathUtil.java | 62 //path from one to the other, so just return the canonical file 108 private static ArrayList<String> getPathComponents(File file) { argument 111 while (file != null) { 112 File parentFile = file.getParentFile(); 115 path.add(0, file.getPath()); 117 path.add(0, file.getName()); 120 file = parentFile;
|
/external/valgrind/main/coregrind/ |
H A D | m_debugger.c | 7 This file is part of Valgrind, a dynamic binary instrumentation 28 The GNU General Public License is contained in the file COPYING. 426 HChar file[50]; local 432 VG_(sprintf)(file, "/proc/%d/fd/%d", pid, VG_(cl_exec_fd)); 439 of file[], so the following assertion is generously 446 VG_(memcpy)(bufptr, file, VG_(strlen)(file)); 447 bufptr += VG_(strlen)(file);
|
/external/valgrind/main/drd/tests/ |
H A D | unified_annotations.h | 31 AnnotateCondVarSignal(const char *file, int line, const volatile void *cv) argument 37 AnnotateCondVarWait(const char *file, int line, const volatile void *cv, argument
|
/external/valgrind/main/none/tests/ |
H A D | valgrind_cpp_test.cpp | 43 void VG_(assert_fail)(Bool isCore, const HChar* expr, const HChar* file, argument
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
H A D | AnnotationItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 60 * {@code null-ok;} encoded form, ready for writing to a file; set during 143 public void addContents(DexFile file) { argument 144 type = file.getTypeIds().intern(annotation.getType()); 145 ValueEncoder.addContents(file, annotation); 164 * Write a (listing file) annotation for this instance to the given 187 protected void writeTo0(DexFile file, AnnotatedOutput out) { argument 212 ValueEncoder encoder = new ValueEncoder(file, out);
|
H A D | 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) { argument 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) { argument 313 item.writeTo(file, out); 323 item.writeTo(file, ou [all...] |
H A D | CodeItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 42 * {@code dex} file. 45 /** file alignment of this class, in bytes */ 116 public void addContents(DexFile file) { argument 117 MixedItemSection byteData = file.getByteData(); 118 TypeIdsSection typeIds = file.getTypeIds(); 133 file.internIfAppropriate(c); 193 final DexFile file = addedTo.getFile(); 202 IndexedItem item = file 233 writeTo0(DexFile file, AnnotatedOutput out) argument 297 writeCodes(DexFile file, AnnotatedOutput out) argument [all...] |
H A D | MixedItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 34 * A section of a {@code .dex} file which consists of a sequence of 79 * Constructs an instance. The file offset is initially unknown. 83 * @param file {@code non-null;} file that this instance is part of 88 public MixedItemSection(String name, DexFile file, int alignment, argument 90 super(name, file, alignment); 128 * Writes the portion of the file header that refers to this instance. 264 DexFile file [all...] |
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...] |
H A D | ValueEncoder.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 96 /** {@code non-null;} file being written */ 97 private final DexFile file; field in class:ValueEncoder 105 * @param file {@code non-null;} file being written 108 public ValueEncoder(DexFile file, AnnotatedOutput out) { argument 109 if (file == null) { 110 throw new NullPointerException("file == null"); 117 this.file 492 addContents(DexFile file, Annotation annotation) argument 514 addContents(DexFile file, Constant cst) argument [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
H A D | TestSuiteFactory.java | 63 * suite file in the same directory of the grammar file. 64 * @param grammarFile ANTLRv3 grammar file. 81 throw new RuntimeException("Can't save test suite file."); 84 throw new RuntimeException("Invalid grammar file."); 89 /* Load rules from an ANTLR grammar file. */ 115 /* Save testsuite to *.gunit file. */ 145 * @param file testsuite file (.gunit) 148 public static TestSuite loadTestSuite(File file) { argument [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
H A D | FileURLConnectionTest.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 17 package org.apache.harmony.luni.tests.internal.net.www.protocol.file; 61 String localURLString = "file://localhost/" + url.getFile(); 65 assertEquals("file", conn.getURL().getProtocol());
|
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
H A D | SecuritySupport.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 102 FileInputStream getFileInputStream(File file) argument 105 return new FileInputStream(file);
|
H A D | SecuritySupport12.java | 3 * or more contributor license agreements. See the NOTICE file 5 * regarding copyright ownership. The ASF licenses this file 7 * you may not use this file except in compliance with the License. 96 FileInputStream getFileInputStream(final File file) argument 103 return new FileInputStream(file);
|