Searched refs:substr (Results 1 – 7 of 7) sorted by relevance
/cts/suite/audio_quality/test/ |
D | StringUtilTest.cpp | 34 android::String8 sub1 = StringUtil::substr(str, 0, 5); in TEST_F() 37 android::String8 sub2 = StringUtil::substr(str, 10, 5); in TEST_F() 40 android::String8 sub3 = StringUtil::substr(str, 6, 5); in TEST_F() 43 android::String8 sub4 = StringUtil::substr(str, 100, 5); in TEST_F()
|
/cts/suite/audio_quality/lib/src/ |
D | StringUtil.cpp | 31 tokens->push_back(substr(str, lastTokenEnd, i - lastTokenEnd)); in split() 37 tokens->push_back(substr(str, lastTokenEnd, str.length() - lastTokenEnd)); in split() 42 android::String8 StringUtil::substr(const android::String8& str, size_t pos, size_t n) in substr() function in StringUtil
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioHardware.cpp | 66 android::String8 product = StringUtil::substr(resultStr, pmatch[1].rm_so, in detectAudioHw() 69 android::String8 cardNumber = StringUtil::substr(resultStr, pmatch[2].rm_so, in detectAudioHw()
|
/cts/suite/audio_quality/lib/include/ |
D | StringUtil.h | 34 static android::String8 substr(const android::String8& str, size_t pos, size_t n);
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 256 translated.append(StringUtil::substr(orig, strStart, pmatch[1].rm_so - 1)); //-1 for $ in translateVarName() 258 indexName.append(StringUtil::substr(orig, matchStart, matchEnd - matchStart)); in translateVarName() 273 translated.append(StringUtil::substr(orig, matchEnd, orig.length() - matchEnd)); in translateVarName()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
D | jquery.js | 4051 if ( left.substr( left.length - 1 ) !== "\\" ) { 4091 if ( left.substr( left.length - 1 ) === "\\" ) { 4720 value.substr(value.length - check.length) === check : 4722 value === check || value.substr(0, check.length + 1) === check + "-" : 6906 dataType = dataType.substr( 1 ) || "*";
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | crypto.js | 723 r = (a+z.intValue()).toString(b).substr(1) + r;
|