Home
last modified time | relevance | path

Searched refs:empty (Results 1 - 25 of 6471) sorted by relevance

12345678910>>...259

/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DSwiftConfig.cpp237 const std::string empty = ""; in page() local
274 html += "<option value='0'" + (config.pixelShaderVersion == 0 ? selected : empty) + ">0.0</option>\n"; in page()
275 html += "<option value='11'" + (config.pixelShaderVersion == 11 ? selected : empty) + ">1.1</option>\n"; in page()
276 html += "<option value='12'" + (config.pixelShaderVersion == 12 ? selected : empty) + ">1.2</option>\n"; in page()
277 html += "<option value='13'" + (config.pixelShaderVersion == 13 ? selected : empty) + ">1.3</option>\n"; in page()
278 html += "<option value='14'" + (config.pixelShaderVersion == 14 ? selected : empty) + ">1.4</option>\n"; in page()
279 html += "<option value='20'" + (config.pixelShaderVersion == 20 ? selected : empty) + ">2.0</option>\n"; in page()
280 html += "<option value='21'" + (config.pixelShaderVersion == 21 ? selected : empty) + ">2.x</option>\n"; in page()
281 html += "<option value='30'" + (config.pixelShaderVersion == 30 ? selected : empty) + ">3.0 (default)</option>\n"; in page()
284 html += "<option value='0'" + (config.vertexShaderVersion == 0 ? selected : empty) in page()
[all...]
/third_party/rust/crates/rustix/tests/fs/
H A Dopenat2.rs26 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_openat2()
33 Mode::empty(), in test_openat2()
34 ResolveFlags::empty(), in test_openat2()
47 ResolveFlags::empty(), in test_openat2()
57 Mode::empty(), in test_openat2()
58 ResolveFlags::empty(), in test_openat2()
65 Mode::empty(), in test_openat2()
73 Mode::empty(), in test_openat2()
83 Mode::empty(), in test_openat2()
84 ResolveFlags::empty(), in test_openat2()
[all...]
H A Drenameat.rs19 Mode::empty(), in test_renameat()
23 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat()
24 let before = statat(&dir, "foo", AtFlags::empty()).unwrap(); in test_renameat()
26 let renamed = statat(&dir, "bar", AtFlags::empty()).unwrap(); in test_renameat()
42 Mode::empty(), in test_renameat_overwrite()
46 let _ = openat(&dir, "foo", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat_overwrite()
47 let _ = openat(&dir, "bar", OFlags::CREATE | OFlags::WRONLY, Mode::empty()).unwrap(); in test_renameat_overwrite()
48 let before = statat(&dir, "foo", AtFlags::empty()).unwrap(); in test_renameat_overwrite()
50 let renamed = statat(&dir, "bar", AtFlags::empty()).unwrap(); in test_renameat_overwrite()
64 Mode::empty(), in test_renameat_with()
[all...]
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A D068-accidental-pasting.c1 #define empty macro
2 <empty<
3 <empty=
4 >empty>
5 >empty=
6 =empty=
7 !empty=
8 &empty&
9 |empty|
10 +empty
[all...]
/third_party/skia/tests/
H A DSkStringViewTest.cpp13 skstd::string_view empty; in DEF_TEST() local
14 REPORTER_ASSERT(r, empty.data() == nullptr); in DEF_TEST()
15 REPORTER_ASSERT(r, empty.length() == 0); in DEF_TEST()
36 skstd::string_view empty(""); in DEF_TEST()
37 REPORTER_ASSERT(r, empty.empty()); in DEF_TEST()
38 REPORTER_ASSERT(r, !empty.starts_with('x')); in DEF_TEST()
39 REPORTER_ASSERT(r, !empty.ends_with('x')); in DEF_TEST()
40 REPORTER_ASSERT(r, !empty.starts_with("x")); in DEF_TEST()
41 REPORTER_ASSERT(r, !empty in DEF_TEST()
86 skstd::string_view empty; DEF_TEST() local
91 skstd::string_view empty; DEF_TEST() local
[all...]
/third_party/json/tests/src/
H A Dunit-capacity.cpp17 SECTION("empty()")
24 SECTION("result of empty")
26 CHECK(j.empty() == false);
27 CHECK(j_const.empty() == false);
30 SECTION("definition of empty")
32 CHECK(j.empty() == (j.begin() == j.end()));
33 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
42 SECTION("result of empty")
44 CHECK(j.empty() == false);
45 CHECK(j_const.empty()
[all...]
/third_party/curl/tests/unit/
H A Dunit1620.c46 struct Curl_easy *empty; variable
53 rc = Curl_open(&empty);
58 rc = Curl_connect(empty, &async, &protocol_connect);
62 fail_unless(empty->magic == CURLEASY_MAGIC_NUMBER,
63 "empty->magic should be equal to CURLEASY_MAGIC_NUMBER");
66 rc = Curl_connect(empty, &async, &protocol_connect);
70 rc = Curl_init_userdefined(empty);
73 rc = Curl_init_do(empty, empty->conn);
81 Curl_freeset(empty); variable
87 Curl_free_request_state(empty); global() variable
[all...]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dparser_impl_convert_member_decoration_test.cc29 EXPECT_TRUE(result.empty()); in TEST_F()
30 EXPECT_THAT(p->error(), Eq("malformed SPIR-V decoration: it's empty")); in TEST_F()
38 EXPECT_TRUE(result.empty()); in TEST_F()
48 EXPECT_TRUE(result.empty()); in TEST_F()
58 ASSERT_FALSE(result.empty()); in TEST_F()
63 EXPECT_TRUE(p->error().empty()); in TEST_F()
73 EXPECT_TRUE(result.empty()); in TEST_F()
74 EXPECT_TRUE(p->error().empty()); in TEST_F()
84 ASSERT_FALSE(result.empty()); in TEST_F()
89 EXPECT_TRUE(p->error().empty()); in TEST_F()
[all...]
H A Dparser_impl_get_decorations_test.cc35 EXPECT_TRUE(decorations.empty()); in TEST_F()
36 EXPECT_TRUE(p->error().empty()); in TEST_F()
44 EXPECT_TRUE(decorations.empty()); in TEST_F()
45 EXPECT_TRUE(p->error().empty()); in TEST_F()
59 EXPECT_TRUE(p->error().empty()); in TEST_F()
75 EXPECT_TRUE(p->error().empty()); in TEST_F()
83 EXPECT_TRUE(decorations.empty()); in TEST_F()
84 EXPECT_TRUE(p->error().empty()); in TEST_F()
92 EXPECT_TRUE(decorations.empty()); in TEST_F()
93 EXPECT_TRUE(p->error().empty()); in TEST_F()
[all...]
H A Dparser_impl_module_var_test.cc119 EXPECT_TRUE(p->error().empty()); in TEST_F()
202 EXPECT_TRUE(p->error().empty()); in TEST_F()
218 EXPECT_TRUE(p->error().empty()); in TEST_F()
234 EXPECT_TRUE(p->error().empty()); in TEST_F()
262 EXPECT_TRUE(p->error().empty()); in TEST_F()
357 EXPECT_TRUE(p->error().empty()); in TEST_F()
401 EXPECT_TRUE(p->error().empty()); in TEST_F()
423 EXPECT_TRUE(p->error().empty()); in TEST_F()
446 EXPECT_TRUE(p->error().empty()); in TEST_F()
465 EXPECT_TRUE(p->error().empty()); in TEST_F()
[all...]
/test/testfwk/arkxtest/uitest/core/
H A Dwidget_selector.cpp41 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddFrontLocator()
50 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddRearLocator()
59 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddParentLocator()
80 if (!frontLocators_.empty()) { in Describe()
[all...]
/third_party/vk-gl-cts/executor/tools/
H A DxeMergeTestLogs.cpp76 if (!info.targetName.empty()) combinedInfo.targetName = info.targetName; in setSessionInfo()
77 if (!info.releaseId.empty()) combinedInfo.releaseId = info.releaseId; in setSessionInfo()
78 if (!info.releaseName.empty()) combinedInfo.releaseName = info.releaseName; in setSessionInfo()
79 if (!info.candyTargetName.empty()) combinedInfo.candyTargetName = info.candyTargetName; in setSessionInfo()
80 if (!info.configName.empty()) combinedInfo.configName = info.configName; in setSessionInfo()
81 if (!info.resultName.empty()) combinedInfo.resultName = info.resultName; in setSessionInfo()
82 if (!info.timestamp.empty()) combinedInfo.timestamp = info.timestamp; in setSessionInfo()
86 if (combinedInfo.targetName.empty()) combinedInfo.targetName = info.targetName; in setSessionInfo()
87 if (combinedInfo.releaseId.empty()) combinedInfo.releaseId = info.releaseId; in setSessionInfo()
88 if (combinedInfo.releaseName.empty()) combinedInf in setSessionInfo()
[all...]
/base/startup/init/services/begetctl/
H A Dsandbox.cpp172 bool isNamespaceOnly = !namespaceName.empty() && processName.empty() && serviceName.empty() && pid.empty(); in RunCmd()
173 bool isNamespaceAndProcess = !namespaceName.empty() && !processName.empty() && serviceName.empty() && pid.empty(); in RunCmd()
174 bool isProcessOnly = namespaceName.empty() && !processName.empty() in RunCmd()
[all...]
/third_party/json/docs/examples/
H A Dempty.cpp19 // call empty() in main()
21 std::cout << j_null.empty() << '\n'; in main()
22 std::cout << j_boolean.empty() << '\n'; in main()
23 std::cout << j_number_integer.empty() << '\n'; in main()
24 std::cout << j_number_float.empty() << '\n'; in main()
25 std::cout << j_object.empty() << '\n'; in main()
26 std::cout << j_object_empty.empty() << '\n'; in main()
27 std::cout << j_array.empty() << '\n'; in main()
28 std::cout << j_array_empty.empty() << '\n'; in main()
29 std::cout << j_string.empty() << '\ in main()
[all...]
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchSceneDataProcessor.cpp78 if (bundleName.empty()) { in ProcessSceneData()
89 if (record.bundleName.empty()) { in ProcessSceneData()
119 if (data.domain.empty() || data.eventName.empty()) { in CheckValidCheckPoint()
126 checkBundle = !data.bundleName.empty(); in CheckValidCheckPoint()
129 if (!data.sceneId.empty()) { in CheckValidCheckPoint()
150 if (record.bundleName.empty()) { in SaveCheckPoint()
165 if (!record.appStartupType.bundleName.empty()) { in SaveCheckPoint()
213 return (!record.interactionResponse.bundleName.empty() || !record.startAbility.bundleName.empty()); in HaveStartPoint()
[all...]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
H A DRangeTreeTest.java48 assertThat(RangeTree.empty()).containsExactly(); in testEmptyTree()
49 assertThat(RangeTree.empty()).hasSize(0); in testEmptyTree()
55 // is perfectly valid input). This is very distinct from the empty tree, which cannot match any in testEmptySequenceTree()
57 RangeTree r = RangeTree.from(RangeSpecification.empty()); in testEmptySequenceTree()
58 assertThat(r).containsExactly(RangeSpecification.empty()); in testEmptySequenceTree()
104 // The tree generated from the empty range specification actually contains one digit sequence in testContains()
105 // (the empty one). This is not the same as RangeTree.empty() which really contains nothing. in testContains()
106 assertThat(RangeTree.empty()).doesNotContain(""); in testContains()
107 assertThat(RangeTree.from(RangeSpecification.empty())) in testContains()
[all...]
H A DPrefixTreeTest.java19 import static com.google.i18n.phonenumbers.metadata.RangeTree.empty;
55 PrefixTree empty = PrefixTree.from(empty()); in testEmptyVsZeroLength()
58 assertThat(empty).isEmpty(); in testEmptyVsZeroLength()
61 assertThat(zeroLength).containsExactly(RangeSpecification.empty()); in testEmptyVsZeroLength()
63 // While the empty prefix tree filters out everything, the zero length tree allows everything in testEmptyVsZeroLength()
67 assertThat(empty.retainFrom(ranges)).isEqualTo(empty()); in testEmptyVsZeroLength()
100 // The empty filter filters everything out, since a filter operation is defined to return in testEmptyPrefixTree()
102 assertThat(PrefixTree.from(empty()) in testEmptyPrefixTree()
[all...]
/third_party/python/Objects/stringlib/
H A Dpartition.h22 PyErr_SetString(PyExc_ValueError, "empty separator"); in partition()
45 PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY(); in partition()
46 assert(empty != NULL); in partition()
47 Py_INCREF(empty); in partition()
48 PyTuple_SET_ITEM(out, 1, empty); in partition()
49 Py_INCREF(empty); in partition()
50 PyTuple_SET_ITEM(out, 2, empty); in partition()
79 PyErr_SetString(PyExc_ValueError, "empty separator"); in rpartition()
100 PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY(); in rpartition()
101 assert(empty ! in rpartition()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dspan_test.cc90 std::vector<int> empty; in TEST() local
91 absl::Span<int> s_empty(empty); in TEST()
92 EXPECT_THAT(s_empty, SpanIs(empty)); in TEST()
131 std::string empty = ""; in TEST() local
132 absl::Span<char> s_empty(empty); in TEST()
133 EXPECT_THAT(s_empty, SpanIs(empty)); in TEST()
215 absl::Span<int> empty; in TEST() local
216 EXPECT_EQ(empty.size(), 0); in TEST()
217 EXPECT_TRUE(empty.empty()); in TEST()
287 std::vector<int> empty; TEST() local
312 std::vector<int> empty; TEST() local
328 std::vector<int> empty; TEST() local
344 std::vector<int> empty; TEST() local
357 std::vector<int> empty; TEST() local
370 std::vector<int> empty; TEST() local
386 std::string empty = ""; TEST() local
[all...]
/base/global/i18n/frameworks/intl/src/
H A Ddate_time_format.cpp128 if (hourCycle.empty()) { in InitWithLocale()
131 if (hour12.empty() && hourCycle.empty() && !LocaleConfig::IsEmpty24HourClock()) { in InitWithLocale()
282 if (!dateStyle.empty() || !timeStyle.empty()) { in InitDateFormat()
285 if (!dateStyle.empty()) { in InitDateFormat()
292 if (!timeStyle.empty()) { in InitDateFormat()
410 if (year.empty() && month.empty() && day.empty() in ComputeSkeleton()
[all...]
H A Dnumber_format.cpp154 if (!currency.empty()) { in InitProperties()
162 if (!styleString.empty() && styleString == "percent") { in InitProperties()
167 if (!styleString.empty() && styleString == "unit") { in InitProperties()
182 if (!useGrouping.empty()) { in InitProperties()
186 if (!currencySign.empty() || !signDisplayString.empty()) { in InitProperties()
189 if (!notationString.empty()) { in InitProperties()
198 if (!maximumSignificantDigits.empty() || !minimumSignificantDigits.empty()) { in InitDigitsProperties()
323 if (preferredUnit.empty()) { in SetUnit()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstring_view.cc83 if (empty() || pos > length_) {
84 if (empty() && pos == 0 && s.empty()) return 0;
93 if (empty() || pos >= length_) {
104 if (s.empty()) return std::min(length_, pos);
114 if (empty()) return npos;
126 if (empty() || s.empty()) {
142 if (empty()) return npos;
156 if (empty()) retur
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
H A DGPUTestExpectationsParser_unittest.cpp73 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
85 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
97 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
109 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
121 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
134 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
147 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
160 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
172 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
184 EXPECT_TRUE(parser.getErrorMessages().empty()); in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DSerialMapTests.cpp26 // Map starts empty in TEST()
29 // Iterating on empty map 1) works 2) doesn't produce any values in TEST()
40 // Iterating over a non-empty map produces the expected result in TEST()
44 ASSERT_FALSE(expectedValues.empty()); in TEST()
47 ASSERT_TRUE(expectedValues.empty()); in TEST()
49 // Clear works and makes the map empty and iteration does nothing. in TEST()
70 // Iterating over a non-empty map produces the expected result in TEST()
74 ASSERT_FALSE(expectedValues.empty()); in TEST()
77 ASSERT_TRUE(expectedValues.empty()); in TEST()
95 ASSERT_FALSE(expectedValues.empty()); in TEST()
[all...]
/third_party/node/test/parallel/
H A Dtest-child-process-spawn-typeerror.js30 const empty = fixtures.path('empty.js');
183 fork(empty);
184 fork(empty, a);
185 fork(empty, a, o);
186 fork(empty, o);
187 fork(empty, u, u);
188 fork(empty, u, o);
189 fork(empty, a, u);
190 fork(empty,
[all...]

Completed in 12 milliseconds

12345678910>>...259