/external/v8/test/mjsunit/ |
D | 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 …]
|
D | string-slices.js | 31 assertEquals(s, s.substr()); 32 assertEquals(s, s.substr(0)); 33 assertEquals(s, s.substr('0')); 34 assertEquals(s, s.substr(void 0)); 35 assertEquals(s, s.substr(null)); 36 assertEquals(s, s.substr(false)); 37 assertEquals(s, s.substr(0.9)); 38 assertEquals(s, s.substr({ valueOf: function() { return 0; } })); 39 assertEquals(s, s.substr({ toString: function() { return '0'; } })); 42 assertEquals(s1, s.substr(1)); [all …]
|
D | string-external-cached.js | 84 assertEquals("DEFG", ascii_slice.substr(2, 4)); 85 assertEquals("DEFG", twobyte_slice.substr(2, 4)); 86 assertEquals("DEFG", ascii_cons.substr(3, 4)); 87 assertEquals("DEFG", twobyte_cons.substr(4, 4));
|
/external/protobuf/gtest/include/gtest/ |
D | gtest-spi.h | 101 const char* substr); 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument 163 >est_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));\
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-spi.h | 101 const string& substr); 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument 163 >est_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));\
|
/external/gtest/include/gtest/ |
D | gtest-spi.h | 101 const string& substr); 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument 163 >est_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));\
|
/external/chromium/testing/gtest/include/gtest/ |
D | gtest-spi.h | 101 const string& substr); 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ argument 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ argument 163 >est_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));\
|
/external/clang/lib/Frontend/ |
D | LayoutOverrideSource.cpp | 26 return S.substr(0, Offset).str(); in parseName() 62 LineStr = LineStr.substr(Pos + strlen("struct ")); in LayoutOverrideSource() 64 LineStr = LineStr.substr(Pos + strlen("class ")); in LayoutOverrideSource() 66 LineStr = LineStr.substr(Pos + strlen("union ")); in LayoutOverrideSource() 80 LineStr = LineStr.substr(Pos + strlen(" Size:")); in LayoutOverrideSource() 92 LineStr = LineStr.substr(Pos + strlen("Alignment:")); in LayoutOverrideSource() 104 LineStr = LineStr.substr(Pos + strlen("sizeof=")); in LayoutOverrideSource() 114 LineStr = LineStr.substr(Pos + strlen("align=")); in LayoutOverrideSource() 130 LineStr = LineStr.substr(Pos + strlen("FieldOffsets: [")); in LayoutOverrideSource() 138 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset); in LayoutOverrideSource() [all …]
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 116 PatternStr = PatternStr.substr(0, PatternStr.size()-1); in ParsePattern() 160 if (AddRegExToRegEx(PatternStr.substr(2, End-2), CurParen, SM)) in ParsePattern() 164 PatternStr = PatternStr.substr(End+2); in ParsePattern() 183 StringRef MatchStr = PatternStr.substr(2, End-2); in ParsePattern() 184 PatternStr = PatternStr.substr(End+2); in ParsePattern() 188 StringRef Name = MatchStr.substr(0, NameEnd); in ParsePattern() 222 if (AddRegExToRegEx(MatchStr.substr(NameEnd+1), CurParen, SM)) in ParsePattern() 232 AddFixedStringToRegEx(PatternStr.substr(0, FixedMatchEnd), RegExStr); in ParsePattern() 233 PatternStr = PatternStr.substr(FixedMatchEnd); in ParsePattern() 363 StringRef BufferPrefix = Buffer.substr(0, ExampleString.size()); in ComputeMatchDistance() [all …]
|
/external/icu4c/test/intltest/ |
D | fldset.cpp | 207 …efault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& statu… in parseValueDefault() argument 209 if(substr.length()==0) { // inherit requested in parseValueDefault() 219 value = udbg_stoi(substr); in parseValueDefault() 224 … type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& statu… in parseValueEnum() argument 225 int32_t value = udbg_enumByString(type, substr); in parseValueEnum() 230 parseValueDefault(inheritFrom,field,substr,status); in parseValueEnum() 234 …eValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& statu… in handleParseValue() argument 235 parseValueDefault(inheritFrom, field, substr, status); in handleParseValue() 249 …eValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& statu… in handleParseValue() argument 251 parseValueEnum(UDBG_UCalendarMonths, inheritFrom, field, substr, status); in handleParseValue() [all …]
|
D | fldset.h | 113 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 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,
|
/external/e2fsprogs/lib/ss/ |
D | 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/ |
D | index.php | 72 $year = substr($timePart, 0, 4); 73 $month = substr($timePart, 4, 2); 74 $day = substr($timePart, 6, 2); 75 $hour = substr($timePart,8,2); 76 $minute = substr($timePart,10,2);
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | MarketIO.h | 122 std::string substr[5]; in getMarketHeader() local 123 fmtline>> substr[0] >> substr[1] >> substr[2] >> substr[3] >> substr[4]; in getMarketHeader() 124 if(substr[2].compare("array") == 0) isvector = true; in getMarketHeader() 125 if(substr[3].compare("complex") == 0) iscomplex = true; in getMarketHeader() 126 if(substr[4].compare("symmetric") == 0) sym = Symmetric; in getMarketHeader() 127 else if (substr[4].compare("Hermitian") == 0) sym = SelfAdjoint; in getMarketHeader()
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-spi.h | 179 const char* substr); 207 #define EXPECT_FATAL_FAILURE(statement, substr) do {\ argument 214 >est_failures, ::testing::TPRT_FATAL_FAILURE, (substr));\ 236 #define EXPECT_NONFATAL_FAILURE(statement, substr) do {\ argument 239 >est_failures, ::testing::TPRT_NONFATAL_FAILURE, (substr));\
|
/external/clang/lib/Basic/ |
D | VersionTuple.cpp | 43 input = input.substr(1); in parseInt() 50 input = input.substr(1); in parseInt() 70 input = input.substr(1); in tryParse() 80 input = input.substr(1); in tryParse()
|
/external/chromium/webkit/glue/ |
D | multipart_response_delegate.cc | 98 data_ = data_.substr(pos); in OnReceivedData() 118 data_ = data_.substr(pos); in OnReceivedData() 161 data_ = data_.substr(boundary_end_pos + offset); in OnReceivedData() 183 data_ = data_.substr(send_length); in OnReceivedData() 241 data_ = data_.substr(line_end_pos); in ParseHeaders() 318 content_type.substr(boundary_start_offset, boundary_length); in ReadMultipartBoundary() 360 content_range.substr(byte_range_lower_bound_start_offset, in ReadContentRanges() 376 content_range.substr(byte_range_upper_bound_start_offset, in ReadContentRanges() 390 content_range.substr(byte_range_instance_size_start_offset, in ReadContentRanges()
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
D | FuncSubstring.java | 52 XMLString substr; in execute() local 88 substr = s1.substring(startIndex, end); in execute() 94 substr = s1.substring(startIndex); in execute() 98 return (XString)substr; // cast semi-safe in execute()
|
/external/chromium/chrome/browser/importer/ |
D | firefox_importer_utils.cc | 111 std::string key = line.substr(0, equal); in GetFirefoxVersionAndPathFromProfile() 113 *version = line.substr(equal + 1)[0] - '0'; in GetFirefoxVersionAndPathFromProfile() 121 UTF8ToWide(line.substr(equal + 1))); in GetFirefoxVersionAndPathFromProfile() 151 current_section = line.substr(1); in ParseProfileINI() 159 key = line.substr(0, equal); in ParseProfileINI() 160 value = line.substr(equal + 1); in ParseProfileINI() 280 return content.substr(start + 1, stop - start - 1); in ReadBrowserConfigProp() 336 return GURL(home_page_list.substr(0, seperator)); in GetHomepage() 385 std::string key = line.substr(start_key, stop_key - start_key); in ParsePrefFile() 398 std::string value = line.substr(start_value + 1, in ParsePrefFile() [all …]
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 133 if (substr(i, N).equals(Str)) in find() 149 if (substr(Pos, N).equals(Str)) // See if this is the correct substring. in find() 171 if (substr(i, N).equals(Str)) in rfind() 292 if (substr(i, N).equals(Str)) in count() 299 Str = Str.substr(2); in GetAutoSenseRadix() 304 Str = Str.substr(2); in GetAutoSenseRadix() 309 Str = Str.substr(2); in GetAutoSenseRadix() 357 Str = Str.substr(1); in getAsUnsignedInteger() 378 if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) || in getAsSignedInteger() 404 Str = Str.substr(1); in getAsInteger() [all …]
|
/external/chromium/net/base/ |
D | net_util_unittest.cc | 1659 formatted.substr(parsed.username.begin, parsed.username.len)); in TEST() 1661 formatted.substr(parsed.password.begin, parsed.password.len)); in TEST() 1663 formatted.substr(parsed.host.begin, parsed.host.len)); in TEST() 1665 formatted.substr(parsed.port.begin, parsed.port.len)); in TEST() 1667 formatted.substr(parsed.path.begin, parsed.path.len)); in TEST() 1669 formatted.substr(parsed.query.begin, parsed.query.len)); in TEST() 1671 formatted.substr(parsed.ref.begin, parsed.ref.len)); in TEST() 1682 formatted.substr(parsed.username.begin, parsed.username.len)); in TEST() 1684 formatted.substr(parsed.password.begin, parsed.password.len)); in TEST() 1686 formatted.substr(parsed.host.begin, parsed.host.len)); in TEST() [all …]
|
/external/chromium/chrome/browser/chromeos/ |
D | version_loader.cc | 100 std::string version = lines[i].substr(std::string(prefix).size()); in ParseVersion() 104 version = version.substr(1, version.size() - 2); in ParseVersion() 126 std::string str = lines[i].substr(std::string(kFirmwarePrefix).size()); in ParseFirmware() 129 return str.substr(found); in ParseFirmware() 155 version = version.substr(kTrimVersion); in GetVersion() 159 version = version.substr(first_dot + 1); in GetVersion()
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
D | command_line.js | 65 if (arg.substr(0, 2) == '--') { 69 this.options[arg.substr(0, pos)] = arg.substr(pos + 1);
|
/external/eigen/scripts/ |
D | eigen_gen_credits.cpp | 46 result = line.substr(0, position_of_email_address); in contributor_name() 89 istringstream(line.substr(last_space+1)) >> number; in contributors_map_from_churn_output() 114 else return name.substr(last_space+1); in lastname() 145 misc = line.substr(last_bar+1); in add_online_info_into_contributors_list() 151 url = line.substr(last_bar+1); in add_online_info_into_contributors_list() 157 realname = line.substr(last_bar+1); in add_online_info_into_contributors_list()
|
/external/llvm/tools/llvm-mc/ |
D | Disassembler.cpp | 102 Str = Str.substr(Pos); in ByteArrayFromString() 112 Str = Str.substr(1); in ByteArrayFromString() 114 Str = Str.substr(Str.find_first_of('\n')); in ByteArrayFromString() 116 Str = Str.substr(1); in ByteArrayFromString() 123 StringRef Value = Str.substr(0, Next); in ByteArrayFromString() 131 Str = Str.substr(Str.find('\n')); in ByteArrayFromString() 137 Str = Str.substr(Next); in ByteArrayFromString()
|