Home
last modified time | relevance | path

Searched refs:newfmt (Results 1 – 4 of 4) sorted by relevance

/external/ipsec-tools/src/racoon/
Dplog.c154 char *newfmt; in plogv() local
160 newfmt = plog_common(pri, fmt, func); in plogv()
165 vprintf(newfmt, ap); in plogv()
168 log_vaprint(logp, newfmt, ap_bak); in plogv()
171 vsyslog(ptab[pri].priority, newfmt, ap_bak); in plogv()
173 vsyslog(LOG_ALERT, newfmt, ap_bak); in plogv()
/external/bcc/src/lua/bcc/vendor/
Dhelpers.lua8 local newfmt, count = string.gsub(format, "()%%(.-)(%a)",
22 return strformat(newfmt, unpack(args,1,select('#',...)))
/external/python/cpython2/Modules/
Ddatetimemodule.c1174 PyObject *newfmt = NULL; /* py string, the output format */ in wrap_strftime() local
1220 newfmt = PyString_FromStringAndSize(NULL, totalnew); in wrap_strftime()
1221 if (newfmt == NULL) goto Done; in wrap_strftime()
1222 pnew = PyString_AsString(newfmt); in wrap_strftime()
1332 if (_PyString_Resize(&newfmt, bigger) < 0) in wrap_strftime()
1335 pnew = PyString_AsString(newfmt) + usednew; in wrap_strftime()
1343 if (_PyString_Resize(&newfmt, usednew) < 0) in wrap_strftime()
1350 newfmt, timetuple); in wrap_strftime()
1357 Py_XDECREF(newfmt); in wrap_strftime()
/external/python/cpython3/Modules/
D_datetimemodule.c1500 PyObject *newfmt = NULL; /* py string, the output format */ in wrap_strftime() local
1526 newfmt = PyBytes_FromStringAndSize(NULL, totalnew); in wrap_strftime()
1527 if (newfmt == NULL) goto Done; in wrap_strftime()
1528 pnew = PyBytes_AsString(newfmt); in wrap_strftime()
1619 if (_PyBytes_Resize(&newfmt, totalnew) < 0) in wrap_strftime()
1621 pnew = PyBytes_AsString(newfmt) + usednew; in wrap_strftime()
1629 if (_PyBytes_Resize(&newfmt, usednew) < 0) in wrap_strftime()
1637 format = PyUnicode_FromString(PyBytes_AS_STRING(newfmt)); in wrap_strftime()
1649 Py_XDECREF(newfmt); in wrap_strftime()