Home
last modified time | relevance | path

Searched refs:_p0 (Results 1 – 2 of 2) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dvfwscanf.c384 #define alloc_m_ptr(_type, _p, _p0, _p_p, _w) \ in _SVFWSCANF() argument
389 _p0 = (_type *) malloc ((_w) * sizeof (_type)); \ in _SVFWSCANF()
390 if (!_p0) \ in _SVFWSCANF()
395 *_p_p = _p0; \ in _SVFWSCANF()
397 _p = _p0; \ in _SVFWSCANF()
402 #define realloc_m_ptr(_type, _p, _p0, _p_p, _w) \ in _SVFWSCANF() argument
405 ptrdiff_t _dif = _p - _p0; \ in _SVFWSCANF()
410 _p0 = (_type *) realloc (_p0, (_nw << 1) * sizeof (_type)); \ in _SVFWSCANF()
411 if (!_p0) \ in _SVFWSCANF()
416 _p = _p0 + _dif; \ in _SVFWSCANF()
[all …]
Dvfscanf.c460 #define alloc_m_ptr(_type, _p, _p0, _p_p, _w) \ in _SVFSCANF() argument
465 _p0 = (_type *) malloc ((_w) * sizeof (_type)); \ in _SVFSCANF()
466 if (!_p0) \ in _SVFSCANF()
471 *_p_p = _p0; \ in _SVFSCANF()
473 _p = _p0; \ in _SVFSCANF()
478 #define realloc_m_ptr(_type, _p, _p0, _p_p, _w) \ in _SVFSCANF() argument
481 ptrdiff_t _dif = _p - _p0; \ in _SVFSCANF()
486 _p0 = (_type *) realloc (_p0, (_nw << 1) * sizeof (_type)); \ in _SVFSCANF()
487 if (!_p0) \ in _SVFSCANF()
492 _p = _p0 + _dif; \ in _SVFSCANF()
[all …]