/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandler.java | 5 * you may not use this file except in compliance with the License.
30 * CommandHandler for the RETR command. Returns the contents of the specified file on the
34 * The <code>file</code> property specifies the pathname for the file whose contents should
35 * be returned from this command. The file path is relative to the CLASSPATH (using the
38 * An exception is thrown if the <code>file</code> property has not been set or if the specified
39 * file does not exist or cannot be read.
43 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file submitted on the invocation (the first command parameter)
54 private String file;
field in class:FileRetrCommandHandler 63 * Create new instance using the specified file pathname [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandler.java | 5 * you may not use this file except in compliance with the License.
32 * CommandHandler for the RETR command. Returns the contents of the specified file on the
36 * The <code>file</code> property specifies the pathname for the file whose contents should
37 * be returned from this command. The file path is relative to the CLASSPATH (using the
40 * An exception is thrown if the <code>file</code> property has not been set or if the specified
41 * file does not exist or cannot be read.
45 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file submitted on the invocation (the first command parameter)
58 private String file;
field in class:FileRetrCommandHandler 67 * Create new instance using the specified file pathname [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_name_resolver.cc | 45 // A suffix that will be appended to the file's outer class name if the name 46 // conflicts with some other types defined in the file. 55 const FileDescriptor* file) { 56 if (file->package().empty()) { 60 return full_name.substr(file->package().size() + 1); 68 descriptor->file()); 88 descriptor->file()); 120 const FileDescriptor* file) { 122 string::size_type last_slash = file->name().find_last_of('/'); 124 basename = file->name() [all...] |
/external/toybox/tests/ |
mv.test | 15 touch file 16 testing "file to file" \ 17 "mv file file1 && [ ! -e file -a -f file1 ] && echo yes" \ 19 rm -f file* 21 touch file 23 testing "file to dir" \ 24 "mv file dir && [ ! -e file -a -f dir/file ] && echo yes" [all...] |
/external/valgrind/helgrind/tests/ |
filter_xml | 12 # Stack frames whose associated file name does not match any name in 59 # If FILE matches any of the FILES return 1 61 my ($file, $files) = @_; 66 return 1 if ($file =~ /$qstring/); 74 my ($file, $lineno, $in_frame, $keep_frame, $num_discarded, $ignore_line, $quiet_ignore_line); 140 $file = ""; 141 } elsif ($line =~ /<file>(.*)<\/file>/) { 143 $file = $1; 144 if (file_matches($file, \@tool_files) | [all...] |
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ilp32/elf/ |
file.d | 1 #source: ../../../elf/file.s 3 #name: .file file names 14 0+ l[ ]*df \*ABS\*[ ]+0+ /dir/file\.s 18 0+ l[ ]*df \*ABS\*[ ]+0+ file\.s
|
/external/jacoco/org.jacoco.agent.test/src/org/jacoco/agent/ |
AgentJarTest.java | 17 import java.io.File; 33 private File file; field in class:AgentJarTest 37 if (file != null) { 38 file.delete(); 56 file = File.createTempFile("agent", ".jar"); 57 AgentJar.extractTo(file); 58 assertAgentContents(new FileInputStream(file)); 63 file = File.createTempFile("folder", null) [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas_hostmm.c | 3 * File: 7 * This file contains the host wrapper functions for stdio, stdlib, etc. 9 * The file locator (EAS_FILE_LOCATOR) handle passed to 12 * Modify this file to suit the needs of your particular system. 15 * a MIDI type 1 file that can be played. 17 * EAS_HW_FILE is a structure to support the file I/O functions. It 18 * comprises the file descriptor, the file read pointer, and 19 * the dup flag, which when set, indicates that the file handle has 20 * been duplicated, and offset and length within the file 110 EAS_HW_FILE *file; local 238 EAS_HW_FILE *file; local [all...] |
/toolchain/binutils/binutils-2.27/gas/ |
depend.c | 4 This file is part of GAS, the GNU Assembler. 17 along with GAS; see the file COPYING. If not, write to the Free 24 /* The file to write to, or NULL if no dependencies being kept. */ 29 char * file; member in struct:dependency 36 /* Current column in output file. */ 39 static int quote_string_for_make (FILE *, const char *); 40 static void wrap_output (FILE *, const char *, int); 67 if (!filename_cmp (filename, dep->file)) 72 dep->file = xstrdup (filename); 77 /* Quote a file name the way `make' wants it, and print it to FILE [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 5 * you may not use this file except in compliance with the License. 25 import java.io.File; 58 File file = locateFile(name); local 59 if (file == null) { 60 throw new FileNotFoundException("Could not locate file " + name); 62 return new InputStreamReader(new FileInputStream(file), "UTF-8"); 71 text.append("No file '"); 97 * @param name name of the file to locate. 98 * @return a File object corresponding to the existing file or {@code null} if it does not exist 103 File file = newFile(name); local 106 File file = null; local 144 File file = newFile(path, filename); local 174 File file = locateFile(filename); local 191 File file = locateFile(filename); local [all...] |
/external/python/cpython3/Lib/test/ |
test_print.py | 9 # sep, end, and file. 15 lambda args, sep, end, file: print(*args), 17 lambda args, sep, end, file: print(file=file, *args), 19 lambda args, sep, end, file: print(end=end, *args), 21 lambda args, sep, end, file: print(end=end, file=file, *args), 23 lambda args, sep, end, file: print(sep=sep, *args) [all...] |
/external/guice/extensions/persist/lib/ |
jboss-archive-browsing.jar | |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
WriteNumberFormatSerialTestData.java | 50 FileOutputStream file = new FileOutputStream("NumberFormatSerialTestData.java"); local 51 file.write(header.getBytes()); 52 write(file,(Object)nf,"generalInstance", "//NumberFormat.getInstance(Locale.US)"); 53 write(file,(Object)nfc,"currencyInstance","//NumberFormat.getCurrencyInstance(Locale.US)"); 54 write(file,(Object)nfp,"percentInstance","//NumberFormat.getPercentInstance(Locale.US)"); 55 write(file,(Object)nfsp,"scientificInstance","//NumberFormat.getScientificInstance(Locale.US)"); 56 file.write(footer.getBytes()); 57 file.close(); 63 private static void write(FileOutputStream file,Object o ,String name,String comment){ 78 //file.write(myArr) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
WriteNumberFormatSerialTestData.java | 47 FileOutputStream file = new FileOutputStream("NumberFormatSerialTestData.java"); local 48 file.write(header.getBytes()); 49 write(file,(Object)nf,"generalInstance", "//NumberFormat.getInstance(Locale.US)"); 50 write(file,(Object)nfc,"currencyInstance","//NumberFormat.getCurrencyInstance(Locale.US)"); 51 write(file,(Object)nfp,"percentInstance","//NumberFormat.getPercentInstance(Locale.US)"); 52 write(file,(Object)nfsp,"scientificInstance","//NumberFormat.getScientificInstance(Locale.US)"); 53 file.write(footer.getBytes()); 54 file.close(); 60 private static void write(FileOutputStream file,Object o ,String name,String comment){ 75 //file.write(myArr) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
RandomAccessFileTest.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 34 private File file; field in class:RandomAccessFileTest 37 file = File.createTempFile("RandomAccessFileTest", "tmp"); 41 file.delete(); 45 try (RandomAccessFile raf = new RandomAccessFile(file, "rw")) { 55 try (RandomAccessFile raf = new RandomAccessFile(file, "rw")) { 65 try (RandomAccessFile raf = new RandomAccessFile(file, "rw")) 76 File file = File.createTempFile("RandomAccessFileTest", "tmp"); local [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 5 * you may not use this file except in compliance with the License. 50 // This will fail if the process runs out of file descriptors before 56 for (MemoryFile file : files) { 58 file.readBytes(testString, 0, 0, testString.length); 74 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 79 file.writeBytes(testString, 0, 2000, testString.length); 80 file.readBytes(buffer, 2000, 0, testString.length); 86 OutputStream os = file.getOutputStream(); 89 InputStream is = file.getInputStream(); 100 file.close() 105 MemoryFile file = new MemoryFile("MemoryFileTest", 10); local 126 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); local 171 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); local 193 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 203 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 218 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 233 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); local 252 MemoryFile file = new MemoryFile("MemoryFileTest", 5000000); local [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
pei-x86_64.c | 4 This file is part of BFD, the Binary File Descriptor library. 142 pex64_xdata_print_uwd_codes (FILE *file, bfd *abfd, 169 fprintf (file, "\tv2 epilog (length: %02x) at pc+:", 172 fprintf (file, " 0x%x", func_size - ui->rawUnwindCodes[0]); 183 fprintf (file, " [pad]"); 185 fprintf (file, " 0x%x", func_size - off); 187 fputc ('\n', file); 196 fprintf (file, "\t pc+0x%02x: ", (unsigned int) dta[0]) 464 FILE *file = (FILE *) vfile; local [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
EncodedArray.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { 27 size = file.readUleb128(); 31 (values[i] = new EncodedValue()).read(file); 37 public void write(DexRandomAccessFile file) throws IOException { 38 file.writeUleb128(size); 41 encodedValue.write(file);
|
EncodedField.java | 5 * you may not use this file except in compliance with the License. 26 public void read(DexRandomAccessFile file) throws IOException { 27 fieldIdxDiff = file.readUleb128(); 28 accessFlags = file.readUleb128(); 32 public void write(DexRandomAccessFile file) throws IOException { 33 file.writeUleb128(fieldIdxDiff); 34 file.writeUleb128(accessFlags);
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
Format35mi.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 29 file.writeUShort((short) insn.vregB); 30 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 31 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4)
|
Format35ms.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 29 file.writeUShort((short) insn.vregB); 30 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 31 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4)
|
/external/curl/docs/cmdline-opts/ |
append.d | 3 Help: Append to target file when uploading 6 When used in an upload, this makes curl append to the target file instead of 7 overwriting it. If the remote file doesn't exist, it will be created. Note
|
egd-file.d | 1 Long: egd-file 2 Arg: <file> 5 See-also: random-file
|
/external/elfutils/libdwfl/ |
dwfl_lineinfo.c | 3 This file is part of elfutils. 5 This file is free software; you can redistribute it and/or modify 49 if (unlikely (info->file >= info->files->nfiles)) 55 struct Dwarf_Fileinfo_s *file = &info->files->info[info->file]; local 57 *mtime = file->mtime; 59 *length = file->length; 60 return file->name;
|
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
AntFilesLocator.java | 14 import java.io.File; 24 * Source locator based on Ant file resources. 37 * Adds the given file resource as a potential source file. 39 * @param file 40 * file resource to add 42 void add(final Resource file) { 43 resources.put(file.getName().replace(File.separatorChar, '/'), file); local 48 final Resource file = resources.get(path); local [all...] |