/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/clang/lib/Basic/ |
Attributes.cpp | 12 Name = Name.substr(2, Name.size() - 4);
|
VersionTuple.cpp | 45 input = input.substr(1); 52 input = input.substr(1); 72 input = input.substr(1); 82 input = input.substr(1); 92 input = input.substr(1);
|
/external/icu/icu4c/source/test/intltest/ |
fldset.h | 109 * @param substr the string in question (value side) 115 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 123 * @param substr the string in question (value side) 129 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 140 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 153 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 257 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 284 const U_NAMESPACE_QUALIFIER UnicodeString& substr, 288 const U_NAMESPACE_QUALIFIER UnicodeString& substr,
|
fldset.cpp | 196 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) { 209 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 211 if(substr.length()==0) { // inherit requested 221 value = udbg_stoi(substr); 226 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 227 int32_t value = udbg_enumByString(type, substr); 232 parseValueDefault(inheritFrom,field,substr,status); 236 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) { 237 parseValueDefault(inheritFrom, field, substr, status); 251 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
FieldsSet.java | 160 * @param substr the string in question (value side) 165 String substr) { 182 * @param substr the string in question (value side) 187 String substr) { 188 parseValueDefault(inheritFrom, field, substr); 200 String substr) { 201 if(substr.length()==0) { 210 int value = Integer.parseInt(substr); 223 String substr) { 224 int value = DebugUtilities.enumByString(type, substr); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
FieldsSet.java | 157 * @param substr the string in question (value side) 162 String substr) { 179 * @param substr the string in question (value side) 184 String substr) { 185 parseValueDefault(inheritFrom, field, substr); 197 String substr) { 198 if(substr.length()==0) { 207 int value = Integer.parseInt(substr); 220 String substr) { 221 int value = DebugUtilities.enumByString(type, substr); [all...] |
/external/webrtc/talk/media/devices/ |
win32deviceinfo.cc | 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, 49 std::string id_product = device.id.substr(pid_location + sizeof(pid) -1,
|
/cts/suite/audio_quality/lib/include/ |
StringUtil.h | 34 static android::String8 substr(const android::String8& str, size_t pos, size_t n);
|
/cts/suite/audio_quality/test/ |
StringUtilTest.cpp | 34 android::String8 sub1 = StringUtil::substr(str, 0, 5); 37 android::String8 sub2 = StringUtil::substr(str, 10, 5); 40 android::String8 sub3 = StringUtil::substr(str, 6, 5); 43 android::String8 sub4 = StringUtil::substr(str, 100, 5);
|
/external/deqp/framework/common/ |
tcuStringTemplate.cpp | 65 res << m_template.substr(curNdx, paramNdx - curNdx); 73 string paramStr = m_template.substr(paramNdx+2, paramEndNdx-2-paramNdx); 80 paramName = paramStr.substr(0, colonNdx); 81 string flagsStr = paramStr.substr(colonNdx+1);
|
/external/google-breakpad/src/processor/ |
pathname_stripper.cc | 53 return path.substr(file_start);
|
/test/vts/drivers/libdrivercomm/ |
VtsDriverFileUtil.cpp | 41 return str.substr(0, found);
|
/art/tools/veridex/ |
hidden_api.cc | 58 entries.insert(str.substr(0, pos)); 62 entries.insert(str.substr(0, pos)); 67 entries.insert(str.substr(0, pos));
|
/external/clang/lib/Frontend/ |
LayoutOverrideSource.cpp | 27 return S.substr(0, Offset).str(); 63 LineStr = LineStr.substr(Pos + strlen("struct ")); 65 LineStr = LineStr.substr(Pos + strlen("class ")); 67 LineStr = LineStr.substr(Pos + strlen("union ")); 81 LineStr = LineStr.substr(Pos + strlen(" Size:")); 93 LineStr = LineStr.substr(Pos + strlen("Alignment:")); 105 LineStr = LineStr.substr(Pos + strlen("sizeof=")); 115 LineStr = LineStr.substr(Pos + strlen("align=")); 131 LineStr = LineStr.substr(Pos + strlen("FieldOffsets: [")); 139 (void)LineStr.substr(0, Idx).getAsInteger(10, Offset) [all...] |
/external/lz4/contrib/gen_manual/ |
gen_manual.cpp | 61 s = s.substr(spos+3, epos-(spos+3)); 94 if (line.substr(0,11) == "LZ4LIB_API ") line = line.substr(11); 97 sout << line.substr(0, spos); 98 sout << "</b>" << line.substr(spos) << "<b>" << endl; 143 if (line.substr(0,7) == "typedef" && line.find("{")!=string::npos) { 162 if ((line.substr(0,3) == "/*=" || line.substr(0,4) == "/**=") && line.find("*/")!=string::npos) { 185 if (!comments.empty()) comments[0] = line.substr(spos+3); 186 if (!comments.empty()) comments[comments.size()-1] = comments[comments.size()-1].substr(0, comments[comments.size()-1].find("*/")) [all...] |
/external/llvm/lib/Passes/ |
PassBuilder.cpp | 463 PipelineText = PipelineText.substr(strlen("loop(")); 469 PipelineText = PipelineText.substr(1); 476 if (!parseLoopPassName(LPM, PipelineText.substr(0, End))) 481 PipelineText = PipelineText.substr(End); 488 PipelineText = PipelineText.substr(1); 502 PipelineText = PipelineText.substr(strlen("function(")); 508 PipelineText = PipelineText.substr(1); 516 PipelineText = PipelineText.substr(strlen("loop(")); 522 PipelineText = PipelineText.substr(1); 529 if (!parseFunctionPassName(FPM, PipelineText.substr(0, End)) [all...] |
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
substr.pass.cpp | 12 // constexpr basic_string_view substr(size_type pos = 0, size_type n = npos) const; 31 sv1 = sv.substr(pos, n); 34 sv1 = sv.substr(pos, n); 101 constexpr std::string_view sv2 = sv1.substr ( 0, 3 ); 109 constexpr std::string_view sv2 = sv1.substr ( 3, 0 ); 114 constexpr std::string_view sv2 = sv1.substr ( 3, 3 );
|
/external/tensorflow/tensorflow/tools/proto_text/ |
gen_proto_text_functions.cc | 48 ph == str.substr(str.size() - ph.size()); 84 src_relative_path = s.substr(0, s.size() - strlen(kPlaceholderFile)); 102 const string proto_path = string(argv[i]).substr(src_relative_path.size()); 108 string proto_path_no_suffix = proto_path.substr(0, index); 111 proto_path_no_suffix.substr(output_relative_path.size());
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/string.view/string.view.ops/ |
substr.pass.cpp | 12 // constexpr basic_string_view substr(size_type pos = 0, size_type n = npos) const; 28 std::experimental::basic_string_view<CharT> sv1 = sv.substr(pos, n); 38 std::experimental::basic_string_view<CharT> sv1 = sv.substr(pos, n); 99 constexpr std::experimental::string_view sv2 = sv1.substr ( 0, 3 ); 107 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 0 ); 112 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 3 );
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/strings/string.view/string.view.ops/ |
substr.pass.cpp | 12 // constexpr basic_string_view substr(size_type pos = 0, size_type n = npos) const; 31 sv1 = sv.substr(pos, n); 34 sv1 = sv.substr(pos, n); 101 constexpr std::string_view sv2 = sv1.substr ( 0, 3 ); 109 constexpr std::string_view sv2 = sv1.substr ( 3, 0 ); 114 constexpr std::string_view sv2 = sv1.substr ( 3, 3 );
|
/prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/src/ |
message.cc | 35 *message = message->substr(::strlen(kErrorMessage)); 38 *message = message->substr(::strlen(kWarningMessage)); 41 *message = message->substr(::strlen(kGlobalWarningMessage)); 62 string_piece source = rest.substr(0, colon_after_source); 63 rest = rest.substr(colon_after_source + 1); 69 source = message->substr(0, colon_after_source); 70 rest = rest.substr(colon_after_line + 1); 75 const string_piece line = rest.substr(0, colon_after_line); 81 *message = rest.substr(colon_after_line + 1).strip_whitespace(); 89 const string_piece number = message.substr(0, space_loc) [all...] |
/build/kati/ |
rule.cc | 63 StringPiece first = line.substr(0, index); 84 StringPiece rest = line.substr(index); 103 rest = line.substr(index); 127 NewLiteral(Intern(TrimLeftSpace(rest.substr(term_index + 1))).str())); 128 rest = rest.substr(0, term_index); 141 StringPiece second = rest.substr(0, index); 142 StringPiece third = rest.substr(index + 1);
|
/external/curl/scripts/ |
updatemanpages.pl | 92 if(substr($input, $inputseek, 1) eq " " && $quotemode eq 0) { 98 $inputcurrent = $inputcurrent . substr($input, $inputseek, 1); 100 if(substr($input, $inputseek, 1) eq "\"") { 137 $date = substr($tharray[3], 1, -1); 166 if(substr($itemver, $itemnameseek, 1) eq " " || 167 substr($itemver, $itemnameseek, 1) eq "\"") { 170 $itemname .= substr($itemver, $itemnameseek, 1);
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
modify_srcu.awk | 143 update_fieldsep(substr($0, RSTART, RLENGTH), p); 145 $0 = substr($0, RSTART + RLENGTH); 172 update_fieldsep(substr($0, RSTART, RLENGTH), 1); 174 $0 = substr($0, RSTART + RLENGTH); 242 last_fs = substr(last_fs, index(last_fs, ",") + 1); 249 initializer = substr(old_record, start_loc, len); 297 barrier_letter = substr($0, RLENGTH, 1);
|