Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 12 of 12) sorted by relevance

/base/sensors/miscdevice/interfaces/native/light/test/fuzztest/startlight_fuzzer/
Dstartlight_fuzzer.cpp38 size_t startPos = 0; in StartLightFuzzTest() local
40 startPos += GetObject<int32_t>(lightId, data + startPos, size - startPos); in StartLightFuzzTest()
42 startPos += GetObject<LightColor>(color, data + startPos, size - startPos); in StartLightFuzzTest()
44 GetObject<LightAnimation>(animation, data + startPos, size - startPos); in StartLightFuzzTest()
/base/hiviewdfx/hiview/base/
Dsys_event.cpp83 size_t startPos = jsonExtraInfo_.find(ele->valueStart, keyPos); in ParseJson() local
84 if (startPos == std::string::npos) { in ParseJson()
87 startPos += strlen(ele->valueStart); in ParseJson()
88 size_t endPos = jsonExtraInfo_.find(ele->valueEnd1, startPos); in ParseJson()
90 endPos = jsonExtraInfo_.find(ele->valueEnd2, startPos); in ParseJson()
93 std::string content = jsonExtraInfo_.substr(startPos, endPos - startPos); in ParseJson()
197 size_t startPos = jsonExtraInfo_.find(targetStr); in GetEventValue() local
198 if (startPos == std::string::npos) { in GetEventValue()
201 startPos += targetStr.size(); in GetEventValue()
203 size_t endPos = startPos; in GetEventValue()
[all …]
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_preferences_test.cpp136 int32_t startPos = 0; variable
139 EXPECT_EQ(distributedPreferences_->ResolveDistributedBundleEnable(key, startPos, value), false);
149 int32_t startPos = 1; variable
152 EXPECT_EQ(distributedPreferences_->ResolveDistributedBundleEnable(key, startPos, value), false);
162 int32_t startPos = 1; variable
165 EXPECT_EQ(distributedPreferences_->ResolveDistributedBundleEnable(key, startPos, value), true);
175 int32_t startPos = 1; variable
178 EXPECT_EQ(distributedPreferences_->ResolveSyncWithoutAppEnable(key, startPos, value), true);
/base/update/updater/services/ui/view/
Dview_api.cpp72 std::size_t startPos = 1ul; in StrToColor() local
73 auto getNextField = [&startPos, &hexColor] () { in StrToColor()
75 …uint8_t ret = (startPos > hexColor.size()) ? 0 : Utils::String2Int<uint8_t>(hexColor.substr(startP… in StrToColor()
76 startPos += width; in StrToColor()
/base/sensors/miscdevice/interfaces/native/light/test/fuzztest/stoplight_fuzzer/
Dstoplight_fuzzer.cpp38 size_t startPos = 0; in StopLightuzzTest() local
40 GetObject<int32_t>(lightId, data + startPos, size - startPos); in StopLightuzzTest()
/base/notification/distributed_notification_service/services/distributed/include/
Ddistributed_preferences.h101 …bool ResolveDistributedBundleEnable(const std::string &key, const int32_t startPos, const std::str…
102 …bool ResolveSyncWithoutAppEnable(const std::string &key, const int32_t startPos, const std::string…
/base/notification/distributed_notification_service/services/distributed/src/
Ddistributed_preferences.cpp111 const int32_t startPos, const std::string &value) in ResolveDistributedBundleEnable() argument
113 std::size_t bundleNamePosition = startPos + DELIMITER.size(); in ResolveDistributedBundleEnable()
132 const int32_t startPos, const std::string &value) in ResolveSyncWithoutAppEnable() argument
134 std::size_t pos = startPos + DELIMITER.size(); in ResolveSyncWithoutAppEnable()
/base/telephony/sms_mms/services/include/
Dsms_misc_manager.h85 startPos = fromMsgId; in info()
89 uint32_t startPos; member
Dsms_wap_push_handler.h31 bool DecodeWapPushPduData(SmsWapPushBuffer &decodeBuffer, uint32_t startPos, uint32_t len);
/base/telephony/sms_mms/services/
Dsms_misc_manager.cpp91 … data.startPos = (data.startPos < (*oldIter).fromMsgId) ? data.startPos : (*oldIter).fromMsgId; in ExpandMsgId()
134 rangeList_.emplace_back(data.startPos, data.endPos); in OpenCBRange()
Dsms_wap_push_handler.cpp39 bool SmsWapPushHandler::DecodeWapPushPduData(SmsWapPushBuffer &decodeBuffer, uint32_t startPos, uin… in DecodeWapPushPduData() argument
42 uint32_t startHeader = startPos; in DecodeWapPushPduData()
/base/inputmethod/imf/frameworks/inputmethod_controller/src/
Dinput_method_controller.cpp630 int32_t startPos = (number <= mSelectNewBegin ? (mSelectNewBegin - number) : 0); in GetTextBeforeCursor() local
632 text = mTextString.substr(startPos, length); in GetTextBeforeCursor()