Lines Matching refs:aS
29 static Length Bytes(const nsTString<CHAR>& aS) {
30 const auto length = aS.Length();
35 static void Write(ProfileBufferEntryWriter& aEW, const nsTString<CHAR>& aS) {
36 const auto length = aS.Length();
39 aEW.WriteBytes(aS.Data(), length * sizeof(CHAR));
45 static void ReadInto(ProfileBufferEntryReader& aER, nsTString<CHAR>& aS) {
46 aS = Read(aER);
74 static Length Bytes(const nsTAutoStringN<CHAR, N>& aS) {
75 const auto length = aS.Length();
81 const nsTAutoStringN<CHAR, N>& aS) {
82 const auto length = aS.Length();
85 aEW.WriteBytes(aS.BeginReading(), length * sizeof(CHAR));
92 nsTAutoStringN<CHAR, N>& aS) {
93 aS = Read(aER);
122 static Length Bytes(const JS::UniqueChars& aS) {
123 if (!aS) {
126 const auto len = static_cast<Length>(strlen(aS.get()));
130 static void Write(ProfileBufferEntryWriter& aEW, const JS::UniqueChars& aS) {
131 if (!aS) {
135 const auto len = static_cast<Length>(strlen(aS.get()));
137 aEW.WriteBytes(aS.get(), len);
143 static void ReadInto(ProfileBufferEntryReader& aER, JS::UniqueChars& aS) {
144 aS = Read(aER);