Lines Matching refs:len
49 static void write_propval_string(FILE *f, const char *s, size_t len) in write_propval_string() argument
51 const char *end = s + len - 1; in write_propval_string()
53 if (!len) in write_propval_string()
102 static void write_propval_int(FILE *f, const char *p, size_t len, size_t width) in write_propval_int() argument
104 const char *end = p + len; in write_propval_int()
105 assert(len % width == 0); in write_propval_int()
165 int len = prop->val.len; in guess_value_type() local
172 for (i = 0; i < len; i++) { in guess_value_type()
186 if ((p[len-1] == '\0') && (nnotstring == 0) && (nnul <= (len-nnul)) in guess_value_type()
189 } else if (((len % sizeof(cell_t)) == 0) && (nnotcelllbl == 0)) { in guess_value_type()
198 size_t len = prop->val.len; in write_propval() local
204 if (len == 0) { in write_propval()
229 size_t chunk_len = (m->next ? m->next->offset : len) - m->offset; in write_propval()
230 size_t data_len = type_marker_length(m) ? : len - m->offset; in write_propval()
265 fprintf(f, pos == len ? "%s" : "%s,", in write_propval()