Lines Matching refs:as
76 /* Append a C char to an archive_string, resizing as necessary. */
140 /* Ensure that the underlying buffer is at least as large as the request. */
149 * Declaring it "char *" as with some of the other functions just
156 /* Append a C string to an archive_string, resizing as necessary. */
162 /* Copy a C string to an archive_string, resizing as necessary. */
163 #define archive_strcpy(as,p) \
164 archive_strncpy((as), (p), ((p) == NULL ? 0 : strlen(p)))
165 #define archive_wstrcpy(as,p) \
166 archive_wstrncpy((as), (p), ((p) == NULL ? 0 : wcslen(p)))
167 #define archive_strcpy_l(as,p,lo) \
168 archive_strncpy_l((as), (p), ((p) == NULL ? 0 : strlen(p)), (lo))
170 /* Copy a C string to an archive_string with limit, resizing as necessary. */
171 #define archive_strncpy(as,p,l) \
172 ((as)->length=0, archive_strncat((as), (p), (l)))
173 #define archive_wstrncpy(as,p,l) \
174 ((as)->length = 0, archive_wstrncat((as), (p), (l)))
187 /* Like 'vsprintf', but resizes the underlying string as necessary. */