/foundation/ability/idl_tool/util/ |
H A D | string.cpp | 169 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 D | string_pool.cpp | 58 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 D | cone.h | 38 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 D | classic_bluetooth_data.cpp | 40 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 D | classic_data_structure.cpp | 37 uint8_t ClassicDataStructure::GetLength() const in GetLength() function in OHOS::bluetooth::ClassicDataStructure
|
H A D | classic_data_structure.h | 71 uint8_t GetLength() const;
|
/foundation/resourceschedule/ffrt/src/util/ |
H A D | spmc_queue.cpp | 45 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 D | spmc_queue.h | 26 unsigned int GetLength() const;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/ |
H A D | mutable_span_string.cpp | 303 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 D | serialisation_utils.cpp | 54 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 D | rs_profiler_packet.cpp | 56 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 D | rs_spring_model.h | 45 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 D | rs_profiler_packet_test.cpp | 133 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 D | intf_file.h | 65 virtual uint64_t GetLength() const = 0;
|
/foundation/ability/idl_tool/test/unittest/cacheable_test/ |
H A D | cacheable_common.h | 82 file.WriteData(data.string(), data.GetLength());
in PrepareIdlFile()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/ |
H A D | json_importer.cpp | 32 data.resize(input.GetLength()); in ImportAsTree()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | shader_state_loader.cpp | 55 const uint64_t byteLength = file->GetLength(); in Load()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_file.h | 49 uint64_t GetLength() const override;
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/ |
H A D | span_string_test_ng.cpp | 126 * @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 D | rs_vector2.h | 61 T GetLength() const; 254 T Vector2<T>::GetLength() const in GetLength() function in OHOS::Rosen::Vector2 270 T l = GetLength(); in Normalize()
|
H A D | rs_vector3.h | 45 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 D | mmi_vector2.h | 61 T GetLength() const; 243 T Vector2<T>::GetLength() const in GetLength() function in OHOS::MMI::Vector2 259 T l = GetLength(); in Normalize()
|
H A D | mmi_vector3.h | 44 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 D | scpuworker_manager.cpp | 119 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 D | cpu_worker.cpp | 191 return ((worker->priority_task == nullptr) && (worker->localFifo.GetLength() == 0)); in LocalEmpty() 265 if (worker->localFifo.GetLength() == 0) { in WorkerLooperDefault()
|