Home
last modified time | relevance | path

Searched refs:tempStr (Results 1 – 20 of 20) sorted by relevance

/external/cldr/tools/c/genldml/
Dgenldml.cpp436 UnicodeString tempStr; in writeXMLVersionAndComments() local
437 …xmlString.append(formatString(mStringsBundle.getStringEx("localeData",mError),arguments,2,tempStr)… in writeXMLVersionAndComments()
443 UnicodeString tempStr; in writeVersion() local
476 UnicodeString xmlString, tempStr,tempStr1,tempStr2; in writeIdentity() local
487 format.format(Calendar::getNow(),tempStr); in writeIdentity()
489 args[1]=tempStr; in writeIdentity()
490 tempStr.remove(); in writeIdentity()
493 …xmlString.append(formatString(mStringsBundle.getStringEx("generationDate",mError),args,2,tempStr)); in writeIdentity()
511 tempStr.remove(); in writeIdentity()
512 tempStr = mLocale.getScript(); in writeIdentity()
[all …]
/external/pdfium/fxbarcode/oned/
DBC_OnedUPCAWriter.cpp118 ByteString tempStr = str.Mid(1, 5); in ShowChars() local
122 iLen = tempStr.GetLength(); in ShowChars()
157 CalcTextInfo(tempStr, &charpos[1], m_pFont.Get(), strWidth, iFontSize, blank); in ShowChars()
168 tempStr = str.Mid(6, 5); in ShowChars()
169 iLen = tempStr.GetLength(); in ShowChars()
170 CalcTextInfo(tempStr, &charpos[6], m_pFont.Get(), strWidth, iFontSize, blank); in ShowChars()
182 tempStr = str.Left(1); in ShowChars()
183 iLen = tempStr.GetLength(); in ShowChars()
187 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), strWidth, iFontSize, in ShowChars()
198 tempStr = str.Mid(11, 1); in ShowChars()
[all …]
DBC_OnedEAN13Writer.cpp152 ByteString tempStr = str.Mid(1, 6); in ShowChars() local
177 iLen = tempStr.GetLength(); in ShowChars()
180 CalcTextInfo(tempStr, &charpos[1], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
192 tempStr = str.Mid(7, 6); in ShowChars()
193 iLen = tempStr.GetLength(); in ShowChars()
194 CalcTextInfo(tempStr, &charpos[7], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
207 tempStr = str.Left(1); in ShowChars()
208 iLen = tempStr.GetLength(); in ShowChars()
212 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), (float)strWidth, in ShowChars()
DBC_OnedEAN8Writer.cpp150 ByteString tempStr = str.Left(4); in ShowChars() local
151 size_t iLen = tempStr.GetLength(); in ShowChars()
173 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), (float)strWidth, in ShowChars()
184 tempStr = str.Mid(4, 4); in ShowChars()
185 iLen = tempStr.GetLength(); in ShowChars()
186 CalcTextInfo(tempStr, &charpos[4], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmsimpleexpression.cpp147 WideString tempStr(m_wsString); in ToJavaScript() local
148 if (tempStr.GetLength() <= 2) { in ToJavaScript()
149 javascript << tempStr; in ToJavaScript()
153 for (size_t i = 1; i < tempStr.GetLength() - 1; i++) { in ToJavaScript()
154 wchar_t oneChar = tempStr[i]; in ToJavaScript()
187 WideString tempStr(m_wsIdentifier); in ToJavaScript() local
188 if (tempStr == L"$") { in ToJavaScript()
189 tempStr = L"this"; in ToJavaScript()
190 } else if (tempStr == L"!") { in ToJavaScript()
191 tempStr = L"xfa.datasets"; in ToJavaScript()
[all …]
Dcxfa_fmparser.cpp721 WideStringView tempStr = m_token->m_string; in ParsePostExpression() local
754 tempStr); in ParsePostExpression()
776 tempLine, std::move(expr), TOKdot, tempStr, std::move(s)); in ParsePostExpression()
782 line, std::move(expr), TOKdot, tempStr, std::move(s)); in ParsePostExpression()
793 WideStringView tempStr = m_token->m_string; in ParsePostExpression() local
803 tempLine, std::move(expr), TOKdotdot, tempStr, std::move(s)); in ParsePostExpression()
809 line, std::move(expr), TOKdotdot, tempStr, std::move(s)); in ParsePostExpression()
820 WideStringView tempStr = m_token->m_string; in ParsePostExpression() local
829 line, std::move(expr), TOKdotscream, tempStr, std::move(s)); in ParsePostExpression()
837 tempLine, std::move(expr), TOKdotscream, tempStr, std::move(s)); in ParsePostExpression()
/external/icu/icu4c/source/test/iotest/
Diotest.cpp209 UnicodeString tempStr; in DataDrivenPrintf() local
245 tempStr=testCase->getString("format", errorCode); in DataDrivenPrintf()
246 tempStr.extract(format, UPRV_LENGTHOF(format), errorCode); in DataDrivenPrintf()
247 tempStr=testCase->getString("result", errorCode); in DataDrivenPrintf()
248 tempStr.extract(expectedResult, UPRV_LENGTHOF(expectedResult), errorCode); in DataDrivenPrintf()
249 tempStr=testCase->getString("argument", errorCode); in DataDrivenPrintf()
250 tempStr.extract(argument, UPRV_LENGTHOF(argument), errorCode); in DataDrivenPrintf()
374 UnicodeString tempStr; in DataDrivenScanf() local
410 tempStr=testCase->getString("format", errorCode); in DataDrivenScanf()
411 tempStr.extract(format, UPRV_LENGTHOF(format), errorCode); in DataDrivenScanf()
[all …]
Dstream.cpp99 string tempStr = outTestStream.str(); in TestStream() local
100 const char *testStreamBuf = tempStr.c_str(); in TestStream()
139 tempStr = outFormatStream.str(); in TestStream()
140 const char *testFormatStreamBuf = tempStr.c_str(); in TestStream()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DIDNAConformanceTest.java256 String tempStr = null; in getInputData() local
261 while ((tempStr = in.readLine()) != null) { in getInputData()
264 if ("=====".equals(tempStr)) in getInputData()
270 if ("".equals(tempStr)) { in getInputData()
278 int postion = tempStr.indexOf(":"); in getInputData()
280 attr = tempStr.substring(0, postion).trim(); in getInputData()
281 body = tempStr.substring(postion + 1).trim(); in getInputData()
288 tempStr = in.readLine(); in getInputData()
289 body += tempStr; in getInputData()
296 if ("=====".equals(tempStr)) { in getInputData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DIDNAConformanceTest.java253 String tempStr = null; in getInputData() local
258 while ((tempStr = in.readLine()) != null) { in getInputData()
261 if ("=====".equals(tempStr)) in getInputData()
267 if ("".equals(tempStr)) { in getInputData()
275 int postion = tempStr.indexOf(":"); in getInputData()
277 attr = tempStr.substring(0, postion).trim(); in getInputData()
278 body = tempStr.substring(postion + 1).trim(); in getInputData()
285 tempStr = in.readLine(); in getInputData()
286 body += tempStr; in getInputData()
293 if ("=====".equals(tempStr)) { in getInputData()
/external/pdfium/fpdfsdk/
Dcpdfsdk_datetime.cpp276 char tempStr[32]; in ToPDFDateTimeString() local
277 memset(tempStr, 0, sizeof(tempStr)); in ToPDFDateTimeString()
278 FXSYS_snprintf(tempStr, sizeof(tempStr) - 1, "D:%04d%02u%02u%02u%02u%02u", in ToPDFDateTimeString()
280 dtStr = ByteString(tempStr); in ToPDFDateTimeString()
285 memset(tempStr, 0, sizeof(tempStr)); in ToPDFDateTimeString()
286 FXSYS_snprintf(tempStr, sizeof(tempStr) - 1, "%02d'%02u'", in ToPDFDateTimeString()
288 dtStr += ByteString(tempStr); in ToPDFDateTimeString()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp2570 UnicodeString tempStr, resultStr; in TestCurrencyByDate() local
2592 tempStr.setTo(TMP); in TestCurrencyByDate()
2594 if (resultStr != tempStr) { in TestCurrencyByDate()
2605 tempStr.setTo(TMP); in TestCurrencyByDate()
2607 if (resultStr != tempStr) { in TestCurrencyByDate()
2618 tempStr.setTo(TMP); in TestCurrencyByDate()
2620 if (resultStr != tempStr) { in TestCurrencyByDate()
2632 tempStr.setTo(TMP); in TestCurrencyByDate()
2634 if (resultStr != tempStr) { in TestCurrencyByDate()
2638 tempStr.setTo(TMP); in TestCurrencyByDate()
[all …]
/external/libjpeg-turbo/
Dtjbench.c143 char tempStr[1024], sizeStr[20] = "\0", qualStr[13] = "\0", *ptr; in decomp() local
235 tempStr, 1024), in decomp()
240 4, tempStr, 1024)); in decomp()
263 snprintf(tempStr, 1024, "%s_%s.%s", fileName, sizeStr, ext); in decomp()
265 snprintf(tempStr, 1024, "%s_%s%s_%s.%s", fileName, subName[subsamp], in decomp()
268 if (tjSaveImage(tempStr, dstBuf, scaledw, 0, scaledh, pf, flags) == -1) in decomp()
270 ptr = strrchr(tempStr, '.'); in decomp()
271 snprintf(ptr, 1024 - (ptr - tempStr), "-err.%s", ext); in decomp()
273 if (!quiet) printf("Compression error written to %s.\n", tempStr); in decomp()
299 if (tjSaveImage(tempStr, dstBuf, w, 0, h, pf, flags) == -1) in decomp()
[all …]
Dtjunittest.c363 char tempStr[1024]; in compTest() local
406 snprintf(tempStr, 1024, "%s_enc_%s_%s_%s_Q%d.jpg", basename, pfStr, buStr, in compTest()
408 writeJPEG(*dstBuf, *dstSize, tempStr); in compTest()
409 printf("Done.\n Result in %s\n", tempStr); in compTest()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_backends.py84 tempStr = backend.functionTableName
87 tempStr += '[' + str(i) + ']'
89 tempStr += backend.funcInstanceHeader + ','.join(map(str, output_combinations[x])) + '>>;'
91 output_list.append(tempStr)
/external/libjpeg-turbo/java/
DTJBench.java166 String qualStr = new String(""), sizeStr, tempStr; in decomp() local
286 tempStr = new String(fileName + "_" + sizeStr + ".bmp"); in decomp()
288 tempStr = new String(fileName + "_" + SUBNAME[subsamp] + qualStr + in decomp()
291 saveImage(tempStr, dstBuf, scaledw, scaledh, pf); in decomp()
292 int ndx = tempStr.lastIndexOf('.'); in decomp()
293 tempStr = new String(tempStr.substring(0, ndx) + "-err.bmp"); in decomp()
296 System.out.println("Compression error written to " + tempStr + "."); in decomp()
321 saveImage(tempStr, dstBuf, w, h, pf); in decomp()
467 String tempStr = fileName + "_" + SUBNAME[subsamp] + "_" + "Q" + in fullTest() local
469 FileOutputStream fos = new FileOutputStream(tempStr); in fullTest()
[all …]
DTJUnitTest.java632 String tempStr; in compTest() local
654 tempStr = baseName + "_enc_" + pfStr + "_" + buStr + "_" + in compTest()
656 File file = new File(tempStr); in compTest()
690 tempStr = baseName + "_enc_" + pfStr + "_" + buStr + "_" + in compTest()
692 writeJPEG(dstBuf, size, tempStr); in compTest()
693 System.out.println("Done.\n Result in " + tempStr); in compTest()
701 String pfStr, pfStrLong, tempStr; in decompTest() local
760 tempStr = baseName + "_dec_" + pfStr + "_" + in decompTest()
764 File file = new File(tempStr); in decompTest()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp468 std::string tempStr(printStr); in PRINT() local
469 pos = tempStr.find('%', pos); in PRINT()
481 if (toupper(tempStr[pos + 1]) == 'X') in PRINT()
483 tempStr[pos] = '0'; in PRINT()
484 tempStr[pos + 1] = 'x'; in PRINT()
485 tempStr.insert(pos + 2, "%08X "); in PRINT()
497 tempStr.insert(pos, vectorFormatStr); in PRINT()
500 else if ((tempStr[pos + 1] == 'f') && (pContainedType->isFloatTy())) in PRINT()
505 tempStr.insert(pos, std::string("%f ")); in PRINT()
511 else if ((tempStr[pos + 1] == 'd') && (pContainedType->isIntegerTy())) in PRINT()
[all …]
/external/icu/icu4c/source/i18n/
Ddcfmtsym.cpp461 UnicodeString tempStr; in initialize() local
464 uprv_getStaticCurrencyName(curriso, locStr, tempStr, internalStatus); in initialize()
467 fSymbols[kCurrencySymbol] = tempStr; in initialize()
/external/gptfdisk/
Dbasicmbr.cc1551 string tempStr; in DoMenu() local
1606 tempStr = ReadString(); in DoMenu()
1607 if (IsHex(tempStr)) in DoMenu()
1608 sscanf(tempStr.c_str(), "%x", &hexCode); in DoMenu()