Searched defs:basename (Results 1 - 25 of 109) sorted by relevance

12345

/external/chromium_org/base/files/
H A Dfile_enumerator.cc15 FilePath::StringType basename = path.BaseName().value(); local
16 return basename == FILE_PATH_LITERAL(".") ||
17 (basename == FILE_PATH_LITERAL("..") &&
/external/chromium_org/third_party/cython/src/bin/
H A Dcython_freeze10 from os.path import splitext, basename namespace
31 modules = [basename(splitext(x)[0]).replace('.', '_') for x in args]
/external/oprofile/libpp/
H A Dname_storage.cpp26 string const & image_name_storage::basename(image_name_id id) const function in class:image_name_storage
43 return basename(id);
74 string const & debug_name_storage::basename(debug_name_id id) const function in class:debug_name_storage
/external/ceres-solver/internal/ceres/
H A Dfile.cc78 string JoinPath(const string& dirname, const string& basename) { argument
85 if ((!basename.empty() && basename[0] == separator) || dirname.empty()) {
86 return basename;
88 return dirname + basename;
90 return dirname + string(&separator, 1) + basename;
/external/chromium_org/mojo/tools/pylib/
H A Dtransitive_hash.py10 from os.path import basename, realpath namespace
76 depends (done in an order-independent way).""" % basename(argv[0])
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_generator.cc97 string basename = StripProto(file->name()); local
98 basename.append(".pb");
105 generator_context->Open(basename + ".h"));
113 generator_context->Open(basename + ".cc"));
/external/chromium_org/third_party/skia/tests/
H A DOSPathTest.cpp19 * @param filename String representing the basename of a file. Must NOT
40 SkString basename = SkOSPath::Basename(fullName.c_str()); local
43 // basename should be the same as filename
44 REPORTER_ASSERT(reporter, basename.equals(filename));
57 // basename will not contain a path separator
58 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR));
60 // Now take the basename of filename, which should be the same as filename.
61 basename = SkOSPath::Basename(filename.c_str());
62 REPORTER_ASSERT(reporter, basename.equals(filename));
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/
H A Dsetup.py30 from os.path import basename, join, exists namespace
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_generator.cc95 string basename = StripProto(file->name()); local
96 basename.append(".pb");
103 output_directory->Open(basename + ".h"));
111 output_directory->Open(basename + ".cc"));
/external/skia/tests/
H A DOSPathTest.cpp19 * @param filename String representing the basename of a file. Must NOT
40 SkString basename = SkOSPath::SkBasename(fullName.c_str()); local
42 // basename should be the same as filename
43 REPORTER_ASSERT(reporter, basename.equals(filename));
45 // basename will not contain a path separator
46 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR));
48 // Now take the basename of filename, which should be the same as filename.
49 basename = SkOSPath::SkBasename(filename.c_str());
50 REPORTER_ASSERT(reporter, basename.equals(filename));
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Drbutil.c43 get_basename(char *basename, argument
51 uprv_strcpy(basename, lastSlash);
53 uprv_strcpy(basename, filename);
57 lastDot = uprv_strrchr(basename, '.');
/external/chromium_org/third_party/skia/samplecode/
H A DSamplePdfFileViewer.cpp65 const char* basename = strrchr(fFilename.c_str(), SkPATH_SEPARATOR); local
66 name.append(basename ? basename+1: fFilename.c_str());
H A DSamplePictFile.cpp62 const char* basename = strrchr(fFilename.c_str(), SkPATH_SEPARATOR); variable
63 name.append(basename ? basename+1: fFilename.c_str());
H A DSampleUnpremul.cpp158 SkString basename; local
159 if (!fFileIter.next(&basename)) {
161 if (!fFileIter.next(&basename)) {
166 fCurrFile = SkOSPath::Join(fResPath.c_str(), basename.c_str());
/external/chromium_org/tools/relocation_packer/src/
H A Dmain.cc38 const char* basename = temporary.c_str(); local
46 basename);
68 basename, basename);
89 basename, basename);
/external/chromium_org/ui/gfx/
H A Dfont_render_params_linux_unittest.cc50 // filename of |basename|. Case is ignored.
51 bool LoadSystemFont(const std::string& basename) { argument
54 if (strcasecmp(path.BaseName().value().c_str(), basename.c_str()) == 0)
57 LOG(ERROR) << "Unable to find system font named " << basename;
/external/icu/icu4c/source/tools/genrb/
H A Drbutil.c43 get_basename(char *basename, argument
51 uprv_strcpy(basename, lastSlash);
53 uprv_strcpy(basename, filename);
57 lastDot = uprv_strrchr(basename, '.');
/external/skia/samplecode/
H A DSamplePdfFileViewer.cpp65 const char* basename = strrchr(fFilename.c_str(), SkPATH_SEPARATOR); local
66 name.append(basename ? basename+1: fFilename.c_str());
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
H A Dtest_util.cc54 void SplitFilename(const std::string& filename, std::string* basename, argument
56 assert(basename);
63 *basename = filename.substr(0, idx);
66 *basename = filename;
73 std::string basename; local
75 SplitFilename(filename, &basename, &extension);
77 ss << basename << "_" << count << "." << width << "_" << height << "." <<
92 std::string basename; local
95 basename = webrtc::test::OutputPath() + "rtp_decoded";
98 SplitFilename(base_out_filename, &basename,
118 std::string basename; local
[all...]
/external/iproute2/misc/
H A Dlnstat.h27 char basename[NAME_MAX+1]; member in struct:lnstat_file
/external/libmtp/examples/
H A Dpathutils.c92 char * filename = basename(basec);
228 static char *basename(char *in) { function
/external/srec/srec/cfront/
H A Dca_cms.c71 void CA_ReLoadCMSParameters(CA_Wave *hWave, const char *basename) argument
76 if (!basename) {
85 void CA_SaveCMSParameters(CA_Wave *hWave, const char *basename) argument
91 void CA_LoadCMSParameters(CA_Wave *hWave, const char *basename, argument
97 /* ASSERT (basename); */
106 /* load_channel_parameters (basename, hWave->data.channel->channorm);
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DWebappAuthenticator.java90 Context context, String basename, String algorithmName) {
92 File file = context.getFileStreamPath(basename);
124 private static boolean writeKeyToFile(Context context, String basename, SecretKey key) { argument
125 File file = context.getFileStreamPath(basename);
89 readKeyFromFile( Context context, String basename, String algorithmName) argument
/external/chromium_org/chrome/browser/extensions/
H A Dextension_garbage_collector.cc49 base::FilePath basename = path.BaseName(); local
52 if (basename.value() == file_util::kTempDirectoryName) {
59 if (base::IsStringASCII(basename.value())) {
60 extension_id = base::UTF16ToASCII(basename.LossyDisplayName());
/external/chromium_org/third_party/webrtc/base/
H A Dpathutils.cc29 // EXT_DELIM separates a file basename from extension
183 std::string Pathname::basename() const { function in class:rtc::Pathname
187 bool Pathname::SetBasename(const std::string& basename) { argument
188 if(basename.find_first_of(FOLDER_DELIMS) != std::string::npos) {
191 basename_.assign(basename);

Completed in 931 milliseconds

12345