Home
last modified time | relevance | path

Searched refs:strs (Results 1 – 11 of 11) sorted by relevance

/external/stlport/test/unit/
Dcollate_facets_test.cpp58 string strs[] = {"abdd", "ab�d", "abbd", "abcd"}; in collate_facet() local
62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
65 sort(strs, strs + 4, loc); in collate_facet()
66 CPPUNIT_ASSERT( strs[0] == "abbd" ); in collate_facet()
67 CPPUNIT_ASSERT( strs[1] == "abcd" ); in collate_facet()
68 CPPUNIT_ASSERT( strs[2] == "ab�d" ); in collate_facet()
69 CPPUNIT_ASSERT( strs[3] == "abdd" ); in collate_facet()
73 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
74 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
75 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
[all …]
Dmvctor_test.cpp625 vector<string> strs; in vector_test() local
630 strs.push_back(it->front()); in vector_test()
639 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); in vector_test()
640 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); in vector_test()
654 vector<string> strs; in vector_test() local
659 strs.push_back(it->front()); in vector_test()
668 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); in vector_test()
669 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); in vector_test()
678 vector<string> strs; in vector_test() local
683 strs.push_back(it->front()); in vector_test()
[all …]
/external/icu4c/tools/ctestfw/
Ddbgutil.cpp21 static UnicodeString **strs = NULL; variable
34 if(strs != NULL) { in udbg_cleanup()
36 delete [] strs[t]; in udbg_cleanup()
38 delete[] strs; in udbg_cleanup()
39 strs = NULL; in udbg_cleanup()
55 if(strs == NULL) { in udbg_setup()
69 strs = newStrs; in udbg_setup()
76 if(strs == NULL ) { in udbg_enumString()
83 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
89 return strs[type][count]; in udbg_enumString()
[all …]
/external/icu4c/tools/toolutil/
Ddbgutil.cpp23 static UnicodeString **strs = NULL; variable
36 if(strs != NULL) { in udbg_cleanup()
38 delete [] strs[t]; in udbg_cleanup()
40 delete[] strs; in udbg_cleanup()
41 strs = NULL; in udbg_cleanup()
57 if(strs == NULL) { in udbg_setup()
71 strs = newStrs; in udbg_setup()
78 if(strs == NULL ) { in udbg_enumString()
85 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
91 return strs[type][count]; in udbg_enumString()
[all …]
/external/dropbear/libtomcrypt/testprof/
Dder_tests.c23 unsigned char strs[10][10], outbuf[128]; in der_set_test() local
41 LTC_SET_ASN1(list, 0, LTC_ASN1_BIT_STRING, strs[1], sizeof(strs[1])); in der_set_test()
43 LTC_SET_ASN1(list, 2, LTC_ASN1_OCTET_STRING, strs[0], sizeof(strs[0])); in der_set_test()
51 if (memcmp(strs[0], oct_str, sizeof(oct_str))) { in der_set_test()
56 if (memcmp(strs[1], bin_str, sizeof(bin_str))) { in der_set_test()
66 strcpy((char*)strs[0], "one"); in der_set_test()
67 strcpy((char*)strs[1], "one2"); in der_set_test()
68 strcpy((char*)strs[2], "two"); in der_set_test()
69 strcpy((char*)strs[3], "aaa"); in der_set_test()
70 strcpy((char*)strs[4], "aaaa"); in der_set_test()
[all …]
/external/clang/test/CodeGenCXX/
Dnoinline-template.cpp14 Vector<int> strs; in foo() local
15 strs.growStorageBy(); in foo()
/external/clang/tools/arcmt-test/
Darcmt-test.cpp246 SmallVector<StringRef, 8> strs; in verifyTransformedFiles() local
247 inputBuf->getBuffer().split(strs, "\n", /*MaxSplit=*/-1, /*KeepEmpty=*/false); in verifyTransformedFiles()
249 if (strs.empty()) { in verifyTransformedFiles()
253 if (strs.size() % 2 != 0) { in verifyTransformedFiles()
258 for (unsigned i = 0, e = strs.size(); i != e; i += 2) { in verifyTransformedFiles()
259 StringRef inputOrigFname = strs[i]; in verifyTransformedFiles()
260 StringRef inputResultFname = strs[i+1]; in verifyTransformedFiles()
/external/clang/test/CodeGen/
Dstaticinit.c14 static char* strs[] = { "one", "two", "three", "four" }; in f() local
/external/icu4c/common/
Duloc.c2259 char **strs; in uloc_acceptLanguageFromHTTP() local
2363 strs = uprv_malloc((size_t)(sizeof(strs[0])*n)); in uloc_acceptLanguageFromHTTP()
2365 if (strs == NULL) { in uloc_acceptLanguageFromHTTP()
2374 strs[i]=j[i].locale; in uloc_acceptLanguageFromHTTP()
2377 (const char**)strs, n, availableLocales, status); in uloc_acceptLanguageFromHTTP()
2379 uprv_free(strs[i]); in uloc_acceptLanguageFromHTTP()
2381 uprv_free(strs); in uloc_acceptLanguageFromHTTP()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadmacho.c823 UChar *strs; in ML_() local
840 strs = (UChar *)(ii.macho_img + symcmd->stroff); in ML_()
860 strs, symcmd->strsize); in ML_()
865 strs, symcmd->strsize); in ML_()
/external/icu4c/test/intltest/
Ddtfmttst.cpp3225 UnicodeString strf, strl, strm, strs; in Test6726() local
3246 strs = fmts->format(dt, strs); in Test6726()
3261 logln("strs.charAt(10)=%04X wanted 0x20\n", strs.charAt(8)); in Test6726()
3262 if (strs.charAt(8) != UChar(0x0020)) { in Test6726()
3263 errln((UnicodeString)"FAIL: Improper formatted date: " + strs); in Test6726()