Lines Matching refs:dest

134   * If dest is not NULL, write result to dest */
135 -size_t fmt_long(char *dest,signed long src) __pure__;
136 +size_t fmt_long(char *dest,signed long src) __PURE;
140 * If dest is not NULL, write result to dest */
141 -size_t fmt_ulong(char *dest,unsigned long src) __pure__;
142 +size_t fmt_ulong(char *dest,unsigned long src) __PURE;
146 * If dest is not NULL, write result to dest */
147 -size_t fmt_xlong(char *dest,unsigned long src) __pure__;
148 +size_t fmt_xlong(char *dest,unsigned long src) __PURE;
152 * If dest is not NULL, write result to dest */
153 -size_t fmt_8long(char *dest,unsigned long src) __pure__;
154 +size_t fmt_8long(char *dest,unsigned long src) __PURE;
157 -size_t fmt_longlong(char *dest,signed long long src) __pure__;
158 +size_t fmt_longlong(char *dest,signed long long src) __PURE;
161 -size_t fmt_ulonglong(char *dest,unsigned long long src) __pure__;
162 +size_t fmt_ulonglong(char *dest,unsigned long long src) __PURE;
165 -size_t fmt_xlonglong(char *dest,unsigned long long src) __pure__;
166 +size_t fmt_xlonglong(char *dest,unsigned long long src) __PURE;
168 #define fmt_uint(dest,src) fmt_ulong(dest,src)
169 #define fmt_int(dest,src) fmt_long(dest,src)
170 @@ -81,22 +87,22 @@ size_t fmt_xlonglong(char *dest,unsigned
180 * If dest is not NULL, write result to dest */
181 -size_t fmt_double(char *dest, double d,int max,int prec) __pure__;
182 +size_t fmt_double(char *dest, double d,int max,int prec) __PURE;
187 -size_t fmt_plusminus(char *dest,int src) __pure__;
188 +size_t fmt_plusminus(char *dest,int src) __PURE;
192 -size_t fmt_minus(char *dest,int src) __pure__;
193 +size_t fmt_minus(char *dest,int src) __PURE;
195 /* copy str to dest until \0 byte, return number of copied bytes. */
197 @@ -108,11 +114,11 @@ size_t fmt_minus(char *dest,int src) __p
201 -size_t fmt_str(char *dest,const char *src) __pure__;
202 +size_t fmt_str(char *dest,const char *src) __PURE;
204 /* copy str to dest until \0 byte or limit bytes copied.
206 -size_t fmt_strn(char *dest,const char *src,size_t limit) __pure__;
207 +size_t fmt_strn(char *dest,const char *src,size_t limit) __PURE;
209 /* copy n bytes from src to dest, return n */
210 static inline size_t fmt_copybytes(char* dest,const char* src,size_t n) {
215 -size_t fmt_pad(char* dest,const char* src,size_t srclen,size_t padlen,size_t maxlen) __pure__;
216 +size_t fmt_pad(char* dest,const char* src,size_t srclen,size_t padlen,size_t maxlen) __PURE;
219 * append padlen-srclen spaces after dest, if that is >= 0. Truncate
222 -size_t fmt_fill(char* dest,size_t srclen,size_t padlen,size_t maxlen) __pure__;
223 +size_t fmt_fill(char* dest,size_t srclen,size_t padlen,size_t maxlen) __PURE;
226 -size_t fmt_human(char* dest,unsigned long long l) __pure__;
227 +size_t fmt_human(char* dest,unsigned long long l) __PURE;
230 -size_t fmt_humank(char* dest,unsigned long long l) __pure__;
231 +size_t fmt_humank(char* dest,unsigned long long l) __PURE;
234 size_t fmt_httpdate(char* dest,time_t t); /* not marked pure because it calls gmtime */
237 -size_t fmt_iso8601(char* dest,time_t t) __pure__;
238 +size_t fmt_iso8601(char* dest,time_t t) __PURE;
245 -size_t fmt_utf8(char* dest,uint32_t n) __pure__; /* can store 0-0x7fffffff */
246 -size_t fmt_asn1derlength(char* dest,unsigned long long l) __pure__; /* 0-0x7f: 1 byte, above that …
247 -size_t fmt_asn1dertag(char* dest,unsigned long long l) __pure__; /* 1 byte for each 7 bits; upper …
248 +size_t fmt_utf8(char* dest,uint32_t n) __PURE; /* can store 0-0x7fffffff */
249 +size_t fmt_asn1derlength(char* dest,unsigned long long l) __PURE; /* 0-0x7f: 1 byte, above that 1+…
250 +size_t fmt_asn1dertag(char* dest,unsigned long long l) __PURE; /* 1 byte for each 7 bits; upper bi…
253 -size_t fmt_varint(char* dest,unsigned long long l) __pure__; /* protocol buffers encoding; like as…
254 -size_t fmt_pb_tag(char* dest,size_t fieldno,unsigned char type) __pure__; /* protocol buffer tag */
255 -size_t fmt_pb_type0_int(char* dest,unsigned long long l) __pure__; /* protocol buffers encoding: t…
256 -size_t fmt_pb_type0_sint(char* dest,signed long long l) __pure__;/* protocol buffers encoding: typ…
257 -size_t fmt_pb_type1_double(char* dest,double d) __pure__; /* protocol buffers encoding: double (64…
258 -size_t fmt_pb_type1_fixed64(char* dest,uint64_t l) __pure__; /* protocol buffers encoding: 64-bit …
259 +size_t fmt_varint(char* dest,unsigned long long l) __PURE; /* protocol buffers encoding; like asn1…
260 +size_t fmt_pb_tag(char* dest,size_t fieldno,unsigned char type) __PURE; /* protocol buffer tag */
261 +size_t fmt_pb_type0_int(char* dest,unsigned long long l) __PURE; /* protocol buffers encoding: typ…
262 +size_t fmt_pb_type0_sint(char* dest,signed long long l) __PURE;/* protocol buffers encoding: type …
263 +size_t fmt_pb_type1_double(char* dest,double d) __PURE; /* protocol buffers encoding: double (64-b…
264 +size_t fmt_pb_type1_fixed64(char* dest,uint64_t l) __PURE; /* protocol buffers encoding: 64-bit li…
267 -size_t fmt_pb_type2_string(char* dest,const char* s,size_t l) __pure__; /* protocol buffers encodi…
268 -size_t fmt_pb_type5_float(char* dest,float f) __pure__; /* protocol buffers encoding: float (32-b…
269 -size_t fmt_pb_type5_fixed32(char* dest,uint32_t l) __pure__; /* protocol buffers encoding: 32-bit …
271 -size_t fmt_pb_int(char* dest,size_t fieldno,unsigned long long l) __pure__;
272 -size_t fmt_pb_sint(char* dest,size_t fieldno,signed long long l) __pure__;
273 -size_t fmt_pb_double(char* dest,size_t fieldno,double d) __pure__;
274 -size_t fmt_pb_float(char* dest,size_t fieldno,float f) __pure__;
275 -size_t fmt_pb_string(char* dest,size_t fieldno,const char* s,size_t l) __pure__;
276 +size_t fmt_pb_type2_string(char* dest,const char* s,size_t l) __PURE; /* protocol buffers encoding…
277 +size_t fmt_pb_type5_float(char* dest,float f) __PURE; /* protocol buffers encoding: float (32-bit…
278 +size_t fmt_pb_type5_fixed32(char* dest,uint32_t l) __PURE; /* protocol buffers encoding: 32-bit li…
280 +size_t fmt_pb_int(char* dest,size_t fieldno,unsigned long long l) __PURE;
281 +size_t fmt_pb_sint(char* dest,size_t fieldno,signed long long l) __PURE;
282 +size_t fmt_pb_double(char* dest,size_t fieldno,double d) __PURE;
283 +size_t fmt_pb_float(char* dest,size_t fieldno,float f) __PURE;
284 +size_t fmt_pb_string(char* dest,size_t fieldno,const char* s,size_t l) __PURE;
287 -size_t fmt_netstring(char* dest,const char* src,size_t len) __pure__;
288 +size_t fmt_netstring(char* dest,const char* src,size_t len) __PURE;
292 @@ -185,27 +191,27 @@ size_t fmt_netstring(char* dest,const ch
296 -size_t fmt_escapecharxml(char* dest,uint32_t ch) __pure__;
297 +size_t fmt_escapecharxml(char* dest,uint32_t ch) __PURE;
299 -size_t fmt_escapecharhtml(char* dest,uint32_t ch) __pure__;
300 +size_t fmt_escapecharhtml(char* dest,uint32_t ch) __PURE;
303 -size_t fmt_escapecharjson(char* dest,uint32_t ch) __pure__;
304 +size_t fmt_escapecharjson(char* dest,uint32_t ch) __PURE;
307 -size_t fmt_escapecharquotedprintable(char* dest,uint32_t ch) __pure__;
308 +size_t fmt_escapecharquotedprintable(char* dest,uint32_t ch) __PURE;
311 -size_t fmt_escapecharquotedprintableutf8(char* dest,uint32_t ch) __pure__;
312 +size_t fmt_escapecharquotedprintableutf8(char* dest,uint32_t ch) __PURE;
315 -size_t fmt_escapecharc(char* dest,uint32_t ch) __pure__;
316 +size_t fmt_escapecharc(char* dest,uint32_t ch) __PURE;
322 -size_t fmt_strm_internal(char* dest,...) __pure__;
323 +size_t fmt_strm_internal(char* dest,...) __PURE;
455 size_t scan_plusminus(const char *src,signed int *dest);
540 * Note: *dest will point inside the input buffer!
542 -size_t scan_netstring(const char* in,size_t len,char** dest,size_t* slen) __pure__;
543 +size_t scan_netstring(const char* in,size_t len,char** dest,size_t* slen) __PURE;