Home
last modified time | relevance | path

Searched refs:strSize (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/runtime_core/static_core/libpandabase/serializer/
H A Dserializer.h119 uint32_t strSize, size_t value) in BufferToTypeUnpackString()
121 if (size < strSize) { in BufferToTypeUnpackString()
125 out.resize(strSize); in BufferToTypeUnpackString()
126 memcpy_s(out.data(), strSize, data, strSize); in BufferToTypeUnpackString()
127 return value + strSize; in BufferToTypeUnpackString()
134 uint32_t strSize = 0; in BufferToType() local
135 auto r = BufferToType(data, size, strSize); in BufferToType()
136 if (!r || strSize == 0) { in BufferToType()
142 return BufferToTypeUnpackString(data, size, out, strSize, in BufferToType()
118 BufferToTypeUnpackString(const uint8_t *data, size_t size, std::string &out, uint32_t strSize, size_t value) BufferToTypeUnpackString() argument
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
H A Dheap_tracker_third_test.cpp230 int strSize = testString.size(); in HWTEST_F_L0() local
231 bool isFileStream = testFileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
238 strSize = testString.size(); in HWTEST_F_L0()
239 isFileStream = tmpFileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
250 strSize = testString.size(); in HWTEST_F_L0()
251 isFileStream = fileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
H A Dsample_writer.cpp55 size_t strSize = moduleInfo.pathname.length(); in WriteModule() local
60 writeStreamPtr_->write(reinterpret_cast<const char *>(&strSize), sizeof(moduleInfo.pathname.length())); in WriteModule()
H A Dsample_reader-inl.h141 size_t strSize = ReadUintptrTBitMisaligned(&currentModulePtr[PANDA_FILE_NAME_SIZE_OFFSET]); in GetNextModule() local
143 moduleOut->pathname = std::string(strPtr, strSize); in GetNextModule()
/arkcompiler/toolchain/tooling/client/domain/
H A Dprofiler_client.cpp212 size_t strSize = data.size(); in WriteCpuProfileForFile() local
213 ofs.write(data.c_str(), strSize); in WriteCpuProfileForFile()
H A Dheapprofiler_client.cpp345 size_t strSize = data.size(); in WriteHeapProfilerForFile() local
346 ofs.write(data.c_str(), strSize); in WriteHeapProfilerForFile()
/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_hash_table.h254 inline int FindEntry(const uint8_t* str, int strSize) in FindEntry() argument
259 int32_t hash = static_cast<int32_t>(Derived::Hash(str, strSize)); in FindEntry()
270 if (Derived::IsMatch(str, strSize, keyValue)) { in FindEntry()
H A Dtagged_dictionary.h45 static int Hash(const uint8_t* str, int strSize);
H A Dtagged_dictionary.cpp40 int NameDictionary::Hash(const uint8_t* str, int strSize) in Hash() argument
42 uint32_t hash = EcmaString::ComputeHashForData(str, strSize, 0); in Hash()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot.cpp261 size_t strSize = AlignUp(EcmaStringAccessor(str).ObjectSize(), in WriteToFile() local
271 writer.write(reinterpret_cast<char *>(str) + headerSize, strSize - headerSize); in WriteToFile()
H A Dsnapshot_processor.cpp1328 size_t strSize = EcmaStringAccessor(str).ObjectSize(); in DeserializeString() local
1329 strSize = AlignUp(strSize, static_cast<size_t>(MemAlignment::MEM_ALIGN_OBJECT)); in DeserializeString()
1339 if (UNLIKELY(strSize > MAX_REGULAR_HEAP_OBJECT_SIZE)) { in DeserializeString()
1340 newObj = hugeSpace->Allocate(thread, strSize); in DeserializeString()
1342 newObj = sHeap_->GetOldSpace()->TryAllocateAndExpand(thread, strSize, true); in DeserializeString()
1348 if (memcpy_s(ToVoidPtr(newObj), strSize, str, strSize) != EOK) { in DeserializeString()
1357 stringBegin += strSize; in DeserializeString()
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dg1gc_test.cpp1080 size_t strSize = GetObjectSize(array->Get<ObjectHeader *>(0)); in TEST_F() local
1105 ASSERT_EQ(arraySize + strSize, region->GetLiveBytes()); in TEST_F()
1106 ASSERT_EQ(strSize, region->GetGarbageBytes()); in TEST_F()

Completed in 13 milliseconds