Lines Matching +defs:table +defs:string
36 /* attr-name :== any string not containing null
38 /* attr-value :== any string not containing null
44 /* strings. Each string must be no longer than 4*var_line_limit
102 /* All further input attributes are processed as string attributes.
106 /* There can be no more than 1024 attributes in a hash table.
108 /* The attribute string values are stored in the hash table under
110 /* Values from the input stream are added to the hash table. Existing
111 /* hash table entries are not replaced.
120 /* This is unsafe, unless the resulting table is queried only with
124 /* detected (string too long, incomplete line, missing end marker).
126 /* successfully recovered from the input stream (a hash table counts
127 /* as the number of entries stored into the table).
147 #include <string.h>
166 /* attr_scan0_string - pull a string from the input stream */
256 VSTRING *string;
293 * If we're reading into a hash table, we already know that the
294 * attribute value is string-valued, and we get the attribute name
296 * resulting table is queried with known to be good attribute names.
377 string = va_arg(ap, VSTRING *);
378 if ((ch = attr_scan0_string(fp, string,
383 string = va_arg(ap, VSTRING *);
384 if ((ch = attr_scan0_data(fp, string,
446 HTABLE *table = htable_create(1);
461 ATTR_TYPE_HASH, table,
467 ht_info_list = htable_list(table);
485 ht_info_list = htable_list(table);
497 htable_free(table, myfree);