Home
last modified time | relevance | path

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

12

/external/autotest/server/site_tests/bluetooth_Sanity_DefaultState/
Dbluetooth_Sanity_DefaultState.py19 strs = []
21 strs.append("POWERED")
23 strs.append("CONNECTABLE")
25 strs.append("FAST-CONNECTABLE")
27 strs.append("DISCOVERABLE")
29 strs.append("PAIRABLE")
31 strs.append("LINK-SECURITY")
33 strs.append("SSP")
35 strs.append("BR/EDR")
37 strs.append("HS")
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ddbgutil.cpp25 static UnicodeString **strs = NULL; variable
38 if(strs != NULL) { in udbg_cleanup()
40 delete [] strs[t]; in udbg_cleanup()
42 delete[] strs; in udbg_cleanup()
43 strs = NULL; in udbg_cleanup()
59 if(strs == NULL) { in udbg_setup()
73 strs = newStrs; in udbg_setup()
80 if(strs == NULL ) { in udbg_enumString()
87 return strs[UDBG_ENUM_COUNT][0]; in udbg_enumString()
93 return strs[type][count]; in udbg_enumString()
[all …]
/external/jemalloc/test/unit/
Dckh.c24 const char *strs[] = { in TEST_BEGIN() local
42 for (i = 0; i < sizeof(strs)/sizeof(const char *); i++) { in TEST_BEGIN()
43 ckh_insert(tsd, &ckh, strs[i], strs[i]); in TEST_BEGIN()
50 for (i = 0; i < sizeof(strs)/sizeof(const char *); i++) { in TEST_BEGIN()
62 assert_false(ckh_search(&ckh, strs[i], kp, vp), in TEST_BEGIN()
65 ks = (i & 1) ? strs[i] : (const char *)NULL; in TEST_BEGIN()
66 vs = (i & 2) ? strs[i] : (const char *)NULL; in TEST_BEGIN()
76 for (i = 0; i < sizeof(strs)/sizeof(const char *); i++) { in TEST_BEGIN()
88 assert_false(ckh_remove(tsd, &ckh, strs[i], kp, vp), in TEST_BEGIN()
91 ks = (i & 1) ? strs[i] : (const char *)NULL; in TEST_BEGIN()
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc65 WTF::Vector<WTF::String> strs(4); in ConstructStringArray() local
68 strs[1] = ""; in ConstructStringArray()
69 strs[2] = kHelloWorld; in ConstructStringArray()
70 strs[3] = WTF::String::fromUTF8(kUTF8HelloWorld); in ConstructStringArray()
72 return strs; in ConstructStringArray()
110 WTFArray<WTF::String> strs = ConstructStringArray(); in TEST_F() local
111 auto cloned_strs = strs.Clone(); in TEST_F()
127 EXPECT_TRUE(strs.Equals(strs2)); in TEST_F()
131 WTF::Vector<WTF::String> strs = ConstructStringArray(); in TEST_F() local
132 auto cloned_strs = strs; in TEST_F()
[all …]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dcloud_storage_unittest.py67 strs = ['You are attempting to access protected data with no configured',
69 self._AssertRunCommandRaisesError(strs, cloud_storage.CredentialsError)
72 strs = ['status=403', 'status 403', '403 Forbidden']
73 self._AssertRunCommandRaisesError(strs, cloud_storage.PermissionError)
76 strs = ['InvalidUriError', 'No such object', 'No URLs matched',
78 self._AssertRunCommandRaisesError(strs, cloud_storage.NotFoundError)
81 strs = ['500 Internal Server Error']
82 self._AssertRunCommandRaisesError(strs, cloud_storage.ServerError)
85 strs = ['Random string']
86 self._AssertRunCommandRaisesError(strs, cloud_storage.CloudStorageError)
/external/compiler-rt/test/asan/TestCases/Darwin/
Dcrashlog-stacktraces.c19 char** strs = backtrace_symbols(callstack, frames); in death_function() local
21 fprintf(stderr, "%s\n", strs[i]); in death_function()
23 free(strs); in death_function()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java382 String[] strs = new String[this.size()]; in toStringArray() local
384 for (int i = 0; i != strs.length; i++) in toStringArray()
386 strs[i] = this.get(i); in toStringArray()
389 return strs; in toStringArray()
394 String[] strs = new String[to - from]; in toStringArray() local
398 strs[i - from] = this.get(i); in toStringArray()
401 return strs; in toStringArray()
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/
DMultibindingProducerModule.java50 static Set<String> strs() { in strs() method in MultibindingProducerModule
55 static int strCount(Set<String> strs) { in strCount() argument
56 return strs.size(); in strCount()
DMultibindingComponent.java26 ListenableFuture<Set<String>> strs(); in strs() method
/external/clang/tools/arcmt-test/
Darcmt-test.cpp250 SmallVector<StringRef, 8> strs; in verifyTransformedFiles() local
251 inputBuf.get()->getBuffer().split(strs, "\n", /*MaxSplit=*/-1, in verifyTransformedFiles()
254 if (strs.empty()) { in verifyTransformedFiles()
258 if (strs.size() % 2 != 0) { in verifyTransformedFiles()
263 for (unsigned i = 0, e = strs.size(); i != e; i += 2) { in verifyTransformedFiles()
264 StringRef inputOrigFname = strs[i]; in verifyTransformedFiles()
265 StringRef inputResultFname = strs[i+1]; in verifyTransformedFiles()
/external/clang/test/CodeGenCXX/
Dnoinline-template.cpp14 Vector<int> strs; in foo() local
15 strs.growStorageBy(); in foo()
/external/ltp/testscripts/build/
Ddefault_runtest_set.awk37 split ($0,strs," ")
38 for (str in strs) {
/external/llvm/test/CodeGen/X86/
Dreverse_branches.ll18 %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…
35 …%add.ptr = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i64 %i…
65 …%arraydecay24 = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i…
82 …%add.ptr30 = getelementptr inbounds [1000 x [1001 x i8]], [1000 x [1001 x i8]]* %strs, i64 0, i64 …
/external/libmojo/mojo/public/interfaces/bindings/tests/
Dtest_wtf_types.mojom10 array<string> strs;
23 array<string> strs;
/external/icu/icu4c/source/common/
Dfilteredbrk.cpp518 LocalUResourceBundlePointer strs; in SimpleFilteredBreakIteratorBuilder() local
521 strs.adoptInstead(ures_getNextResource(breaks.getAlias(), strs.orphan(), &subStatus)); in SimpleFilteredBreakIteratorBuilder()
522 if(strs.isValid() && U_SUCCESS(subStatus)) { in SimpleFilteredBreakIteratorBuilder()
523 UnicodeString str(ures_getUnicodeString(strs.getAlias(), &status)); in SimpleFilteredBreakIteratorBuilder()
526 } while (strs.isValid() && U_SUCCESS(subStatus)); in SimpleFilteredBreakIteratorBuilder()
Duloc.cpp2384 LocalMemory<const char*> strs(NULL); in uloc_acceptLanguageFromHTTP() local
2385 if (strs.allocateInsteadAndReset(n) == NULL) { in uloc_acceptLanguageFromHTTP()
2393 strs[i]=items[i].locale; in uloc_acceptLanguageFromHTTP()
2396 strs.getAlias(), n, availableLocales, status); in uloc_acceptLanguageFromHTTP()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java462 String strs[] = new String[array.length]; in checkArray() local
464 strs[i] = array[i].toString(); in checkArray()
466 return checkArray(msg, strs, expected); in checkArray()
482 String strs[] = new String[array.length]; in checkArray() local
484 strs[i] = array[i].toString(); in checkArray()
486 return checkArray(msg, strs, expected); in checkArray()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestFmwk.java463 String strs[] = new String[array.length]; in checkArray() local
465 strs[i] = array[i].toString(); in checkArray()
467 return checkArray(msg, strs, expected); in checkArray()
483 String strs[] = new String[array.length]; in checkArray() local
485 strs[i] = array[i].toString(); in checkArray()
487 return checkArray(msg, strs, expected); in checkArray()
/external/clang/test/CodeGen/
Dstaticinit.c14 static char* strs[] = { "one", "two", "three", "four" }; in f() local
/external/owasp/sanitizer/empiricism/
Dhtml-containment.js386 function makeSet(strs) { argument
388 for (var i = 0, n = strs.length; i < n; ++i) {
389 s[strs[i]] = s;
/external/protobuf/objectivec/Tests/
DGPBCodedInputStreamTests.m302 const char* strs[] = {
309 for (size_t i = 0; i < GPBARRAYSIZE(strs); ++i) {
317 size_t length = strlen(strs[i]);
319 [output writeRawData:[NSData dataWithBytes:strs[i] length:length]];
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
DMultibindingTest.java36 assertThat(multibindingComponent.strs().get()) in setBinding()
/external/elfutils/libcpu/
Di386_parse.y894 static void *strs[3]; variable
929 if (tfind (&search, &strs[i], compare_argstring) == NULL) in find_numbers()
934 if (tsearch (newp, &strs[i], compare_argstring) == NULL) in find_numbers()
1182 twalk (strs[i], print_op_str); in instrtable_out()
1187 twalk (strs[i], print_op_str_idx); in instrtable_out()
1224 struct argstring **res = tfind (&search, &strs[i], in instrtable_out()
/external/valgrind/coregrind/m_debuginfo/
Dreadmacho.c904 DiCursor strs = DiCursor_INVALID; in ML_() local
921 strs = ML_(cur_plus)(ML_(cur_from_sli)(msli), symcmd.stroff); in ML_()
941 dysymcmd.nextdefsym, strs, symcmd.strsize); in ML_()
947 dysymcmd.nlocalsym, strs, symcmd.strsize); in ML_()
/external/testng/src/main/java/org/testng/
DTestNG.java1470 String[] strs = Utils.split(cla.listener, sep); in configure() local
1473 for (String cls : strs) { in configure()
1481 String[] strs = Utils.split(cla.methodSelectors, ","); in configure() local
1482 for (String cls : strs) { in configure()

12