Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 5586) sorted by relevance

12345678910>>...224

/third_party/skia/third_party/externals/swiftshader/src/Main/
DSwiftConfig.cpp237 const std::string empty = ""; in page() local
274 …html += "<option value='0'" + (config.pixelShaderVersion == 0 ? selected : empty) + ">0.0</optio… in page()
275 …html += "<option value='11'" + (config.pixelShaderVersion == 11 ? selected : empty) + ">1.1</optio… in page()
276 …html += "<option value='12'" + (config.pixelShaderVersion == 12 ? selected : empty) + ">1.2</optio… in page()
277 …html += "<option value='13'" + (config.pixelShaderVersion == 13 ? selected : empty) + ">1.3</optio… in page()
278 …html += "<option value='14'" + (config.pixelShaderVersion == 14 ? selected : empty) + ">1.4</optio… in page()
279 …html += "<option value='20'" + (config.pixelShaderVersion == 20 ? selected : empty) + ">2.0</optio… in page()
280 …html += "<option value='21'" + (config.pixelShaderVersion == 21 ? selected : empty) + ">2.x</optio… in page()
281 …html += "<option value='30'" + (config.pixelShaderVersion == 30 ? selected : empty) + ">3.0 (defau… in page()
284 …html += "<option value='0'" + (config.vertexShaderVersion == 0 ? selected : empty) + ">0.0</opti… in page()
[all …]
/third_party/rust/crates/rustix/tests/fs/
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 …]
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/
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/
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() local
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.ends_with("x")); in DEF_TEST()
42 REPORTER_ASSERT(r, empty.starts_with("")); in DEF_TEST()
[all …]
/third_party/json/tests/src/
Dunit-capacity.cpp26 CHECK(j.empty() == false);
27 CHECK(j_const.empty() == false);
32 CHECK(j.empty() == (j.begin() == j.end()));
33 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
44 CHECK(j.empty() == false);
45 CHECK(j_const.empty() == false);
50 CHECK(j.empty() == (j.begin() == j.end()));
51 CHECK(j_const.empty() == (j_const.begin() == j_const.end()));
64 CHECK(j.empty() == true);
65 CHECK(j_const.empty() == true);
[all …]
/third_party/curl/tests/unit/
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,
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);
83 fail_unless(empty->set.str[i] == NULL,
87 Curl_free_request_state(empty);
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl_convert_member_decoration_test.cc29 EXPECT_TRUE(result.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()
99 EXPECT_TRUE(result.empty()); in TEST_F()
[all …]
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 …]
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 …]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
DRangeTreeTest.java48 assertThat(RangeTree.empty()).containsExactly(); in testEmptyTree()
49 assertThat(RangeTree.empty()).hasSize(0); in testEmptyTree()
57 RangeTree r = RangeTree.from(RangeSpecification.empty()); in testEmptySequenceTree()
58 assertThat(r).containsExactly(RangeSpecification.empty()); in testEmptySequenceTree()
106 assertThat(RangeTree.empty()).doesNotContain(""); in testContains()
107 assertThat(RangeTree.from(RangeSpecification.empty())).contains(""); in testContains()
118 assertThat(RangeTree.empty()).hasSize(0); in testMatchCount()
119 assertThat(RangeTree.from(RangeSpecification.empty())).hasSize(1); in testMatchCount()
134 assertThat(a.union(RangeTree.empty())).isEqualTo(a); in testUnion()
135 assertThat(RangeTree.empty().union(a)).isEqualTo(a); in testUnion()
[all …]
/third_party/vk-gl-cts/executor/tools/
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()) combinedInfo.releaseName = info.releaseName; in setSessionInfo()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
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()
218 EXPECT_EQ(empty.size(), empty.length()); in TEST()
[all …]
/third_party/node/test/js-native-api/test_string/
Dtest.js8 const empty = ''; constant
9 assert.strictEqual(test_string.TestLatin1(empty), empty);
10 assert.strictEqual(test_string.TestUtf8(empty), empty);
11 assert.strictEqual(test_string.TestUtf16(empty), empty);
12 assert.strictEqual(test_string.TestLatin1AutoLength(empty), empty);
13 assert.strictEqual(test_string.TestUtf8AutoLength(empty), empty);
14 assert.strictEqual(test_string.TestUtf16AutoLength(empty), empty);
15 assert.strictEqual(test_string.TestLatin1External(empty), empty);
16 assert.strictEqual(test_string.TestUtf16External(empty), empty);
17 assert.strictEqual(test_string.TestLatin1ExternalAutoLength(empty), empty);
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_QCOM_rotated_copies/
Drotated_addressing_blits.adoc49 {empty}:: [eq]#u~base~ = i {plus} {onehalf}#
50 {empty}:: [eq]#v~base~ = j {plus} {onehalf}#
51 {empty}:: [eq]#w~base~ = k {plus} {onehalf}#
53 {empty}:: [eq]#u~offset~ = u~base~ - x~dst0~#
54 {empty}:: [eq]#v~offset~ = v~base~ - y~dst0~#
55 {empty}:: [eq]#w~offset~ = w~base~ - z~dst0~#
56 {empty}:: [eq]#a~offset~ = a - pname:baseArrayCount~dst~#
60 {empty}:: [eq]#u~dest_scaled~ = u~offset~ / (x~dst1~ - x~dst0~)#
61 {empty}:: [eq]#v~dest_scaled~ = v~offset~ / (y~dst1~ - y~dst0~)#
62 {empty}:: [eq]#(u~src_scaled~, v~src_scaled~) =
[all …]
Drotated_addressing_blits.txt50 {empty}:: [eq]#u~base~ = i {plus} {onehalf}#
51 {empty}:: [eq]#v~base~ = j {plus} {onehalf}#
52 {empty}:: [eq]#w~base~ = k {plus} {onehalf}#
54 {empty}:: [eq]#u~offset~ = u~base~ - x~dst0~#
55 {empty}:: [eq]#v~offset~ = v~base~ - y~dst0~#
56 {empty}:: [eq]#w~offset~ = w~base~ - z~dst0~#
57 {empty}:: [eq]#a~offset~ = a - pname:baseArrayCount~dst~#
61 {empty}:: [eq]#u~dest_scaled~ = u~offset~ / (x~dst1~ - x~dst0~)#
62 {empty}:: [eq]#v~dest_scaled~ = v~offset~ / (y~dst1~ - y~dst0~)#
63 {empty}:: [eq]#(u~src_scaled~, v~src_scaled~) =
[all …]
/third_party/typescript/tests/baselines/reference/
DtypeFromJSInitializer.types20 this.empty = []
21 >this.empty = [] : never[]
22 >this.empty : any
24 >empty : any
88 a.empty.push(1)
89 >a.empty.push(1) : number
90 >a.empty.push : (...items: any[]) => number
91 >a.empty : any[]
93 >empty : any[]
97 a.empty.push(true)
[all …]
DtypeFromJSInitializer.symbols17 this.empty = []
18 >this.empty : Symbol(A.empty, Decl(a.js, 3, 31))
20 >empty : Symbol(A.empty, Decl(a.js, 3, 31))
66 a.empty.push(1)
67 >a.empty.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
68 >a.empty : Symbol(A.empty, Decl(a.js, 3, 31))
70 >empty : Symbol(A.empty, Decl(a.js, 3, 31))
73 a.empty.push(true)
74 >a.empty.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
75 >a.empty : Symbol(A.empty, Decl(a.js, 3, 31))
[all …]
/third_party/json/docs/examples/
Dempty.cpp21 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() << '\n'; in main()
/third_party/python/Objects/stringlib/
Dpartition.h45 PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY(); in STRINGLIB()
46 assert(empty != NULL); in STRINGLIB()
47 Py_INCREF(empty); in STRINGLIB()
48 PyTuple_SET_ITEM(out, 1, empty); in STRINGLIB()
49 Py_INCREF(empty); in STRINGLIB()
50 PyTuple_SET_ITEM(out, 2, empty); in STRINGLIB()
100 PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY(); in STRINGLIB()
101 assert(empty != NULL); in STRINGLIB()
102 Py_INCREF(empty); in STRINGLIB()
103 PyTuple_SET_ITEM(out, 0, empty); in STRINGLIB()
[all …]
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dempty.md1 # <small>nlohmann::basic_json::</small>empty
4 bool empty() const noexcept;
20 | object | result of function `object_t::empty()` |
21 | array | result of function `array_t::empty()` |
30 [Container](https://en.cppreference.com/w/cpp/named_req/Container) concept; that is, their `empty()…
36 bool empty() const noexcept
44 This function does not return whether a string stored as JSON value is empty -- it returns whether …
45 itself is empty which is `#!cpp false` in the case of a string.
51 The following code uses `empty()` to check if a JSON object contains any elements.
54 --8<-- "examples/empty.cpp"
[all …]
/third_party/node/test/parallel/
Dtest-webcrypto-derivebits-hkdf.js34 empty: '' property
39 empty: '' property
44 empty: '' property
53 empty: '97601f4e0c53a5d3f3a2810099bc6820' + property
59 empty: '2f3157e7fe0c10b01298c8f0886a90ed' + property
65 empty: 'd51b6fb7e599ca30c5ee264593e4b85f' + property
71 empty: '9e4b719033742101e90f1ad61e2ff3b4' + property
75 empty: { property
79 empty: '1e023c17b340533ceaef39230cb8b3bb' + property
85 empty: 'c7b474942f31f83faf5d14731802b1bd' + property
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DFastVector_unittest.cpp45 EXPECT_TRUE(copyIterEmpty.empty()); in TEST()
151 EXPECT_TRUE(vec.empty()); in TEST()
155 EXPECT_FALSE(vec.empty()); in TEST()
164 EXPECT_TRUE(vec.empty()); in TEST()
172 EXPECT_TRUE(vec.empty()); in TEST()
264 EXPECT_TRUE(testMap.empty()); in TEST()
276 EXPECT_FALSE(testMap.empty()); in TEST()
278 EXPECT_TRUE(testMap.empty()); in TEST()
286 EXPECT_FALSE(testMap.empty()); in TEST()
301 EXPECT_TRUE(testMap.empty()); in TEST()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
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/abseil-cpp/absl/strings/
Dstring_view.cc83 if (empty() || pos > length_) { in find()
84 if (empty() && pos == 0 && s.empty()) return 0; in find()
93 if (empty() || pos >= length_) { in find()
104 if (s.empty()) return std::min(length_, pos); in rfind()
114 if (empty()) return npos; in rfind()
126 if (empty() || s.empty()) { in find_first_of()
142 if (empty()) return npos; in find_first_not_of()
156 if (empty()) return npos; in find_first_not_of()
167 if (empty() || s.empty()) return npos; in find_last_of()
182 if (empty()) return npos; in find_last_not_of()
[all …]

12345678910>>...224