Lines Matching defs:ms
83 _citrus_prop_read_##_func_##_common(struct _memstream * __restrict ms, \
90 _DIAGASSERT(ms != NULL); \
97 ch = _memstream_getc(ms); \
106 _memstream_ungetc(ms, ch); \
116 _citrus_prop_read_##_func_(struct _memstream * __restrict ms, \
121 _DIAGASSERT(ms != NULL); \
124 _memstream_skip_ws(ms); \
125 ch = _memstream_getc(ms); \
131 ch = _memstream_getc(ms); \
136 ch = _memstream_getc(ms); \
138 ch = _memstream_getc(ms); \
140 _memstream_ungetc(ms, ch); \
148 _memstream_ungetc(ms, ch); \
150 (ms, &obj->u._func_, base); \
157 _citrus_prop_read_character_common(struct _memstream * __restrict ms,
162 _DIAGASSERT(ms != NULL);
165 ch = _memstream_getc(ms);
169 ch = _memstream_getc(ms);
182 _memstream_ungetc(ms, ch);
185 return _citrus_prop_read_chr_common(ms, result, base);
196 _citrus_prop_read_character(struct _memstream * __restrict ms,
201 _DIAGASSERT(ms != NULL);
204 _memstream_skip_ws(ms);
205 ch = _memstream_getc(ms);
207 _memstream_ungetc(ms, ch);
208 return _citrus_prop_read_chr(ms, obj);
210 errnum = _citrus_prop_read_character_common(ms, &ch);
214 ch = _memstream_getc(ms);
221 _citrus_prop_read_bool(struct _memstream * __restrict ms,
224 _DIAGASSERT(ms != NULL);
227 _memstream_skip_ws(ms);
228 switch (_bcs_tolower(_memstream_getc(ms))) {
230 if (_bcs_tolower(_memstream_getc(ms)) == 'r' &&
231 _bcs_tolower(_memstream_getc(ms)) == 'u' &&
232 _bcs_tolower(_memstream_getc(ms)) == 'e') {
238 if (_bcs_tolower(_memstream_getc(ms)) == 'a' &&
239 _bcs_tolower(_memstream_getc(ms)) == 'l' &&
240 _bcs_tolower(_memstream_getc(ms)) == 's' &&
241 _bcs_tolower(_memstream_getc(ms)) == 'e') {
250 _citrus_prop_read_str(struct _memstream * __restrict ms,
258 _DIAGASSERT(ms != NULL);
266 _memstream_skip_ws(ms);
267 quot = _memstream_getc(ms);
272 _memstream_ungetc(ms, quot);
292 ch = _memstream_getc(ms);
300 _memstream_ungetc(ms, ch);
301 errnum = _citrus_prop_read_character_common(ms, &ch);
323 _citrus_prop_read_symbol(struct _memstream * __restrict ms,
329 _DIAGASSERT(ms != NULL);
334 ch = _memstream_getc(ms);
339 ch = _memstream_getc(ms);
344 _memstream_ungetc(ms, ch);
351 _citrus_prop_parse_element(struct _memstream * __restrict ms,
361 _DIAGASSERT(ms != NULL);
364 errnum = _citrus_prop_read_symbol(ms, name, sizeof(name));
374 _memstream_skip_ws(ms);
375 ch = _memstream_getc(ms);
377 _memstream_ungetc(ms, ch);
381 errnum = (*readers[hint->type])(ms, &ostart);
384 _memstream_skip_ws(ms);
385 ch = _memstream_getc(ms);
393 errnum = (*readers[hint->type])(ms, &oend);
396 _memstream_skip_ws(ms);
397 ch = _memstream_getc(ms);
442 _memstream_ungetc(ms, ch);
450 struct _memstream ms;
455 _memstream_bind_ptr(&ms, __UNCONST(var), lenvar);
457 _memstream_skip_ws(&ms);
458 ch = _memstream_getc(&ms);
461 _memstream_ungetc(&ms, ch);
462 errnum = _citrus_prop_parse_element(&ms, hints, context);