Home
last modified time | relevance | path

Searched refs:strBuf (Results 1 - 15 of 15) sorted by relevance

/applications/standard/app_samples/code/BasicFeature/Native/NdkRawfile/entry/src/main/cpp/
H A Drawfile_demo.cpp39 char strBuf[256]; in GetFileList() local
40 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize); in GetFileList()
41 std::string filename(strBuf, strSize); in GetFileList()
100 char strBuf[256]; in GetRawFileContent() local
101 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize); in GetRawFileContent()
102 std::string filename(strBuf, strSize); in GetRawFileContent()
171 char strBuf[256]; in GetRawFileDescriptor() local
172 napi_get_value_string_utf8(env, argv[1], strBuf, sizeo in GetRawFileDescriptor()
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBICUExporter.java144 StringBuffer strBuf = new StringBuffer(); in escapeString()
164 strBuf.append("\\U"); in escapeString()
168 strBuf.append("\\u"); in escapeString()
170 strBuf.append(zeros.substring(hexNum.length()) + hexNum.toUpperCase()); in escapeString()
173 strBuf.append(ch); in escapeString()
177 strBuf.append("\\\""); in escapeString()
182 strBuf.append(ch); in escapeString()
186 strBuf.insert(0, '\"'); in escapeString()
187 strBuf.append('\"'); in escapeString()
189 return strBuf in escapeString()
[all...]
/foundation/resourceschedule/ffrt/src/dfx/log/linux/
H A Dlog_base.cpp50 std::string pid, tid, strBuf; in LogOutput() local
54 strBuf = GetCurrentTime() + " "; in LogOutput()
55 strBuf += pid + " " + tid + " "; in LogOutput()
56 strBuf += level; in LogOutput()
57 strBuf += " ffrt : "; in LogOutput()
58 strBuf += log; in LogOutput()
60 std::cout << strBuf; in LogOutput() local
/test/xts/acts/global/global_napi_test/entry/src/main/cpp/napi/
H A Dglobal_napi_test.cpp41 char strBuf[256]; in GetFileList() local
42 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize); in GetFileList()
43 std::string filename(strBuf, strSize); in GetFileList()
143 char strBuf[256]; in GetRawFileContent() local
144 napi_get_value_string_utf8(env, argv[1], strBuf, sizeof(strBuf), &strSize); in GetRawFileContent()
145 std::string filename(strBuf, strSize); in GetRawFileContent()
183 char strBuf[256]; in GetRawFileContent64() local
184 napi_get_value_string_utf8(env, argv[1], strBuf, sizeo in GetRawFileContent64()
301 char strBuf[256]; GetRawFileDescriptor() local
328 char strBuf[256]; GetRawFileDescriptor64() local
350 char strBuf[256]; IsRawDir() local
844 char strBuf[256]; GetRawFileDescriptorData() local
890 char strBuf[256]; GetMediaBase64DataByName() local
944 char strBuf[256]; GetMediaDataByName() local
987 char strBuf[256]; GetDrawableDescriptorDataByName() local
[all...]
/kernel/liteos_a/testsuites/unittest/libc/io/full/
H A DIO_test_ppoll_003.cpp41 static CHAR strBuf[] = "hello world."; variable
75 retVal = strcmp(strBuf, buf); in pthread_01()
123 retVal = write(pipeFdPpoll[1], "hello world.", sizeof(strBuf)); in testcase()
136 retVal = write(pipeFdPpoll[1], "hello world.", sizeof(strBuf)); in testcase()
H A DIO_test_ppoll_002.cpp41 static char strBuf[] = "hello world."; variable
63 retVal = strcmp(strBuf, buf); in pthread_01()
96 retVal = write(pipeFdPpoll[1], "hello world.", sizeof(strBuf)); in testcase()
H A DIO_test_ppoll_001.cpp40 static CHAR strBuf[] = "hello world."; variable
67 retVal = strcmp(strBuf, buf); in pthread_01()
108 retVal = write(pipeFdPpoll[1], "hello world.", sizeof(strBuf)); in testcase()
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_major.cpp387 std::string strBuf = strCmd + ":" + strArgs; in RunCmdOnAgent() local
388 int cmdLen = strBuf.length() + 1; in RunCmdOnAgent()
390 return g_pDistributetestEnv->RunTestCmd(devNo, strBuf, cmdLen, strExpectValue, expectValueLen, in RunCmdOnAgent()
413 std::string strBuf = strCmd + ":" + strArgs; in RunCmdOnAgent() local
414 int cmdLen = strBuf.length() + 1; in RunCmdOnAgent()
416 return g_pDistributetestEnv->RunTestCmd(devNo, strBuf, cmdLen, strExpectValue, expectValueLen, onReturnCall); in RunCmdOnAgent()
499 std::string strBuf = notifyType + ":" + msg;
500 return g_pDistributetestEnv->Notify(devNo, strBuf, strBuf.length() + 1);
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_video_encoder_references_manager_h264.cpp359 char strBuf[256]; in print_dpb() local
360 memset(&strBuf, '\0', 256); in print_dpb()
361 sprintf(strBuf, "%p", dpbEntry.pReconstructedPicture); in print_dpb()
362 dpbContents += std::string(strBuf); in print_dpb()
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
H A DhowExpensiveIs.cpp442 char strBuf[200]; in warmup() local
443 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
445 fFile,fLine,getName(),strBuf,fCStr, u_errorName(setupStatus)); in warmup()
566 char strBuf[200]; in warmup() local
567 u_strToUTF8(strBuf,200,NULL,buf,trial+1,&setupStatus); in warmup()
569 fFile,fLine,getName(),strBuf,trial,fCStr,fLen, u_errorName(setupStatus)); in warmup()
657 char strBuf[200]; in warmup() local
658 u_strToUTF8(strBuf,200,NULL,buf.getTerminatedBuffer(),buf.length()+1,&setupStatus); in warmup()
660 fFile,fLine,getName(),strBuf,buf.length(),fCStr,fLen, u_errorName(setupStatus)); in warmup()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DSelectFormatAPITest.java148 StringBuffer strBuf = new StringBuffer("AppendHere-"); in TestFormat()
151 , (selFmt1.format("other", strBuf, new FieldPosition(0))).toString()); in TestFormat()
H A DNumberFormatTest.java727 String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency()
730 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(strBuf); in TestCurrency()
805 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat()
813 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
814 errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + formatResult + "\", actual(" + strBuf.length() + "): \"" + strBuf + "\""); in TestCurrencyIsoPluralFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DSelectFormatAPITest.java145 StringBuffer strBuf = new StringBuffer("AppendHere-"); in TestFormat()
148 , (selFmt1.format("other", strBuf, new FieldPosition(0))).toString()); in TestFormat()
H A DNumberFormatTest.java724 String strBuf = curFmt.format(new CurrencyAmount(new Float(1234.56), Currency.getInstance("USD"))); in TestCurrency()
727 CurrencyAmount parsedVal = (CurrencyAmount)curFmt.parseObject(strBuf); in TestCurrency()
802 String strBuf = numFmt.format(numberToBeFormat); in TestCurrencyIsoPluralFormat()
810 if (!strBuf.equals(formatResult)) { in TestCurrencyIsoPluralFormat()
811 errln("FAIL: localeID: " + localeString + ", expected(" + formatResult.length() + "): \"" + formatResult + "\", actual(" + strBuf.length() + "): \"" + strBuf + "\""); in TestCurrencyIsoPluralFormat()
/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp3888 UnicodeString strBuf; in TestCurrencyIsoPluralFormat() local
3889 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyIsoPluralFormat()
3894 if (strBuf.compare(formatResult)) { in TestCurrencyIsoPluralFormat()
3895 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyIsoPluralFormat()
4003 UnicodeString strBuf; in TestCurrencyParsing() local
4004 numFmt->format(numberToBeFormat, strBuf); in TestCurrencyParsing()
4009 if (strBuf.compare(formatResult)) { in TestCurrencyParsing()
4010 errln("FAIL: Expected " + formatResult + " actual: " + strBuf); in TestCurrencyParsing()
4039 errln((UnicodeString)" round-trip would be: " + strBuf); in TestCurrencyParsing()

Completed in 41 milliseconds