Home
last modified time | relevance | path

Searched refs:curIdx (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drd_statement.cpp47 static bool TryEatSymbol(const std::string &str, char symbol, size_t &curIdx) in TryEatSymbol() argument
49 size_t idx = curIdx; in TryEatSymbol()
56 curIdx = idx + 1; in TryEatSymbol()
66 size_t idx = curIdx; in TryEatNumber()
86 outNumber = atoi(str.substr(curIdx).c_str()); in TryEatNumber()
87 curIdx = idx; in TryEatNumber()
91 static int EndWithNull(const std::string &str, size_t curIdx) in EndWithNull() argument
93 size_t idx = curIdx; in EndWithNull()
114 size_t curIdx = PRAGMA_VERSION_SQL_LEN; in Prepare() local
116 if ((!TryEatSymbol(newSql, '=', curIdx)) || (!TryEatNumber(newSql, version, curIdx)) || in Prepare()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.cpp1040 int32_t curIdx; in SetScreenColorSpace() local
1046 curIdx = std::distance(supportedVirtualColorGamuts_.begin(), it); in SetScreenColorSpace()
1047 currentVirtualColorGamutIdx_ = curIdx; in SetScreenColorSpace()
1062 curIdx = std::distance(hdiMode.begin(), it); in SetScreenColorSpace()
1063 int32_t result = hdiScreen_->SetScreenColorGamut(hdiMode[curIdx]); in SetScreenColorSpace()
1065 currentPhysicalColorGamutIdx_ = curIdx; in SetScreenColorSpace()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/
H A Dwater_flow_pattern.cpp716 int32_t curIdx = host->GetChildTrueIndex(cur->GetFrameNode()); in GetNextFocusNode() local
736 int32_t idx = curIdx + diff; in GetNextFocusNode()