| /foundation/arkui/ace_engine/frameworks/core/components/declaration/search/ |
| H A D | search_declaration.cpp | 148 auto operatorIter = BinarySearchFindIndex(searchAttrOperators, ArraySize(searchAttrOperators), attr.first.c_str()); in SetSpecializedAttr() 262 auto operatorIter = BinarySearchFindIndex(searchStyleSize, ArraySize(searchStyleSize), style.first.c_str()); in SetSpecializedStyle() 267 if (style.first == DOM_BORDER_TOP_LEFT_RADIUS || style.first == DOM_BORDER_TOP_RIGHT_RADIUS || in SetSpecializedStyle() 268 style.first == DOM_BORDER_BOTTOM_LEFT_RADIUS || style.first == DOM_BORDER_BOTTOM_RIGHT_RADIUS || in SetSpecializedStyle() 269 style.first == DOM_BORDER_RADIUS) { in SetSpecializedStyle()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/ |
| H A D | grid_layout_algorithm.cpp | 70 auto rowsLen = rows.first; in InitGridCeils() 71 auto colsLen = cols.first; in InitGridCeils() 327 gridLayoutInfo_.endMainLineIndex_ = (iter == gridLayoutInfo_.gridMatrix_.rend() ? -1 : iter->first); in Measure() 369 gridItemLayoutProperty->UpdateMainIndex(mainLine.first); in Layout() 370 gridItemLayoutProperty->UpdateCrossIndex(crossLine.first); in Layout() 371 UpdateRealGridItemPositionInfo(wrapper, mainLine.first, crossLine.first); in Layout()
|
| /foundation/ability/ability_runtime/interfaces/inner_api/dataobs_manager/include/ |
| H A D | dataobs_utils.h | 145 bool Marshal(MessageParcel &parcel, const T &first, const Types &...others); 148 bool Unmarshal(MessageParcel &parcel, T &first, Types &...others); 213 if (!DataObsUtils::Marshalling(entry.first, parcel)) { in Marshalling() 308 bool DataObsUtils::Marshal(MessageParcel &parcel, const T &first, const Types &...others) in Marshal() argument 310 if (!DataObsUtils::Marshalling(first, parcel)) { in Marshal() 317 bool DataObsUtils::Unmarshal(MessageParcel &parcel, T &first, Types &...others) in Unmarshal() argument 319 if (!DataObsUtils::Unmarshalling(first, parcel)) { in Unmarshal()
|
| /foundation/arkui/ace_engine/frameworks/base/resource/ |
| H A D | ace_res_key_parser.cpp | 311 return item->first; in GetOrientationByType() 321 return item->first; in GetColorModeByType() 331 return item->first; in GetDeclarativeColorModeByType() 341 return deviceTypeItem->first; in GetDeviceByType() 351 return resolutionItem->first; in GetResolutionByType() 360 return shapeItem->first; in GetScreenShapeByType() 370 return longItem->first; in GetScreenLongByType()
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/ |
| H A D | bundle_sandbox_data_mgr.cpp | 303 auto fileUnderlinePos = sandboxInfo.first.find(Constants::FILE_UNDERLINE); in RestoreSandboxPersistentInnerBundleInfo() 308 std::string appIndexStr = sandboxInfo.first.substr(0, fileUnderlinePos); in RestoreSandboxPersistentInnerBundleInfo() 309 std::string bundleName = sandboxInfo.first.substr(fileUnderlinePos + 1); in RestoreSandboxPersistentInnerBundleInfo() 354 bundleIdMap.emplace(bundleId, info.first); in RestoreSandboxUidAndGid() 356 bundleIdMap[bundleId] = info.first; in RestoreSandboxUidAndGid() 358 BundleUtil::MakeFsConfig(info.first, bundleId, ServiceConstants::HMDFS_CONFIG_PATH); in RestoreSandboxUidAndGid() 359 BundleUtil::MakeFsConfig(info.first, bundleId, ServiceConstants::SHAREFS_CONFIG_PATH); in RestoreSandboxUidAndGid()
|
| /foundation/graphic/graphic_2d/rosen/samples/composer/ |
| H A D | hello_composer.cpp | 131 currScreenId_ = iter->first; in CreateLayers() 248 uint32_t screenId = iter->first; in Draw() 384 uint32_t screenId = widthIter->first; in RemoveOffScreenData() 394 uint32_t screenId = heightIter->first; in RemoveOffScreenData() 404 uint32_t screenId = outputIter->first; in RemoveOffScreenData() 414 uint32_t screenId = screenIter->first; in RemoveOffScreenData() 424 uint32_t screenId = layerIter->first; in RemoveOffScreenData()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
| H A D | rs_vsync_rate_reduce_manager.cpp | 33 // vsync rate table, first dimension means the balance level as one frame duration increased 247 if (iterCur->first == iterLast->first && iterCur->second == iterLast->second) { in NotifyVRates() 251 appVSyncDistributor_->SetQosVSyncRate(iterCur->first, iterCur->second, isSystemAnimatedScenes_); in NotifyVRates() 252 RS_OPTIONAL_TRACE_NAME_FMT("NotifyVRates nodeId=%" PRIu64 " rate=%d isSysAnimate=%d", iterCur->first, in NotifyVRates() 468 if (iterCur->first != iterLast->first || iterCur->second != iterLast->second) { in NotifyVSyncRates() 470 notifyVsyncFunc(iterCur->first, iterCur->second); in NotifyVSyncRates()
|
| /foundation/multimedia/camera_framework/services/camera_service/src/ |
| H A D | hcamera_preconfig.cpp | 395 switch (ratioPair.first) { in DumpPreconfigInfo() 397 photoPreconfig = GeneratePhotoSessionPreconfigRatio1v1(typePair.first); in DumpPreconfigInfo() 398 videoPreconfig = GenerateVideoSessionPreconfigRatio1v1(typePair.first); in DumpPreconfigInfo() 401 photoPreconfig = GeneratePhotoSessionPreconfigRatio4v3(typePair.first); in DumpPreconfigInfo() 402 videoPreconfig = GenerateVideoSessionPreconfigRatio4v3(typePair.first); in DumpPreconfigInfo() 405 photoPreconfig = GeneratePhotoSessionPreconfigRatio16v9(typePair.first); in DumpPreconfigInfo() 406 videoPreconfig = GenerateVideoSessionPreconfigRatio16v9(typePair.first); in DumpPreconfigInfo()
|
| /foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/ |
| H A D | camera_ability_parse_util.cpp | 178 i = indexPair.first;
in GetInfo() 210 i = specIndexRange[k].first;
in GetSpecInfo() 242 i = streamIndexRange[k].first;
in GetStreamInfo() 270 i = detailIndexRange[k].first;
in GetDetailInfo() 304 i = infoIndexRange[k].first;
in GetAvailableConfigInfo() 334 i = infoIndexRange[k].first;
in GetConflictConfigInfo() 342 tagInfo.first = static_cast<uint32_t>(originInfo[i++]);
in GetConflictConfigInfo()
|
| /foundation/graphic/graphic_2d/rosen/modules/effect/color_picker/src/ |
| H A D | color_picker.cpp | 144 color = ColorManager::Color(featureColors_[0].first | 0xFF000000); // alpha = oxFF in GetLargestProportionColor() 157 hsv = RGB2HSV(featureColors_[i].first); in GetHighestSaturationColor() 160 colorPicked = featureColors_[i].first; in GetHighestSaturationColor() 184 redSum += featureColors_[i].second * ((featureColors_[i].first >> ARGB_R_SHIFT) & ARGB_MASK); in GetAverageColor() 185 greenSum += featureColors_[i].second * ((featureColors_[i].first >> ARGB_G_SHIFT) & ARGB_MASK); in GetAverageColor() 186 blueSum += featureColors_[i].second * ((featureColors_[i].first >> ARGB_B_SHIFT) & ARGB_MASK); in GetAverageColor() 219 colors.emplace_back(ColorManager::Color(featureColors_[i].first | 0xFF000000)); in GetTopProportionColors()
|
| /third_party/ffmpeg/libavformat/ |
| H A D | prompeg.c | 117 int first; member 376 s->first = 1; in prompeg_init() 403 if (!s->first || s->packet_idx > 0) { in prompeg_write() 417 if (!s->first) { in prompeg_write() 432 if (!s->first && s->packet_idx % s->d == 0) { in prompeg_write() 440 if (s->first) in prompeg_write() 441 s->first = 0; in prompeg_write()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/ |
| H A D | TestUCharacterIterator.java | 92 errln("Iterator failed retrieving first character"); in TestIteration() 292 if(citer1.first() !=iter1.current()){ in TestPreviousNext() 295 if(citer2.first() !=iter2.current()){ in TestPreviousNext() 298 if(citer3.first() !=iter3.current()){ in TestPreviousNext() 439 if(ci.first()!=wrap_ci.first()){ in TestUCharacterIteratorWrapper() 440 errln("CharacterIteratorWrapper.first() failed. expected: " + ci.first() + " got: " +wrap_ci.first()); in TestUCharacterIteratorWrapper()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
| H A D | TestUCharacterIterator.java | 89 errln("Iterator failed retrieving first character"); in TestIteration() 289 if(citer1.first() !=iter1.current()){ in TestPreviousNext() 292 if(citer2.first() !=iter2.current()){ in TestPreviousNext() 295 if(citer3.first() !=iter3.current()){ in TestPreviousNext() 436 if(ci.first()!=wrap_ci.first()){ in TestUCharacterIteratorWrapper() 437 errln("CharacterIteratorWrapper.first() failed. expected: " + ci.first() + " got: " +wrap_ci.first()); in TestUCharacterIteratorWrapper()
|
| /third_party/libunwind/libunwind/src/arm/ |
| H A D | Gex_tables.c | 393 unw_word_t first = di->u.rti.table_data; in arm_search_unwind_table() local 397 if (prel31_to_addr (as, arg, first, &val) < 0 || ip < val) in arm_search_unwind_table() 414 while (first < last - 8) in arm_search_unwind_table() 416 entry = first + (((last - first) / 8 + 1) >> 1) * 8; in arm_search_unwind_table() 424 first = entry; in arm_search_unwind_table() 427 entry = first; in arm_search_unwind_table()
|
| /third_party/node/deps/openssl/openssl/crypto/x509/ |
| H A D | t_x509.c | 342 char oidstr[80], first; in X509_aux_print() local 352 first = 1; in X509_aux_print() 355 if (!first) in X509_aux_print() 358 first = 0; in X509_aux_print() 367 first = 1; in X509_aux_print() 370 if (!first) in X509_aux_print() 373 first = 0; in X509_aux_print()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
| H A D | vktApiMaintenance3Check.cpp | 115 aliveTypes.insert(typeCount.first); in getAliveTypes() 163 // More types than remaining descriptors. Assign 1 to the first affected types and 0 to the rest. in distributeCounts() 193 const vk::VkDescriptorType& type = inc.first; in distributeCounts() 402 if (tc.first != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) in calculateBindings() 410 b.descriptorType = tc.first; in calculateBindings() 427 b.descriptorType = tc.first; in calculateBindings() 448 iter = typeCount.insert(make_pair(b.descriptorType, (deUint32)0)).first; in getBindingsDescription() 463 combStr << (i++ ? ", " : " ") << tc.first << ": " << tc.second; in getBindingsDescription()
|
| /third_party/openssl/crypto/x509/ |
| H A D | t_x509.c | 344 char oidstr[80], first; in X509_aux_print() local 354 first = 1; in X509_aux_print() 357 if (!first) in X509_aux_print() 360 first = 0; in X509_aux_print() 369 first = 1; in X509_aux_print() 372 if (!first) in X509_aux_print() 375 first = 0; in X509_aux_print()
|
| /third_party/skia/third_party/externals/libwebp/src/mux/ |
| H A D | muxinternal.c | 101 WebPChunk* ChunkSearchList(WebPChunk* first, uint32_t nth, uint32_t tag) { in ChunkSearchList() argument 103 first = ChunkSearchNextInList(first, tag); in ChunkSearchList() 104 if (first == NULL) return NULL; in ChunkSearchList() 107 WebPChunk* next_chunk = ChunkSearchNextInList(first->next_, tag); in ChunkSearchList() 109 first = next_chunk; in ChunkSearchList() 111 return ((nth > 0) && (iter > 0)) ? NULL : first; in ChunkSearchList()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
| H A D | BitstreamRemarkSerializer.cpp | 275 R.push_back(StrTab.add(Remark.RemarkName).first); in emitRemarkBlock() 276 R.push_back(StrTab.add(Remark.PassName).first); in emitRemarkBlock() 277 R.push_back(StrTab.add(Remark.FunctionName).first); in emitRemarkBlock() 283 R.push_back(StrTab.add(Loc->SourceFilePath).first); in emitRemarkBlock() 298 unsigned Key = StrTab.add(Arg.Key).first; in emitRemarkBlock() 299 unsigned Val = StrTab.add(Arg.Val).first; in emitRemarkBlock() 306 R.push_back(StrTab.add(Arg.Loc->SourceFilePath).first); in emitRemarkBlock()
|
| /foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/enroll/ |
| H A D | enroll_engine.cpp | 236 if (it.first == std::string("wakeup_bundle_name")) { in SetParameterInner() 241 if (it.first == std::string("wakeup_ability_name")) { in SetParameterInner() 246 if (it.first == std::string("language")) { in SetParameterInner() 251 if (it.first == std::string("area")) { in SetParameterInner() 256 if (it.first == std::string("Sensibility")) { in SetParameterInner()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
| H A D | grid_scroll_with_options_layout_algorithm.cpp | 35 currentItemColStart_ = result.first; in AdjustRowColSpan() 42 currentItemRowStart_ = result.first; in AdjustRowColSpan() 84 ? gridLayoutInfo_.gridMatrix_.rbegin()->first + 1 in GetTargetIndexInfoWithBenchMark() 173 lastIndex = iter->first; in JumpToLastIrregularItem() 177 lastIndex = lastIter->first; in JumpToLastIrregularItem() 195 // first irregular item in new line in InitIrregularItemsPosition()
|
| /foundation/graphic/graphic_3d/lume/metaobject/src/ |
| H A D | proxy_object.cpp | 147 if (auto tp = target->GetPropertyByName(p.first)) { in RefreshProperties() 148 auto res = proxyProperties_.insert({ p.first, p.second }); in RefreshProperties() 149 res.first->second.Bind(tp); in RefreshProperties() 254 r.first->second.Bind(property); in SetPropertyTarget() 268 res.first->second.Bind(tp); in AddProxyProperty()
|
| /foundation/graphic/graphic_3d/lume/LumeEngine/src/perf/ |
| H A D | performance_data_manager.cpp | 113 pd.subCategory = typeRef.first; in GetTimingData() 115 pd.timings[perfRef.first] = perfRef.second; in GetTimingData() 196 perfRef.second.maxTime, perfRef.second.totalTime, perfRef.second.counter, typeRef.first.c_str(), in DumpToLog() 197 perfRef.first.c_str()); in DumpToLog() 232 return inserted.first->second.get(); in Get()
|
| /foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/recording/maskcmdlist_fuzzer/ |
| H A D | maskcmdlist_fuzzer.cpp | 60 cmdListData.first = dataText; in MaskCmdListFuzzTest001() 92 cmdListData.first = dataText; in MaskCmdListFuzzTest002() 133 cmdListData.first = dataText; in MaskCmdListFuzzTest003() 191 cmdListData.first = static_cast<const void*>(dataText); in MaskCmdListFuzzTest004() 236 cmdListData.first = static_cast<const void*>(dataText); in MaskCmdListFuzzTest005()
|
| /foundation/multimedia/av_codec/test/nativedemo/e2e_demo/ |
| H A D | avcodec_e2e_demo_api10.cpp | 91 FrameInfo first = frameList.front(); in sortFrame() local 94 if (second.pts - first.pts <= (duration * FRAME_INTERVAL_TIMES)) { in sortFrame() 95 OH_VideoDecoder_RenderOutputData(codec, first.index); in sortFrame() 108 FrameInfo first = frameList.front(); in OnDecOutputDataAvailable() local 109 OH_VideoDecoder_RenderOutputData(codec, first.index); in OnDecOutputDataAvailable()
|