Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 46) sorted by relevance

12

/ndk/build/awk/
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_RPATH, _xml_p+1);
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_RPATH, _xml_p+1);
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_RPATH, _xml_p+1);
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_RPATH, _xml_p+1);
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_RPATH, _xml_p+1);
Dextract-platform.awk34 API=substr($0,RSTART,RLENGTH)
37 API="android-" substr($0,RSTART+1,RLENGTH)
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
Dcheck-awk.awk33 s2=substr(s1,RSTART,RLENGTH)
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-spi.h101 const string& substr);
138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
163 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
204 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ argument
209 (substr));\
218 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument
223 (substr));\
/ndk/tests/device/test-gnustl-full/unit/
Dmoney_facets_test.cpp107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) || in _money_put_get2()
109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); in _money_put_get2()
110 if ( str_res.substr(index, p) == rl.money_int_prefix ) { in _money_put_get2()
202 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); in _money_put_get2()
209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); in _money_put_get2()
246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); in _money_put_get2()
306 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); in _money_put_X_bug()
313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); in _money_put_X_bug()
345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); in _money_put_X_bug()
368 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); in _money_put_X_bug()
[all …]
Dnum_put_get_test.cpp426 CPPUNIT_CHECK(output.substr(0, 5) == "12345"); in num_put_float()
427 CPPUNIT_CHECK(output.substr(18) == ".000000"); in num_put_float()
436 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
437 CPPUNIT_CHECK(output.substr(19) == ".000000"); in num_put_float()
446 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
447 …CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000… in num_put_float()
498 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
499 …CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000… in num_put_float()
509 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
510 …CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000… in num_put_float()
/ndk/tests/device/test-stlport/unit/
Dmoney_facets_test.cpp107 CPPUNIT_ASSERT( (str_res.substr(index, p) == rl.money_int_prefix) || in _money_put_get2()
109 (str_res.substr(index, p_old) == rl.money_int_prefix_old)) ); in _money_put_get2()
110 if ( str_res.substr(index, p) == rl.money_int_prefix ) { in _money_put_get2()
202 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); in _money_put_get2()
209 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); in _money_put_get2()
246 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); in _money_put_get2()
306 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); in _money_put_X_bug()
313 CPPUNIT_ASSERT( str_res.substr(index, p) == rl.money_prefix ); in _money_put_X_bug()
345 CPPUNIT_ASSERT( str_res.substr(index, strlen(rl.money_suffix)) == rl.money_suffix ); in _money_put_X_bug()
368 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() ); in _money_put_X_bug()
[all …]
Dnum_put_get_test.cpp426 CPPUNIT_CHECK(output.substr(0, 5) == "12345"); in num_put_float()
427 CPPUNIT_CHECK(output.substr(18) == ".000000"); in num_put_float()
436 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
437 CPPUNIT_CHECK(output.substr(19) == ".000000"); in num_put_float()
446 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
447 …CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000… in num_put_float()
498 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
499 …CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000… in num_put_float()
509 CPPUNIT_CHECK(output.substr(0, 6) == "+12345"); in num_put_float()
510 …CPPUNIT_CHECK(output.substr(19) == ".0000000000000000000000000000000000000000000000000000000000000… in num_put_float()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dunit_test_main.ipp60 m_value = in.substr( 1, in.size()-1 );
64 m_value = in.substr( 1 );
68 m_value = in.substr( 0, in.size()-1 );
86 return name.substr( 0, m_value.size() ) == m_value;
89 … return name.size() >= m_value.size() && name.substr( name.size() - m_value.size() ) == m_value;
/ndk/build/gmsl/
Dgmsl-tests193 $(call start_test,substr)
194 $(call test_assert,$(call substr,xyz,1,1),x)
195 $(call test_assert,$(call substr,xyz,1,2),xy)
196 $(call test_assert,$(call substr,xyz,2,3),yz)
197 $(call test_assert,$(call substr,some string,1,1),s)
198 $(call test_assert,$(call substr,some string,1,2),so)
199 $(call test_assert,$(call substr,some string,1,3),som)
200 $(call test_assert,$(call substr,some string,1,4),some)
201 $(call test_assert,$(call substr,some string,1,5),some )
202 $(call test_assert,$(call substr,some string,1,6),some s)
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-filepath.cc122 return FilePath(pathname_.substr( in RemoveExtension()
343 ? FilePath(pathname_.substr(0, pathname_.length() - 1)) in RemoveTrailingPathSeparator()
Dgtest-death-test.cc499 ret += output.substr(at); in FormatDeathTestOutput()
502 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput()
1215 parsed.push_back(str.substr(pos)); in SplitString()
1218 parsed.push_back(str.substr(pos, colon - pos)); in SplitString()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
Dvalidation.ipp49 msg << tr.input().substr( 0, 5 ) << BOOST_RT_PARAM_LITERAL( "..." );
Dargv_traverser.ipp137 return m_work_buffer.size() < str.size() ? false : m_work_buffer.substr( 0, str.size() ) == str;
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-I18 $mf2 = substr ($makefile2, index ($makefile2, $pathsep) + 1);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.ops/string_substr/
Dsubstr.pass.cpp27 S str = s.substr(pos, n); in test()
/ndk/sources/host-tools/nawk-20071023/
Dproto.h169 extern Cell *substr(Node **, int);
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/basic_cstring/
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 in substr() function in boost::unit_test::basic_cstring
/ndk/sources/host-tools/ndk-depends/
Dndk-depends.cc224 return filepath.substr(0, sep); in path_dirname()
233 return filepath.substr(sep + 1); in path_basename()
1416 lib.substr(3, lib.size() - 6).c_str());
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_rope.c1364 rope<_CharT,_Alloc> __prefix = __r.substr(0, __first.index()); in _Rope_rotate()
1366 __r.substr(__last.index(), __r.size() - __last.index()); in _Rope_rotate()
1368 __r.substr(__middle.index(), __last.index() - __middle.index()); in _Rope_rotate()
1370 __r.substr(__first.index(), __middle.index() - __first.index()); in _Rope_rotate()

12