/base/sensors/miscdevice/interfaces/native/light/test/fuzztest/startlight_fuzzer/ |
D | startlight_fuzzer.cpp | 38 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/ |
D | sys_event.cpp | 83 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/ |
D | distributed_preferences_test.cpp | 136 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/ |
D | view_api.cpp | 72 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/ |
D | stoplight_fuzzer.cpp | 38 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/ |
D | distributed_preferences.h | 101 …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/ |
D | distributed_preferences.cpp | 111 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/ |
D | sms_misc_manager.h | 85 startPos = fromMsgId; in info() 89 uint32_t startPos; member
|
D | sms_wap_push_handler.h | 31 bool DecodeWapPushPduData(SmsWapPushBuffer &decodeBuffer, uint32_t startPos, uint32_t len);
|
/base/telephony/sms_mms/services/ |
D | sms_misc_manager.cpp | 91 … data.startPos = (data.startPos < (*oldIter).fromMsgId) ? data.startPos : (*oldIter).fromMsgId; in ExpandMsgId() 134 rangeList_.emplace_back(data.startPos, data.endPos); in OpenCBRange()
|
D | sms_wap_push_handler.cpp | 39 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/ |
D | input_method_controller.cpp | 630 int32_t startPos = (number <= mSelectNewBegin ? (mSelectNewBegin - number) : 0); in GetTextBeforeCursor() local 632 text = mTextString.substr(startPos, length); in GetTextBeforeCursor()
|