Lines Matching refs:orig
138 bool TaskCase::registerBuffer(const android::String8& orig, android::sp<Buffer>& buffer) in registerBuffer() argument
141 if (!translateVarName(orig, translated)) { in registerBuffer()
147 bool TaskCase::updateBuffer(const android::String8& orig, android::sp<Buffer>& buffer) in updateBuffer() argument
150 if (!translateVarName(orig, translated)) { in updateBuffer()
156 android::sp<Buffer> TaskCase::findBuffer(const android::String8& orig) in findBuffer() argument
160 if (!translateVarName(orig, translated)) { in findBuffer()
177 bool TaskCase::registerValue(const android::String8& orig, Value& val) in registerValue() argument
180 if (!translateVarName(orig, translated)) { in registerValue()
187 bool TaskCase::updateValue(const android::String8& orig, Value& val) in updateValue() argument
190 if (!translateVarName(orig, translated)) { in updateValue()
196 bool TaskCase::findValue(const android::String8& orig, Value& val) in findValue() argument
199 if (!translateVarName(orig, translated)) { in findValue()
238 bool TaskCase::translateVarName(const android::String8& orig, android::String8& translated) in translateVarName() argument
240 const char* src = orig.string(); in translateVarName()
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()
271 if (matchEnd < orig.length()) { in translateVarName()
273 translated.append(StringUtil::substr(orig, matchEnd, orig.length() - matchEnd)); in translateVarName()
275 LOGD("translated str %s to %s", orig.string(), translated.string()); in translateVarName()