Home
last modified time | relevance | path

Searched refs:GetLength (Results 1 - 25 of 126) sorted by relevance

123456

/foundation/ability/idl_tool/util/
H A Dstring.cpp169 int String::GetLength() const in GetLength() function in OHOS::String
180 if (index < 0 || index >= GetLength()) { in operator []()
193 if ((size_t)GetLength() != strlen(string)) { in Equals()
209 if (GetLength() != other.GetLength()) { in Equals()
240 } else if (fromIndex >= GetLength()) { in IndexOf()
245 char* end = string_ + GetLength(); in IndexOf()
263 } else if (fromIndex >= GetLength()) { in IndexOf()
279 } else if (fromIndex >= GetLength()) { in IndexOf()
295 } else if (fromIndex == 0 || fromIndex >= GetLength()) { in LastIndexOf()
[all...]
H A Dstring_pool.cpp58 if (!Grow(string.GetLength() + 1)) { in AddInternal()
67 dataOffset_ += string.GetLength() + 1; in AddInternal()
/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/geometry/
H A Dcone.h38 float GetLength() const in GetLength() function in OHOS::Render3D::Cone
53 && GetLength() == m.GetLength()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_bluetooth_data.cpp40 btData[offset] = dataStructure.GetLength(); in GetClassicBluetoothData()
47 (dataStructure.GetLength() - 1)); in GetClassicBluetoothData()
51 offset = offset + dataStructure.GetLength() + 1; in GetClassicBluetoothData()
64 int offset = offset_ + dataStruct.GetLength() + 1; in AddDataStructure()
H A Dclassic_data_structure.cpp37 uint8_t ClassicDataStructure::GetLength() const in GetLength() function in OHOS::bluetooth::ClassicDataStructure
H A Dclassic_data_structure.h71 uint8_t GetLength() const;
/foundation/resourceschedule/ffrt/src/util/
H A Dspmc_queue.cpp45 unsigned int SpmcQueue::GetLength() const in GetLength() function in ffrt::SpmcQueue
116 while ((dstQueue.GetLength() < dstQueue.GetCapacity()) && (head_.load() != tail_.load())) { in PopHeadToAnotherQueue()
H A Dspmc_queue.h26 unsigned int GetLength() const;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp303 if (start == GetLength()) { in InsertUseFrontStyle()
322 auto len = GetLength(); in InsertString()
384 GetSpecialTypesVector(indexList, 0, GetLength()); in RemoveSpecialpanText()
415 if (length < 0 || start + length > GetLength()) { in ReplaceSpanString()
441 auto offset = spanString->GetLength(); in ApplyInsertSpanStringToSpans()
475 auto offset = spanString->GetLength(); in ApplyInsertSpanStringToSpanBase()
508 auto len = GetLength(); in InsertSpanString()
509 if (start > len || spanString->GetLength() == 0) { in InsertSpanString()
513 auto offset = spanString->GetLength(); in InsertSpanString()
541 InsertSpanString(GetLength(), spanStrin in AppendSpanString()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dserialisation_utils.cpp54 uint64_t MemFile::GetLength() const in GetLength() function in MemFile
113 vec.resize(f->GetLength()); in LoadFile()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_packet.cpp56 uint32_t Packet::GetLength() const in GetLength() function in OHOS::Rosen::Packet
65 return GetLength() - Packet::HEADER_SIZE; in GetPayloadLength()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_spring_model.h45 return value.GetLength(); in toFloat()
50 return value.GetLength(); in toFloat()
55 return value.GetLength(); in toFloat()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_packet_test.cpp133 EXPECT_EQ(p.GetLength(), Packet::HEADER_SIZE); in HWTEST_F()
139 EXPECT_EQ(p.GetLength(), Packet::HEADER_SIZE + 4 + 8 + 9); in HWTEST_F()
201 EXPECT_EQ(p.GetLength(), Packet::HEADER_SIZE); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/io/
H A Dintf_file.h65 virtual uint64_t GetLength() const = 0;
/foundation/ability/idl_tool/test/unittest/cacheable_test/
H A Dcacheable_common.h82 file.WriteData(data.string(), data.GetLength()); in PrepareIdlFile()
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Djson_importer.cpp32 data.resize(input.GetLength()); in ImportAsTree()
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_state_loader.cpp55 const uint64_t byteLength = file->GetLength(); in Load()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dstd_file.h49 uint64_t GetLength() const override;
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dspan_string_test_ng.cpp126 * @tc.desc: Test basic function of GetString/GetLength/GetIndex
133 EXPECT_EQ(spanString->GetLength(), 10); in HWTEST_F()
137 EXPECT_EQ(spanString1->GetLength(), 11); in HWTEST_F()
141 EXPECT_EQ(spanString2->GetLength(), 7); in HWTEST_F()
145 EXPECT_EQ(spanString3->GetLength(), 2); in HWTEST_F()
218 * @tc.desc: Test basic function of GetString/GetLength/GetIndex
343 auto spans = spanString->GetSpans(0, spanString->GetLength()); in HWTEST_F()
352 spans = spanString->GetSpans(0, spanString->GetLength()); in HWTEST_F()
365 spanString->RemoveSpans(0, spanString->GetLength()); in HWTEST_F()
366 EXPECT_EQ(spanString->GetLength(), in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_vector2.h61 T GetLength() const;
254 T Vector2<T>::GetLength() const in GetLength() function in OHOS::Rosen::Vector2
270 T l = GetLength(); in Normalize()
H A Drs_vector3.h45 T GetLength() const;
141 T Vector3<T>::GetLength() const in GetLength() function in OHOS::Rosen::Vector3
163 T l = GetLength(); in Normalize()
/foundation/multimodalinput/input/util/common/include/
H A Dmmi_vector2.h61 T GetLength() const;
243 T Vector2<T>::GetLength() const in GetLength() function in OHOS::MMI::Vector2
259 T l = GetLength(); in Normalize()
H A Dmmi_vector3.h44 T GetLength() const;
140 T Vector3<T>::GetLength() const in GetLength() function in OHOS::MMI::Vector3
162 T l = GetLength(); in Normalize()
/foundation/resourceschedule/ffrt/src/eu/
H A Dscpuworker_manager.cpp119 reinterpret_cast<const CPUWorker*>(thread)->localFifo.GetLength(); in WorkerIdleAction()
140 reinterpret_cast<const CPUWorker*>(thread)->localFifo.GetLength(); in WorkerIdleAction()
189 if (queue->GetLength() == queue->GetCapacity()) { in PickUpTaskBatch()
H A Dcpu_worker.cpp191 return ((worker->priority_task == nullptr) && (worker->localFifo.GetLength() == 0)); in LocalEmpty()
265 if (worker->localFifo.GetLength() == 0) { in WorkerLooperDefault()

Completed in 11 milliseconds

123456