/external/icu4c/tools/genrb/ |
H A D | rbutil.c | 29 const char *filename) 31 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 33 if(lastSlash>filename) { 34 uprv_strncpy(dirname, filename, (lastSlash - filename)); 35 *(dirname + (lastSlash - filename)) = '\0'; 44 const char *filename) 47 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; 50 if(lastSlash>filename) { 53 uprv_strcpy(basename, filename); 28 get_dirname(char *dirname, const char *filename) argument 43 get_basename(char *basename, const char *filename) argument [all...] |
/external/bison/lib/ |
H A D | open.c | 31 orig_open (const char *filename, int flags, mode_t mode) argument 33 return open (filename, flags, mode); 53 open (const char *filename, int flags, ...) argument 81 if (strcmp (filename, "/dev/null") == 0) 82 filename = "NUL"; 86 /* If the filename ends in a slash and one of O_CREAT, O_WRONLY, O_RDWR 94 "The special filename dot shall refer to the directory specified by 109 size_t len = strlen (filename); 110 if (len > 0 && filename[len - 1] == '/') 118 fd = orig_open (filename, flag [all...] |
H A D | fopen.c | 30 orig_fopen (const char *filename, const char *mode) argument 32 return fopen (filename, mode); 48 rpl_fopen (const char *filename, const char *mode) argument 51 if (strcmp (filename, "/dev/null") == 0) 52 filename = "NUL"; 56 /* If the filename ends in a slash and a mode that requires write access is 64 "The special filename dot shall refer to the directory specified by 73 size_t len = strlen (filename); 74 if (len > 0 && filename[len - 1] == '/') 86 fd = open (filename, O_RDONL [all...] |
/external/webkit/Source/WebKit/chromium/scripts/ |
H A D | generate_devtools_grd.py | 45 <output filename="grit/devtools_resources.h" type="rc_header"> 48 <output filename="grit/devtools_resources_map.cc" type="resource_file_map_source" /> 49 <output filename="grit/devtools_resources_map.h" type="resource_map_header" /> 51 <output filename="devtools_resources.pak" type="data_package" /> 75 def make_name_from_filename(filename): 76 return (filename.replace('/', '_') 81 def add_file_to_grd(grd_doc, filename): 86 new_include_node.setAttribute('name', make_name_from_filename(filename)) 87 new_include_node.setAttribute('file', filename) 104 for filename i [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | NonVolatileStore.cpp | 64 char filename[256]; local 69 ALOGE ("%s: filename too long", __FUNCTION__); 72 sprintf (filename, "%s%u", fn.c_str(), block); 74 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); 75 int fileStream = open (filename, O_RDONLY); 120 char filename[256]; local 126 ALOGE ("%s: filename too long", __FUNCTION__); 129 sprintf (filename, "%s%u", fn.c_str(), block); 130 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); 132 fileStream = open (filename, O_WRONL 192 char filename[256]; local [all...] |
/external/eigen/scripts/ |
H A D | relicense.py | 55 print 'SKIPPED', filename 57 filename = os.path.join(root, basename) 58 fo = file(filename) 64 fo = file(filename, "w") 67 print 'UPDATED', filename 69 print ' ', filename
|
/external/skia/gm/ |
H A D | factory.cpp | 25 SkString filename(INHERITED::gResourcePath); 26 if (!filename.endsWith("/") && !filename.endsWith("\\")) { 27 filename.append("/"); 31 filename.append("plane.png"); 33 SkFILEStream stream(filename.c_str());
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | winfirewall.h | 55 bool QueryAuthorized(const char* filename, bool* authorized) const; 56 bool QueryAuthorizedW(const wchar_t* filename, bool* authorized) const; 58 bool AddApplication(const char* filename, const char* friendly_name, 60 bool AddApplicationW(const wchar_t* filename, const wchar_t* friendly_name,
|
/external/expat/xmlwf/ |
H A D | xmlfile.h | 19 const XML_Char *filename,
|
H A D | xmlfile.c | 61 reportError(XML_Parser parser, const XML_Char *filename) argument 67 filename, 72 ftprintf(stderr, T("%s: (unknown message %d)\n"), filename, code); 78 const XML_Char *filename, void *args) 83 reportError(parser, filename); 139 const XML_Char *filename; local 144 filename = resolveSystemId(base, systemId, &s); 145 XML_SetBase(entParser, filename); 146 if (!filemap(filename, processFile, &args)) 154 processStream(const XML_Char *filename, XML_Parse argument 77 processFile(const void *data, size_t size, const XML_Char *filename, void *args) argument 206 const XML_Char *filename; local 218 XML_ProcessFile(XML_Parser parser, const XML_Char *filename, unsigned flags) argument [all...] |
/external/grub/util/ |
H A D | mbchk.c | 56 check_multiboot (const char *filename, FILE *fp) argument 64 fprintf (stderr, "%s: Read error.\n", filename); 81 fprintf (stderr, "%s: No Multiboot header.\n", filename); 87 filename, i); 94 filename, mbh->checksum); 103 filename, mbh->flags); 110 filename, (mbh->flags & 0x1)? "on" : "off"); 112 filename, (mbh->flags & 0x2)? "on" : "off"); 114 filename, (mbh->flags & 0x10000)? "on" : "off"); 125 filename, mb [all...] |
/external/jsilver/src/org/clearsilver/ |
H A D | CSFileLoader.java | 31 * @param filename the name of the file that should be loaded. 34 public String load(HDF hdf, String filename) throws IOException; argument
|
/external/dropbear/libtommath/ |
H A D | dep.pl | 13 foreach my $filename (glob "bn*.c") { 14 my $define = $filename; 16 print "Processing $filename\n"; 18 # convert filename to upper case so we can use it as a define 25 open(SRC, "<$filename"); 47 unlink($filename); 48 rename("tmp", $filename); 54 foreach my $filename (glob "bn*.c") { 55 open(SRC, "<$filename") or die "Can't open source file!\n"; 57 # convert filename t [all...] |
/external/bison/examples/calc++/ |
H A D | position.hh | 66 : filename (f) 78 filename = fn; 100 std::string* filename; member in class:yy::position 143 && (pos1.filename == pos2.filename 144 || (pos1.filename && pos2.filename 145 && *pos1.filename == *pos2.filename))); 163 if (pos.filename) [all...] |
/external/doclava/src/com/google/doclava/ |
H A D | DocFile.java | 30 public static String readFile(String filename) { argument 32 File f = new File(filename); 56 public static String getPathRoot(String filename) { argument 57 String[] stripStr = filename.split("\\/"); 144 String filename = outfile; 147 filename = getPathRoot(filename); 148 if (filename.indexOf("design") == 0) { 150 } else if (filename.indexOf("develop") == 0) { 152 } else if (filename [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | file.h | 42 void WriteStringToFileOrDie(const string &data, const string &filename); 43 void ReadFileToStringOrDie(const string &filename, string *data);
|
/external/openfst/src/extensions/far/ |
H A D | stlist.cc | 21 bool IsSTList(const string &filename) { argument 22 ifstream strm(filename.c_str());
|
H A D | strings.cc | 29 int KeySize(const char *filename) { argument 30 ifstream istrm(filename);
|
H A D | sttable.cc | 21 bool IsSTTable(const string &filename) { argument 22 ifstream strm(filename.c_str());
|
/external/webkit/Tools/Scripts/ |
H A D | update-iexploder-cssproperties | 58 my ($filename) = @_; 60 my $revision = svnRevisionForDirectory(dirname($filename)); 61 my $path = File::Spec->abs2rel($filename, sourceDir()); 67 open(IN, $filename) || die "$!"; 96 my ($filename) = @_; 101 open(IN, $filename) || die "$!"; 123 my ($filename, @sections) = @_; 125 open(OUT, "> $filename") || die "$!";
|
H A D | clean-header-guards | 32 Find::find(".") do |filename| 33 next unless filename =~ /\.h$/ 34 next if filename.match(IgnoreFileNamesPattern) 36 File.open(filename, "r+") do |file| 41 new_guard = File.basename(filename).sub('.', '_') 45 puts "Ignoring #{filename}, failed to find existing header guards." 47 tmp_filename = filename + ".tmp" 51 File.rename tmp_filename, filename
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
H A D | test_files.py | 101 def _has_supported_extension(filesystem, filename): 102 """Return true if filename is one of the file extensions we want to run a 104 extension = filesystem.splitext(filename)[1] 108 def is_reference_html_file(filename): 109 """Return true if the filename points to a reference HTML file.""" 110 if (filename.endswith('-expected.html') or 111 filename.endswith('-expected-mismatch.html')): 116 def _is_test_file(filesystem, dirname, filename): 117 """Return true if the filename points to a test file.""" 118 return (_has_supported_extension(filesystem, filename) an [all...] |
/external/webkit/Tools/iExploder/iexploder-1.3.2/tools/ |
H A D | osx_last_crash.rb | 10 files.each { |filename| 11 filename.chop! 16 File.open(filename).readlines.each { |line| 40 puts File.basename(filename) + " - " + date
|
/external/webkit/Tools/iExploder/iexploder-1.7.2/tools/ |
H A D | osx_last_crash.rb | 25 files.each { |filename| 26 filename.chop! 31 File.open(filename).readlines.each { |line| 55 puts File.basename(filename) + " - " + date
|
/external/eigen/bench/btl/generic_bench/utils/ |
H A D | xy_file.hh | 28 bool read_xy_file(const std::string & filename, std::vector<int> & tab_sizes, argument 32 std::ifstream input_file (filename.c_str(),std::ios::in); 36 INFOS("!!! Error opening "<<filename); 64 void dump_xy_file(const Vector_A & X, const Vector_B & Y, const std::string & filename){ argument 66 ofstream outfile (filename.c_str(),ios::out) ;
|