Lines Matching refs:translated
140 android::String8 translated; in registerBuffer() local
141 if (!translateVarName(orig, translated)) { in registerBuffer()
144 return registerGeneric<android::sp<Buffer> >(mBufferList, translated, buffer); in registerBuffer()
149 android::String8 translated; in updateBuffer() local
150 if (!translateVarName(orig, translated)) { in updateBuffer()
153 return updateGeneric<android::sp<Buffer> >(mBufferList, translated, buffer); in updateBuffer()
158 android::String8 translated; in findBuffer() local
160 if (!translateVarName(orig, translated)) { in findBuffer()
163 findGeneric<android::sp<Buffer> >(mBufferList, translated, result); in findBuffer()
169 android::String8 translated; in findAllBuffers() local
170 if (!translateVarName(re, translated)) { in findAllBuffers()
173 return findAllGeneric<android::sp<Buffer> >(mBufferList, translated.string()); in findAllBuffers()
179 android::String8 translated; in registerValue() local
180 if (!translateVarName(orig, translated)) { in registerValue()
183 LOGD("str %x", translated.string()); in registerValue()
184 return registerGeneric<Value>(mValueList, translated, val); in registerValue()
189 android::String8 translated; in updateValue() local
190 if (!translateVarName(orig, translated)) { in updateValue()
193 return updateGeneric<Value>(mValueList, translated, val); in updateValue()
198 android::String8 translated; in findValue() local
199 if (!translateVarName(orig, translated)) { in findValue()
202 return findGeneric<Value>(mValueList, translated, val); in findValue()
207 android::String8 translated; in findAllValues() local
208 if (!translateVarName(re, translated)) { in findAllValues()
211 return findAllGeneric<Value>(mValueList, translated.string()); in findAllValues()
231 android::String8 translated; in findAllIndices() local
232 if (!translateVarName(re, translated)) { in findAllIndices()
235 return findAllGeneric<int>(mIndexList, translated.string()); in findAllIndices()
238 bool TaskCase::translateVarName(const android::String8& orig, android::String8& translated) in translateVarName() argument
256 translated.append(StringUtil::substr(orig, strStart, pmatch[1].rm_so - 1)); //-1 for $ in translateVarName()
265 translated.appendFormat("%d", val); in translateVarName()
267 strStart, matchStart, matchEnd, translated.string()); 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()