/ndk/build/awk/ |
H A D | extract-debuggable.awk | 58 $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 D | extract-minsdkversion.awk | 55 $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 D | extract-package-name.awk | 59 $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 D | xml.awk | 43 $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 D | extract-platform.awk | 34 API=substr($0,RSTART,RLENGTH) 37 API="android-" substr($0,RSTART+1,RLENGTH)
|
H A D | extract-launchable.awk | 117 $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 D | check-awk.awk | 17 # implements the match() and substr() functions appropriately. 33 s2=substr(s1,RSTART,RLENGTH) 35 print "Fail substr="s2
|
H A D | gen-windows-host-path.awk | 77 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 D | gtest-spi.h | 101 const string& substr); 117 // statement will cause exactly one fatal Google Test failure with 'substr' 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 163 >est_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 D | main.cpp | 30 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 D | Abcc_host.cpp | 83 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 D | Abcc_device.cpp | 87 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 D | money_facets_test.cpp | 107 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 D | num_put_get_test.cpp | 434 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 D | money_facets_test.cpp | 107 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 D | num_put_get_test.cpp | 434 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 D | gtest-filepath.cc | 122 return FilePath(pathname_.substr( 343 ? FilePath(pathname_.substr(0, pathname_.length() - 1))
|
H A D | gtest-death-test.cc | 499 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 D | substr.pass.cpp | 12 // 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 D | Abcc.cpp | 60 std::string stem = mBCPath.substr(0, mBCPath.rfind(".")); 64 mSOName = mBCPath.substr(mBCPath.rfind("/") + 1);
|
/ndk/sources/host-tools/nawk-20071023/ |
H A D | proto.h | 169 extern Cell *substr(Node **, int);
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
H A D | cxa_demangle.cpp | 234 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 D | basic_cstring.hpp | 136 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 D | ndk-depends.cc | 224 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.c | 1364 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());
|