Lines Matching defs:aStr

179  * @param aStr          abstract string reference
180 * @param aData out param that will hold the address of aStr's
183 * whether or not aStr's internal buffer is null-
185 * @return length of aStr's internal buffer
191 (const nsAString &aStr, const PRUnichar **aData,
200 * @param aStr abstract string reference
208 (const nsAString &aStr);
213 * This function copies aData into aStr.
215 * @param aStr abstract string reference
222 * This function does not necessarily null-terminate aStr after copying data
224 * string, aStr. If aStr is a reference to a nsStringContainer, then its data
231 (nsAString &aStr, const PRUnichar *aData,
237 * This function copies aData into a section of aStr. As a result it can be
240 * @param aStr abstract string reference
243 * aData to be appended to the end of aStr, in which
247 * end of aStr).
255 * This function does not necessarily null-terminate aStr after copying data
257 * string, aStr. If aStr is a reference to a nsStringContainer, then its data
264 (nsAString &aStr, PRUint32 aCutOffset, PRUint32 aCutLength,
291 * This function appends data to the existing value of aStr.
293 * @param aStr abstract string reference to be modified
299 * This function does not necessarily null-terminate aStr upon completion.
300 * The behavior depends on the implementation of the abstract string, aStr.
301 * If aStr is a reference to a nsStringContainer, then its data will be null-
305 NS_StringAppendData(nsAString &aStr, const PRUnichar *aData,
308 return NS_StringSetDataRange(aStr, PR_UINT32_MAX, 0, aData, aDataLength);
314 * This function inserts data into the existing value of aStr at the specified
317 * @param aStr abstract string reference to be modified
324 * This function does not necessarily null-terminate aStr upon completion.
325 * The behavior depends on the implementation of the abstract string, aStr.
326 * If aStr is a reference to a nsStringContainer, then its data will be null-
330 NS_StringInsertData(nsAString &aStr, PRUint32 aOffset, const PRUnichar *aData,
333 return NS_StringSetDataRange(aStr, aOffset, 0, aData, aDataLength);
339 * This function shortens the existing value of aStr, by removing characters
342 * @param aStr abstract string reference to be modified
348 NS_StringCutData(nsAString &aStr, PRUint32 aCutOffset, PRUint32 aCutLength)
350 return NS_StringSetDataRange(aStr, aCutOffset, aCutLength, nsnull, 0);
404 * @param aStr abstract string reference
405 * @param aData out param that will hold the address of aStr's
408 * whether or not aStr's internal buffer is null-
410 * @return length of aStr's internal buffer
416 (const nsACString &aStr, const char **aData,
425 * @param aStr abstract string reference
433 (const nsACString &aStr);
438 * This function copies aData into aStr.
440 * @param aStr abstract string reference
447 * This function does not necessarily null-terminate aStr after copying data
449 * string, aStr. If aStr is a reference to a nsStringContainer, then its data
456 (nsACString &aStr, const char *aData,
462 * This function copies aData into a section of aStr. As a result it can be
465 * @param aStr abstract string reference
468 * aData to be appended to the end of aStr, in which
472 * end of aStr).
480 * This function does not necessarily null-terminate aStr after copying data
482 * string, aStr. If aStr is a reference to a nsStringContainer, then its data
489 (nsACString &aStr, PRUint32 aCutOffset, PRUint32 aCutLength,
516 * This function appends data to the existing value of aStr.
518 * @param aStr abstract string reference to be modified
524 * This function does not necessarily null-terminate aStr upon completion.
525 * The behavior depends on the implementation of the abstract string, aStr.
526 * If aStr is a reference to a nsStringContainer, then its data will be null-
530 NS_CStringAppendData(nsACString &aStr, const char *aData,
533 return NS_CStringSetDataRange(aStr, PR_UINT32_MAX, 0, aData, aDataLength);
539 * This function inserts data into the existing value of aStr at the specified
542 * @param aStr abstract string reference to be modified
549 * This function does not necessarily null-terminate aStr upon completion.
550 * The behavior depends on the implementation of the abstract string, aStr.
551 * If aStr is a reference to a nsStringContainer, then its data will be null-
555 NS_CStringInsertData(nsACString &aStr, PRUint32 aOffset, const char *aData,
558 return NS_CStringSetDataRange(aStr, aOffset, 0, aData, aDataLength);
564 * This function shortens the existing value of aStr, by removing characters
567 * @param aStr abstract string reference to be modified
573 NS_CStringCutData(nsACString &aStr, PRUint32 aCutOffset, PRUint32 aCutLength)
575 return NS_CStringSetDataRange(aStr, aCutOffset, aCutLength, nsnull, 0);