/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/stub/command/ |
H A D | StouCommandHandler.java | 24 * unique filename, which is "" by default. You can customize the returned filename by setting
25 * the <code>filename</code> property.
39 private String filename = "";
field in class:StouCommandHandler 42 * Override the default implementation to send a custom reply text that includes the STOU response filename
47 final String[] ARGS = {filename};
52 * Set the filename returned with the final reply of the STOU command
54 * @param filename - the filename
56 public void setFilename(String filename) {
argument [all...] |
/external/slf4j/ |
H A D | binderVersion.pl | 15 my $filename = $_[0]; 17 if(-s $filename) { 18 print "Processing [" . $filename . "]\r\n"; 20 my $original = "$filename.original"; 22 rename($filename, $original); 23 open(OUT, ">$filename"); 36 print "File [" . $filename . "] does not exist\r\n"
|
H A D | version.pl | 12 my $filename = $_[0]; 14 if(-s $filename) { 15 print "Processing [" . $filename . "]\r\n"; 17 my $original = "$filename.original"; 19 rename($filename, $original); 20 open(OUT, ">$filename"); 35 print "File [" . $filename . "] does not exist\r\n"
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/ |
H A D | Abbreviator.java | 40 public String abbreviate(String filename) { argument 41 if (filename.length() <= desiredLength) { 42 return filename; 45 int firstIndex = filename.indexOf(folderSeparator, invariantPrefixLength); 48 return filename; 51 buf.append(filename.substring(0, firstIndex + 1)); 53 int nextIndex = computeNextIndex(filename, firstIndex); 55 buf.append(filename.substring(nextIndex)); 58 return filename; 61 if (buf.length() < filename 70 computeNextIndex(String filename, int firstIndex) argument [all...] |
/external/syslinux/gpxe/src/util/ |
H A D | padimg.pl | 22 while ( my $filename = shift ) { 23 die "$filename is not a file\n" unless -f $filename; 24 my $oldsize = -s $filename; 30 $filename, $oldsize, $newsize, $padsize, $byte; 33 sysopen ( my $fh, $filename, ( O_WRONLY | O_APPEND ) ) 34 or die "Could not open $filename for appending: $!\n"; 36 or die "Could not append to $filename: $!\n"; 39 truncate $filename, $newsize 40 or die "Could not resize $filename [all...] |
/external/google-benchmark/tools/gbench/ |
H A D | util.py | 15 def is_executable_file(filename): 17 Return 'True' if 'filename' names a valid file which is likely 21 if not os.path.isfile(filename): 23 with open(filename, 'r') as f: 40 def is_json_file(filename): 42 Returns 'True' if 'filename' names a valid JSON output file. 46 with open(filename, 'r') as f: 54 def classify_input_file(filename): 57 of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable 62 if not os.path.exists(filename) [all...] |
/external/libcxx/utils/google-benchmark/tools/gbench/ |
H A D | util.py | 15 def is_executable_file(filename): 17 Return 'True' if 'filename' names a valid file which is likely 21 if not os.path.isfile(filename): 23 with open(filename, 'r') as f: 40 def is_json_file(filename): 42 Returns 'True' if 'filename' names a valid JSON output file. 46 with open(filename, 'r') as f: 54 def classify_input_file(filename): 57 of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable 62 if not os.path.exists(filename) [all...] |
/external/skia/tools/ |
H A D | reformat-json.py | 41 def Reformat(filename): 42 print 'Reformatting file %s...' % filename 43 gm_json.WriteToFile(gm_json.LoadFromFile(filename), filename) 50 for filename in args.filenames: 51 Reformat(filename)
|
/external/toybox/toys/other/ |
H A D | which.c | 11 usage: which [-a] filename ... 13 Search $PATH for executable files matching filename(s). 23 static int which_in_path(char *filename) argument 29 if (strchr(filename, '/')) { 31 if (!access(filename, X_OK)) { 34 if (!stat(filename, &st) && S_ISREG(st.st_mode)) { 35 puts(filename); 43 list = find_in_path(getenv("PATH"), filename);
|
/external/vboot_reference/host/lib/include/ |
H A D | host_key.h | 26 VbPrivateKey* PrivateKeyReadPem(const char* filename, uint64_t algorithm); 33 int PrivateKeyWrite(const char* filename, const VbPrivateKey* key); 39 VbPrivateKey* PrivateKeyRead(const char* filename); 52 VbPublicKey* PublicKeyRead(const char* filename); 61 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm, 66 int PublicKeyWrite(const char* filename, const VbPublicKey* key);
|
/external/autotest/server/site_tests/telemetry_GpuTests/ |
H A D | generate_controlfiles.py | 61 filename = 'control.%s' % test variable 62 with open(filename, 'w+') as f:
|
/external/curl/src/ |
H A D | tool_operhlp.h | 34 char *add_file_name_to_url(CURL *curl, char *url, const char *filename); 36 CURLcode get_url_file_name(char **filename, const char *url);
|
/external/gptfdisk/ |
H A D | diskio.cc | 55 int DiskIO::OpenForRead(const string & filename) { argument 59 if (((realFilename != filename) && (userFilename != filename)) || (openForWrite)) { 67 userFilename = filename; 73 } // DiskIO::OpenForRead(string filename) 75 // Open a disk for reading and writing by filename. 77 int DiskIO::OpenForWrite(const string & filename) { argument 80 if ((isOpen) && (openForWrite) && ((filename == realFilename) || (filename == userFilename))) { 83 userFilename = filename; [all...] |
/external/icu/icu4c/source/tools/genrb/ |
H A D | rbutil.h | 27 void get_dirname(char *dirname, const char *filename); 28 void get_basename(char *basename, const char *filename);
|
/external/libjpeg-turbo/ |
H A D | bmp.h | 34 int loadbmp(char *filename, unsigned char **buf, int *w, int *h, int pf, 37 int savebmp(char *filename, unsigned char *buf, int w, int h, int pf,
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
H A D | mknodat.h | 28 int mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev) argument 30 return ltp_syscall(__NR_mknodat, dirfd, filename, mode, dev);
|
/external/mdnsresponder/mDNSShared/ |
H A D | PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
/external/deqp/framework/delibs/destream/ |
H A D | deFileStream.h | 36 void deFileIOStream_init (deIOStream* stream, const char* filename, deFileMode mode); 37 void deFileInStream_init (deInStream* stream, const char* filename, deFileMode mode); 38 void deFileOutStream_init (deOutStream* stream, const char* filename, deFileMode mode);
|
/external/libcups/cups/ |
H A D | tempfile.c | 34 * The temporary filename is returned in the filename buffer. 39 cupsTempFd(char *filename, /* I - Pointer to buffer */ argument 98 snprintf(filename, (size_t)len - 1, "%s/%05lx%08lx", tmpdir, GetCurrentProcessId(), curtime); 110 snprintf(filename, (size_t)len - 1, "%s/%05x%08x", tmpdir, (unsigned)getpid(), (unsigned)(curtime.tv_sec + curtime.tv_usec + tries)); 119 fd = open(filename, _O_CREAT | _O_RDWR | _O_TRUNC | _O_BINARY, 122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); 124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600); 143 * 'cupsTempFile()' - Generates a temporary filename. 145 * The temporary filename i 153 cupsTempFile(char *filename, int len) argument 175 cupsTempFile2(char *filename, int len) argument [all...] |
/external/libxml2/doc/examples/ |
H A D | parse1.c | 18 * @filename: a filename or an URL 23 example1Func(const char *filename) { argument 26 doc = xmlReadFile(filename, NULL, 0); 28 fprintf(stderr, "Failed to parse %s\n", filename);
|
/external/llvm/utils/lint/ |
H A D | generic_lint.py | 12 def RunOnFile(self, filename, lines): 13 common_lint.VerifyLineLength(filename, lines, 15 common_lint.VerifyTrailingWhitespace(filename, lines)
|
/external/ltp/testcases/realtime/scripts/ |
H A D | parser.py | 32 def __init__(self,filename): 33 if filename: 34 log_file=filename
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
H A D | FileAppender.java | 23 public FileAppender(Layout layout, String filename) { argument 26 public FileAppender(Layout layout, String filename, boolean append) { argument 29 public FileAppender(Layout layout, String filename, boolean append, boolean bufferedIO, int bufferSize) { argument
|
/external/swiftshader/third_party/LLVM/utils/lint/ |
H A D | generic_lint.py | 12 def RunOnFile(self, filename, lines): 13 common_lint.VerifyLineLength(filename, lines, 15 common_lint.VerifyTrailingWhitespace(filename, lines)
|
/external/toybox/lib/ |
H A D | lsm.h | 74 static inline int lsm_set_context(char *filename, char *context) argument 77 return smack_set_label_for_path(filename, XATTR_NAME_SMACK, 1, context); 78 else return setfilecon(filename, context); 82 static inline int lsm_lset_context(char *filename, char *context) argument 85 return smack_set_label_for_path(filename, XATTR_NAME_SMACK, 0, context); 86 else return lsetfilecon(filename, context); 99 static inline int lsm_get_context(char *filename, char **context) argument 102 return smack_new_label_from_path(filename, XATTR_NAME_SMACK, 1, context); 103 else return getfilecon(filename, context); 106 static inline int lsm_lget_context(char *filename, cha argument [all...] |