/third_party/cJSON/tests/unity/auto/ |
H A D | generate_test_runner.rb | 40 unless config_file.nil? || config_file.empty? 67 all_files_used += testfile_includes.map { |filename| filename + '.c' } unless testfile_includes.empty? 68 all_files_used += @options[:includes] unless @options[:includes].empty? 69 all_files_used += headers[:linkonly] unless headers[:linkonly].empty? 84 return unless @options[:header_file] && !@options[:header_file].empty? 109 if @options[:use_param_tests] && !arguments.empty? 164 output.puts('#include "cmock.h"') unless mocks.empty? 167 if @options[:defines] && !@options[:defines].empty? 170 if @options[:header_file] && !@options[:header_file].empty? 204 return if mock_headers.empty [all...] |
/third_party/ninja/src/ |
H A D | manifest_parser.cc | 163 if (rule->bindings_["rspfile"].empty() != in ParseRule() 164 rule->bindings_["rspfile_content"].empty()) { in ParseRule() 169 if (rule->bindings_["command"].empty()) in ParseRule() 190 if (eval.empty()) in ParseDefault() 195 if (path.empty()) in ParseDefault() 196 return lexer_.Error("empty path", err); in ParseDefault() 206 } while (!eval.empty()); in ParseDefault() 218 while (!out.empty()) { in ParseEdge() 234 if (out.empty()) in ParseEdge() 241 if (outs.empty()) in ParseEdge() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | FastVector_unittest.cpp | 45 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...] |
/base/update/updater/services/fs_manager/ |
H A D | cmp_partition.cpp | 64 if (nlist.empty() || olist.empty()) { in TraversePartitionList() 82 if (nlist.empty() || olist.empty()) { in RegisterUpdaterPartitionList() 94 if (g_updaterPlist.empty()) { in GetRegisterUpdaterPartitionList() 100 if (ulist.empty()) { in GetRegisterUpdaterPartitionList()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | VersionTuple.cpp | 40 if (input.empty()) in parseInt() 49 while (!input.empty()) { in parseInt() 67 if (input.empty()) { in tryParse() 79 if (input.empty()) { in tryParse() 91 if (input.empty()) { in tryParse() 104 if (!input.empty()) in tryParse()
|
/third_party/protobuf/src/google/protobuf/ |
H A D | has_bits.h | 76 bool empty() const; 83 inline bool HasBits<1>::empty() const { in empty() function in google::protobuf::internal::HasBits 88 inline bool HasBits<2>::empty() const { in empty() function in google::protobuf::internal::HasBits 93 inline bool HasBits<3>::empty() const { in empty() function in google::protobuf::internal::HasBits 98 inline bool HasBits<4>::empty() const { in empty() function in google::protobuf::internal::HasBits 103 inline bool HasBits<doublewords>::empty() const { in empty() function in google::protobuf::internal::HasBits
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | flock.rs | 6 let f = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 9 let g = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 15 let f = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 17 let g = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 24 let f = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock() 28 let g = openat(cwd(), "Cargo.toml", OFlags::RDONLY, Mode::empty()).unwrap(); in test_flock()
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_timerfd.rs | 10 TimerFd::new(ClockId::CLOCK_MONOTONIC, TimerFlags::empty()).unwrap(); in test_timerfd_oneshot() 17 TimerSetTimeFlags::empty(), in test_timerfd_oneshot() 30 TimerFd::new(ClockId::CLOCK_MONOTONIC, TimerFlags::empty()).unwrap(); in test_timerfd_interval() 39 TimerSetTimeFlags::empty(), in test_timerfd_interval() 57 TimerFd::new(ClockId::CLOCK_MONOTONIC, TimerFlags::empty()).unwrap(); in test_timerfd_unset() 62 TimerSetTimeFlags::empty(), in test_timerfd_unset()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/extend_resource/ |
H A D | extend_resource_manager_proxy.cpp | 51 if (bundleName.empty()) { in AddExtResource() 52 APP_LOGE("fail to AddExtResource due to bundleName is empty"); in AddExtResource() 55 if (filePaths.empty()) { in AddExtResource() 56 APP_LOGE("fail to AddExtResource due to filePaths is empty"); in AddExtResource() 87 if (bundleName.empty()) { in RemoveExtResource() 88 APP_LOGE("fail to RemoveExtResource due to bundleName is empty"); in RemoveExtResource() 91 if (moduleNames.empty()) { in RemoveExtResource() 92 APP_LOGE("fail to RemoveExtResource due to moduleNames is empty"); in RemoveExtResource() 123 if (bundleName.empty()) { in GetExtResource() 124 APP_LOGE("fail to GetExtResource due to bundleName is empty"); in GetExtResource() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_checker.cpp | 59 if (info.second.deployingAppqfInfo.hqfInfos.empty()) { in CheckAppQuickFixInfos() 60 LOG_E(BMS_TAG_DEFAULT, "error: hqfInfo is empty, moduleName does not exist"); in CheckAppQuickFixInfos() 110 (!qfInfo.nativeLibraryPath.empty() && !bundleInfo.applicationInfo.nativeLibraryPath.empty()); in CheckPatchNativeSoWithInstalledBundle() 136 if (!hapModuleInfoNativeLibraryPath.empty() && !hqfInfoNativeLibraryPath.empty()) { in CheckPatchNativeSoWithInstalledBundle() 186 if (deployedAppqfInfo.hqfInfos.empty()) { in CheckCommonWithInstalledBundle() 203 if (info.second.deployingAppqfInfo.hqfInfos.empty()) { in CheckModuleNameExist() 204 LOG_E(BMS_TAG_DEFAULT, "info is empty"); in CheckModuleNameExist() 228 if (bundleInfo.signatureInfo.appIdentifier.empty() || provisionInf in CheckSignatureInfo() [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | ref_uri.h | 85 * @brief Check if this is empty RefUri (i.e. default constructed). 130 * Returns empty string for "ref:/.." and "ref:/[/]". 206 RefUri empty {}; in IsEmpty() 207 // ignore the context specific flag for empty check in IsEmpty() 208 empty.SetAbsoluteInterpretation(GetAbsoluteInterpretation()); in IsEmpty() 209 return *this == empty; in IsEmpty() 214 return IsValid() && !segments_.empty() && segments_[0].type == Node::PROPERTY; in ReferencesProperty() 245 return segments_.empty() ? "" : segments_.front().name; in ReferencedName() 292 if (segments_.empty()) { in ToString() 359 } else if (seg == ".." && !segments_.empty()) { in AddSegment() [all...] |
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | subscribe_manager_test.cpp | 146 bool ret = SubscribeManager::GetInstance().uidSubsMap_.empty(); in HWTEST_F() 160 bool ret = SubscribeManager::GetInstance().uidSubsMap_.empty(); in HWTEST_F() 163 ret = SubscribeManager::GetInstance().uidSubsMap_.empty(); in HWTEST_F() 177 bool ret = SubscribeManager::GetInstance().uidSubsMap_.empty(); in HWTEST_F() 180 ret = SubscribeManager::GetInstance().uidSubsMap_.empty(); in HWTEST_F() 195 bool ret = SubscribeManager::GetInstance().notifiersMap_.empty(); in HWTEST_F() 282 bool ret = SubscribeManager::GetInstance().notifiersMap_.empty(); in HWTEST_F() 286 ret = SubscribeManager::GetInstance().notifiersMap_.empty(); in HWTEST_F() 306 bool ret = SubscribeManager::GetInstance().notifiersMap_.empty(); in HWTEST_F() 326 bool ret = SubscribeManager::GetInstance().notifiersMap_.empty(); in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/sound/sh/ |
H A D | sh_dac_audio.c | 46 int empty; member 70 chip->empty = 1; in dac_audio_reset() 109 chip->empty = 1; in snd_sh_dac_pcm_open() 150 chip->empty = 1; in snd_sh_dac_pcm_trigger() 171 if (chip->empty) { in snd_sh_dac_pcm_copy() 172 chip->empty = 0; in snd_sh_dac_pcm_copy() 189 if (chip->empty) { in snd_sh_dac_pcm_copy_kernel() 190 chip->empty = 0; in snd_sh_dac_pcm_copy_kernel() 207 if (chip->empty) { in snd_sh_dac_pcm_silence() 208 chip->empty in snd_sh_dac_pcm_silence() [all...] |
/third_party/gn/src/gn/ |
H A D | hash_table_base_unittest.cc | 195 EXPECT_TRUE(table.empty()); in TEST() 213 EXPECT_FALSE(table.empty()); in TEST() 242 EXPECT_FALSE(table.empty()); in TEST() 246 EXPECT_TRUE(table2.empty()); in TEST() 248 EXPECT_FALSE(table2.empty()); in TEST() 250 EXPECT_FALSE(table.empty()); in TEST() 287 EXPECT_FALSE(table.empty()); in TEST() 291 EXPECT_TRUE(table2.empty()); in TEST() 293 EXPECT_FALSE(table2.empty()); in TEST() 295 EXPECT_TRUE(table.empty()); in TEST() [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_http.cc | 64 if ((params & FORWARDED_BY) && !node_by.empty()) { in create_forwarded() 67 if ((params & FORWARDED_FOR) && !node_for.empty()) { in create_forwarded() 70 if ((params & FORWARDED_HOST) && !host.empty()) { in create_forwarded() 73 if ((params & FORWARDED_PROTO) && !proto.empty()) { in create_forwarded() 80 if ((params & FORWARDED_BY) && !node_by.empty()) { in create_forwarded() 95 if ((params & FORWARDED_FOR) && !node_for.empty()) { in create_forwarded() 107 if ((params & FORWARDED_HOST) && !host.empty()) { in create_forwarded() 113 if ((params & FORWARDED_PROTO) && !proto.empty()) { in create_forwarded() 184 if (!path.empty()) { in create_affinity_cookie() 200 if (!path.empty()) { in create_affinity_cookie() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_item_component.cpp | 73 if (strSection_.empty()) { in IsCorrectItem() 82 if (indexKey.empty()) { in IsCorrectItem() 101 if (strSection_.empty()) { in AddIndexKey() 110 if (indexKey.empty()) { in AddIndexKey() 155 if (indexKey.empty()) { in AddIndexKeyForSharp() 159 if (!item->empty()) { in AddIndexKeyForSharp() 192 if (strSection_.empty()) { in RemoveIndexKey() 201 if (indexKey.empty()) { in RemoveIndexKey() 235 if (indexKey.empty()) { in RemoveIndexKeyForSharp() 238 if (item->empty()) { in RemoveIndexKeyForSharp() [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_image_cache_test.cpp | 55 EXPECT_TRUE(RSImageCache::Instance().uniqueIdList_.empty()); in HWTEST_F() 74 EXPECT_TRUE(imageCache.pixelMapCache_.empty()); in HWTEST_F() 88 EXPECT_FALSE(imageCache.drawingImageCache_.empty()); in HWTEST_F() 120 EXPECT_FALSE(imageCache.drawingImageCache_.empty()); in HWTEST_F() 136 EXPECT_FALSE(imageCache.drawingImageCache_.empty()); in HWTEST_F() 168 EXPECT_FALSE(imageCache.drawingImageCache_.empty()); in HWTEST_F() 186 EXPECT_FALSE(imageCache.drawingImageCache_.empty()); in HWTEST_F() 201 EXPECT_FALSE(imageCache.pixelMapIdRelatedDrawingImageCache_.empty()); in HWTEST_F() 233 EXPECT_FALSE(imageCache.pixelMapIdRelatedDrawingImageCache_.empty()); in HWTEST_F() 251 EXPECT_TRUE(RSImageCache::Instance().uniqueIdList_.empty()); in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_proxy_tracker.cpp | 87 uint16_t port = (proxyPort.empty() || host.empty()) ? 0 : static_cast<uint16_t>(CommonUtils::StrToUint(proxyPort)); in ReadFromSettingsData() 94 host.empty() ? std::list<std::string>() : ParseExclusionList(proxyExclusions); in ReadFromSettingsData() 101 httpProxy.GetHost().empty() ? Base64::Encode(DEFAULT_HTTP_PROXY_HOST) : Base64::Encode(httpProxy.GetHost()); in WriteToSettingsData() 109 std::string port = httpProxy.GetHost().empty() ? DEFAULT_HTTP_PROXY_PORT : std::to_string(httpProxy.GetPort()); in WriteToSettingsData() 117 exclusions = (httpProxy.GetHost().empty() || exclusions.empty()) ? DEFAULT_HTTP_PROXY_EXCLUSION_LIST : exclusions; in WriteToSettingsData() 124 if (!httpProxy.GetUsername().empty()) { in WriteToSettingsData() 134 if (exclusions.empty() || exclusions == DEFAULT_HTTP_PROXY_EXCLUSION_LIST) { in ParseExclusionList() 156 if (exclusion.empty()) { in GetExclusionsAsString() [all...] |
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | utd_cfgs_checker.cpp | 73 if (!typeCfgs.first.empty()) { in CheckTypesFormat() 76 if (!typeCfgs.second.empty()) { in CheckTypesFormat() 87 if (typeCfg.belongingToTypes.empty()) { in CheckTypesFormat() 88 LOG_ERROR(UDMF_CLIENT, "BelongingToTypes can not be empty, bundleName: %{public}s.", bundleName.c_str()); in CheckTypesFormat() 92 if (mimeType.empty()) { in CheckTypesFormat() 93 LOG_ERROR(UDMF_CLIENT, "mimeType can not be an empty string, typeId: %{public}s.", in CheckTypesFormat() 106 if (!typeCfgs.first.empty()) { in CheckTypesRelation() 109 if (!typeCfgs.second.empty()) { in CheckTypesRelation() 150 if (belongingToType.empty()) { in CheckBelongingToTypes() 151 LOG_ERROR(UDMF_CLIENT, "BelongingToType can not be an empty strin in CheckBelongingToTypes() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/utils/ |
H A D | dh_context_test.cpp | 52 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 55 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 58 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 61 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 64 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 67 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 70 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 76 EXPECT_EQ(false, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 82 EXPECT_EQ(false, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() 85 EXPECT_EQ(true, DHContext::GetInstance().devIdEntrySet_.empty()); in HWTEST_F() [all...] |
/third_party/node/deps/v8/src/interpreter/ |
H A D | control-flow-builders.cc | 15 DCHECK(break_labels_.empty() || break_labels_.is_bound()); in ~BreakableControlFlowBuilder() 49 DCHECK(continue_labels_.empty() || continue_labels_.is_bound()); in ~LoopBuilder() 50 DCHECK(end_labels_.empty() || end_labels_.is_bound()); in ~LoopBuilder() 58 DCHECK(break_labels_.empty() && continue_labels_.empty() && in LoopHeader() 59 end_labels_.empty()); in LoopHeader() 214 DCHECK(end_labels_.empty() || end_labels_.is_bound()); in ~ConditionalControlFlowBuilder() 215 DCHECK(then_labels_.empty() || then_labels_.is_bound()); in ~ConditionalControlFlowBuilder() 216 DCHECK(else_labels_.empty() || else_labels_.is_bound()); in ~ConditionalControlFlowBuilder() 227 DCHECK(end_labels_.empty()); // Ma in JumpToEnd() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcTestSubcase.cpp | 156 if (!vsh.empty()) in Documentation() 160 if (!vsh2.empty()) in Documentation() 164 if (!tcsh.empty()) in Documentation() 168 if (!tcsh2.empty()) in Documentation() 172 if (!tesh.empty()) in Documentation() 176 if (!tesh2.empty()) in Documentation() 180 if (!gsh.empty()) in Documentation() 184 if (!gsh2.empty()) in Documentation() 188 if (!fsh.empty()) in Documentation() 192 if (!fsh2.empty()) in Documentation() [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/src/network/ |
H A D | iptables_manager.cpp | 57 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in AddFirewallRule() 62 !std::get<FIREWALL_SRCPORT_IND>(rule).empty() && !std::get<FIREWALL_DESTPORT_IND>(rule).empty()) { in AddFirewallRule() 98 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in RemoveFirewallRule() 103 (!std::get<FIREWALL_SRCPORT_IND>(rule).empty() || !std::get<FIREWALL_DESTPORT_IND>(rule).empty())) { in RemoveFirewallRule() 117 !std::get<FIREWALL_SRCADDR_IND>(rule).empty() || !std::get<FIREWALL_DESTADDR_IND>(rule).empty() || in RemoveFirewallRule() 118 !std::get<FIREWALL_SRCPORT_IND>(rule).empty() || !std::get<FIREWALL_DESTPORT_IND>(rule).empty() || in RemoveFirewallRule() [all...] |
/foundation/ability/ability_base/interfaces/kits/native/uri/src/ |
H A D | uri.cpp | 51 if (uriString.empty()) { in Uri() 77 if (scheme_.empty()) { in CheckScheme() 94 if (uriString_.empty()) { in GetScheme() 112 if (uriString_.empty()) { in GetSchemeSpecificPart() 138 if (uriString_.empty()) { in GetAuthority() 181 if (uriString_.empty()) { in GetUserInfo() 194 if (authority.empty()) { in ParseUserInfo() 204 if (uriString_.empty()) { in GetHost() 217 if (authority.empty()) { in ParseHost() 237 if (uriString_.empty()) { in GetPort() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | event_dump_test_ng.cpp | 96 if (!eventTreeRecord->eventTreeList.empty()) { in FillTouchDownEventToEventTree() 118 * @tc.expected: dump list exist data, size is not empty. in HWTEST_F() 122 EXPECT_TRUE(dumpList.empty()); in HWTEST_F() 124 EXPECT_FALSE(dumpList.empty()); in HWTEST_F() 142 * @tc.expected: dump list exist data, size is not empty. in HWTEST_F() 146 EXPECT_TRUE(dumpList.empty()); in HWTEST_F() 148 EXPECT_FALSE(dumpList.empty()); in HWTEST_F() 178 ASSERT_FALSE(eventTreeRecord->eventTreeList.empty()); in HWTEST_F() 200 * @tc.expected: list is not empty. in HWTEST_F() 205 ASSERT_FALSE(eventTreeRecord->eventTreeList.empty()); in HWTEST_F() [all...] |