Home
last modified time | relevance | path

Searched refs:last (Results 1 - 25 of 89) sorted by relevance

1234

/foundation/resourceschedule/ffrt/src/core/
H A Dversion_ctx.cpp47 // Create READY version when last is nullptr in AddConsumer()
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()
74 * the last child version is not in the CONSUMED state in onProduced()
76 if (last == nullptr || last in onProduced()
[all...]
H A Dversion_ctx.h32 VersionCtx(const void* signature, VersionCtx* next, VersionCtx* last) in VersionCtx()
33 : signature(signature), next(next), last(last) {}; in VersionCtx()
39 // Non-nested scenes, is last version, in nested scenes, is the parent's last sub version
40 VersionCtx* last {nullptr};
56 if (last != nullptr && last->status == DataStatus::IDLE) { in AddDataWaitTaskByThis()
57 auto waitVersion = last; in AddDataWaitTaskByThis()
H A Dentity.cpp38 next->last = cur->last; in RecycleVersion()
39 if (cur->last != nullptr) { in RecycleVersion()
40 cur->last->next = next; in RecycleVersion()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_json.h34 char last; in PopObject() local
36 stream_ >> last; in PopObject() local
37 if (last == ',') { in PopObject()
50 char last; in PopArray() local
52 stream_ >> last; in PopArray() local
53 if (last == ',') { in PopArray()
94 char last; in GetDumpString() local
96 stream_ >> last; in GetDumpString() local
97 if (last == ',') { in GetDumpString()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dvector.h90 // one past the last element
225 vector(InputIt first, InputIt last) : allocator_(default_allocator()) in vector() argument
227 const auto size = static_cast<size_type>(last - first); in vector()
229 init_copy(data_, first, last); in vector()
233 vector(const_pointer first, const_pointer last) : allocator_(default_allocator()) in vector() argument
235 const auto size = static_cast<size_type>(last - first); in vector()
648 iterator insert(const_iterator pos, const_iterator first, const_iterator last) in insert() argument
650 return insert_impl(pos, first, last); in insert()
653 iterator insert(const_iterator pos, iterator first, iterator last) in insert() argument
655 return insert_impl(pos, first, last); in insert()
659 insert(const_iterator pos, InputIt first, InputIt last) insert() argument
685 append(InputIt first, InputIt last) append() argument
705 append(const_pointer first, const_pointer last) append() argument
736 erase(const_iterator first, const_iterator last) erase() argument
846 uninitialized_default_construct(pointer first, pointer last) uninitialized_default_construct() argument
857 uninitialized_value_construct(pointer first, pointer last) uninitialized_value_construct() argument
868 uninitialized_copy(const_pointer first, const_pointer last, pointer d_first) uninitialized_copy() argument
880 uninitialized_fill(pointer first, const_pointer last, const_reference value) uninitialized_fill() argument
892 uninitialized_move(pointer first, const_pointer last, pointer d_first) uninitialized_move() argument
907 copy(pointer pos, InputIt first, InputIt last) copy() argument
943 move(pointer first, const_pointer last, pointer d_first) move() argument
955 reverse_move(pointer first, pointer last, pointer dst) reverse_move() argument
986 destroy(iterator first, iterator last) destroy() argument
1095 init_copy(pointer pos, InputIt first, InputIt last) init_copy() argument
1172 insert_impl(const_iterator pos, InputIt first, InputIt last) insert_impl() argument
[all...]
/foundation/graphic/graphic_utils_lite/frameworks/diagram/vertexprimitive/
H A Dgeometry_shorten_path.cpp42 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()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp66 if (pOptions->first != nullptr && pOptions->first == pOptions->last) { in InitOptionList()
78 pOptions->first = pOptions->last = pNode; in InitOptionList()
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()
127 if (pOptions->first == pOptions->last) { in PushFrontOption()
130 pOptions->last = pNode; in PushFrontOption()
154 if (pNode == pOptions->last) { in RemoveOption()
155 pOptions->last in RemoveOption()
[all...]
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dtask_manager.h35 #define GET_INTERVAL(last, now) (((last) > (now)) ? (GET_REMAIN_TIME(last) + (now)) : ((now) - (last)))
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/
H A Dsetacl.cpp140 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); // tak in AclEntryParseText()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/interaction/ipc_codec/
H A Dipc_codec_bind_macros.h40 int32_t IpcSerialize(MessageParcel &pacel, T first, Args... last) \
45 return IpcSerialize(pacel, last...); \
61 int32_t IpcDeserialize(MessageParcel &pacel, T &first, Args &...last) \
66 return IpcDeserialize(pacel, last...); \
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c143 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()
150 last->buf = BufferRefMalloc(buf); in PacketPayloadAddLast()
156 last->next = newLast; in PacketPayloadAddLast()
157 newLast->prev = last; in PacketPayloadAddLast()
429 Payload *last = pkt->tail->prev; PacketExtractTail() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_particle_emitter.cpp81 float last = particleCount_; in EmitParticle() local
86 if (maxParticle <= 0 || (lifeTimeStart == 0 && lifeTimeEnd == 0) || last > static_cast<float>(maxParticle)) { 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()
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dtoken_bucket.c25 uint64 generated = (now > bucket->last) ? ((now - bucket->last) * bucket->rate) : 0; in TB_CheckMessage()
32 bucket->last = now; in TB_CheckMessage()
H A Dtoken_bucket.h30 uint64 last; // The time of the last message member
41 bucket->last = 0; in TB_InitBucket()
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/cache/
H A Drender_fifo_cache.h39 auto &last = valueList_.back(); in Put() local
40 currentSize_ -= sizeMeasurer_(last.second); in Put()
66 auto &last = valueList_.back(); in ReSize() local
67 size_t ss = sizeMeasurer_(last.second); in ReSize()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/utils/
H A Danonymous.cpp31 std::string last = ""; in AnonyDigits() local
33 last = name.substr(name.size() - shortEndDigitsNum); in AnonyDigits()
35 last = name.substr(name.size() - endDigitsNum); in AnonyDigits()
38 return "***" + last; in AnonyDigits()
/foundation/multimedia/media_foundation/interface/inner_api/cpp_ext/
H A Dalgorithm_ext.h22 inline bool AnyOf(Iterator first, Iterator last, UnaryPredicate p) // implementation of std::any_of used on c++11 in AnyOf() argument
24 while (first != last) { in AnyOf()
/foundation/multimedia/media_foundation/engine/include/foundation/cpp_ext/
H A Dalgorithm_ext.h22 inline bool AnyOf(Iterator first, Iterator last, UnaryPredicate p) // implementation of std::any_of used on c++11 in AnyOf() argument
24 while (first != last) { in AnyOf()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dtime_util.cpp44 char last = time[size - 1]; in ParseToMilliseconds() local
47 if (penult == CHAR_M && last == CHAR_S) { in ParseToMilliseconds()
49 } else if (last == CHAR_S) { in ParseToMilliseconds()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/xml/
H A Dxml_element.cpp74 xmlNodePtr last = xmlNodePtr_->last; in GetLast() local
75 if (last != nullptr) { in GetLast()
76 return std::make_shared<XmlElement>(last); in GetLast()
/foundation/multimedia/av_codec/test/unittest/dash_test/
H A Ddash_xml_unit_test.cpp95 std::shared_ptr<XmlElement> last = root->GetLast(); in HWTEST_F() local
96 std::shared_ptr<XmlElement> prev = last->GetSiblingPrev(); in HWTEST_F()
117 std::shared_ptr<XmlElement> last = root->GetLast(); in HWTEST_F() local
118 EXPECT_EQ(last, nullptr); in HWTEST_F()
139 std::shared_ptr<XmlElement> last = root->GetLast(); in HWTEST_F() local
140 EXPECT_EQ(last, nullptr); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/utils/
H A Dutils.cpp45 size_t last = 0; in Split() local
46 auto index = s.find(delim, last); in Split()
48 if (index - last > 0) { in Split()
49 ret.push_back(s.substr(last, index - last)); in Split()
51 last = index + strlen(delim); in Split()
52 index = s.find(delim, last); in Split()
54 if (!s.size() || s.size() - last > 0) { in Split()
55 ret.push_back(s.substr(last)); in Split()
67 size_t last in SplitOnce() local
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dhls_tags.cpp327 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()
[all...]
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Dhash.h163 inline uint64_t HashRange(Iter first, Iter last) in HashRange() argument
166 for (; first != last; ++first) { in HashRange()
174 inline void HashRange(uint64_t& seed, Iter first, Iter last) in HashRange() argument
176 for (; first != last; ++first) { in HashRange()
H A Duid.h73 for (auto first = values, last = values + 8; first != last; ++first) {
79 for (auto first = values + 8, last = values + 16; first != last; ++first) {

Completed in 10 milliseconds

1234