Lines Matching refs:ws_errctx
125 free (wsp->ws_errctx); in _wsplt_store_errctx()
126 wsp->ws_errctx = malloc (len + 1); in _wsplt_store_errctx()
127 if (!wsp->ws_errctx) in _wsplt_store_errctx()
134 memcpy (wsp->ws_errctx, str, len); in _wsplt_store_errctx()
135 wsp->ws_errctx[len] = 0; in _wsplt_store_errctx()
226 free (wsp->ws_errctx); in _wsplt_seterr_sub()
227 wsp->ws_errctx = wss->ws_errctx; in _wsplt_seterr_sub()
228 wss->ws_errctx = NULL; in _wsplt_seterr_sub()
357 wsp->ws_errctx = NULL; in wordsplit_init()
2707 wsp->ws_errctx = NULL; in wordsplit_run()
2809 free (ws->ws_errctx); in wordsplit_clearerr()
2810 ws->ws_errctx = NULL; in wordsplit_clearerr()
2886 if (wsp->ws_errctx) in wordsplit_perror()
2887 wsp->ws_error ("%s: %s", wordsplit_strerror (wsp), wsp->ws_errctx); in wordsplit_perror()