Home
last modified time | relevance | path

Searched full:cases (Results 1 – 25 of 19859) sorted by relevance

12345678910>>...795

/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/utilities/template.bitset/
H A Dbitset_test_cases.h23 std::vector<std::bitset<0> > cases; variable
24 cases.push_back(std::bitset<0>());
25 return cases;
30 std::vector<std::bitset<1> > cases; variable
31 cases.push_back(std::bitset<1>("0"));
32 cases.push_back(std::bitset<1>("1"));
33 return cases;
38 std::vector<std::bitset<2> > cases; variable
39 cases.push_back(std::bitset<2>("00"));
40 cases.push_back(std::bitset<2>("01"));
[all …]
/aosp_15_r20/libcore/ojluni/src/test/java/util/Collections/
H A DWrappers.java56 List<Object[]> cases = new ArrayList<>(); in collectionCases() local
69 cases.add(new Object[] { Collections.unmodifiableCollection(seedList) }); in collectionCases()
70 cases.add(new Object[] { Collections.unmodifiableSequencedCollection(seedList) }); in collectionCases()
71 cases.add(new Object[] { Collections.unmodifiableList(seedList) }); in collectionCases()
72 cases.add(new Object[] { Collections.unmodifiableList(seedRandomAccess) }); in collectionCases()
73 cases.add(new Object[] { Collections.unmodifiableSet(seedSet) }); in collectionCases()
74 cases.add(new Object[] { Collections.unmodifiableSequencedSet(seedSet) }); in collectionCases()
75 cases.add(new Object[] { Collections.unmodifiableSortedSet(seedSet) }); in collectionCases()
76 cases.add(new Object[] { Collections.unmodifiableNavigableSet(seedSet) }); in collectionCases()
80 cases.add(new Object[] { Collections.unmodifiableMap(seedMap).entrySet() }); in collectionCases()
[all …]
/aosp_15_r20/external/libchrome/base/strings/
H A Dstring_number_conversions_unittest.cc76 } cases[] = { in TEST() local
83 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
84 EXPECT_EQ(cases[i].output, NumberToString(cases[i].input)); in TEST()
94 } cases[] = { in TEST() local
106 for (size_t i = 0; i < arraysize(cases); ++i) in TEST()
107 EXPECT_EQ(cases[i].output, NumberToString(cases[i].input)); in TEST()
115 } cases[] = { in TEST() local
142 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
143 int output = cases[i].output ^ 1; // Ensure StringToInt wrote something. in TEST()
144 EXPECT_EQ(cases[i].success, StringToInt(cases[i].input, &output)); in TEST()
[all …]
/aosp_15_r20/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DSwitchData.java37 /** {@code non-null;} sorted list of switch cases (keys) */
38 private final IntList cases; field in SwitchData
56 * @param cases {@code non-null;} sorted list of switch cases (keys)
61 IntList cases, CodeAddress[] targets) { in SwitchData() argument
68 if (cases == null) { in SwitchData()
69 throw new NullPointerException("cases == null"); in SwitchData()
76 int sz = cases.size(); in SwitchData()
79 throw new IllegalArgumentException("cases / targets mismatch"); in SwitchData()
83 throw new IllegalArgumentException("too many cases"); in SwitchData()
87 this.cases = cases; in SwitchData()
[all …]
/aosp_15_r20/dalvik/dx/src/com/android/dx/dex/code/
H A DSwitchData.java38 /** {@code non-null;} sorted list of switch cases (keys) */
39 private final IntList cases; field in SwitchData
57 * @param cases {@code non-null;} sorted list of switch cases (keys)
62 IntList cases, CodeAddress[] targets) { in SwitchData() argument
69 if (cases == null) { in SwitchData()
70 throw new NullPointerException("cases == null"); in SwitchData()
77 int sz = cases.size(); in SwitchData()
80 throw new IllegalArgumentException("cases / targets mismatch"); in SwitchData()
84 throw new IllegalArgumentException("too many cases"); in SwitchData()
88 this.cases = cases; in SwitchData()
[all …]
/aosp_15_r20/external/libchrome/base/
H A Dversion_unittest.cc49 } cases[] = { in TEST() local
78 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
79 base::Version version(cases[i].input); in TEST()
80 EXPECT_EQ(cases[i].success, version.IsValid()); in TEST()
81 if (cases[i].success) { in TEST()
82 EXPECT_EQ(cases[i].parts, version.components().size()); in TEST()
83 EXPECT_EQ(cases[i].firstpart, version.components()[0]); in TEST()
93 } cases[] = { in TEST() local
108 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
109 base::Version lhs(cases[i].lhs); in TEST()
[all …]
/aosp_15_r20/external/cronet/base/files/
H A Dfile_path_unittest.cc73 const struct UnaryTestData cases[] = { in TEST_F() local
160 for (size_t i = 0; i < std::size(cases); ++i) { in TEST_F()
161 FilePath input(cases[i].input); in TEST_F()
163 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
169 const struct UnaryTestData cases[] = { in TEST_F() local
247 for (size_t i = 0; i < std::size(cases); ++i) { in TEST_F()
248 FilePath input(cases[i].input); in TEST_F()
250 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
256 const struct BinaryTestData cases[] = { in TEST_F() local
274 // Append introduces the default separator character, so these test cases in TEST_F()
[all …]
/aosp_15_r20/external/libchrome/base/files/
H A Dfile_path_unittest.cc63 const struct UnaryTestData cases[] = { in TEST_F() local
145 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST_F()
146 FilePath input(cases[i].input); in TEST_F()
148 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
154 const struct UnaryTestData cases[] = { in TEST_F() local
232 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST_F()
233 FilePath input(cases[i].input); in TEST_F()
235 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) << in TEST_F()
241 const struct BinaryTestData cases[] = { in TEST_F() local
259 // Append introduces the default separator character, so these test cases in TEST_F()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/phoenix/include/boost/phoenix/statement/
Dswitch.hpp113 (detail::switch_grammar) // Cases
136 template <typename Cond, typename Cases, typename Context>
138 operator()(Cond const & cond, Cases const & cases, Context const & ctx) const in operator ()()
143 , cases in operator ()()
144 , typename detail::switch_size::impl<Cases, int, proto::empty_env>::result_type() in operator ()()
145 … , typename detail::switch_grammar::impl<Cases, int, proto::empty_env>::result_type() in operator ()()
150 template <typename Context, typename Cond, typename Cases>
155 , Cases const & cases in evaluate()
163 Cases in evaluate()
172 boost::phoenix::eval(proto::child_c<1>(cases), ctx); in evaluate()
[all …]
/aosp_15_r20/external/googleapis/google/cloud/support/v2/
H A Dcase_service.proto35 // A service to manage Google Cloud support cases.
44 get: "/v2/{name=projects/*/cases/*}"
45 additional_bindings { get: "/v2/{name=organizations/*/cases/*}" }
50 // Retrieve all cases under the specified parent.
52 // Note: Listing cases under an Organization returns only the cases directly
53 // parented by that organization. To retrieve all cases under an organization,
54 // including cases parented by projects under that organization, use
55 // `cases.search`.
58 get: "/v2/{parent=projects/*}/cases"
59 additional_bindings { get: "/v2/{parent=organizations/*}/cases" }
[all …]
/aosp_15_r20/external/google-cloud-java/java-cloudsupport/proto-google-cloud-cloudsupport-v2/src/main/proto/google/cloud/support/v2/
H A Dcase_service.proto35 // A service to manage Google Cloud support cases.
44 get: "/v2/{name=projects/*/cases/*}"
45 additional_bindings { get: "/v2/{name=organizations/*/cases/*}" }
50 // Retrieve all cases under the specified parent.
52 // Note: Listing cases under an Organization returns only the cases directly
53 // parented by that organization. To retrieve all cases under an organization,
54 // including cases parented by projects under that organization, use
55 // `cases.search`.
58 get: "/v2/{parent=projects/*}/cases"
59 additional_bindings { get: "/v2/{parent=organizations/*}/cases" }
[all …]
/aosp_15_r20/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A DREADME6 23 Jul 2009 0.17 Test cases added for VIDIOC_ENUM_FRAMESIZES and
8 used in test cases.
10 VIDIOC_S_STD test cases
11 25 May 2009 0.15 Test cases added for VIDIOC_G_EXT_CTRLS, VIDIOC_S_EXT_CTRLS
13 7 May 2009 0.14 Test cases added for VIDIOC_QUERYBUF;
16 Test cases added for VIDIOC_REQBUFS
17 19 Apr 2009 0.12 Test cases added for VIDIOC_S_FMT;
21 other test cases;
22 More strict check added for strings in different test cases
23 9 Apr 2009 0.11 Test cases added for VIDIOC_G_OUTPUT, VIDIOC_S_OUTPUT,
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/phoenix/include/boost/phoenix/statement/detail/preprocessed/
Dswitch_10.hpp15 template <typename Context, typename Cond, typename Cases>
20 , Cases const & cases in evaluate() argument
26 typename proto::result_of::flatten<Cases const&>::type in evaluate()
31 flat_view_type flat_view(proto::flatten(cases)); in evaluate()
38 template <typename Context, typename Cond, typename Cases>
43 , Cases const & cases in evaluate() argument
49 typename proto::result_of::flatten<Cases const&>::type in evaluate()
54 flat_view_type flat_view(proto::flatten(cases)); in evaluate()
79 template <typename Context, typename Cond, typename Cases>
84 , Cases const & cases in evaluate() argument
[all …]
/aosp_15_r20/external/webrtc/modules/desktop_capture/
H A Ddesktop_region_unittest.cc74 } cases[] = { in TEST() local
98 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) { in TEST()
103 for (int j = 0; j < cases[i].count; ++j) { in TEST()
104 r.AddRect(cases[i].rects[j]); in TEST()
106 CompareRegion(r, cases[i].rects, cases[i].count); in TEST()
112 for (int j = cases[i].count - 1; j >= 0; --j) { in TEST()
113 r.AddRect(cases[i].rects[j]); in TEST()
115 CompareRegion(r, cases[i].rects, cases[i].count); in TEST()
125 } cases[] = { in TEST() local
219 for (size_t i = 0; i < (sizeof(cases) / sizeof(Case)); ++i) { in TEST()
[all …]
/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/
H A DJsonEnumsCaseInsensitiveTest.kt22 enum class Cases { class in kotlinx.serialization.features.JsonEnumsCaseInsensitiveTest
35 data class EnumCases(val cases: List<Cases>) constant in kotlinx.serialization.features.JsonEnumsCaseInsensitiveTest.EnumCases
42 …"""{"cases":["ALL_CAPS","all_caps","mixed","MIXED","miXed","all_lower","ALL_LOWER","all_Lower","ha…
44 Cases.ALL_CAPS,
45 Cases.ALL_CAPS,
46 Cases.MiXed,
47 Cases.MiXed,
48 Cases.MiXed,
49 Cases.all_lower,
50 Cases.all_lower,
[all …]
/aosp_15_r20/external/libchrome/base/i18n/
H A Dnumber_formatting_unittest.cc27 } cases[] = { in TEST() local
39 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
42 EXPECT_EQ(cases[i].expected_english, in TEST()
43 UTF16ToUTF8(FormatNumber(cases[i].number))); in TEST()
46 EXPECT_EQ(cases[i].expected_german, in TEST()
47 UTF16ToUTF8(FormatNumber(cases[i].number))); in TEST()
57 } cases[] = { in TEST() local
85 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
88 EXPECT_EQ(cases[i].expected_english, in TEST()
89 UTF16ToUTF8(FormatDouble(cases[i].number, cases[i].frac_digits))); in TEST()
[all …]
H A Drtl_unittest.cc33 } cases[] = { in TEST_F() local
94 for (size_t i = 0; i < arraysize(cases); ++i) in TEST_F()
95 EXPECT_EQ(cases[i].direction, in TEST_F()
96 GetFirstStrongCharacterDirection(WideToUTF16(cases[i].text))); in TEST_F()
100 // Note that the cases with LRE, LRO, RLE and RLO are invalid for
107 } cases[] = { in TEST_F() local
156 for (size_t i = 0; i < arraysize(cases); ++i) in TEST_F()
157 EXPECT_EQ(cases[i].direction, in TEST_F()
158 GetLastStrongCharacterDirection(WideToUTF16(cases[i].text))); in TEST_F()
165 } cases[] = { in TEST_F() local
[all …]
/aosp_15_r20/external/deqp/doc/testspecs/GLES31/
H A Dfunctional.tessellation.txt61 The tessellation test group contains various cases testing basic tessellation
64 The tessellation coordinate (gl_TessCoord) verification cases draw the vertices
72 x + (1.0-x) == 1.0 for a given uvw coordinate x). The cases draw multiple times
86 The winding mode cases draw triangles or quads with a specific winding mode
93 The cases testing gl_PrimitiveID and gl_PatchVerticesIn read the variable in
94 either TCS or TES; the TCS cases pass the value as a "patch out" output to the
95 TES. For the gl_PrimitiveID cases, multiple primitives are drawn and one of
97 color; for the gl_PatchVerticesIn cases, just one primitive is drawn and the
100 The gl_TessLevelInner[] and gl_TessLevelOuter[] cases simply verify that reading
104 The cases testing differing input and output patch sizes draw a simple shape
[all …]
/aosp_15_r20/external/deqp/modules/gles3/stress/
H A Des3sLongRunningTests.cpp55 // Buffer cases. in init()
89 …} cases[] = {Case("always_reupload", "Re-upload buffer data at the beginning of each iteration", -… in init() local
111 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init()
113 const int redundantBufferFactor = cases[caseNdx].redundantBufferFactor > 0 ? in init()
114 cases[caseNdx].redundantBufferFactor : in init()
119 … (string() + cases[caseNdx].name + memoryLimitCases[memoryLimitNdx].nameSuffix).c_str(), in init()
120 … (string() + cases[caseNdx].desc + memoryLimitCases[memoryLimitNdx].descSuffix).c_str(), in init()
122 … 50000 /* tris per call */, contexts, cases[caseNdx].probs, GL_DYNAMIC_DRAW, GL_DYNAMIC_DRAW, in init()
128 // Texture cases. in init()
156 …} cases[] = {Case("always_reupload", "Re-upload texture data at the beginning of each iteration", … in init() local
[all …]
/aosp_15_r20/external/deqp/modules/gles2/stress/
H A Des2sLongRunningTests.cpp55 // Buffer cases. in init()
89 …} cases[] = {Case("always_reupload", "Re-upload buffer data at the beginning of each iteration", -… in init() local
111 for (int caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(cases); caseNdx++) in init()
113 const int redundantBufferFactor = cases[caseNdx].redundantBufferFactor > 0 ? in init()
114 cases[caseNdx].redundantBufferFactor : in init()
119 … (string() + cases[caseNdx].name + memoryLimitCases[memoryLimitNdx].nameSuffix).c_str(), in init()
120 … (string() + cases[caseNdx].desc + memoryLimitCases[memoryLimitNdx].descSuffix).c_str(), in init()
122 … 50000 /* tris per call */, contexts, cases[caseNdx].probs, GL_DYNAMIC_DRAW, GL_DYNAMIC_DRAW, in init()
128 // Texture cases. in init()
156 …} cases[] = {Case("always_reupload", "Re-upload texture data at the beginning of each iteration", … in init() local
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp114 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI);
155 // that the latter can handle some of the simple cases w/o a DominatorTree, in runOnFunction()
228 // Remove additional occurrences coming from condensed cases and keep the in fixPhis()
397 /// Transform simple list of \p SI's cases into list of CaseRange's \p Cases.
398 /// \post \p Cases wouldn't contain references to \p SI's default BB.
399 /// \returns Number of \p SI's cases that do not reference \p SI's default BB.
400 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
403 // Start with "simple" cases in Clusterify()
404 for (auto Case : SI->cases()) { in Clusterify()
407 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify()
[all …]
/aosp_15_r20/external/skia/src/sksl/ir/
H A DSkSLSwitchStatement.cpp40 static TArray<const SwitchCase*> find_duplicate_case_values(const StatementArray& cases) { in find_duplicate_case_values() argument
45 for (const std::unique_ptr<Statement>& stmt : cases) { in find_duplicate_case_values()
85 // This function reduces a switch to the matching case (or cases, if fallthrough occurs) when in block_for_case()
91 // succeed, so before we make any changes at all, we check the switch-cases to decide on a plan in block_for_case()
95 StatementArray& cases = caseBlock->as<Block>().children(); in block_for_case() local
96 auto iter = cases.begin(); in block_for_case()
97 for (; iter != cases.end(); ++iter) { in block_for_case()
109 for (; iter != cases.end(); ++iter) { in block_for_case()
112 // We can't reduce switch-cases to a block when they have conditional exits. in block_for_case()
131 cases[index] = std::move((*startIter)->as<SwitchCase>().statement()); in block_for_case()
[all …]
/aosp_15_r20/external/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp83 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI);
179 // Remove additional occurrences coming from condensed cases and keep the in fixPhis()
354 /// Transform simple list of Cases into list of CaseRange's.
355 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify() argument
358 // Start with "simple" cases in Clusterify()
360 Cases.push_back(CaseRange(i.getCaseValue(), i.getCaseValue(), in Clusterify()
363 std::sort(Cases.begin(), Cases.end(), CaseCmp()); in Clusterify()
366 if (Cases.size() >= 2) { in Clusterify()
367 CaseItr I = Cases.begin(); in Clusterify()
368 for (CaseItr J = std::next(I), E = Cases.end(); J != E; ++J) { in Clusterify()
[all …]
/aosp_15_r20/external/google-cloud-java/java-cloudsupport/proto-google-cloud-cloudsupport-v2/src/main/java/com/google/cloud/support/v2/
H A DSearchCasesResponse.java79 * The list of cases associated with the Google Cloud Resource, after any
83 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
93 * The list of cases associated with the Google Cloud Resource, after any
97 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
108 * The list of cases associated with the Google Cloud Resource, after any
112 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
122 * The list of cases associated with the Google Cloud Resource, after any
126 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
136 * The list of cases associated with the Google Cloud Resource, after any
140 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
[all …]
H A DListCasesResponse.java79 * The list of cases associated with the Google Cloud Resource, after any
83 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
93 * The list of cases associated with the Google Cloud Resource, after any
97 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
108 * The list of cases associated with the Google Cloud Resource, after any
112 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
122 * The list of cases associated with the Google Cloud Resource, after any
126 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
136 * The list of cases associated with the Google Cloud Resource, after any
140 * <code>repeated .google.cloud.support.v2.Case cases = 1;</code>
[all …]

12345678910>>...795