/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | SamplerHeapCacheD3D12.cpp | 43 ASSERT(!mSamplers.empty()); in SamplerHeapCacheEntry() 66 ASSERT(!mSamplers.empty()); in Populate() 145 ASSERT(mCache.empty()); in ~SamplerHeapCache()
|
/third_party/skia/tools/skqp/src/ |
H A D | skqp_main.cpp | 23 SkASSERT(!fPrefix.empty()); in StdAssetManager() 125 if (!except.empty()) { in main() 146 if (!errors.empty()) { in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | SparseSet.h | 156 // It's not hard to resize the universe on a non-empty set, but it doesn't in setUniverse() 158 assert(empty() && "Can only resize universe on an empty map"); in setUniverse() 179 /// empty - Returns true if the set is empty. 181 /// This is not the same as BitVector::empty(). 183 bool empty() const { return Dense.empty(); } in empty() function in llvm::SparseSet
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 137 if (!succeeded && error.empty()) { in GenerateCode() 142 if (!error.empty()) { in GenerateCode() 177 if (!error_msg.empty()) { in PluginMain()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | json_objectwriter.cc | 176 if (!name.empty() || element()->is_json_object()) { in WritePrefix() 178 if (!name.empty()) { in WritePrefix() 182 if (!indent_string_.empty()) WriteChar(' '); in WritePrefix()
|
/third_party/skia/experimental/sktext/src/ |
H A D | Paint.h | 35 bool empty() const { return fTypeface == nullptr; } in empty() function in skia::text::TrivialFontChain 62 bool empty() const { return fTypefaces.empty(); }
|
/third_party/skia/modules/skottie/src/animator/ |
H A D | KeyframeAnimator.cpp | 19 SkASSERT(!fKFs.empty()); in getLERPInfo() 211 if (c0 != prev_c0 || c1 != prev_c1 || fCMs.empty()) { in parseMapping() 217 SkASSERT(!fCMs.empty()); in parseMapping()
|
/third_party/spirv-tools/source/opt/ |
H A D | remove_duplicates_pass.cpp | 42 if (context()->capabilities().empty()) { in RemoveDuplicateCapabilities() 66 if (context()->ext_inst_imports().empty()) { in RemoveDuplicatesExtInstImports() 91 if (context()->types_values().empty()) { in RemoveDuplicateTypes()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuInterval.cpp | 69 if (!x.empty() && !y.empty()) in operator +() 155 if (interval.empty()) in operator <<()
|
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/ |
H A D | clone_restore.cpp | 348 if (!MediaFileUtils::IsFileExists(fileInfos[i].filePath) || fileInfos[i].cloudPath.empty() || in MoveMigrateFile() 374 if (fileInfos.empty()) { in InsertPhoto() 375 MEDIA_ERR_LOG("fileInfos are empty"); in InsertPhoto() 471 querySql += whereClause.empty() ? "" : " WHERE " + whereClause; in QueryTotalNumber() 490 querySql += whereClause.empty() ? "" : " WHERE " + whereClause; in QueryAlbumInfos() 598 if (rdbStore == nullptr || id.empty()) { in UpdateThumbnailStatusToFailed() 631 if (fileId.empty()) { in GenerateKvStoreKey() 632 MEDIA_ERR_LOG("FileId is empty"); in GenerateKvStoreKey() 635 if (dateKey.empty()) { in GenerateKvStoreKey() 636 MEDIA_ERR_LOG("DateKey is empty"); in GenerateKvStoreKey() [all...] |
H A D | backup_database_utils.cpp | 299 if (columnName.empty() || columnType.empty()) { in GetColumnInfoMap() 346 if (selectionToAdd.empty()) { in UpdateSelection() 350 selection += selection.empty() ? wrappedSelectionToAdd : ", " + wrappedSelectionToAdd; in UpdateSelection() 476 if (faceInfo.hash.empty() || fileInfoMap.count(faceInfo.hash) == 0) { in SetLandmarks() 517 if (faceInfo.hash.empty() || fileInfoMap.count(faceInfo.hash) == 0) { in SetFileIdNew() 532 if (faceInfo.tagIdOld.empty()) { in SetTagIdNew() 533 MEDIA_ERR_LOG("Set new tag_id for face %{public}s failed, empty tag_id", faceInfo.faceId.c_str()); in SetTagIdNew() 541 if (faceInfo.tagIdNew.empty() || !MediaFileUtils::StartsWith(faceInfo.tagIdNew, TAG_ID_PREFIX)) { in SetTagIdNew() 542 MEDIA_ERR_LOG("Set new tag_id for face %{public}s failed, new tag_id %{public}s empty o in SetTagIdNew() [all...] |
/third_party/libabigail/src/ |
H A D | abg-writer.cc | 1228 /// If the location is empty, nothing is written. 1261 /// If the location is empty, nothing is written. 1315 if (str.empty()) in write_visibility() 1364 if (!str.empty()) in write_binding() 1707 if (!aliases.empty()) in write_elf_symbol_aliases() 2044 while (!closing_tags.empty()) in write_decl_in_scope() 2311 while (!referenced_types_to_emit.empty()) in write_referenced_types() 2419 if (!tu_path.empty()) in write_translation_unit() 2422 if (!tu.get_compilation_dir_path().empty() && ctxt.get_write_comp_dir()) in write_translation_unit() 2450 // these classes can be empty in write_translation_unit() [all...] |
H A D | abg-reader.cc | 440 if (m_decls_stack.empty()) in get_cur_decl() 489 if (m_decls_stack.empty()) in pop_decl() 848 || get_environment()->get_type_id_canonical_type_map().empty()) in maybe_check_abixml_canonical_type_stability() 862 if (!type_id.empty()) in maybe_check_abixml_canonical_type_stability() 1151 if ((!soname.empty() || !path.empty()) in read_corpus() 1207 if (!needed.empty()) in read_corpus() 1636 if (rdr.get_id_xml_node_map().empty() in read_translation_unit() 1681 ABG_ASSERT(!tu_path.empty()); in get_or_read_and_add_translation_unit() 1878 if (!name.empty()) in build_needed() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fNegativeTextureApiTests.cpp | 148 if (!compressedFormats.empty()) in init() 184 if (!compressedFormats.empty()) in init() 209 if (!compressedFormats.empty()) in init() 244 if (!compressedFormats.empty()) in init() 257 if (!compressedFormats.empty()) in init() 280 if (!compressedFormats.empty()) in init() 296 if (!compressedFormats.empty()) in init() 312 if (!compressedFormats.empty()) in init() 328 if (!compressedFormats.empty()) in init() 344 if (!compressedFormats.empty()) in init() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_navigation_test/ |
H A D | bms_bundle_navigation_test.cpp | 255 EXPECT_TRUE(semVer.prerelease.empty()); in HWTEST_F() 256 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() 272 EXPECT_TRUE(semVer.prerelease.empty()); in HWTEST_F() 273 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() 289 EXPECT_TRUE(semVer.prerelease.empty()); in HWTEST_F() 290 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() 308 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() 328 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() 347 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() 366 EXPECT_TRUE(semVer.buildMeta.empty()); in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/ |
H A D | dash_mpd_parser.cpp | 169 if (!elementNameStr.empty()) { in ProcessPeriodElement() 175 if (!strValue.empty()) { in ProcessPeriodElement() 350 if (!elementNameStr.empty()) { in ProcessAdpSetElement() 356 if (!strValue.empty()) { in ProcessAdpSetElement() 480 if (!elementNameStr.empty()) { in ParseElementUrlType() 537 if (!elementNameStr.empty()) { in ParseSegmentListElement() 632 if (!elementNameStr.empty()) { in ParseElement() 755 if (!elementNameStr.empty()) { in ProcessRepresentationElement() 761 if (!strValue.empty()) { in ProcessRepresentationElement() 823 if (!elementNameStr.empty()) { in GetContentProtection() [all...] |
/foundation/window/window_manager/wm/src/ |
H A D | window_manager_lite.cpp | 199 if (infos.empty()) { in NotifyAccessibilityWindowInfo() 200 WLOGFE("infos is empty"); in NotifyAccessibilityWindowInfo() 329 if (pImpl_->focusChangedListeners_.empty() && pImpl_->focusChangedListenerAgent_ != nullptr) { in UnregisterFocusChangedListener() 381 if (pImpl_->windowVisibilityListeners_.empty() && pImpl_->windowVisibilityListenerAgent_ != nullptr) { in UnregisterVisibilityChangedListener() 494 if (pImpl_->windowDrawingContentListeners_.empty() && pImpl_->windowDrawingContentListenerAgent_ != nullptr) { in UnregisterDrawingContentChangedListener() 567 if (pImpl_->windowModeListeners_.empty() && pImpl_->windowModeListenerAgent_ != nullptr) { in UnregisterWindowModeChangedListener() 621 if (pImpl_->cameraWindowChangedListeners_.empty() && in UnregisterCameraWindowChangedListener() 641 if (!infos.empty()) { in GetAllMainWindowInfos() 642 TLOGE(WmsLogTag::WMS_MAIN, "infos is not empty."); in GetAllMainWindowInfos() 650 if (persistentIds.empty()) { in ClearMainSessions() [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_assembler.cpp | 116 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0; in emit_instruction() 118 encoding |= !instr->operands.empty() ? instr->operands[0].physReg() : 0; in emit_instruction() 141 encoding |= !instr->definitions.empty() && !(instr->definitions[0].physReg() == scc) in emit_instruction() 143 : !instr->operands.empty() && instr->operands[0].physReg() <= 127 in emit_instruction() 152 encoding |= !instr->definitions.empty() ? instr->definitions[0].physReg() << 16 : 0; in emit_instruction() 154 encoding |= !instr->operands.empty() ? instr->operands[0].physReg() : 0; in emit_instruction() 162 encoding |= !instr->operands.empty() ? instr->operands[0].physReg() : 0; in emit_instruction() 180 bool soe = instr->operands.size() >= (!instr->definitions.empty() ? 3 : 4); in emit_instruction() 181 bool is_load = !instr->definitions.empty(); in emit_instruction() 284 if (!instr->definitions.empty()) in emit_instruction() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 181 if (!SP->getLinkageName().empty()) 321 assert(LinesByFile.empty()); 322 assert(OutEdges.empty()); 421 if (Blocks.empty()) return; 425 if (Block.OutEdges.empty()) continue; 458 while (!RegexesStr.empty()) { 460 if (!HeadTail.first.empty()) { 485 if (FilterRe.empty() && ExcludeRe.empty()) { 508 if (FilterRe.empty()) { [all...] |
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_file.cc | 341 if (options_.runtime_include_base.empty()) { in DoIncludeFile() 365 if (options_.runtime_include_base.empty()) { in CreateHeaderInclude() 405 if (!UseUnknownFieldSet(file_, options_) && !message_generators_.empty()) { in GenerateSourceIncludes() 733 if (!message_generators_.empty()) { in GenerateReflectionInitializationCode() 741 if (!enum_generators_.empty()) { in GenerateReflectionInitializationCode() 766 if (!message_generators_.empty()) { in GenerateReflectionInitializationCode() 812 // MSVC doesn't like empty arrays, so we add a dummy. in GenerateReflectionInitializationCode() 1039 // We need these arrays to exist, and MSVC does not like empty arrays. in GenerateTables() 1082 if (message_generators_.empty()) { in GenerateTables() 1092 if (!message_generators_.empty() in GenerateTables() [all...] |
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
H A D | want.cpp | 367 if (strUri.empty() || schemeStr.empty()) { in GetLowerCaseScheme() 1473 if (!operation_.GetBundleName().empty()) { in ToUriStringInner() 1671 if (content.empty() || content[0] == '=') { in ParseUriInternal() 1679 if (value.empty()) { in ParseUriInternal() 1729 if (!contentLower.empty()) { in ParseFlag() 1956 if (string.empty()) { in FromString() 2053 if (GetUriString().empty()) { in WriteUri() 2072 if (entities.empty()) { in WriteEntities() 2133 int empty in ReadUri() local 2148 int empty = VALUE_NULL; ReadEntities() local 2167 int empty = VALUE_NULL; ReadElement() local 2187 int empty = VALUE_NULL; ReadParameters() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | event_manager_test_ng_new.cpp | 714 ASSERT_TRUE(eventManager->mouseHoverTestResults_.empty()); in HWTEST_F() 790 ASSERT_FALSE((eventManager->currMouseTestResults_).empty()); in HWTEST_F() 870 ASSERT_TRUE(eventManager->eventTree_.eventTreeList.empty()); in HWTEST_F() 897 ASSERT_TRUE(eventManager->eventTree_.eventTreeList.empty()); in HWTEST_F() 916 ASSERT_TRUE(eventManager->hittedFrameNode_.empty()); in HWTEST_F() 927 ASSERT_TRUE(eventManager->hittedFrameNode_.empty()); in HWTEST_F() 1181 ASSERT_FALSE(touchTestIds.empty()); in HWTEST_F() 1223 * @tc.expected: rectCallbackList is empty in HWTEST_F() 1227 EXPECT_TRUE(rectCallbackList.empty()); in HWTEST_F() 1333 EXPECT_TRUE(eventManager->currMouseTestResults_.empty()); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/ |
H A D | render_grid_scroll.cpp | 381 } else if (rowsArgs_.empty()) { in GetGridSize() 388 } else if (colsArgs_.empty()) { in GetGridSize() 894 if (rowsArgs_.empty() && colsArgs_.empty()) { in PerformLayout() 897 if (RenderGridLayout::GetChildren().empty() && !buildChildByIndex_) { in PerformLayout() 967 if (!inRankCache_.empty()) { in DealCache() 1113 if (items_.empty() && updateFlag_) { in OnDataSourceUpdated() 1118 if (items != gridMatrix_.end() && !items->second.empty()) { in OnDataSourceUpdated() 1132 if (gridMatrix_.empty() || gridCells_.empty()) { in CalculateWholeSize() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_service_impl.cpp | 268 if (config.wifiEapConfig.identity.empty() || in CheckConfigEap() 270 (config.wifiEapConfig.clientCert.empty() || in CheckConfigEap() 271 config.wifiEapConfig.privateKey.empty()))) { in CheckConfigEap() 278 if (config.wifiEapConfig.identity.empty() || config.wifiEapConfig.password.empty()) { in CheckConfigEap() 301 if (config.wifiWapiConfig.wapiAsCertData.empty() || config.wifiWapiConfig.wapiUserCertData.empty()) { in CheckConfigWapi() 302 WIFI_LOGE("CheckConfigWapi: with cert data empty!"); in CheckConfigWapi() 326 return config.preSharedKey.empty(); in CheckConfigPwd() 329 if (config.keyMgmt != KEY_MGMT_WEP && config.preSharedKey.empty()) { in CheckConfigPwd() [all...] |
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/ |
H A D | napi_datashare_helper.cpp | 232 if (helper != nullptr && !context->uri.empty()) { in Napi_Insert() 237 LOG_ERROR("dataShareHelper_ is nullptr : %{public}d, context->uri is empty : %{public}d", in Napi_Insert() 238 helper == nullptr, context->uri.empty()); in Napi_Insert() 277 if (helper != nullptr && !context->uri.empty()) { in Napi_Delete() 282 LOG_ERROR("dataShareHelper_ is nullptr : %{public}d, context->uri is empty : %{public}d", in Napi_Delete() 283 helper == nullptr, context->uri.empty()); in Napi_Delete() 332 if (helper != nullptr && !context->uri.empty()) { in Napi_Query() 338 LOG_ERROR("dataShareHelper_ is nullptr : %{public}d, context->uri is empty : %{public}d", in Napi_Query() 339 helper == nullptr, context->uri.empty()); in Napi_Query() 385 if (helper != nullptr && !context->uri.empty()) { in Napi_Update() [all...] |