Home
last modified time | relevance | path

Searched refs:basename (Results 1 – 25 of 921) sorted by relevance

12345678910>>...37

/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dtest_util.cc54 void SplitFilename(const std::string& filename, std::string* basename, in SplitFilename() argument
56 assert(basename); in SplitFilename()
63 *basename = filename.substr(0, idx); in SplitFilename()
66 *basename = filename; in SplitFilename()
73 std::string basename; in AppendWidthHeightCount() local
75 SplitFilename(filename, &basename, &extension); in AppendWidthHeightCount()
77 ss << basename << "_" << count << "." << width << "_" << height << "." << in AppendWidthHeightCount()
92 std::string basename; in FileOutputFrameReceiver() local
95 basename = webrtc::test::OutputPath() + "rtp_decoded"; in FileOutputFrameReceiver()
98 SplitFilename(base_out_filename, &basename, &extension); in FileOutputFrameReceiver()
[all …]
/external/chromium_org/build/
Dgdb-add-index38 local basename=$(basename "$file")
45 echo "Removed index from $basename."
47 echo "Skipped $basename -- already contains index."
54 echo "Adding index to $basename..."
57 local index_file="$DIRECTORY/$basename.gdb-index"
63 echo " ...$basename indexed. [${elappsed}ms]"
65 echo " ...$basename unindexable."
/external/libmtp/examples/
Dconnect.c94 …if ((strncmp(basename(argv[0]),"mtp-delfile",11) == 0) || (strncmp(basename(argv[0]),"delfile",7) … in main()
96 …} else if ((strncmp(basename(argv[0]),"mtp-getfile",13) == 0) || (strncmp(basename(argv[0]),"getfi… in main()
98 …} else if ((strncmp(basename(argv[0]),"mtp-newfolder",13) == 0) || (strncmp(basename(argv[0]),"new… in main()
100 …} else if ((strncmp(basename(argv[0]),"mtp-sendfile",11) == 0) || (strncmp(basename(argv[0]),"send… in main()
102 …} else if ((strncmp(basename(argv[0]),"mtp-sendtr",10) == 0) || (strncmp(basename(argv[0]),"sendtr… in main()
/external/bzip2/
Dxmlproc.sh47 basename=$xmlfile
48 basename=${basename//'.xml'/''}
50 fofile="${basename}.fo"
51 htmlfile="${basename}.html"
52 pdffile="${basename}.pdf"
53 psfile="${basename}.ps"
54 xmlfmtfile="${basename}.fmt"
/external/icu/icu4c/source/tools/toolutil/
Dtoolutil.cpp111 const char *basename=findBasename(pathname); in getLongPathname() local
112 if(basename!=pathname) { in getLongPathname()
114 … uprv_memmove(info.cFileName+(basename-pathname), info.cFileName, uprv_strlen(info.cFileName)+1); in getLongPathname()
115 uprv_memcpy(info.cFileName, pathname, basename-pathname); in getLongPathname()
131 const char *basename=uprv_strrchr(path, U_FILE_SEP_CHAR); in findDirname() local
134 if(basenameAlt && (!basename || basename<basenameAlt)) { in findDirname()
135 basename = basenameAlt; in findDirname()
138 if(!basename) { in findDirname()
144 resultLen = basename - path; in findDirname()
162 const char *basename=uprv_strrchr(filename, U_FILE_SEP_CHAR); in findBasename() local
[all …]
/external/chromium_org/third_party/icu/source/tools/toolutil/
Dtoolutil.cpp110 const char *basename=findBasename(pathname); in getLongPathname() local
111 if(basename!=pathname) { in getLongPathname()
113 … uprv_memmove(info.cFileName+(basename-pathname), info.cFileName, uprv_strlen(info.cFileName)+1); in getLongPathname()
114 uprv_memcpy(info.cFileName, pathname, basename-pathname); in getLongPathname()
130 const char *basename=uprv_strrchr(path, U_FILE_SEP_CHAR); in findDirname() local
133 if(basenameAlt && (!basename || basename<basenameAlt)) { in findDirname()
134 basename = basenameAlt; in findDirname()
137 if(!basename) { in findDirname()
143 resultLen = basename - path; in findDirname()
161 const char *basename=uprv_strrchr(filename, U_FILE_SEP_CHAR); in findBasename() local
[all …]
/external/chromium_org/native_client_sdk/src/tools/
Dcreate_html.py118 basename, ext = os.path.splitext(filename)
132 htmlfile = basename + '.html'
133 basename = os.path.splitext(os.path.basename(htmlfile))[0]
156 args['title'] = basename
157 args['module_name'] = basename
158 args['nmf'] = os.path.basename(nmf)
200 sys.stderr.write('%s: %s\n' % (os.path.basename(__file__), e))
203 sys.stderr.write('%s: interrupted\n' % os.path.basename(__file__))
/external/chromium_org/v8/
DMakefile319 $(addsuffix .check,$(MODES)): $$(basename $$@)
321 --mode=$(basename $@) $(TESTFLAGS)
323 $(addsuffix .check,$(ARCHES)): $$(basename $$@)
325 --arch=$(basename $@) $(TESTFLAGS)
327 $(CHECKS): $$(basename $$@)
329 --arch-and-mode=$(basename $@) $(TESTFLAGS)
331 $(addsuffix .quickcheck,$(MODES)): $$(basename $$@)
333 --mode=$(basename $@) $(TESTFLAGS) --quickcheck
335 $(addsuffix .quickcheck,$(ARCHES)): $$(basename $$@)
337 --arch=$(basename $@) $(TESTFLAGS) --quickcheck
[all …]
/external/chromium_org/tools/gyp/test/win/idl-rules/
Didl_compiler.py13 basename, ext = os.path.splitext(sys.argv[1]) variable
14 with open('%s.h' % basename, 'w') as f:
15 f.write('// %s.h\n' % basename)
16 with open('%s.cpp' % basename, 'w') as f:
17 f.write('// %s.cpp\n' % basename)
/external/chromium_org/third_party/cython/src/Cython/Build/
DBuildExecutable.py75 def clink(basename): argument
76 runcmd([LINKCC, '-o', basename + EXE_EXT, basename+'.o', '-L'+LIBDIR1, '-L'+LIBDIR2]
80 def ccompile(basename): argument
81 runcmd([CC, '-c', '-o', basename+'.o', basename+'.c', '-I' + INCDIR] + CFLAGS.split())
100 basename = os.path.splitext(input_file)[0]
101 exe_file = basename + EXE_EXT
109 ccompile(basename)
110 clink(basename)
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dsplit-file-by-class42 my $basename = $1;
72 if (!($classname eq $basename)) {
77 system "svn mv $basename.h $classname.h";
81 if (($classname eq $basename)) {
84 print "Using SVN to copy $basename.{h,cpp} to $classname.{h,cpp}\n";
87 system "svn cp $basename.h $classname.h";
90 system "svn cp $basename.cpp $classname.cpp";
/external/ceres-solver/internal/ceres/
Dfile.cc78 string JoinPath(const string& dirname, const string& basename) { in JoinPath() argument
85 if ((!basename.empty() && basename[0] == separator) || dirname.empty()) { in JoinPath()
86 return basename; in JoinPath()
88 return dirname + basename; in JoinPath()
90 return dirname + string(&separator, 1) + basename; in JoinPath()
/external/icu/icu4c/source/test/intltest/
Dtestidn.cpp79 char *basename=NULL; in testData() local
108 basename=filename+uprv_strlen(filename); in testData()
109 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in testData()
110 *basename++=U_FILE_SEP_CHAR; in testData()
114 basename=filename+uprv_strlen(filename); in testData()
115 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in testData()
116 *basename++=U_FILE_SEP_CHAR; in testData()
120 saveBasename = basename; in testData()
122 uprv_strcpy(basename,SPREP_DIR); in testData()
123 basename = basename + uprv_strlen(SPREP_DIR); in testData()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dtestidn.cpp79 char *basename=NULL; in testData() local
108 basename=filename+uprv_strlen(filename); in testData()
109 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in testData()
110 *basename++=U_FILE_SEP_CHAR; in testData()
114 basename=filename+uprv_strlen(filename); in testData()
115 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in testData()
116 *basename++=U_FILE_SEP_CHAR; in testData()
120 saveBasename = basename; in testData()
122 uprv_strcpy(basename,SPREP_DIR); in testData()
123 basename = basename + uprv_strlen(SPREP_DIR); in testData()
[all …]
/external/chromium_org/third_party/WebKit/Source/build/scripts/
Dmake_private_script_source.py22 basename, ext = os.path.splitext(filename)
26 if os.path.basename(basename) == 'PrivateScriptRunner':
28 idl_filename = basename + '.idl'
42 source_name, ext = os.path.splitext(os.path.basename(output_filename))
49 class_name, ext = os.path.splitext(os.path.basename(input_filename))
73 script_class_name, ext = os.path.splitext(os.path.basename(input_filename))
/external/skia/platform_tools/android/tests/
Dandroid_framework_gyp_tests.py41 def create_file(self, basename): argument
45 os.rename(f[1], os.path.join(self.__tmp_dir, basename))
46 self.assert_file_exists(basename)
48 def assert_file_exists(self, basename): argument
51 full_name = os.path.join(self.__tmp_dir, basename)
54 def assert_file_does_not_exist(self, basename): argument
57 full_name = os.path.join(self.__tmp_dir, basename)
/external/chromium_org/third_party/skia/platform_tools/android/tests/
Dandroid_framework_gyp_tests.py41 def create_file(self, basename): argument
45 os.rename(f[1], os.path.join(self.__tmp_dir, basename))
46 self.assert_file_exists(basename)
48 def assert_file_exists(self, basename): argument
51 full_name = os.path.join(self.__tmp_dir, basename)
54 def assert_file_does_not_exist(self, basename): argument
57 full_name = os.path.join(self.__tmp_dir, basename)
/external/chromium_org/tools/relocation_packer/src/
Dmain.cc38 const char* basename = temporary.c_str(); in PrintUsage() local
46 basename); in PrintUsage()
68 basename, basename); in PrintUsage()
89 basename, basename); in PrintUsage()
/external/chromium_org/native_client_sdk/src/build_tools/
Dverify_ppapi.py62 basename = os.path.basename(filename)
63 if basename in IGNORED_FILES:
134 basename = os.path.basename(filename)
135 if basename not in dsc_sources_and_headers:
139 basename = os.path.basename(filename)
140 if basename in dsc_sources_and_headers:
/external/chromium_org/tools/json_schema_compiler/
Dschema_loader.py24 basename = None
26 if basename is not None:
27 basename = UnixName(namespace + '.' + basename)
29 basename = UnixName(namespace)
31 filenames.append('%s.%s' % (basename, ext))
/external/chromium_org/tools/cr/cr/
Dloader.py72 for basename in basenames:
73 fullpath = os.path.join(path, basename)
75 name = '.'.join([package.__name__, basename])
77 elif basename.endswith('.py') and not basename.startswith('_'):
78 name = '.'.join([package.__name__, basename[:-3]])
/external/chromium_org/tools/find_runtime_symbols/
Dprepare_symbol_info.py30 def _dump_command_result(command, output_dir_path, basename, suffix): argument
32 suffix=suffix, prefix=basename + '.', dir=output_dir_path)
34 suffix=suffix + '.err', prefix=basename + '.', dir=output_dir_path)
101 matched = re.match('^(.*)\.maps$', os.path.basename(maps_path))
109 output_dir_path = os.path.basename(maps_path) + '.pre'
163 output_dir_path, os.path.basename(binary_path), '.nm')
168 output_dir_path, os.path.basename(binary_path), '.readelf-e')
175 output_dir_path, os.path.basename(binary_path), '.readelf-wL')
179 'file': os.path.basename(nm_filename),
183 'file': os.path.basename(readelf_e_filename)}
[all …]
/external/icu/icu4c/source/tools/gensprep/
Dgensprep.c142 char *basename=NULL; in main() local
215 basename=filename+uprv_strlen(filename); in main()
216 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in main()
217 *basename++=U_FILE_SEP_CHAR; in main()
224 uprv_strcpy(basename,inputFileName); in main()
234 basename=filename+uprv_strlen(filename); in main()
235 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in main()
236 *basename++=U_FILE_SEP_CHAR; in main()
239 *basename++=U_FILE_SEP_CHAR; in main()
240 uprv_strcpy(basename,NORM_CORRECTIONS_FILE_NAME); in main()
/external/chromium_org/third_party/icu/source/tools/gensprep/
Dgensprep.c142 char *basename=NULL; in main() local
215 basename=filename+uprv_strlen(filename); in main()
216 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in main()
217 *basename++=U_FILE_SEP_CHAR; in main()
224 uprv_strcpy(basename,inputFileName); in main()
234 basename=filename+uprv_strlen(filename); in main()
235 if(basename>filename && *(basename-1)!=U_FILE_SEP_CHAR) { in main()
236 *basename++=U_FILE_SEP_CHAR; in main()
239 *basename++=U_FILE_SEP_CHAR; in main()
240 uprv_strcpy(basename,NORM_CORRECTIONS_FILE_NAME); in main()
/external/chromium_org/v8/test/cctest/
Dcctest.cc59 char *basename = strrchr(const_cast<char *>(file), '/'); in CcTest() local
60 if (!basename) { in CcTest()
61 basename = strrchr(const_cast<char *>(file), '\\'); in CcTest()
63 if (!basename) { in CcTest()
64 basename = v8::internal::StrDup(file); in CcTest()
66 basename = v8::internal::StrDup(basename + 1); in CcTest()
69 char *extension = strrchr(basename, '.'); in CcTest()
72 file_ = basename; in CcTest()

12345678910>>...37