Home
last modified time | relevance | path

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

12345678910>>...668

/external/cronet/tot/third_party/libc++/src/test/std/utilities/template.bitset/
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 …]
/external/cronet/stable/third_party/libc++/src/test/std/utilities/template.bitset/
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 …]
/external/flatbuffers/tests/
Dutil_test.cpp69 std::vector<TestCase> cases; in UtilConvertCase() local
71 // Tests for the common cases in UtilConvertCase()
72 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kUpperCamel, in UtilConvertCase()
74 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kLowerCamel, in UtilConvertCase()
76 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kSnake, in UtilConvertCase()
78 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kScreamingSnake, in UtilConvertCase()
80 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kAllLower, in UtilConvertCase()
82 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kAllUpper, in UtilConvertCase()
84 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kUnknown, in UtilConvertCase()
86 cases.push_back({ "the_quick_brown_fox", flatbuffers::Case::kKeep, in UtilConvertCase()
[all …]
/external/libchrome/base/
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 …]
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
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 …]
/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 …]
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/
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 …]
/external/libchrome/base/strings/
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 …]
/external/libchrome/base/i18n/
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 …]
/external/grpc-grpc/src/core/lib/gprpp/
Doverload.h24 template <typename... Cases>
28 template <typename Case, typename... Cases>
29 struct OverloadType<Case, Cases...> : public Case,
30 public OverloadType<Cases...> {
31 explicit OverloadType(Case&& c, Cases&&... cases)
33 OverloadType<Cases...>(std::forward<Cases>(cases)...) {}
35 using OverloadType<Cases...>::operator();
52 template <typename... Cases>
53 OverloadType<Cases...> Overload(Cases... cases) {
54 return OverloadType<Cases...>(std::move(cases)...);
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Doverload.h24 template <typename... Cases>
28 template <typename Case, typename... Cases>
29 struct OverloadType<Case, Cases...> : public Case,
30 public OverloadType<Cases...> {
31 explicit OverloadType(Case&& c, Cases&&... cases)
33 OverloadType<Cases...>(std::forward<Cases>(cases)...) {}
35 using OverloadType<Cases...>::operator();
52 template <typename... Cases>
53 OverloadType<Cases...> Overload(Cases... cases) {
54 return OverloadType<Cases...>(std::move(cases)...);
/external/google-cloud-java/java-cloudsupport/proto-google-cloud-cloudsupport-v2/src/main/proto/google/cloud/support/v2/
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 …]
/external/googleapis/google/cloud/support/v2/
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 …]
/external/deqp/doc/testspecs/GLES31/
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 …]
Dfunctional.image_load_store.txt29 - Cases for both final result and return values
34 + Format re-interpretation cases
37 + Basic cases for early_fragment_tests, if images supported in fragment shader
40 + Shaders other than compute (except for basic early_fragment_tests cases)
46 In all of the cases described below, unless otherwise mentioned, texture
61 The imageStore() cases store results of simple computations into an image.
66 The cases testing imageLoad() first initialize the contents of a texture with
73 The atomic operation cases exist in two variants: cases for testing the end
74 result in the texture operated on by the atomic functions, as well as cases
79 operated on by multiple shader invocations. For the return value cases, the
[all …]
Dfunctional.tessellation_geometry_interaction.txt41 render.passthrough cases tests basic rendering with a shader program with
44 *_passthrough_geometry_* cases, the pattern is first rendered without a geometry
46 *_passthrough_tessellation_* cases, image is first rendered without a
49 render.limits.* cases test rendering with a five stage shader program with a
52 *_required_* cases use the maximum limit as required by the extension
53 specifications and *_implementation_* cases use the maximum limit reported by
54 the glGetInteger(GL_MAX_...) queries. Cases render a grid of green and yellow
59 cases are otherwise identical to the functional cases but the stress.*
65 render.scatter.* cases use geometry shader to scatter the output primitives all
71 a geometry shader instance is assigned a different layer index. Cases render a
[all …]
Dfunctional.geometry_shading.txt48 query.* test group contains various query tests. max_geometry_* cases
50 corresponding GLSL constant. geometry_* and max_geometry_* cases test
51 geometry shader related limits and states. primitives_generated_* cases
56 basic.* tests test basic geometry shader usage: output_* cases emit
57 a constant number of vertices. output_vary_by_* cases emit a varying
60 basic.primitive_id cases test functionality of a corresponding built-in
66 input.triangle_strip_adjacency.* cases verify correct behavior of
83 contents and verify the contents of each layer. fragment_layer_* cases verify
85 each layer. layer_provoking_vertex_* cases verify implementation dependent value
91 geometry[_output_different]_N_invocations cases test basic geometry shader
[all …]
Dfunctional.shaders.multisample_interpolation.txt44 sample_qualifier.* cases test sample qualifier by rendering a high frequency
50 interpolate_at_sample.* cases test interpolateAtSample() function with different
54 interpolate_at_sample.dynamic_sample_number cases sample a high frequency
55 function with at every sample position and average the result. static cases use
56 integer literals at which samples values are interpolated, in dynamic cases the
59 interpolate_at_sample.non_multisample_buffer cases test that using
64 interpolate_at_sample.centroid_qualifier cases interpolate a centroid-qualified
70 interpolate_at_sample.at_sample_id cases test that sample index used by
75 interpolate_at_centroid.* cases test interpolateAtCentroid() function with
78 interpolate_at_centroid.consistency cases test that values returned by
[all …]
/external/deqp/doc/testspecs/GLES3/
Dfunctional.primitive_bounding_box.txt48 state_query.* cases test the global PRIMITIVE_BOUNDING_BOX_EXT state.
52 triangles.*, (wide_)lines.*, (wide_)points.* cases set the primitive
56 "global_state.*" cases set the bounding box of the whole test pattern
58 cases set the bounding box of the whole test pattern using
59 gl_BoundingBoxEXT output variable. "tessellation_set_per_draw.*" cases
62 "*_bbox_equal" cases set the bounding box to tightly cover the primitive
63 or the whole pattern. In "*_bbox_larger" cases, the bounding box is set
65 cases, the bounding box is set to cover only a subset of the pattern.
66 In these subset cases, only the area covered by the bounding box is
69 triangles.* cases render a grid with yellow and green cells. Cells are
[all …]
/external/skia/src/sksl/ir/
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 …]
/external/libchrome/base/json/
Dstring_escape_unittest.cc20 } cases[] = { in TEST() local
31 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
32 const char* in_ptr = cases[i].to_escape; in TEST()
37 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
42 EXPECT_EQ(std::string(cases[i].escaped), out); in TEST()
47 EXPECT_EQ("\"" + std::string(cases[i].escaped) + "\"", fooout); in TEST()
52 std::string in = cases[0].to_escape; in TEST()
69 expected += cases[0].escaped; in TEST()
80 } cases[] = { in TEST() local
91 for (size_t i = 0; i < arraysize(cases); ++i) { in TEST()
[all …]
/external/deqp/modules/gles2/stress/
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 …]
/external/deqp/modules/gles3/stress/
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 …]
/external/aws-sdk-java-v2/core/regions/src/test/java/software/amazon/awssdk/regions/internal/
DRegionScopeTest.java51 List<TestCase> cases = new ArrayList<>(); in testCases() local
53cases.add(new TestCase().setCaseName("Standard Region accepted").setRegionScope("eu-north-1")); in testCases()
54cases.add(new TestCase().setCaseName("Wildcard last segment accepted").setRegionScope("eu-north-*"… in testCases()
55cases.add(new TestCase().setCaseName("Wildcard middle segment accepted").setRegionScope("eu-*")); in testCases()
56 cases.add(new TestCase().setCaseName("Global Wildcard accepted").setRegionScope("*")); in testCases()
58cases.add(new TestCase().setCaseName("Null string fails").setRegionScope(null).setExpectedExceptio… in testCases()
60 cases.add(new TestCase().setCaseName("Empty string fails") in testCases()
64 cases.add(new TestCase().setCaseName("Blank string fails") in testCases()
68 cases.add(new TestCase().setCaseName("Wildcard mixed last segment fails") in testCases()
72 cases.add(new TestCase().setCaseName("Wildcard mixed middle segment fails") in testCases()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringSwitch.h9 // statement whose cases are string literals.
22 /// A switch()-like statement whose cases are string literals.
38 /// .Cases("violet", "purple", Violet)
88 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() function
92 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
94 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
97 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
99 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases()
102 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function
104 return Case(S0, Value).Cases(S1, S2, S3, S4, Value); in Cases()
[all …]

12345678910>>...668