Home
last modified time | relevance | path

Searched +full:set +full:- +full:array (Results 1 – 25 of 1286) sorted by relevance

12345678910>>...52

/aosp_15_r20/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
H A DCharSetTest.java10 * http://www.apache.org/licenses/LICENSE-2.0
47 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("a-zA-Z")); in testGetInstance()
48 assertSame(CharSet.ASCII_ALPHA, CharSet.getInstance("A-Za-z")); in testGetInstance()
49 assertSame(CharSet.ASCII_ALPHA_LOWER, CharSet.getInstance("a-z")); in testGetInstance()
50 assertSame(CharSet.ASCII_ALPHA_UPPER, CharSet.getInstance("A-Z")); in testGetInstance()
51 assertSame(CharSet.ASCII_NUMERIC, CharSet.getInstance("0-9")); in testGetInstance()
59 assertEquals("[a-e]", CharSet.getInstance(new String[] {"a-e"}).toString()); in testGetInstance_Stringarray()
64 CharSet set; in testConstructor_String_simple() local
65 CharRange[] array; in testConstructor_String_simple() local
67 set = CharSet.getInstance((String) null); in testConstructor_String_simple()
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/common/
H A Duset.cpp6 * Copyright (C) 2002-2011, International Business Machines
11 * encoding: UTF-8
18 * There are functions to efficiently serialize a USet into an array of uint16_t
44 uset_close(USet* set) { in uset_close() argument
45 delete (UnicodeSet*) set; in uset_close()
49 uset_clone(const USet *set) { in uset_clone() argument
50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone()
54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument
55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen()
59 uset_freeze(USet *set) { in uset_freeze() argument
[all …]
/aosp_15_r20/external/icu/icu4c/source/common/
H A Duset.cpp6 * Copyright (C) 2002-2011, International Business Machines
11 * encoding: UTF-8
18 * There are functions to efficiently serialize a USet into an array of uint16_t
44 uset_close(USet* set) { in uset_close() argument
45 delete (UnicodeSet*) set; in uset_close()
49 uset_clone(const USet *set) { in uset_clone() argument
50 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone()
54 uset_isFrozen(const USet *set) { in uset_isFrozen() argument
55 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen()
59 uset_freeze(USet *set) { in uset_freeze() argument
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
H A DVarHandleTestAccessChar.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccessChar
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccessChar
31 * @run testng/othervm -Diters=20000 VarHandleTestAccessChar
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccessChar
92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider()
98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
156 checkIAE("Lookup of static final field to instance final field", () -> { in testLookupInstanceToStatic()
161 checkIAE("Lookup of static field to instance field", () -> { in testLookupInstanceToStatic()
[all …]
H A DVarHandleTestAccessLong.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccessLong
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccessLong
31 * @run testng/othervm -Diters=20000 VarHandleTestAccessLong
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccessLong
92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider()
98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
156 checkIAE("Lookup of static final field to instance final field", () -> { in testLookupInstanceToStatic()
161 checkIAE("Lookup of static field to instance field", () -> { in testLookupInstanceToStatic()
[all …]
H A DVarHandleTestAccessInt.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccessInt
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccessInt
31 * @run testng/othervm -Diters=20000 VarHandleTestAccessInt
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccessInt
92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider()
98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
156 checkIAE("Lookup of static final field to instance final field", () -> { in testLookupInstanceToStatic()
161 checkIAE("Lookup of static field to instance field", () -> { in testLookupInstanceToStatic()
[all …]
H A DVarHandleTestAccessBoolean.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccessBoolean
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccessBoolean
31 * @run testng/othervm -Diters=20000 VarHandleTestAccessBoolean
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccessBoolean
92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider()
98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
156 checkIAE("Lookup of static final field to instance final field", () -> { in testLookupInstanceToStatic()
161 checkIAE("Lookup of static field to instance field", () -> { in testLookupInstanceToStatic()
[all …]
H A DVarHandleTestByteArrayAsInt.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsInt
31 * @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsInt
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsInt
85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
[all …]
H A DVarHandleTestByteArrayAsLong.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAsLong
31 * @run testng/othervm -Diters=20000 VarHandleTestByteArrayAsLong
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAsLong
85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
142 "read write", bav, vh, h -> testArrayReadWrite(bas, h), in accessTestCaseProvider()
145 "null array", bav, vh, h -> testArrayNPE(bas, h), in accessTestCaseProvider()
148 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h), in accessTestCaseProvider()
151 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h), in accessTestCaseProvider()
[all …]
H A DVarHandleTestAccessShort.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccessShort
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccessShort
31 * @run testng/othervm -Diters=20000 VarHandleTestAccessShort
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccessShort
92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider()
98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
156 checkIAE("Lookup of static final field to instance final field", () -> { in testLookupInstanceToStatic()
161 checkIAE("Lookup of static field to instance field", () -> { in testLookupInstanceToStatic()
[all …]
H A DVarHandleTestAccessByte.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccessByte
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccessByte
31 * @run testng/othervm -Diters=20000 VarHandleTestAccessByte
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccessByte
92 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new); in varHandlesProvider()
98 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET)); in testIsAccessModeSupported()
156 checkIAE("Lookup of static final field to instance final field", () -> { in testLookupInstanceToStatic()
161 checkIAE("Lookup of static field to instance field", () -> { in testLookupInstanceToStatic()
[all …]
H A DVarHandleTestMethodHandleAccessInt.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=20000 VarHandleTestMethodHandleAccessInt
87 … vhField, f, hs -> testInstanceField(this, hs))); in accessTestCaseProvider()
89 … vhField, f, hs -> testInstanceFieldUnsupported(this, hs), in accessTestCaseProvider()
98 cases.add(new MethodHandleAccessTestCase("Array", in accessTestCaseProvider()
100 cases.add(new MethodHandleAccessTestCase("Array unsupported", in accessTestCaseProvider()
103 cases.add(new MethodHandleAccessTestCase("Array index out of bounds", in accessTestCaseProvider()
111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
127 hs.get(TestAccessMode.SET).invokeExact(recv, 0x01234567); in testInstanceField()
[all …]
H A DVarHandleTestMethodHandleAccessChar.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=20000 VarHandleTestMethodHandleAccessChar
87 … vhField, f, hs -> testInstanceField(this, hs))); in accessTestCaseProvider()
89 … vhField, f, hs -> testInstanceFieldUnsupported(this, hs), in accessTestCaseProvider()
98 cases.add(new MethodHandleAccessTestCase("Array", in accessTestCaseProvider()
100 cases.add(new MethodHandleAccessTestCase("Array unsupported", in accessTestCaseProvider()
103 cases.add(new MethodHandleAccessTestCase("Array index out of bounds", in accessTestCaseProvider()
111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
127 hs.get(TestAccessMode.SET).invokeExact(recv, '\u0123'); in testInstanceField()
[all …]
H A DVarHandleTestMethodHandleAccessLong.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=20000 VarHandleTestMethodHandleAccessLong
87 … vhField, f, hs -> testInstanceField(this, hs))); in accessTestCaseProvider()
89 … vhField, f, hs -> testInstanceFieldUnsupported(this, hs), in accessTestCaseProvider()
98 cases.add(new MethodHandleAccessTestCase("Array", in accessTestCaseProvider()
100 cases.add(new MethodHandleAccessTestCase("Array unsupported", in accessTestCaseProvider()
103 cases.add(new MethodHandleAccessTestCase("Array index out of bounds", in accessTestCaseProvider()
111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
127 hs.get(TestAccessMode.SET).invokeExact(recv, 0x0123456789ABCDEFL); in testInstanceField()
[all …]
H A DX-VarHandleTestAccess.java.template17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=10 -Xint VarHandleTestAccess$Type$
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestAccess$Type$
31 * @run testng/othervm -Diters=20000 VarHandleTestAccess$Type$
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestAccess$Type$
98 return vhs.stream().map(tc -> new Object[]{tc}).toArray(Object[][]::new);
104 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET));
194 checkIAE("Lookup of static final field to instance final field", () -> {
199 checkIAE("Lookup of static field to instance field", () -> {
[all …]
H A DVarHandleTestMethodHandleAccessBoolean.java17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
29 * @run testng/othervm -Diters=20000 VarHandleTestMethodHandleAccessBoolean
87 … vhField, f, hs -> testInstanceField(this, hs))); in accessTestCaseProvider()
89 … vhField, f, hs -> testInstanceFieldUnsupported(this, hs), in accessTestCaseProvider()
98 cases.add(new MethodHandleAccessTestCase("Array", in accessTestCaseProvider()
100 cases.add(new MethodHandleAccessTestCase("Array unsupported", in accessTestCaseProvider()
103 cases.add(new MethodHandleAccessTestCase("Array index out of bounds", in accessTestCaseProvider()
111 return cases.stream().map(tc -> new Object[]{tc.toString(), tc}).toArray(Object[][]::new); in accessTestCaseProvider()
127 hs.get(TestAccessMode.SET).invokeExact(recv, true); in testInstanceField()
[all …]
H A DX-VarHandleTestByteArrayView.java.template17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 // Android-added: package for test.
30 * @run testng/othervm -Diters=20000 -XX:TieredStopAtLevel=1 VarHandleTestByteArrayAs$Type$
31 * @run testng/othervm -Diters=20000 VarHandleTestByteArrayAs$Type$
32 * @run testng/othervm -Diters=20000 -XX:-TieredCompilation VarHandleTestByteArrayAs$Type$
85 assertTrue(vh.isAccessModeSupported(VarHandle.AccessMode.SET));
174 "read write", bav, vh, h -> testArrayReadWrite(bas, h),
177 "null array", bav, vh, h -> testArrayNPE(bas, h),
180 "unsupported", bav, vh, h -> testArrayUnsupported(bas, h),
183 … "index out of bounds", bav, vh, h -> testArrayIndexOutOfBounds(bas, h),
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/0b/
D0b8b0c81d5cf44127d10d49443d72650e503802d3 from: "out/host/linux-x86/bin/lint"
7 from: "out/host/linux-x86/bin/lint_project_xml"
11 from: "out/host/linux-x86/bin/soong_zip"
15 from: "out/host/linux-x86/bin/zipsync"
19 from: "out/host/linux-x86/framework/lint.jar"
23 from: "art/test/1953-pop-frame/src/art/SuspendEvents.java"
24 to: "art/test/1953-pop-frame/src/art/SuspendEvents.java"
27 from: "art/test/1953-pop-frame/src/art/Test1953.java"
28 to: "art/test/1953-pop-frame/src/art/Test1953.java"
31 from: "art/test/988-method-trace/src/art/Test988.java"
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/4f/
D4fe687355b222d7b0ddb7a0cf6150e39c6e6d9993 from: "out/host/linux-x86/bin/lint"
7 from: "out/host/linux-x86/bin/lint_project_xml"
11 from: "out/host/linux-x86/bin/soong_zip"
15 from: "out/host/linux-x86/bin/zipsync"
19 from: "out/host/linux-x86/framework/lint.jar"
23 from: "art/test/1953-pop-frame/src/art/SuspendEvents.java"
24 to: "art/test/1953-pop-frame/src/art/SuspendEvents.java"
27 from: "art/test/1953-pop-frame/src/art/Test1953.java"
28 to: "art/test/1953-pop-frame/src/art/Test1953.java"
31 from: "art/test/988-method-trace/src/art/Test988.java"
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/res/values/
H A Dtiles_states_strings.xml1 <!--
8 ~ http://www.apache.org/licenses/LICENSE-2.0
15 -->
17 <!-- This resources set the default subtitle for tiles. This way, each tile can be translated
19 The indices in the array correspond to the state values in QSTile:
23 This subtitle is shown when the tile is in that particular state but does not set its own
26 -->
28 <!-- Default names for tiles states: unavailable, off, on.
29 This subtitle is shown when the tile is in that particular state but does not set its own
31 if they could appear. [CHAR LIMIT=32] -->
[all …]
/aosp_15_r20/external/fhir/spec/r4/json_definitions/
Dfhir.schema.json2 "$schema": "http://json-schema.org/draft-06/schema#",
3 "id": "http://hl7.org/fhir/json-schema/4.0",
1059 …"pattern": "^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-
1064-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01…
1066-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a tim…
1069 "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?([eE][+-]?[0-9]+)?$",
1074 "pattern": "^[A-Za-z0-9\\-\\.]{1,64}$",
1076-\" and \".\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID…
1079-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])T([01][0
1081 "description": "An instant in time - known at least to the second"
[all …]
/aosp_15_r20/frameworks/base/core/java/android/util/
H A DArraySet.java8 * http://www.apache.org/licenses/LICENSE-2.0
23 import java.lang.reflect.Array;
29 import java.util.Set;
34 * ArraySet is a generic set data structure that is designed to be more memory efficient than a
37 * separate from ArrayMap, however, so the Object array contains only one item for each
38 * entry in the set (instead of a pair for a mapping).
43 * and deleting entries in the array. For containers holding up to hundreds of items,
47 * standard Java containers it will shrink its array as items are removed from it. Currently
48 * you have no control over this shrinking -- if you set a capacity and then remove an
50 * explicit call to set the capacity should turn off this aggressive shrinking behavior.</p>
[all …]
/aosp_15_r20/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java8 * http://www.apache.org/licenses/LICENSE-2.0
28 import java.util.Set;
59 -1, 1900, 600, 200, 1200, 1500, 1800, 100, 1900,
61 600, -1, 1900, 600, 300, 2100, 200, 800, 800,
79 0, -1, 100,
81 -1, 100, 0,
121 private static boolean compareMaps(HashMap map, ArrayMap array) { in compareMaps() argument
122 if (map.size() != array.size()) { in compareMaps()
123 Log.e("test", "Bad size: expected " + map.size() + ", got " + array.size()); in compareMaps()
127 Set<Map.Entry> mapSet = map.entrySet(); in compareMaps()
[all …]
/aosp_15_r20/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.shift.per-set.frag.out1 hlsl.shift.per-set.frag
5 0:34 Function Definition: @main( ( temp 4-component vector of float)
8 0:35 't1' (layout( set=1 binding=1) uniform texture1D)
9 0:36 't2' (layout( set=1 binding=2) uniform texture2D)
10 0:37 't3' (layout( set=2 binding=1) uniform texture3D)
11 0:38 direct index (layout( row_major std430) buffer 4-component vector of float)
12 …ct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component ve…
13 … 't4' (layout( set=3 binding=1 row_major std430) readonly buffer block{layout( row_major std430)…
19 …data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
20 … 't5' (layout( set=3 binding=2 row_major std430) readonly buffer block{layout( row_major std4…
[all …]
/aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/
H A Dhlsl.shift.per-set.frag.out1 hlsl.shift.per-set.frag
5 0:34 Function Definition: @main( ( temp 4-component vector of float)
8 0:35 't1' (layout( set=1 binding=1) uniform texture1D)
9 0:36 't2' (layout( set=1 binding=2) uniform texture2D)
10 0:37 't3' (layout( set=2 binding=1) uniform texture3D)
11 0:38 direct index (layout( row_major std430) buffer 4-component vector of float)
12 …ct index for structure (layout( row_major std430) buffer unsized 1-element array of 4-component ve…
13 … 't4' (layout( set=3 binding=1 row_major std430) readonly buffer block{layout( row_major std430)…
19 …data: direct index for structure (layout( row_major std430) buffer unsized 1-element array of uint)
20 … 't5' (layout( set=3 binding=2 row_major std430) readonly buffer block{layout( row_major std4…
[all …]

12345678910>>...52