Home
last modified time | relevance | path

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

12345678910>>...23

/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/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/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/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/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/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/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/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()
/external/iproute2/ip/
Dip.c150 char *basename; in main() local
152 basename = strrchr(argv[0], '/'); in main()
153 if (basename == NULL) in main()
154 basename = argv[0]; in main()
156 basename++; in main()
263 if (strlen(basename) > 2) in main()
264 return do_cmd(basename+2, argc, argv); in main()
/external/valgrind/tests/
Dcheck_headers_and_includes24 my $this_script = basename($0);
191 my $file = basename($path_name);
212 my $file = basename($path_name);
215 $inc = basename($inc);
242 my $file = basename($path_name);
283 my $file = basename($path_name);
/external/skia/tests/
DOSPathTest.cpp40 SkString basename = SkOSPath::Basename(fullName.c_str()); in test_dir_with_file() local
44 REPORTER_ASSERT(reporter, basename.equals(filename)); in test_dir_with_file()
58 REPORTER_ASSERT(reporter, !basename.contains(SkPATH_SEPARATOR)); in test_dir_with_file()
61 basename = SkOSPath::Basename(filename.c_str()); in test_dir_with_file()
62 REPORTER_ASSERT(reporter, basename.equals(filename)); in test_dir_with_file()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_generator.cc98 string basename = StripProto(file->name()); in Generate() local
99 basename.append(".pb"); in Generate()
106 generator_context->Open(basename + ".h")); in Generate()
114 generator_context->Open(basename + ".cc")); in Generate()
/external/libxml2/
DMakefile.am234 name=`basename $$i`; \
253 name=`basename $$i`; \
272 name=`basename $$i`; \
286 name=`basename $$i`; \
303 name=`basename $$i`; \
321 name=`basename $$i`; \
342 name=`basename $$i`; \
363 name=`basename $$i`; \
384 name=`basename $$i`; \
405 name=`basename $$i`; \
[all …]
/external/compiler-rt/make/
Dlib_info.mk29 $(basename $($(key).ObjNames))))
34 $(basename $($(key).ObjNames)))))
41 $(basename $($(key).ObjNames)))))))
51 $(foreach fn,$(basename $($(key).ObjNames)),\
/external/icu/icu4c/source/tools/genrb/
Drbutil.c43 get_basename(char *basename, in get_basename() argument
51 uprv_strcpy(basename, lastSlash); in get_basename()
53 uprv_strcpy(basename, filename); in get_basename()
57 lastDot = uprv_strrchr(basename, '.'); in get_basename()
/external/selinux/policycoreutils/semodule_expand/
Dsemodule_expand.c40 char *basename, *outname; in main() local
106 basename = argv[optind++]; in main()
123 fp = fopen(basename, "r"); in main()
126 argv[0], basename, strerror(errno)); in main()
133 argv[0], basename); in main()
/external/iproute2/misc/
Dlnstat.c180 fps->params[i].lf->file->basename); in build_hdr_string()
220 const char *basename; in main() local
235 basename = strrchr(argv[0], '/'); in main()
236 if (basename) in main()
237 basename += 1; /* name after slash */ in main()
239 basename = argv[0]; /* no slash */ in main()
241 if (!strcmp(basename, "rtstat")) { in main()
245 } else if (!strcmp(basename, "ctstat")) { in main()
/external/pdfium/testing/tools/
Dcommon.py28 if (os.path.basename(self.my_dir) != 'tools' or
29 os.path.basename(self.testing_dir) != 'testing'):
41 if (os.path.basename(two_up_dir) == 'src' and
42 os.path.basename(one_up_dir) == 'third_party'):
/external/skia/experimental/tools/
Dskp_to_pdf_md5.cpp176 SkString basename = SkOSPath::Basename(files[i].c_str()); in main() local
179 SkDebugf("could_not_open %s\n", basename.c_str()); in main()
185 SkString path = SkOSPath::Join(outputDir, basename.c_str()); in main()
188 SkDebugf("invalid_skp %s\n", basename.c_str()); in main()
193 SkDebugf("invalid_skp %s\n", basename.c_str()); in main()
198 printf("%s %s\n", hexDigest.c_str(), basename.c_str()); in main()
/external/opencv/cxcore/src/
Dcxswitcher.cpp340 const char* basename; member
563 plugins[i].basename = 0; in cvUseOptimized()
564 plugins[CV_PLUGIN_NONE].basename = 0; in cvUseOptimized()
566 plugins[CV_PLUGIN_OPTCV].basename = "ippopencv"; in cvUseOptimized()
567 plugins[CV_PLUGIN_IPPCV].basename = "ippcv"; in cvUseOptimized()
568 plugins[CV_PLUGIN_IPPI].basename = "ippi"; in cvUseOptimized()
569 plugins[CV_PLUGIN_IPPS].basename = "ipps"; in cvUseOptimized()
570 plugins[CV_PLUGIN_IPPVM].basename = "ippvm"; in cvUseOptimized()
571 plugins[CV_PLUGIN_IPPCC].basename = "ippcc"; in cvUseOptimized()
572 plugins[CV_PLUGIN_MKL].basename = "mkl_"; in cvUseOptimized()
[all …]
/external/mesa3d/bin/
Dminstall79 FILE=`basename "$FILE"`
89 if ! cmp -s $FILE $DEST/`basename $FILE`; then
94 FILE=`basename "$FILE"`
/external/eigen/scripts/
Drelicense.py53 for basename in files:
54 if basename in exclusions:
57 filename = os.path.join(root, basename)
/external/srtp/
Dinstall-sh152 dst="$dst"/`basename $src`
207 dstfile=`basename $dst`
209 dstfile=`basename $dst $transformbasename |
217 dstfile=`basename $dst`
/external/tcpdump/
Dinstall-sh151 dst="$dst"/`basename $src`
206 dstfile=`basename $dst`
208 dstfile=`basename $dst $transformbasename |
216 dstfile=`basename $dst`

12345678910>>...23