Lines Matching refs:field
32 int (*map)(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov);
35 static int map_simple_field(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) {
40 assert(field);
45 l = strlen(field);
51 memcpy(c, field, l);
74 static int map_string_field_internal(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov, bool filter_printable) {
79 assert(field);
93 l = strlen(field) + (e - s);
98 *((char*) mempcpy(stpcpy(c, field), s, e - s)) = 0;
106 l = strlen(field);
112 memcpy(c, field, l);
153 static int map_string_field(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) {
154 return map_string_field_internal(field, p, iov, n_iov_allocated, n_iov, false);
157 static int map_string_field_printable(const char *field, const char **p, struct iovec **iov, size_t *n_iov_allocated, unsigned *n_iov) {
158 return map_string_field_internal(field, p, iov, n_iov_allocated, n_iov, true);
239 * string field escaping for them, though we stick to the
240 * generic field names. */
293 escaped, but the last field in the
331 /* Couldn't process as generic field, let's just skip over it */