Lines Matching +full:pre +full:- +full:determined

5 /*-
24 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
50 definable. Several pre-defined types are supplied, for some common
59 A future use of the ASCII form may be for inter-machine communication
64 ------
91 -------
99 --------- ------------
110 -----------
123 subclassing the pre-defined types below. We construct the type in
127 // Super-type info for 'label' field
132 &ng_parse_fixedstring_type // super-type
133 &foo_label_info // super-type info
136 #define OFFSETOF(s, e) ((char *)&((s *)0)->e - (char *)((s *)0))
147 f = (const struct foo *)(buf - OFFSETOF(struct foo, ary));
148 return f->alen;
151 // Super-type info for 'ary' field
159 &ng_parse_array_type, // super-type
160 &foo_ary_info // super-type info
163 // Super-type info for struct foo
175 &ng_parse_struct_type, // super-type
176 &foo_fields // super-type info
179 To define a type, you can define it as a sub-type of a predefined
186 See ng_parse.c to see implementations of the pre-defined types below.
196 * or, if NULL, inherited from the super-type. The 'getDefault' method
197 * is always optional; the others are required if there is no super-type.
266 * This structure describes a type, which may be a sub-type of another
268 * Typically the super-type requires some type-specific info, which is
271 * The 'private' field is ignored by all of the pre-defined types.
272 * Sub-types may use it as they see fit.
275 * super-type), which means the value for any item of this type must
279 const struct ng_parse_type *supertype; /* super-type, if any */
280 const void *info; /* type-specific info */
289 PRE-DEFINED TYPES
299 * Default value: Determined on a per-field basis
305 override is non-zero, the alignment is determined from the field type.
328 * (having size *buflen) and update *buflen to the length of the filled-in
344 * Same as fixed length arrays, except that the length is determined
370 * For arbirary length, NUL-terminated strings.
380 * These are strings that have a fixed-size buffer, and always include
396 * Parsed strings are NOT NUL-terminated.
456 * zero-filled after the string bytes.
530 * Convert a raw string into a doubly-quoted string including any