/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | vector.h | 687 if (first == last) { in append() 707 if (first == last) { in append() 742 if (first == last) { in erase() 848 if (first == last) { in uninitialized_default_construct() 859 if (first == last) { in uninitialized_value_construct() 870 if (first == last) { in uninitialized_copy() 882 if (first == last) { in uninitialized_fill() 894 if (first == last) { in uninitialized_move() 909 if (first == last) { in copy() 945 if (first == last) { in move() [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/core/ |
H A D | version_ctx.cpp | 48 if (last == nullptr) { in AddConsumer() 51 beConsumeVersion = last; in AddConsumer() 62 if (parentVersion->last != nullptr) { in AddProducer() 63 VersionCtx* preVersion = parentVersion->last; in AddProducer() 67 producer->outs.insert(parentVersion->last); in AddProducer() 68 parentVersion->last->myProducer = producer; in AddProducer() 76 if (last == nullptr || last->status == DataStatus::CONSUMED) { in onProduced() 108 auto prev = last; in CreateChildVersion() 110 last->status = dataStatus; in CreateChildVersion() 112 prev->next = last; in CreateChildVersion() [all …]
|
H A D | version_ctx.h | 32 VersionCtx(const void* signature, VersionCtx* next, VersionCtx* last) in VersionCtx() 33 : signature(signature), next(next), last(last) {}; in VersionCtx() 40 VersionCtx* last {nullptr}; 56 if (last != nullptr && last->status == DataStatus::IDLE) { in AddDataWaitTaskByThis() 57 auto waitVersion = last; in AddDataWaitTaskByThis()
|
H A D | entity.cpp | 38 next->last = cur->last; in RecycleVersion() 39 if (cur->last != nullptr) { in RecycleVersion() 40 cur->last->next = next; in RecycleVersion()
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_option.cpp | 80 pOptions->last->next = nullptr; in InitOptionList() 104 pNode->previous = pOptions->last; in PushBackOption() 105 pOptions->last->next = pNode; in PushBackOption() 106 pOptions->last = pNode; in PushBackOption() 130 pOptions->last = pNode; in PushFrontOption() 154 if (pNode == pOptions->last) { in RemoveOption() 155 pOptions->last = pNode->previous; in RemoveOption() 156 pOptions->last->next = nullptr; in RemoveOption() 195 if (pNode == pOptions->last) { in ClearOptions() 209 pOptions->last->next = nullptr; in ClearOptions() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_json.h | 34 char last; in PopObject() local 36 stream_ >> last; in PopObject() 37 if (last == ',') { in PopObject() 50 char last; in PopArray() local 52 stream_ >> last; in PopArray() 53 if (last == ',') { in PopArray() 94 char last; in GetDumpString() local 96 stream_ >> last; in GetDumpString() 97 if (last == ',') { in GetDumpString()
|
/ohos5.0/base/startup/init/services/begetctl/ |
H A D | main.c | 42 const char *last = strrchr(argv[0], '/'); in main() local 44 if (last != NULL) { in main() 45 last = last + 1; in main() 47 last = argv[0]; in main() 53 if ((argc > 1) && (strcmp(last, "begetctl") == 0)) { in main()
|
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/ |
H A D | geometry_shorten_path.cpp | 42 VertexDist& last = vtxSeq[nSize]; in ShortenPath() local 44 float x = prev.vertexXCoord + (last.vertexXCoord - prev.vertexXCoord) * vtxSeqDistance; in ShortenPath() 45 float y = prev.vertexYCoord + (last.vertexYCoord - prev.vertexYCoord) * vtxSeqDistance; in ShortenPath() 46 last.vertexXCoord = x; in ShortenPath() 47 last.vertexYCoord = y; in ShortenPath() 48 if (!prev(last)) { // Calculate whether the two vertices are close in ShortenPath()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | packet.c | 143 Payload *last = pkt->payload; in PacketPayloadAddLast() local 144 while (last != NULL && last->next != pkt->tail) { in PacketPayloadAddLast() 145 last = last->next; in PacketPayloadAddLast() 148 if (last != NULL) { in PacketPayloadAddLast() 149 if (last->buf == NULL) { in PacketPayloadAddLast() 156 last->next = newLast; in PacketPayloadAddLast() 157 newLast->prev = last; in PacketPayloadAddLast() 436 last = last->prev; in PacketExtractTail() 441 last->buf = BufferResize(last->buf, 0, buffSize - size); in PacketExtractTail() 442 last->next = pkt->tail; in PacketExtractTail() [all …]
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/test/moduletest/common/ |
H A D | xcollie_timeout_test.cpp | 151 …int last = XCollie::GetInstance().SetTimer("TimeoutTimer", 1, nullptr, nullptr, XCOLLIE_FLAG_NOOP); variable 152 ASSERT_EQ(last, INVALID_ID); 165 last = XCollie::GetInstance().SetTimer("TimeoutTimer", 1, nullptr, nullptr, XCOLLIE_FLAG_NOOP); 166 ASSERT_NE(last, INVALID_ID); 167 XCollie::GetInstance().CancelTimer(last); 191 … int last = XCollie::GetInstance().SetTimer("TimeoutTimer", 61, func, nullptr, XCOLLIE_FLAG_NOOP); variable 192 ASSERT_NE(last, INVALID_ID);
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/ |
H A D | setacl.cpp | 140 std::string::size_type last = 0; in AclEntryParseText() local 143 if ((pos = entryTxt.find(":", last)) == std::string::npos) { in AclEntryParseText() 147 const std::string tagTxt = entryTxt.substr(last, pos - last); in AclEntryParseText() 152 last = pos + 1; in AclEntryParseText() 154 if ((pos = entryTxt.find(":", last)) == std::string::npos) { in AclEntryParseText() 158 const std::string idTxt = entryTxt.substr(last, pos - last); in AclEntryParseText() 173 last = pos + 1; in AclEntryParseText() 175 const std::string permTxt = entryTxt.substr(last); // take substr till the end in AclEntryParseText()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_particle_emitter.cpp | 81 float last = particleCount_; in EmitParticle() local 86 …if (maxParticle <= 0 || (lifeTimeStart == 0 && lifeTimeEnd == 0) || last > static_cast<float>(maxP… in EmitParticle() 91 spawnNum_ += particleCount_ - last; in EmitParticle() 96 if (ROSEN_EQ(last, 0.f)) { in EmitParticle() 106 while (spawnNum_ >= 1.f && std::ceil(last) <= static_cast<float>(maxParticle)) { in EmitParticle() 110 last += 1.f; in EmitParticle()
|
/ohos5.0/docs/en/application-dev/reference/apis-distributedservice-kit/ |
H A D | errorcode-device-manager.md | 43 The last authentication service is still in progress. 47 Wait until the last authentication service is complete and call the authentication API again. 57 The last discovery service is still in progress. 61 Wait until the last discovery service is complete and call the discovery API again. 71 The last publish service is still in progress. 75 Wait until the last publish service is complete and call the publish API again.
|
/ohos5.0/base/security/device_security_level/oem_property/common/ |
H A D | dslm_credential_utils.c | 79 PublicKeyAttestation last; member 135 FREE(list->last.data); in FreeAttestationList() 176 const PublicKeyAttestation *last = &credCb->last; in VerifyCredentialCb() local 196 … ret = EcdsaVerify(&last->publicKey, &last->signature, &intermediate->publicKey, last->algorithm); in VerifyCredentialCb() 204 ret = EcdsaVerify(&payload->payload, &payload->signature, &last->publicKey, TYPE_ECDSA_SHA_384); in VerifyCredentialCb() 206 … ret = EcdsaVerify(&payload->payload, &payload->signature, &last->publicKey, TYPE_ECDSA_SHA_256); in VerifyCredentialCb() 247 FreePublicKeyAttestation(&credCb->last); in DestroyCredentialCb() 430 if (!ParsePublicKeyAttestation(json, PK_ATTEST_INDEX_LAST, &credCb->last)) { in SplitCredentialAttestationList() 459 list->last.data = credCb->last.publicKey.data; in MovePublicKeysToAttestationList() 460 list->last.length = credCb->last.publicKey.length; in MovePublicKeysToAttestationList() [all …]
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr/source/ |
H A D | task_manager.h | 35 #define GET_INTERVAL(last, now) (((last) > (now)) ? (GET_REMAIN_TIME(last) + (now)) : ((now) - (las… argument
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-cmd-cpup.md | 20 …within the last 10 seconds by default.<br>- **0**: displays the CPUP within the last 10 seconds.<b… 26 - If no parameter is specified, the CPU usage of the system within the last 10 seconds is displayed. 40 CPU usage of task 5 in the last one second:
|
/ohos5.0/base/global/i18n_lite/frameworks/i18n/src/ |
H A D | str_util.cpp | 158 size_t last = ind; in Parse() local 159 while (last < length) { in Parse() 160 if (str[last] == '_') { in Parse() 163 ++last; in Parse() 165 if (last == ind) { in Parse() 168 return std::string(str + ind, last - ind); in Parse()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | hls_tags.cpp | 327 std::string::size_type last = 0; in Split() local 328 auto index = s.find(delim, last); in Split() 329 while (index != std::string::npos && last < s.size()) { in Split() 330 if (index > last) { in Split() 331 ret.push_back(s.substr(last, index - last)); in Split() 333 last = index + delimLen; in Split() 334 index = s.find(delim, last); in Split() 336 if (last < s.size()) { in Split() 337 ret.push_back(s.substr(last)); in Split() 338 } else if (last == s.size()) { in Split()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/base/cache/ |
H A D | render_fifo_cache.h | 39 auto &last = valueList_.back(); in Put() local 40 currentSize_ -= sizeMeasurer_(last.second); in Put() 66 auto &last = valueList_.back(); 67 size_t ss = sizeMeasurer_(last.second);
|
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | token_bucket.c | 25 uint64 generated = (now > bucket->last) ? ((now - bucket->last) * bucket->rate) : 0; in TB_CheckMessage() 32 bucket->last = now; in TB_CheckMessage()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/dash_test/ |
H A D | dash_xml_unit_test.cpp | 95 std::shared_ptr<XmlElement> last = root->GetLast(); variable 96 std::shared_ptr<XmlElement> prev = last->GetSiblingPrev(); 117 std::shared_ptr<XmlElement> last = root->GetLast(); variable 118 EXPECT_EQ(last, nullptr); 139 std::shared_ptr<XmlElement> last = root->GetLast(); variable 140 EXPECT_EQ(last, nullptr);
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/xml/ |
H A D | xml_element.cpp | 74 xmlNodePtr last = xmlNodePtr_->last; in GetLast() local 75 if (last != nullptr) { in GetLast() 76 return std::make_shared<XmlElement>(last); in GetLast()
|
/ohos5.0/base/telephony/core_service/utils/log/include/ |
H A D | telephony_log_c.h | 45 const char *last = __builtin_strrchr(path, '/'); 46 return (last != NULL) ? (last + 1) : path;
|
/ohos5.0/base/hiviewdfx/hiview/ |
H A D | kernel_vendor.yaml | 48 LAST_FRAME: {type: STRING, desc: last stack info} 62 LAST_FRAME: {type: STRING, desc: last stack info} 76 LAST_FRAME: {type: STRING, desc: last stack info} 90 LAST_FRAME: {type: STRING, desc: last stack info} 104 LAST_FRAME: {type: STRING, desc: last stack info} 118 LAST_FRAME: {type: STRING, desc: last stack info} 132 LAST_FRAME: {type: STRING, desc: last stack info} 146 LAST_FRAME: {type: STRING, desc: last stack info} 160 LAST_FRAME: {type: STRING, desc: last stack info} 174 LAST_FRAME: {type: STRING, desc: last stack info} [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/ |
H A D | hls_tags.cpp | 322 std::string::size_type last = 0; in Split() local 323 auto index = s.find(delim, last); in Split() 325 if (index - last > 0) { in Split() 326 ret.push_back(s.substr(last, index - last)); in Split() 328 last = index + strlen(delim); in Split() 329 index = s.find(delim, last); in Split() 331 if (s.empty() || s.size() - last > 0) { in Split() 332 ret.push_back(s.substr(last)); in Split()
|