/ndk/tests/device/test-gnustl-full/unit/ |
collate_facets_test.cpp | 58 string strs[] = {"abdd", "ab?d", "abbd", "abcd"}; local 62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); 65 sort(strs, strs + 4, loc); 66 CPPUNIT_ASSERT( strs[0] == "abbd" ); 67 CPPUNIT_ASSERT( strs[1] == "abcd" ); 68 CPPUNIT_ASSERT( strs[2] == "ab?d" ); 69 CPPUNIT_ASSERT( strs[3] == "abdd" ) 109 wstring strs[] = {L"abdd", L"abcd", L"abbd", L"abcd"}; local 234 string strs[] = {"abdd", \/* "ab?d",*\/ "abbd", "abcd"}; local [all...] |
mvctor_test.cpp | 625 vector<string> strs; local 630 strs.push_back(it->front()); 639 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); 640 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); 654 vector<string> strs; local 659 strs.push_back(it->front()); 668 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); 669 vector<string>::iterator it(strs.begin()), itEnd(strs.end()) 678 vector<string> strs; local 703 vector<string> strs; local 732 vector<string> strs; local 762 vector<string> strs; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
collate_facets_test.cpp | 58 string strs[] = {"abdd", "ab?d", "abbd", "abcd"}; local 62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); 65 sort(strs, strs + 4, loc); 66 CPPUNIT_ASSERT( strs[0] == "abbd" ); 67 CPPUNIT_ASSERT( strs[1] == "abcd" ); 68 CPPUNIT_ASSERT( strs[2] == "ab?d" ); 69 CPPUNIT_ASSERT( strs[3] == "abdd" ) 109 wstring strs[] = {L"abdd", L"abcd", L"abbd", L"abcd"}; local 234 string strs[] = {"abdd", \/* "ab?d",*\/ "abbd", "abcd"}; local [all...] |
mvctor_test.cpp | 625 vector<string> strs; local 630 strs.push_back(it->front()); 639 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); 640 vector<string>::iterator it(strs.begin()), itEnd(strs.end()); 654 vector<string> strs; local 659 strs.push_back(it->front()); 668 CPPUNIT_ASSERT( strs.size() == 10 * 10 ); 669 vector<string>::iterator it(strs.begin()), itEnd(strs.end()) 678 vector<string> strs; local 703 vector<string> strs; local 732 vector<string> strs; local 762 vector<string> strs; local [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
dbgutil.cpp | 23 static UnicodeString **strs = NULL; variable 36 if(strs != NULL) { 38 delete [] strs[t]; 40 delete[] strs; 41 strs = NULL; 57 if(strs == NULL) { 71 strs = newStrs; 78 if(strs == NULL ) { 85 return strs[UDBG_ENUM_COUNT][0]; 91 return strs[type][count] [all...] |
/external/clang/test/CodeGenCXX/ |
noinline-template.cpp | 14 Vector<int> strs; local 15 strs.growStorageBy();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
CodesArrayParser.java | 50 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); local 51 if (strs.length <= 1) { 54 return strs[0]; 68 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); local 69 if (strs.length <= 1) { 72 return TextUtils.isEmpty(strs[1]) ? strs[0] : strs[1]; 76 final String[] strs = codesArraySpec.split(VERTICAL_BAR_REGEX, -1); local 77 if (strs.length <= 2) [all...] |
/external/jemalloc/test/unit/ |
ckh.c | 24 const char *strs[] = { local 42 for (i = 0; i < sizeof(strs)/sizeof(const char *); i++) { 43 ckh_insert(tsd, &ckh, strs[i], strs[i]); 50 for (i = 0; i < sizeof(strs)/sizeof(const char *); i++) { 62 assert_false(ckh_search(&ckh, strs[i], kp, vp), 65 ks = (i & 1) ? strs[i] : (const char *)NULL; 66 vs = (i & 2) ? strs[i] : (const char *)NULL; 76 for (i = 0; i < sizeof(strs)/sizeof(const char *); i++) { 88 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp) [all...] |
/external/clang/test/ARCMT/ |
nonobjc-to-objc-cast.m | 19 struct StrS { 25 struct StrS *strS; 60 return strS->sref_member;
|
nonobjc-to-objc-cast-2.m | 10 struct StrS { 16 struct StrS *strS; 27 return strS->sref_member;
|
nonobjc-to-objc-cast.m.result | 19 struct StrS { 25 struct StrS *strS; 60 return (__bridge id)(strS->sref_member);
|
/external/compiler-rt/test/asan/TestCases/Darwin/ |
crashlog-stacktraces.c | 14 char** strs = backtrace_symbols(callstack, frames); local 16 fprintf(stderr, "%s\n", strs[i]); 18 free(strs);
|
/external/marisa-trie/tests/ |
trie-test.cc | 168 std::vector<std::string> strs; local 169 ASSERT(trie.predict("a", &ids, &strs) == 3); 174 ASSERT(strs[0] == "app"); 175 ASSERT(strs[1] == "apple"); 176 ASSERT(strs[2] == "and"); 353 std::vector<std::string> strs; local 354 ASSERT(trie.predict("ca", &ids, &strs, 1) == 1); 357 ASSERT(strs.size() == 1); 358 ASSERT(strs[0] == "car"); 360 ASSERT(trie.predict_callback("", PredictCallback(&ids, &strs)) == 4) 387 std::string strs[10]; local 559 std::vector<std::string> strs; local 626 std::vector<std::string> strs; local [all...] |
/external/marisa-trie/v0_1_5/tests/ |
trie-test.cc | 170 std::vector<std::string> strs; local 171 ASSERT(trie.predict("a", &ids, &strs) == 3); 176 ASSERT(strs[0] == "app"); 177 ASSERT(strs[1] == "apple"); 178 ASSERT(strs[2] == "and"); 355 std::vector<std::string> strs; local 356 ASSERT(trie.predict("ca", &ids, &strs, 1) == 1); 359 ASSERT(strs.size() == 1); 360 ASSERT(strs[0] == "car"); 362 ASSERT(trie.predict_callback("", PredictCallback(&ids, &strs)) == 4) 389 std::string strs[10]; local 577 std::vector<std::string> strs; local 646 std::vector<std::string> strs; local [all...] |
/external/clang/test/CodeGen/ |
staticinit.c | 14 static char* strs[] = { "one", "two", "three", "four" }; local
|
/external/marisa-trie/lib/marisa/ |
trie-build.cc | 263 Vector<String> strs; local 264 strs.resize(keys.size()); 265 for (UInt32 i = 0; i < strs.size(); ++i) { 266 strs[i] = keys[i].str(); 268 tail_.build(strs, terminals, progress.tail()); 286 Vector<String> strs; local 287 strs.resize(rkeys.size()); 288 for (UInt32 i = 0; i < strs.size(); ++i) { 289 strs[i] = String(rkeys[i].str().ptr(), rkeys[i].str().length()); 291 tail_.build(strs, terminals, progress.tail()) [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
trie-build.cc | 277 Vector<String> strs; local 278 strs.resize(keys.size()); 279 for (UInt32 i = 0; i < strs.size(); ++i) { 280 strs[i] = keys[i].str(); 282 tail_.build(strs, terminals, progress.tail()); 300 Vector<String> strs; local 301 strs.resize(rkeys.size()); 302 for (UInt32 i = 0; i < strs.size(); ++i) { 303 strs[i] = String(rkeys[i].str().ptr(), rkeys[i].str().length()); 305 tail_.build(strs, terminals, progress.tail()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Strings.java | 342 String[] strs = new String[this.size()]; local 344 for (int i = 0; i != strs.length; i++) 346 strs[i] = this.get(i); 349 return strs; 354 String[] strs = new String[to - from]; local 358 strs[i - from] = this.get(i); 361 return strs;
|
/external/llvm/test/CodeGen/X86/ |
reverse_branches.ll | 18 %strs = alloca [1000 x [1001 x i8]], align 16 33 %arraydecay = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i64 %indvars.iv50, i64 0 35 %add.ptr = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i64 %indvars.iv50, i64 %indvars.iv50 65 %arraydecay24 = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i64 %indvars.iv, i64 0 82 %add.ptr30 = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i64 %indvars.iv, i64 %indvars.iv
|
/frameworks/rs/ |
rsCppUtils.cpp | 42 const char* rsuJoinStrings(int n, const char* const* strs) { 48 tmp.append(strs[i]);
|
/device/generic/goldfish/camera/ |
CallbackNotifier.cpp | 80 const char* strs[lCameraMessagesNum]; local 81 const int translated = GetMessageStrings(msg, strs, lCameraMessagesNum); 83 ALOGV(" %s", strs[n]);
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 247 SmallVector<StringRef, 8> strs; local 248 inputBuf.get()->getBuffer().split(strs, "\n", /*MaxSplit=*/-1, 251 if (strs.empty()) { 255 if (strs.size() % 2 != 0) { 260 for (unsigned i = 0, e = strs.size(); i != e; i += 2) { 261 StringRef inputOrigFname = strs[i]; 262 StringRef inputResultFname = strs[i+1];
|
/external/llvm/test/CodeGen/AArch64/ |
intrinsics-memory-barrier.ll | 19 ; Failure to do so, two STRs will collapse into one STP.
|
/external/llvm/test/CodeGen/ARM/ |
intrinsics-memory-barrier.ll | 14 ; Failure to do so, two STRs will collapse into one STRD.
|
/frameworks/base/media/java/android/media/tv/ |
TvContentRating.java | 834 String[] strs = ratingString.split(DELIMITER); local 835 if (strs.length < 3) { 838 if (strs.length > 3) { 839 String[] subRatings = new String[strs.length - 3]; 840 System.arraycopy(strs, 3, subRatings, 0, subRatings.length); 841 return new TvContentRating(strs[0], strs[1], strs[2], subRatings); 843 return new TvContentRating(strs[0], strs[1], strs[2], null) [all...] |