/external/v8/test/mjsunit/ |
substr.js | 29 assertEquals(s, s.substr()); 30 assertEquals(s, s.substr(0)); 31 assertEquals(s, s.substr('0')); 32 assertEquals(s, s.substr(void 0)); 33 assertEquals(s, s.substr(null)); 34 assertEquals(s, s.substr(false)); 35 assertEquals(s, s.substr(0.9)); 36 assertEquals(s, s.substr({ valueOf: function() { return 0; } })); 37 assertEquals(s, s.substr({ toString: function() { return '0'; } })); 40 assertEquals(s1, s.substr(1)) [all...] |
/dalvik/tests/020-string/src/ |
Main.java | 60 String subStr; 62 subStr = baseStr.substring(5, baseStr.length() - 4); 63 System.out.println("subStr is '" + subStr + "'"); 67 subStr.indexOf('T') + ":" + 68 subStr.indexOf('u') + ":" + 70 subStr.indexOf('y') + ":" + 71 subStr.indexOf('d') + ":" + 73 subStr.indexOf('x', 0) + ":" + 74 subStr.indexOf('x', -1) + ":" [all...] |
/external/e2fsprogs/lib/ss/ |
ct_c.awk | 17 subr = substr($0, 6, length($0)-5) 21 help = substr($0, 6, length($0)-5) 25 cmd = substr($0, 6, length($0)-5) 31 opt = substr($0, 6, length($0)-5) 56 error = substr($0, 8, length($0)-7)
|
/external/icu4c/test/intltest/ |
fldset.cpp | 190 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) { 203 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 205 if(substr.length()==0) { // inherit requested 215 value = udbg_stoi(substr); 220 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 221 int32_t value = udbg_enumByString(type, substr); 226 parseValueDefault(inheritFrom,field,substr,status); 230 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 231 parseValueDefault(inheritFrom, field, substr, status); 245 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) [all...] |
fldset.h | 107 * @param substr the string in question (value side) 113 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 121 * @param substr the string in question (value side) 127 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 138 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 151 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 255 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 282 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 286 const U_NAMESPACE_QUALIFIER UnicodeString& substr,
|
/dalvik/tests/020-string/ |
expected.txt | 6 subStr is 'uick brown fox jumps over the lazy '
|
/external/webkit/LayoutTests/fast/encoding/resources/ |
char-decoding-utils.js | 4 var hex = hexDigit.substr(number & 0xf, 1); 7 hex = hexDigit.substr(number & 15, 1) + hex; 29 result += "U+" + ("0000" + code).substr(code.length, 4);
|
/ndk/build/awk/ |
check-awk.awk | 17 # implements the match() and substr() functions appropriately. 33 s2=substr(s1,RSTART,RLENGTH) 35 print "Fail substr="s2
|
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_RPATH, _xml_p+1) [all...] |
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_RPATH, _xml_p+1) [all...] |
convert-deps-to-cygwin.awk | 45 LINE = LINE SEP CYGDRIVE_PREFIX tolower(substr($nn,1,1)) "/" substr($nn,4) 54 MARGIN=substr($0,RSTART,RLENGTH)
|
extract-platform.awk | 34 API=substr($0,RSTART,RLENGTH) 37 API="android-" substr($0,RSTART+1,RLENGTH)
|
extract-launchable.awk | 113 $0 = substr($0, _xml_p) # remove anything before '<' 121 if (substr($0, 1, 2) == "</") { # is it a closing tag ? 123 $0 = substr($0, 3); 126 $0 = substr($0, 2); 150 if (substr($0,1,2) == "=\"") { # value is ="something" 151 _xml_value = substr($0,3); 154 } else if (substr($0,1,2) == "='") { # value is ='something' 155 _xml_value = substr($0,3); 187 _xml_expected = substr(XML_RPATH, 1, _xml_p-1); 190 XML_RPATH = substr(XML_RPATH, _xml_p+1) [all...] |
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_RPATH, _xml_p+1) [all...] |
/external/strace/ |
syscallent.sh | 45 s = s substr(tabs, 1, 24/8 - int((length(f) + 1)/8)) 47 s = s substr(tabs, 1, 16/8 - int((length(n) + 2)/8)) 55 s = s substr(tabs, 1, 24/8 - int((length(f) + 1)/8)) 57 s = s substr(tabs, 1, 16/8 - int((length(n) + 2)/8)) 68 s = s substr(tabs, 1, 24/8 - int((length(f) + 1)/8)) 70 s = s substr(tabs, 1, 16/8 - int((length(n) + 2)/8))
|
/external/chromium/testing/gtest/include/gtest/ |
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...] |
/external/gtest/include/gtest/ |
gtest-spi.h | 101 const char* substr); 117 // statement will cause exactly one fatal Google Test failure with 'substr' 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 146 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 163 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 174 // statement will cause exactly one non-fatal Google Test failure with 'substr' 195 #define EXPECT_NONFATAL_FAILURE(statement, substr) \ 199 >est_failures, ::testing::TPRT_NONFATAL_FAILURE, (substr));\ 208 #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-spi.h | 101 const char* 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...] |
/external/protobuf/gtest/include/gtest/ |
gtest-spi.h | 101 const char* 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...] |
/dalvik/tools/ |
get-hprof | 23 # Note: substr() is to get rid of the final carriage return. 25 awk '{ printf("%s", substr($7, 1, length($7) - 1)); }'`
|
/external/e2fsprogs/contrib/ |
dconf | 58 substr(block, 0, pos) - group_start, 59 substr(block, pos + 1) - group_start) 93 substr($0, 2), 0, 1.02) 110 $2, substr($2, 0, pos) / blocks_per_group, vstart, 111 (substr($2, pos + 1) + 1) / blocks_per_group, vstart + height)
|
/external/collada/src/dae/ |
daeUtils.cpp | 37 result += s.substr(pos1, pos2-pos1); 43 result += s.substr(pos1, s.length()-pos1); 73 tokens.push_back(s.substr(currentIndex, nextTokenIndex-currentIndex)); 80 tokens.push_back(s.substr(currentIndex, s.length()-currentIndex)); 165 randomSegment = tmp.substr(tmp.find_last_of('\\')+1); 168 randomSegment = tmp.substr(tmp.find_last_of('/')+1); 171 randomSegment = tmp.substr(tmp.find_last_of('/')+1);
|
/external/chromium/chrome/browser/download/ |
drag_download_util.cc | 37 GURL parsed_url = GURL(metadata.substr(file_name_end_pos + 1)); 42 *mime_type = metadata.substr(0, mime_type_end_pos); 44 string16 file_name_str = metadata.substr(
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncSubstring.java | 52 XMLString substr; local 88 substr = s1.substring(startIndex, end); 94 substr = s1.substring(startIndex); 98 return (XString)substr; // cast semi-safe
|
/external/chromium/chrome/common/ |
guid_win.cc | 35 return WideToUTF8(guid_string.substr(1, guid_string.length() - 2));
|