Lines Matching defs:ms

79 _citrus_prop_read_##_func_##_common(struct _memstream * __restrict ms,	\
90 ch = _memstream_getc(ms); \
99 _memstream_ungetc(ms, ch); \
109 _citrus_prop_read_##_func_(struct _memstream * __restrict ms, \
114 _memstream_skip_ws(ms); \
115 ch = _memstream_getc(ms); \
121 ch = _memstream_getc(ms); \
126 ch = _memstream_getc(ms); \
128 ch = _memstream_getc(ms); \
130 _memstream_ungetc(ms, ch); \
138 _memstream_ungetc(ms, ch); \
140 (ms, &obj->u._func_, base)); \
147 _citrus_prop_read_character_common(struct _memstream * __restrict ms,
152 ch = _memstream_getc(ms);
156 ch = _memstream_getc(ms);
182 _memstream_ungetc(ms, ch);
186 return (_citrus_prop_read_chr_common(ms, result, base));
197 _citrus_prop_read_character(struct _memstream * __restrict ms,
202 _memstream_skip_ws(ms);
203 ch = _memstream_getc(ms);
205 _memstream_ungetc(ms, ch);
206 return (_citrus_prop_read_chr(ms, obj));
208 errnum = _citrus_prop_read_character_common(ms, &ch);
212 ch = _memstream_getc(ms);
219 _citrus_prop_read_bool(struct _memstream * __restrict ms,
223 _memstream_skip_ws(ms);
224 switch (_bcs_tolower(_memstream_getc(ms))) {
226 if (_bcs_tolower(_memstream_getc(ms)) == 'r' &&
227 _bcs_tolower(_memstream_getc(ms)) == 'u' &&
228 _bcs_tolower(_memstream_getc(ms)) == 'e') {
234 if (_bcs_tolower(_memstream_getc(ms)) == 'a' &&
235 _bcs_tolower(_memstream_getc(ms)) == 'l' &&
236 _bcs_tolower(_memstream_getc(ms)) == 's' &&
237 _bcs_tolower(_memstream_getc(ms)) == 'e') {
246 _citrus_prop_read_str(struct _memstream * __restrict ms,
259 _memstream_skip_ws(ms);
260 quot = _memstream_getc(ms);
266 _memstream_ungetc(ms, quot);
286 ch = _memstream_getc(ms);
294 _memstream_ungetc(ms, ch);
295 errnum = _citrus_prop_read_character_common(ms, &ch);
319 _citrus_prop_read_symbol(struct _memstream * __restrict ms,
326 ch = _memstream_getc(ms);
331 ch = _memstream_getc(ms);
336 _memstream_ungetc(ms, ch);
343 _citrus_prop_parse_element(struct _memstream * __restrict ms,
352 errnum = _citrus_prop_read_symbol(ms, name, sizeof(name));
361 _memstream_skip_ws(ms);
362 ch = _memstream_getc(ms);
364 _memstream_ungetc(ms, ch);
368 errnum = (*readers[hint->type])(ms, &ostart);
371 _memstream_skip_ws(ms);
372 ch = _memstream_getc(ms);
381 errnum = (*readers[hint->type])(ms, &oend);
384 _memstream_skip_ws(ms);
385 ch = _memstream_getc(ms);
422 _memstream_ungetc(ms, ch);
430 struct _memstream ms;
433 _memstream_bind_ptr(&ms, __DECONST(void *, var), lenvar);
435 _memstream_skip_ws(&ms);
436 ch = _memstream_getc(&ms);
439 _memstream_ungetc(&ms, ch);
440 errnum = _citrus_prop_parse_element(&ms, hints, context);