Lines Matching defs:aData
69 NS_StringGetData(const nsAString &aStr, const PRUnichar **aData,
77 *aData = begin.get();
88 NS_StringSetData(nsAString &aStr, const PRUnichar *aData, PRUint32 aDataLength)
90 aStr.Assign(aData, aDataLength);
97 const PRUnichar *aData, PRUint32 aDataLength)
102 if (aData)
103 aStr.Append(aData, aDataLength);
110 if (aData)
113 aStr.Replace(aCutOffset, aCutLength, nsDependentString(aData));
115 aStr.Replace(aCutOffset, aCutLength, Substring(aData, aData + aDataLength));
154 NS_CStringGetData(const nsACString &aStr, const char **aData,
162 *aData = begin.get();
173 NS_CStringSetData(nsACString &aStr, const char *aData, PRUint32 aDataLength)
175 aStr.Assign(aData, aDataLength);
182 const char *aData, PRUint32 aDataLength)
187 if (aData)
188 aStr.Append(aData, aDataLength);
195 if (aData)
198 aStr.Replace(aCutOffset, aCutLength, nsDependentCString(aData));
200 aStr.Replace(aCutOffset, aCutLength, Substring(aData, aData + aDataLength));