Home
last modified time | relevance | path

Searched +defs:main +defs:s (Results 1 – 25 of 2272) sorted by relevance

12345678910>>...91

/aosp_15_r20/art/test/712-varhandle-invocations/src/
H A DVarHandleTypeConversionTests.java52 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.VoidReturnTypeTest
98 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.ReferenceReturnTypeTest
132 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullBooleanThrowsNPETest
160 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullByteThrowsNPETest
187 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullCharacterThrowsNPETest
216 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullShortThrowsNPETest
244 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullIntegerThrowsNPETest
273 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullLongThrowsNPETest
302 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullFloatThrowsNPETest
333 public static void main(String[] args) { in main() method in VarHandleTypeConversionTests.BoxedNullDoubleThrowsNPETest
[all …]
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/text/
H A DUnicodeSet.java640 private static void append(Appendable app, CharSequence s) { in append()
652 … private static <T extends Appendable> T _appendToPat(T buf, String s, boolean escapeUnprintable) { in _appendToPat()
1063 private static int matchRest (Replaceable text, int start, int limit, String s) { in matchRest()
1415 public final UnicodeSet add(CharSequence s) { in add()
1430 private void addString(CharSequence s) { in addString()
1445 private static int getSingleCP(CharSequence s) { in getSingleCP()
1463 public final UnicodeSet addAll(CharSequence s) { in addAll()
1480 public final UnicodeSet retainAll(CharSequence s) { in retainAll()
1491 public final UnicodeSet complementAll(CharSequence s) { in complementAll()
1502 public final UnicodeSet removeAll(CharSequence s) { in removeAll()
[all …]
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DUnicodeSet.java621 private static void append(Appendable app, CharSequence s) { in append()
633 … private static <T extends Appendable> T _appendToPat(T buf, String s, boolean escapeUnprintable) { in _appendToPat()
1036 private static int matchRest (Replaceable text, int start, int limit, String s) { in matchRest()
1382 public final UnicodeSet add(CharSequence s) { in add()
1397 private void addString(CharSequence s) { in addString()
1412 private static int getSingleCP(CharSequence s) { in getSingleCP()
1429 public final UnicodeSet addAll(CharSequence s) { in addAll()
1445 public final UnicodeSet retainAll(CharSequence s) { in retainAll()
1455 public final UnicodeSet complementAll(CharSequence s) { in complementAll()
1465 public final UnicodeSet removeAll(CharSequence s) { in removeAll()
[all …]
/aosp_15_r20/external/libcxx/test/std/strings/string.view/string.view.nonmem/
H A Dquoted.pass.cpp39 std::string s; in round_trip() local
52 std::string s; in round_trip_ws() local
63 std::string s; in round_trip_d() local
73 std::string s; in round_trip_e() local
83 std::string s; in quote() local
91 std::string s; in unquote() local
103 std::wstring s; in round_trip() local
117 std::wstring s; in round_trip_ws() local
128 std::wstring s; in round_trip_d() local
138 std::wstring s; in round_trip_e() local
[all …]
/aosp_15_r20/external/libcxx/test/std/input.output/iostream.format/quoted.manip/
H A Dquoted.pass.cpp46 std::basic_string<CharT, Traits> s; in round_trip() local
60 std::basic_string<CharT, Traits> s; in round_trip_ws() local
72 std::basic_string<CharT, Traits> s; in round_trip_d() local
83 std::basic_string<CharT, Traits> s; in round_trip_e() local
95 std::basic_string<CharT, Traits> s; in quote() local
107 std::basic_string<CharT, Traits> s; in unquote() local
127 int main() in main() function
180 int main() {} in main() function
/aosp_15_r20/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
H A DSequentialSemaphoreBenchmark.kt16 val s = Semaphore(1) constant in benchmarks.SequentialSemaphoreAsMutexBenchmark
20 val s = Semaphore(permits = 1, acquiredPermits = 1) in <lambda>() constant
37 fun main() = SequentialSemaphoreAsMutexBenchmark().benchmark() method
/aosp_15_r20/prebuilts/go/linux-x86/test/ken/
Dsimpbool.go9 package main package
11 type s struct { struct
12 a bool;
13 b bool;
17 main() { func
/aosp_15_r20/external/icing/icing/text_classifier/lib3/utils/hash/
H A Dfarmhash.cc281 STATIC_INLINE __m128i Load128(const char* s) { in Load128()
378 STATIC_INLINE uint64_t HashLen0to16(const char *s, size_t len) { in HashLen0to16()
405 STATIC_INLINE uint64_t HashLen17to32(const char *s, size_t len) { in HashLen17to32()
430 const char* s, uint64_t a, uint64_t b) { in WeakHashLen32WithSeeds()
440 STATIC_INLINE uint64_t HashLen33to64(const char *s, size_t len) { in HashLen33to64()
456 uint64_t Hash64(const char *s, size_t len) { in Hash64()
513 uint64_t Hash64WithSeed(const char *s, size_t len, uint64_t seed) { in Hash64WithSeed()
517 uint64_t Hash64WithSeeds(const char *s, size_t len, uint64_t seed0, uint64_t seed1) { in Hash64WithSeeds()
531 STATIC_INLINE uint32_t Hash32Len13to24(const char *s, size_t len, uint32_t seed = 0) { in Hash32Len13to24()
548 STATIC_INLINE uint32_t Hash32Len0to4(const char *s, size_t len, uint32_t seed = 0) { in Hash32Len0to4()
[all …]
/aosp_15_r20/external/libtextclassifier/native/utils/hash/
H A Dfarmhash.cc283 STATIC_INLINE __m128i Load128(const char* s) { in Load128()
380 STATIC_INLINE uint64_t HashLen0to16(const char *s, size_t len) { in HashLen0to16()
407 STATIC_INLINE uint64_t HashLen17to32(const char *s, size_t len) { in HashLen17to32()
432 const char* s, uint64_t a, uint64_t b) { in WeakHashLen32WithSeeds()
442 STATIC_INLINE uint64_t HashLen33to64(const char *s, size_t len) { in HashLen33to64()
458 uint64_t Hash64(const char *s, size_t len) { in Hash64()
515 uint64_t Hash64WithSeed(const char *s, size_t len, uint64_t seed) { in Hash64WithSeed()
519 uint64_t Hash64WithSeeds(const char *s, size_t len, uint64_t seed0, uint64_t seed1) { in Hash64WithSeeds()
533 STATIC_INLINE uint32_t Hash32Len13to24(const char *s, size_t len, uint32_t seed = 0) { in Hash32Len13to24()
550 STATIC_INLINE uint32_t Hash32Len0to4(const char *s, size_t len, uint32_t seed = 0) { in Hash32Len0to4()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/strings/string.conversions/
H A Dto_wstring.pass.cpp33 std::wstring s = std::to_wstring(T(0)); in test_signed() local
39 std::wstring s = std::to_wstring(T(12345)); in test_signed() local
45 std::wstring s = std::to_wstring(T(-12345)); in test_signed() local
51 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_signed() local
57 std::wstring s = std::to_wstring(std::numeric_limits<T>::min()); in test_signed() local
66 std::wstring s = std::to_wstring(T(0)); in test_unsigned() local
72 std::wstring s = std::to_wstring(T(12345)); in test_unsigned() local
78 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_unsigned() local
88 std::wstring s = std::to_wstring(T(0)); in test_float() local
94 std::wstring s = std::to_wstring(T(12345)); in test_float() local
[all …]
H A Dto_string.pass.cpp31 std::string s = std::to_string(T(0)); in test_signed() local
37 std::string s = std::to_string(T(12345)); in test_signed() local
43 std::string s = std::to_string(T(-12345)); in test_signed() local
49 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_signed() local
55 std::string s = std::to_string(std::numeric_limits<T>::min()); in test_signed() local
64 std::string s = std::to_string(T(0)); in test_unsigned() local
70 std::string s = std::to_string(T(12345)); in test_unsigned() local
76 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_unsigned() local
86 std::string s = std::to_string(T(0)); in test_float() local
92 std::string s = std::to_string(T(12345)); in test_float() local
[all …]
/aosp_15_r20/external/libcxx/test/std/strings/string.conversions/
H A Dto_wstring.pass.cpp32 std::wstring s = std::to_wstring(T(0)); in test_signed() local
38 std::wstring s = std::to_wstring(T(12345)); in test_signed() local
44 std::wstring s = std::to_wstring(T(-12345)); in test_signed() local
50 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_signed() local
58 std::wstring s = std::to_wstring(std::numeric_limits<T>::min()); in test_signed() local
71 std::wstring s = std::to_wstring(T(0)); in test_unsigned() local
77 std::wstring s = std::to_wstring(T(12345)); in test_unsigned() local
83 std::wstring s = std::to_wstring(std::numeric_limits<T>::max()); in test_unsigned() local
97 std::wstring s = std::to_wstring(T(0)); in test_float() local
103 std::wstring s = std::to_wstring(T(12345)); in test_float() local
[all …]
H A Dto_string.pass.cpp32 std::string s = std::to_string(T(0)); in test_signed() local
38 std::string s = std::to_string(T(12345)); in test_signed() local
44 std::string s = std::to_string(T(-12345)); in test_signed() local
50 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_signed() local
58 std::string s = std::to_string(std::numeric_limits<T>::min()); in test_signed() local
71 std::string s = std::to_string(T(0)); in test_unsigned() local
77 std::string s = std::to_string(T(12345)); in test_unsigned() local
83 std::string s = std::to_string(std::numeric_limits<T>::max()); in test_unsigned() local
97 std::string s = std::to_string(T(0)); in test_float() local
103 std::string s = std::to_string(T(12345)); in test_float() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/template.bitset/bitset.members/
H A Dto_string.pass.cpp34 TEST_CONSTEXPR_CXX23 void check_equal(std::basic_string<CharT> const& s, std::bitset<N> const& b, C… in check_equal()
51 std::string s = v.template to_string<char>(); in test_to_string() local
55 std::string s = v.to_string(); in test_to_string() local
59 std::string s = v.template to_string<char>('0'); in test_to_string() local
63 std::string s = v.to_string('0'); in test_to_string() local
67 std::string s = v.template to_string<char>('0', '1'); in test_to_string() local
71 std::string s = v.to_string('0', '1'); in test_to_string() local
75 std::string s = v.to_string('x', 'y'); in test_to_string() local
89 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string_wchar() local
93 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >(); in test_to_string_wchar() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/unord/unord.set/unord.set.cnstr/
H A Ddeduct.fail.cpp53 int main(int, char**) in main() function
57 std::unordered_set s; in main() local
62 std::unordered_set s(42); in main() local
67 std::unordered_set s(42, std::hash<int>()); in main() local
72 std::unordered_set s(42, std::hash<int>(), std::equal_to<>()); in main() local
77 std::unordered_set s(42, std::hash<int>(), std::equal_to<>(), std::allocator<int>()); in main() local
87 std::unordered_set s(42, std::allocator<int>()); in main() local
92 std::unordered_set s(42, std::hash<short>(), std::allocator<int>()); in main() local
H A Ddeduct.verify.cpp53 int main(int, char**) in main() function
57 std::unordered_set s; in main() local
62 std::unordered_set s(42); in main() local
67 std::unordered_set s(42, std::hash<int>()); in main() local
72 std::unordered_set s(42, std::hash<int>(), std::equal_to<>()); in main() local
77 std::unordered_set s(42, std::hash<int>(), std::equal_to<>(), std::allocator<int>()); in main() local
87 std::unordered_set s(42, std::allocator<int>()); in main() local
92 std::unordered_set s(42, std::hash<short>(), std::allocator<int>()); in main() local
H A Ddeduct.pass.cpp84 int main(int, char**) in main() function
90 std::unordered_set s(std::begin(arr), std::end(arr)); in main() local
98 std::unordered_set s(std::begin(arr), std::end(arr), 42); in main() local
106 std::unordered_set s(std::begin(arr), std::end(arr), 42, std::hash<long long>()); in main() local
114 …std::unordered_set s(std::begin(arr), std::end(arr), 42, std::hash<long long>(), test_allocator<in… in main() local
123 std::unordered_set s(source); in main() local
130 std::unordered_set s{source}; // braces instead of parens in main() local
145 std::unordered_set s{source, test_allocator<int>(0, 42)}; // braces instead of parens in main() local
152 std::unordered_set s{ 1, 2, 1, INT_MAX, 3 }; in main() local
159 std::unordered_set s({ 1, 2, 1, INT_MAX, 3 }, 42); in main() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
H A Ddeduct.fail.cpp53 int main(int, char**) in main() function
57 std::unordered_multiset s; in main() local
62 std::unordered_multiset s(42); in main() local
67 std::unordered_multiset s(42, std::hash<int>()); in main() local
72 std::unordered_multiset s(42, std::hash<int>(), std::equal_to<>()); in main() local
77 std::unordered_multiset s(42, std::hash<int>(), std::equal_to<>(), std::allocator<int>()); in main() local
87 std::unordered_multiset s(42, std::allocator<int>()); in main() local
92 std::unordered_multiset s(42, std::hash<short>(), std::allocator<int>()); in main() local
H A Ddeduct.verify.cpp53 int main(int, char**) in main() function
57 std::unordered_multiset s; in main() local
62 std::unordered_multiset s(42); in main() local
67 std::unordered_multiset s(42, std::hash<int>()); in main() local
72 std::unordered_multiset s(42, std::hash<int>(), std::equal_to<>()); in main() local
77 std::unordered_multiset s(42, std::hash<int>(), std::equal_to<>(), std::allocator<int>()); in main() local
87 std::unordered_multiset s(42, std::allocator<int>()); in main() local
92 std::unordered_multiset s(42, std::hash<short>(), std::allocator<int>()); in main() local
H A Ddeduct.pass.cpp84 int main(int, char**) in main() function
90 std::unordered_multiset s(std::begin(arr), std::end(arr)); in main() local
98 std::unordered_multiset s(std::begin(arr), std::end(arr), 42); in main() local
106 std::unordered_multiset s(std::begin(arr), std::end(arr), 42, std::hash<long long>()); in main() local
114 …std::unordered_multiset s(std::begin(arr), std::end(arr), 42, std::hash<long long>(), test_allocat… in main() local
123 std::unordered_multiset s(source); in main() local
130 std::unordered_multiset s{source}; // braces instead of parens in main() local
145 std::unordered_multiset s{source, test_allocator<int>(0, 42)}; // braces instead of parens in main() local
152 std::unordered_multiset s{ 1, 2, 1, INT_MAX, 3 }; in main() local
159 std::unordered_multiset s({ 1, 2, 1, INT_MAX, 3 }, 42); in main() local
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/layout_stride/
H A Dctor.extents_span.pass.cpp38 constexpr void test_construction(E e, S s) { in test_construction()
72 std::array<int, 0> s{}; in test() local
76 std::array<int, 1> s{1}; in test() local
80 std::array<int, 1> s{1}; in test() local
84 std::array<int, 1> s{2}; in test() local
88 std::array<IntType, 1> s{1}; in test() local
92 std::array<int, 2> s{3, 30}; in test() local
96 std::array<int, 4> s{20, 2, 200, 2000}; in test() local
100 std::array<int, 4> s{20, 2, 200, 2000}; in test() local
106 std::array<int, 4> s{200, 20, 20, 2000}; in test() local
[all …]
H A Dctor.extents_array.pass.cpp38 constexpr void test_construction(E e, S s) { in test_construction()
72 std::array<int, 0> s{}; in test() local
76 std::array<int, 1> s{1}; in test() local
80 std::array<int, 1> s{1}; in test() local
84 std::array<int, 1> s{2}; in test() local
88 std::array<IntType, 1> s{1}; in test() local
92 std::array<int, 2> s{3, 30}; in test() local
96 std::array<int, 4> s{20, 2, 200, 2000}; in test() local
102 std::array<int, 4> s{200, 20, 20, 2000}; in test() local
134 int main(int, char**) { in main() function
/aosp_15_r20/external/libcxx/test/std/utilities/template.bitset/bitset.members/
H A Dto_string.pass.cpp53 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string() local
61 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >(); in test_to_string() local
69 std::string s = v.template to_string<char>(); in test_to_string() local
77 std::string s = v.to_string(); in test_to_string() local
88 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string() local
96 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >('0'); in test_to_string() local
104 std::string s = v.template to_string<char>('0'); in test_to_string() local
112 std::string s = v.to_string('0'); in test_to_string() local
123 …std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> … in test_to_string() local
131 std::wstring s = v.template to_string<wchar_t, std::char_traits<wchar_t> >('0', '1'); in test_to_string() local
[all …]
/aosp_15_r20/external/libcxx/test/std/strings/basic.string/string.capacity/
H A Dreserve.pass.cpp25 test(S s) in test()
38 test(S s, typename S::size_type res_arg) in test()
69 int main() in main() function
74 S s; in main() local
86 S s; in main() local
92 S s(100, 'a'); in main() local
106 S s; in main() local
118 S s; in main() local
124 S s(100, 'a'); in main() local
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/test/
H A Dtestlockperf.c30 int main(void) in main() function
85 apr_status_t s[MAX_THREADS]; in test_thread_mutex() local
133 apr_status_t s[MAX_THREADS]; in test_thread_mutex_nested() local
181 apr_status_t s[MAX_THREADS]; in test_thread_rwlock() local
226 int main(int argc, const char * const *argv) in main() function

12345678910>>...91