Searched refs:curIdx (Results 1 – 3 of 3) sorted by relevance
47 static bool TryEatSymbol(const std::string &str, char symbol, size_t &curIdx) in TryEatSymbol() argument49 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() argument93 size_t idx = curIdx; in EndWithNull()114 size_t curIdx = PRAGMA_VERSION_SQL_LEN; in Prepare() local116 if ((!TryEatSymbol(newSql, '=', curIdx)) || (!TryEatNumber(newSql, version, curIdx)) || in Prepare()[all …]
1040 int32_t curIdx; in SetScreenColorSpace() local1046 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()
716 int32_t curIdx = host->GetChildTrueIndex(cur->GetFrameNode()); in GetNextFocusNode() local736 int32_t idx = curIdx + diff; in GetNextFocusNode()