Home
last modified time | relevance | path

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

12345678910>>...464

/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...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp27 if (bundleDir.empty()) { in CreateBundleDir()
28 APP_LOGE("bundle dir is empty"); in CreateBundleDir()
38 if (srcModulePath.empty() || targetPath.empty()) { in ExtractModuleFiles()
39 APP_LOGE("src module path or target path is empty"); in ExtractModuleFiles()
48 if (extractParam.srcPath.empty() || extractParam.targetPath.empty()) { in ExtractFiles()
56 if (extractParam.srcPath.empty() || extractParam.targetPath.empty() || hnpPackageInfo.empty()) { in ExtractHnpFiles()
[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...]
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dfocus_animation_manager.cpp27 if (focusAnimationStack_.empty() || (useRoot_ && rootFocusAnimationStack_.empty())) { in SetFocusAnimationProperties()
48 if (focusAnimationStack_.empty() || (useRoot_ && rootFocusAnimationStack_.empty())) { in CancelFocusAnimation()
64 if (!rootFocusAnimationStack_.empty()) { in PushFocusAnimationElement()
72 if (!focusAnimationStack_.empty()) { in PushFocusAnimationElement()
84 if (focusAnimationStack_.empty()) { in PopFocusAnimationElement()
88 if (!focusAnimationStack_.empty()) { in PopFocusAnimationElement()
98 if (rootFocusAnimationStack_.empty()) { in PopRootFocusAnimationElement()
106 if (focusAnimationStack_.empty()) { in StartFocusAnimation()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp32 if (bundleDir.empty()) { in CreateBundleDir()
33 APP_LOGE("bundle dir is empty"); in CreateBundleDir()
43 if (srcModulePath.empty() || targetPath.empty()) { in ExtractModuleFiles()
44 APP_LOGE("src module path or target path is empty"); in ExtractModuleFiles()
53 if (extractParam.srcPath.empty() || extractParam.targetPath.empty()) { in ExtractFiles()
54 APP_LOGE("src path or target path is empty"); in ExtractFiles()
62 if (extractParam.srcPath.empty() || extractParam.targetPath.empty() || hnpPackageInf in ExtractHnpFiles()
[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/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...]
/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_check_param.cpp31 if (deviceId.empty() || deviceId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
32 DHLOGE("CheckParam deviceId is empty or deviceId size too long."); in CheckParam()
45 if (deviceId.empty() || deviceId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
46 DHLOGE("CheckParam deviceId is empty or deviceId size too long."); in CheckParam()
65 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
66 DHLOGE("CheckParam srcId is empty or srcId size too long."); in CheckParam()
69 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
70 DHLOGE("CheckParam sinkId is empty or sinkId size too long."); in CheckParam()
89 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
90 DHLOGE("CheckParam srcId is empty o in CheckParam()
[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/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...]
/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...]
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/
H A Dhistreamer_ability_parser_test.cpp80 EXPECT_TRUE(audioEncoderIn.mime.empty()); in HWTEST_F()
98 EXPECT_TRUE(audioEncoderOut.mime.empty()); in HWTEST_F()
132 EXPECT_TRUE(audioEncoder.name.empty()); in HWTEST_F()
137 EXPECT_TRUE(audioEncoder.ins.empty()); in HWTEST_F()
145 EXPECT_FALSE(audioEncoder.ins.empty()); in HWTEST_F()
146 EXPECT_TRUE(audioEncoder.outs.empty()); in HWTEST_F()
164 EXPECT_TRUE(audioDecoderIn.mime.empty()); in HWTEST_F()
170 EXPECT_TRUE(audioDecoderIn.channel_layout.empty()); in HWTEST_F()
188 EXPECT_TRUE(audioDecoderOut.mime.empty()); in HWTEST_F()
194 EXPECT_TRUE(audioDecoderOut.sample_fmt.empty()); in HWTEST_F()
[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...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dskill.cpp63 if (!linkFeature.empty()) { in Match()
74 if (!vecTypes.empty()) { in Match()
94 if (!linkFeature.empty()) { in Match()
139 // config actions empty, no match in MatchAction()
140 if (actions.empty()) { in MatchAction()
143 // config actions not empty, param empty, match in MatchAction()
144 if (action.empty()) { in MatchAction()
159 // config actions not empty, param not empty, i in MatchAction()
[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/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...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_property_drawable_test.cpp99 EXPECT_EQ(dirtySlots.empty(), true); in HWTEST_F()
128 EXPECT_EQ(dirtySlots.empty(), false); in HWTEST_F()
133 EXPECT_EQ(dirtySlots.empty(), false); in HWTEST_F()
137 EXPECT_EQ(dirtySlots.empty(), false); in HWTEST_F()
154 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
158 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
174 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
179 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
184 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
188 EXPECT_EQ(drawableVec.empty(), fals in HWTEST_F()
[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...]
/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...]
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dscanner_utils.cpp35 if (path.empty()) { in IsExists()
36 MEDIA_ERR_LOG("Given path name is empty"); in IsExists()
46 if (!path.empty()) { in GetFileNameFromUri()
55 MEDIA_ERR_LOG("Failed to obtain file name because given pathname is empty"); in GetFileNameFromUri()
62 if (!path.empty()) { in GetFileExtension()
69 MEDIA_ERR_LOG("Failed to obtain file extension because given pathname is empty"); in GetFileExtension()
78 if (!path.empty()) { in IsDirectory()
86 MEDIA_ERR_LOG("Either path is empty or it is not a directory"); in IsDirectory()
93 if (!path.empty()) { in IsRegularFile()
107 if (!path.empty()) { in IsFileHidden()
[all...]

Completed in 14 milliseconds

12345678910>>...464