Searched refs:filename (Results 301 - 325 of 1510) sorted by relevance

<<11121314151617181920>>

/external/doclava/src/com/google/doclava/
H A DSampleTagInfo.java36 * Both tags accept either a filename and an id or just a filename. If no id is provided, the entire
77 String filename = m.group(1);
82 mIncluded = readFile(position, filename, id, trim, true, false);
84 mIncluded = loadInclude(position, filename, id, trim);
89 + filename);
109 static String loadInclude(SourcePositionInfo pos, String filename, String id, boolean trim) { argument
117 input = new FileReader(filename);
186 + "\" " + filename);
194 Errors.error(Errors.BAD_INCLUDE_TAG, pos, "Did not find " + end + " in file " + filename);
198 readFile(SourcePositionInfo pos, String filename, String id, boolean trim, boolean escape, boolean errorOk) argument
[all...]
/external/icu4c/test/cintltst/
H A Dsprpdata.c34 parseMappings(const char *filename, UStringPrepProfile* data, UBool reportError, UErrorCode *pErrorCode);
93 parseMappings(const char *filename, UStringPrepProfile* data, UBool reportError, UErrorCode *pErrorCode) { argument
100 u_parseDelimitedFile(filename, ';', fields, 3, strprepProfileLineFn, (void*)data, pErrorCode);
105 log_err( "testidn error: u_parseDelimitedFile(\"%s\") failed - %s\n", filename, u_errorName(*pErrorCode));
278 char *filename = NULL; local
298 filename = (char*) malloc(strlen(srcdatapath)+strlen(relativepath)+strlen(txtFileName)+10 );
300 strcpy(filename,srcdatapath);
301 strcat(filename,relativepath);
302 strcat(filename,txtFileName);
304 parseMappings(filename,profil
[all...]
/external/libxml2/include/libxml/
H A DxmlIO.h27 * @filename: the filename or URI
34 typedef int (XMLCALL *xmlInputMatchCallback) (char const *filename);
37 * @filename: the filename or URI
43 typedef void * (XMLCALL *xmlInputOpenCallback) (char const *filename);
73 * @filename: the filename or URI
80 typedef int (XMLCALL *xmlOutputMatchCallback) (char const *filename);
83 * @filename
[all...]
/external/oprofile/libdb/
H A Ddb_manage.c155 find_samples_data(size_t hash, char const * filename) argument
167 if (strcmp(entry->filename, filename) == 0)
175 int odb_open(odb_t * odb, char const * filename, enum odb_rw rw, argument
187 hash = op_hash_string(filename) % FILES_HASH_SIZE;
188 data = find_samples_data(hash, filename);
201 data->filename = xstrdup(filename);
203 data->fd = open(filename, flags, 0644);
269 free(data->filename);
[all...]
/external/chromium/testing/gmock/scripts/generator/cpp/
H A Dgmock_class.py105 def _GenerateMocks(filename, source, ast_list, desired_class_names):
148 (filename, ', '.join(missing_class_name_list)))
150 sys.stderr.write('No class found in %s\n' % filename)
170 filename = argv[1]
174 source = utils.ReadFile(filename)
178 builder = ast.BuilderFromSource(source, filename)
187 lines = _GenerateMocks(filename, source, entire_ast, desired_class_names)
/external/libsepol/tests/
H A Dtest-expander.c72 char *filename[num_modules + 1]; local
76 filename[i] = calloc(PATH_MAX, sizeof(char));
77 if (snprintf(filename[i], PATH_MAX, "policies/test-expander/%s%s", myfiles[i], mls ? ".mls" : ".std") < 0)
101 if (read_source_policy(mybase, filename[0], myfiles[0])) {
102 fprintf(stderr, "read source policy failed %s\n", filename[0]);
109 if (read_source_policy(mymodules[i - 1], filename[i], myfiles[i])) {
110 fprintf(stderr, "read source policy failed %s\n", filename[i]);
/external/libvorbis/vq/
H A Dlatticebuild.c77 char *filename=_ogg_calloc(strlen(argv[1])+4,1); local
79 strcpy(filename,argv[1]);
80 in=fopen(filename,"r");
82 fprintf(stderr,"Could not open input file %s\n",filename);
86 ptr=strrchr(filename,'.');
89 name=strdup(filename);
91 name=strdup(filename);
/external/libvpx/libvpx/tools/
H A Dintersect-diffs.py26 def __init__(self, filename, offset, length):
27 self.filename = filename
75 self.left.filename, self.right.filename,
153 """Join two hunk lists on filename."""
155 rhs_file = rhs_hunk.right.filename.split("/")[1:]
158 lhs_file = lhs_hunk.left.filename.split("/")[1:]
/external/openssh/
H A Dauth-rhosts.c55 check_rhosts_file(const char *filename, const char *hostname, argument
65 if ((fd = open(filename, O_RDONLY|O_NONBLOCK)) == -1)
73 server_user, filename);
106 auth_debug_add("Found empty line in %.100s.", filename);
116 auth_debug_add("Found garbage in %.100s.", filename);
144 filename);
168 filename);
H A Dservconf.c474 parse_token(const char *cp, const char *filename, argument
486 filename, linenum, cp);
717 const char *filename, int linenum, int *activep, const char *user,
740 opcode = parse_token(arg, filename, linenum, &flags);
747 debug3("%s:%d setting %s %s", filename, linenum, arg, cp);
751 "within a Match block", filename, linenum, arg);
774 "ListenAddress.", filename, linenum);
777 filename, linenum);
781 filename, linenum);
785 filename, linenu
716 process_server_config_line(ServerOptions *options, char *line, const char *filename, int linenum, int *activep, const char *user, const char *host, const char *address) argument
1429 load_server_config(const char *filename, Buffer *conf) argument
1549 parse_server_config(ServerOptions *options, const char *filename, Buffer *conf, const char *user, const char *host, const char *address) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/
H A Dimporter.h99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
118 void AddError(const string& filename,
161 const FileDescriptor* Import(const string& filename);
185 virtual void AddError(const string& filename, int line, int column,
202 // found. The caller takes ownership of the returned object. The filename
205 virtual io::ZeroCopyInputStream* Open(const string& filename) = 0;
247 // the filename is used. However, that virtual path may not actually be
276 io::ZeroCopyInputStream* Open(const string& filename);
294 io::ZeroCopyInputStream* OpenDiskFile(const string& filename);
/external/regex-re2/re2/
H A Dunicode.py120 def ReadUnicodeTable(filename, nfields, doline):
139 filename: the Unicode data file to read, or a file-like object.
150 if type(filename) == str:
151 if filename.startswith("http://"):
152 fil = urllib2.urlopen(filename)
154 fil = open(filename, "r")
156 fil = filename
211 print "%s:%d: %s" % (filename, lineno, e)
/external/webkit/Tools/wx/packaging/
H A Dbuild-mac-installer.py85 filename = line.split("(")[0].strip()
86 if os.path.exists(filename):
87 print "checking dll %s" % filename
90 if filename.startswith(sys_prefix):
96 filedir, basename = os.path.split(filename)
100 shutil.copy(filename, copydir)
103 os.system("install_name_tool -change %s %s %s" % (filename, dest_filename, dylib))
/external/zlib/src/contrib/minizip/
H A Dioapi.c19 #define FOPEN_FUNC(filename, mode) fopen(filename, mode)
23 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode)
31 voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode)
34 return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode);
37 return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode);
87 static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode));
95 static voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char* filename, int mode) argument
108 if ((filename!
113 fopen64_file_func(voidpf opaque, const void* filename, int mode) argument
[all...]
/external/icu4c/tools/toolutil/
H A Dpkg_gencmn.c99 addFile(const char *filename, const char *name, const char *source, UBool sourceTOC, UBool verbose);
307 char *filename; local
310 /* create the output filename */
311 filename=s=buffer;
312 uprv_strcpy(filename, destDir);
313 s=filename+uprv_strlen(filename);
314 if(s>filename && *(s-1)!=U_FILE_SEP_CHAR) {
327 out=T_FileStream_open(filename, "w");
329 uprv_strcpy(gencmnFileName, filename);
404 addFile(const char *filename, const char *name, const char *source, UBool sourceTOC, UBool verbose) argument
[all...]
H A Dwritesrc.c28 usrc_createWithHeader(const char *path, const char *filename, argument
37 p=filename;
39 /* concatenate path and filename, with U_FILE_SEP_CHAR in between if necessary */
45 uprv_strcpy(q, filename);
60 fprintf(f, header, year, filename, buffer);
62 fprintf(f, header, year, filename, generator);
68 path!=NULL ? path : "", filename);
74 usrc_create(const char *path, const char *filename, const char *generator) { argument
84 return usrc_createWithHeader(path, filename, generator, header);
88 usrc_createTextData(const char *path, const char *filename, cons argument
[all...]
H A Dfilestrm.c31 T_FileStream_open(const char* filename, const char* mode) argument
33 if(filename != NULL && *filename != 0 && mode != NULL && *mode != 0) {
34 FILE *file = fopen(filename, mode);
43 T_FileStream_wopen(const wchar_t* filename, const wchar_t* mode)
47 FILE* result = _wfopen(filename, mode);
55 fnMbsSize = wcstombs(NULL, filename, ((size_t)-1) >> 1);
57 wcstombs(fn, filename, fnMbsSize);
80 T_FileStream_file_exists(const char* filename) argument
82 FILE* temp = fopen(filename, "
[all...]
/external/icu4c/tools/gennorm2/
H A Dgennorm2.cpp116 "\t-o or --output output filename\n");
155 // prepare the filename beginning with the source dir
156 CharString filename(options[SOURCEDIR].value, errorCode);
157 int32_t pathLength=filename.length();
159 filename[pathLength-1]!=U_FILE_SEP_CHAR &&
160 filename[pathLength-1]!=U_FILE_ALT_SEP_CHAR
162 filename.append(U_FILE_SEP_CHAR, errorCode);
163 pathLength=filename.length();
168 filename.append(argv[i], errorCode);
169 LocalStdioFilePointer f(fopen(filename
[all...]
/external/openfst/src/include/fst/
H A Dexpanded-fst.h75 // Empty filename reads from standard input.
76 static ExpandedFst<A> *Read(const string &filename) { argument
77 if (!filename.empty()) {
78 ifstream strm(filename.c_str(), ifstream::in | ifstream::binary);
80 LOG(ERROR) << "ExpandedFst::Read: Can't open file: " << filename;
83 return Read(strm, FstReadOptions(filename));
147 // Empty filename reads from standard input.
148 static I *Read(const string &filename) { argument
149 if (!filename.empty()) {
150 ifstream strm(filename
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Ddiskcache.cc134 std::string filename(IdToFilename(id, index));
135 FileStream::GetSize(filename, &previous_size);
142 if (!file->Open(filename, "wb")) {
198 std::string filename = IdToFilename(id, index);
200 return FileExists(filename);
213 std::string filename = IdToFilename(id, index); local
215 if (!FileExists(filename))
218 if (!DeleteFile(filename)) {
219 LOG_F(LS_ERROR) << "Couldn't remove cache file: " << filename;
276 // We might want to just use a hash of the filename a
296 FilenameToId(const std::string& filename, std::string* id, size_t* index) const argument
[all...]
/external/jdiff/src/jdiff/
H A DOptions.java171 String filename = options[i][1];
172 RootDocToXML.apiIdentifier = filename;
173 filename = filename.replace(' ', '_');
174 RootDocToXML.outputFileName = filename + ".xml";
194 String filename = options[i][1];
195 filename = filename.replace(' ', '_');
196 JDiff.oldFileName = filename + ".xml";
216 String filename
[all...]
/external/linux-tools-perf/util/
H A Devent.c59 char filename[PATH_MAX]; local
67 snprintf(filename, sizeof(filename), "/proc/%d/status", pid);
69 fp = fopen(filename, "r");
75 pr_debug("couldn't open %s\n", filename);
83 pr_warning("couldn't get COMM and pgid, malformed %s\n", filename);
120 snprintf(filename, sizeof(filename), "/proc/%d/task", pid);
122 tasks = opendir(filename);
149 char filename[PATH_MA local
395 const char *filename, *mmap_name; local
[all...]
/external/sonivox/jet_tools/JetCreator/
H A DJetUtils.py203 """ Gets just the filename, without the path """
482 if FileExists(jetFile.config.filename):
483 zip.write(jetFile.config.filename, FileJustName(jetFile.config.filename))
490 if FileExists(segment.filename):
491 if not FileJustName(segment.filename) in zip.namelist():
492 zip.write(segment.filename, FileJustName(segment.filename))
505 segment.filename = FileJustName(segment.filename)
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_suppressions.cc33 static char *ReadFile(const char *filename) { argument
34 if (filename == 0 || filename[0] == 0)
37 if (filename[0] == '/' || GetPwd() == 0)
38 internal_snprintf(tmp.data(), tmp.size(), "%s", filename);
40 internal_snprintf(tmp.data(), tmp.size(), "%s/%s", GetPwd(), filename);
/external/marisa-trie/lib/marisa/
H A Dintvector.cc43 void IntVector::mmap(Mapper *mapper, const char *filename, argument
47 temp_mapper.open(filename, offset, whence);
66 void IntVector::load(const char *filename, argument
69 reader.open(filename, offset, whence);
97 void IntVector::save(const char *filename, bool trunc_flag, argument
100 writer.open(filename, trunc_flag, offset, whence);

Completed in 834 milliseconds

<<11121314151617181920>>