Searched refs:substr (Results 1 - 25 of 40) sorted by relevance

12

/ndk/build/awk/
H A Dextract-debuggable.awk58 $0 = substr($0, _xml_p) # remove anything before '<'
66 if (substr($0, 1, 2) == "</") { # is it a closing tag ?
68 $0 = substr($0, 3);
71 $0 = substr($0, 2);
95 if (substr($0,1,2) == "=\"") { # value is ="something"
96 _xml_value = substr($0,3);
99 } else if (substr($0,1,2) == "='") { # value is ='something'
100 _xml_value = substr($0,3);
132 _xml_expected = substr(XML_RPATH, 1, _xml_p-1);
135 XML_RPATH = substr(XML_RPAT
[all...]
H A Dextract-minsdkversion.awk55 $0 = substr($0, _xml_p) # remove anything before '<'
63 if (substr($0, 1, 2) == "</") { # is it a closing tag ?
65 $0 = substr($0, 3);
68 $0 = substr($0, 2);
92 if (substr($0,1,2) == "=\"") { # value is ="something"
93 _xml_value = substr($0,3);
96 } else if (substr($0,1,2) == "='") { # value is ='something'
97 _xml_value = substr($0,3);
129 _xml_expected = substr(XML_RPATH, 1, _xml_p-1);
132 XML_RPATH = substr(XML_RPAT
[all...]
H A Dextract-package-name.awk59 $0 = substr($0, _xml_p) # remove anything before '<'
67 if (substr($0, 1, 2) == "</") { # is it a closing tag ?
69 $0 = substr($0, 3);
72 $0 = substr($0, 2);
96 if (substr($0,1,2) == "=\"") { # value is ="something"
97 _xml_value = substr($0,3);
100 } else if (substr($0,1,2) == "='") { # value is ='something'
101 _xml_value = substr($0,3);
133 _xml_expected = substr(XML_RPATH, 1, _xml_p-1);
136 XML_RPATH = substr(XML_RPAT
[all...]
H A Dxml.awk43 $0 = substr($0, _xml_p) # remove anything before '<'
51 if (substr($0, 1, 2) == "</") { # is it a closing tag ?
53 $0 = substr($0, 3);
56 $0 = substr($0, 2);
80 if (substr($0,1,2) == "=\"") { # value is ="something"
81 _xml_value = substr($0,3);
84 } else if (substr($0,1,2) == "='") { # value is ='something'
85 _xml_value = substr($0,3);
117 _xml_expected = substr(XML_RPATH, 1, _xml_p-1);
120 XML_RPATH = substr(XML_RPAT
[all...]
H A Dextract-platform.awk34 API=substr($0,RSTART,RLENGTH)
37 API="android-" substr($0,RSTART+1,RLENGTH)
H A Dextract-launchable.awk117 $0 = substr($0, _xml_p) # remove anything before '<'
125 if (substr($0, 1, 2) == "</") { # is it a closing tag ?
127 $0 = substr($0, 3);
130 $0 = substr($0, 2);
154 if (substr($0,1,2) == "=\"") { # value is ="something"
155 _xml_value = substr($0,3);
158 } else if (substr($0,1,2) == "='") { # value is ='something'
159 _xml_value = substr($0,3);
191 _xml_expected = substr(XML_RPATH, 1, _xml_p-1);
194 XML_RPATH = substr(XML_RPAT
[all...]
H A Dcheck-awk.awk17 # implements the match() and substr() functions appropriately.
33 s2=substr(s1,RSTART,RLENGTH)
35 print "Fail substr="s2
H A Dgen-windows-host-path.awk77 letter = substr(host[nn],1,1)
86 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) up
95 cygwin[count] = substr(cygwin[nn],1,length(cygwin[nn])-1) lo
/ndk/sources/third_party/googletest/googletest/include/gtest/
H A Dgtest-spi.h101 const string& substr);
117 // statement will cause exactly one fatal Google Test failure with 'substr'
138 #define EXPECT_FATAL_FAILURE(statement, substr) \
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
174 // statement will cause exactly one non-fatal Google Test failure with 'substr'
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \
[all...]
/ndk/tests/abcc/jni/host/
H A Dmain.cpp30 abi = arg.substr(arg.rfind('=')+1);
34 ndk_dir = arg.substr(arg.rfind('=')+1);
38 sysroot = arg.substr(arg.rfind('=')+1);
42 platform = arg.substr(arg.rfind('=')+1);
98 toolchain_bin = this_bin.substr(0, this_bin.rfind('/'));
99 working_dir = input.substr(0, input.rfind('/'));
H A DAbcc_host.cpp83 str.substr(str.size() - 2) == ".a") {
85 str.substr(0, /*leng*/6) == "./obj/") {
94 str.substr(str.size() - 3) == ".so") {
96 str.substr(0, /*leng*/6) == "./obj/") {
107 str.substr(0, 2) == "-l") {
108 std::string runtime_path = getRuntimePath(str.substr(2));
113 info.mLDLibs.push_back(str.substr(2));
129 info.mLDLibsStr = info.mLDLibsStr.substr(0, first_dash_l)
131 + info.mLDLibsStr.substr(first_dash_l,
/ndk/tests/abcc/jni/device/
H A DAbcc_device.cpp87 str.substr(0, 2) == "-l") {
88 info.mLDLibs.push_back(str.substr(2));
114 std::string libpath = mSysroot + "/usr/lib/" + filename.substr(0, filename.rfind('.')) + ".so";
208 if (deplib.substr(0, 2) == "-l") {
209 std::string libname = "lib" + deplib.substr(2) + ".so";
/ndk/tests/device/test-gnustl-full/unit/
H A Dmoney_facets_test.cpp107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) ||
109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) );
110 if ( str_res.substr(index, p) == rl.money_int_prefix ) {
202 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() );
209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );
306 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() );
313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );
368 CPPUNIT_ASSERT( str_res.substr(inde
[all...]
H A Dnum_put_get_test.cpp434 CPPUNIT_CHECK(output.substr(0, 5) == "12345");
435 CPPUNIT_CHECK(output.substr(18) == ".000000");
444 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
445 CPPUNIT_CHECK(output.substr(19) == ".000000");
454 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
455 CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" );
506 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
507 CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" );
517 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
518 CPPUNIT_CHECK(output.substr(1
[all...]
/ndk/tests/device/test-stlport/unit/
H A Dmoney_facets_test.cpp107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) ||
109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) );
110 if ( str_res.substr(index, p) == rl.money_int_prefix ) {
202 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() );
209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );
306 CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() );
313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix );
345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix );
368 CPPUNIT_ASSERT( str_res.substr(inde
[all...]
H A Dnum_put_get_test.cpp434 CPPUNIT_CHECK(output.substr(0, 5) == "12345");
435 CPPUNIT_CHECK(output.substr(18) == ".000000");
444 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
445 CPPUNIT_CHECK(output.substr(19) == ".000000");
454 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
455 CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" );
506 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
507 CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" );
517 CPPUNIT_CHECK(output.substr(0, 6) == "+12345");
518 CPPUNIT_CHECK(output.substr(1
[all...]
/ndk/sources/third_party/googletest/googletest/src/
H A Dgtest-filepath.cc122 return FilePath(pathname_.substr(
343 ? FilePath(pathname_.substr(0, pathname_.length() - 1))
H A Dgtest-death-test.cc499 ret += output.substr(at);
502 ret += output.substr(at, line_end + 1 - at);
1215 parsed.push_back(str.substr(pos));
1218 parsed.push_back(str.substr(pos, colon - pos));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_substr/
H A Dsubstr.pass.cpp12 // basic_string substr(size_type pos = 0, size_type n = npos) const;
27 S str = s.substr(pos, n);
/ndk/tests/abcc/jni/
H A DAbcc.cpp60 std::string stem = mBCPath.substr(0, mBCPath.rfind("."));
64 mSOName = mBCPath.substr(mBCPath.rfind("/") + 1);
/ndk/sources/host-tools/nawk-20071023/
H A Dproto.h169 extern Cell *substr(Node **, int);
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
H A Dcxa_demangle.cpp234 if (r.substr(0, 10) == "_GLOBAL__N")
1708 if (db.names.back().second.substr(0, 2) == " [")
1724 if (db.names.back().second.substr(0, 2) == " [")
1745 if (type.second.substr(0, 2) == " [")
2017 if (db.names[k].second.substr(0, 2) == " [")
2044 if (db.names[k].second.substr(0, 2) == " [")
2054 if (first[1] != 'U' || db.names[k].first.substr(0, 12) != "objc_object<")
2078 if (db.names[k].second.substr(0, 2) == " [")
2134 if (db.names.back().first.substr(0, 9) != "objcproto")
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/basic_cstring/
H A Dbasic_cstring.hpp136 self_type substr( size_type beg_index, size_type end_index = npos ) const;
558 basic_cstring<CharT>::substr( size_type beg_index, size_type end_index ) const function in class:boost::unit_test::basic_cstring
/ndk/sources/host-tools/ndk-depends/
H A Dndk-depends.cc224 return filepath.substr(0, sep);
233 return filepath.substr(sep + 1);
1416 lib.substr(3, lib.size() - 6).c_str());
/ndk/sources/cxx-stl/stlport/stlport/stl/
H A D_rope.c1364 rope<_CharT,_Alloc> __prefix = __r.substr(0, __first.index());
1366 __r.substr(__last.index(), __r.size() - __last.index());
1368 __r.substr(__middle.index(), __last.index() - __middle.index());
1370 __r.substr(__first.index(), __middle.index() - __first.index());

Completed in 770 milliseconds

12