/external/clang/test/CoverageMapping/ |
H A D | builtinmacro.c | 5 // CHECK: filename 6 const char *filename (const char *name) { // CHECK-NEXT: File 0, [[@LINE]]:41 -> [[@LINE+3]]:2 = #0 function 12 filename(__FILE__ "test.c");
|
/external/valgrind/none/tests/ |
H A D | fdleak_creat.c | 8 char filename[24]; local 12 sprintf(filename, "/tmp/file.%ld", (long) getpid()); 13 (void) DO( creat(filename, 0) ); 14 (void) DO( unlink(filename) );
|
/external/ltp/testcases/network/stress/ns-tools/ |
H A D | create_file | 31 # $1: filename 51 echo "Usage: create_file filename filesize" >&2 54 filename=$1 62 echo -n "A" > $filename 2>/dev/null 63 echo -n "Z" | dd of=$filename bs=1 seek=`expr $filesize - 1` >/dev/null 2>&1 65 echo "Failed to create $filename" >&2 68 chmod 644 $filename
|
/external/python/cpython2/Tools/scripts/ |
H A D | crlf.py | 7 for filename in sys.argv[1:]: 8 if os.path.isdir(filename): 9 print filename, "Directory!" 11 data = open(filename, "rb").read() 13 print filename, "Binary!" 17 print filename 18 f = open(filename, "wb")
|
H A D | lfcr.py | 8 for filename in sys.argv[1:]: 9 if os.path.isdir(filename): 10 print filename, "Directory!" 12 data = open(filename, "rb").read() 14 print filename, "Binary!" 18 print filename 19 f = open(filename, "wb")
|
H A D | suff.py | 12 for filename in files: 13 suff = getsuffix(filename) 16 suffixes[suff].append(filename) 22 def getsuffix(filename): 24 for i in range(len(filename)): 25 if filename[i] == '.': 26 suff = filename[i:]
|
/external/python/cpython2/Lib/ |
H A D | linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 13 def getline(filename, lineno, module_globals=None): 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): 37 if filename in cache: 38 return cache[filename][2] 41 return updatecache(filename, module_globals) 47 def checkcache(filename=None): 51 if filename is None: 54 if filename i [all...] |
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
H A D | utils.py | 30 def ReadFile(filename, print_error=True): 33 fp = open(filename) 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/external/googletest/googlemock/scripts/generator/cpp/ |
H A D | utils.py | 30 def ReadFile(filename, print_error=True): 33 fp = open(filename) 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/external/ltp/include/old/ |
H A D | old_resource.h | 47 #define TST_RESOURCE_COPY(cleanup_fn, filename, dest) \ 49 (filename), (dest)) 53 const char *filename, const char *dest);
|
/external/shflags/examples/ |
H A D | write_date.sh | 3 # This script takes a filename as input and writes the current date to the 28 FLAGS_HELP="USAGE: $0 [flags] filename" 48 # check for filename 49 [ $# -gt 0 ] || die 'filename missing' 50 filename=$1 52 [ -f "${filename}" -a ${FLAGS_force} -eq ${FLAGS_FALSE} ] \ 53 && die 'filename exists; not overwriting' 54 write_date "${filename}"
|
/external/v8/testing/gmock/scripts/generator/cpp/ |
H A D | utils.py | 30 def ReadFile(filename, print_error=True): 33 fp = open(filename) 40 print('Error reading %s: %s' % (filename, sys.exc_info()[1]))
|
/external/e2fsprogs/tests/progs/ |
H A D | hold_inode.c | 25 char *filename; local 31 filename = argv[1]; 32 if (stat(filename, &statbuf) < 0) { 33 perror(filename); 37 if (!opendir(filename)) { 38 perror(filename); 42 if (open(filename, O_RDONLY) < 0) { 43 perror(filename);
|
/external/vboot_reference/host/lib/include/ |
H A D | host_misc.h | 19 /* Read data from [filename]. Store the size of returned data in [size]. 23 uint8_t* ReadFile(const char* filename, uint64_t* size); 26 * filename to read. 29 char* ReadFileString(char* dest, int size, const char* filename); 34 int ReadFileInt(const char* filename, unsigned* value); 39 int ReadFileBit(const char* filename, int bitmask); 41 /* Writes [size] bytes of [data] to [filename]. 44 int WriteFile(const char* filename, const void *data, uint64_t size); 49 * @param filename Name of file to read from 56 int vb2_read_file(const char *filename, uint8_ [all...] |
/external/curl/lib/ |
H A D | netrc.h | 29 char *filename);
|
/external/curl/src/ |
H A D | tool_parsecfg.h | 26 int parseconfig(const char *filename, struct GlobalConfig *config);
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
H A D | BaseResourceLoader.java | 37 * Default implementation returns the filename as the ResourceLoaders that subclass this class 38 * tend to assume they are the only ResourceLoader in use. Or at least that the filename is the 42 public Object getKey(String filename) { argument 43 return filename; 50 public Object getResourceVersionId(String filename) { argument 51 return filename;
|
/external/webrtc/webrtc/modules/audio_processing/logging/ |
H A D | aec_logging_file_handling.cc | 32 char filename[64]; local 33 int written = rtc::sprintfn(filename, sizeof(filename), "%s%d-%d.wav", name, 39 RTC_DCHECK_LT(static_cast<size_t>(written), sizeof(filename)); 41 *wav_file = rtc_WavOpen(filename, sample_rate, 1); 45 char filename[64]; local 46 int written = rtc::sprintfn(filename, sizeof(filename), "%s_%d.dat", name, 52 RTC_DCHECK_LT(static_cast<size_t>(written), sizeof(filename)); 54 *file = fopen(filename, "w [all...] |
/external/mockftpserver/MockFtpServer/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/mockftpserver/tags/2.0/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/mockftpserver/tags/2.0-rc1/MockFtpServer/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/mockftpserver/tags/2.0-rc3/MockFtpServer/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/mockftpserver/tags/2.0.1/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/mockftpserver/tags/2.0.2/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/mockftpserver/tags/2.1/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...] |