Searched refs:newfmt (Results 1 - 3 of 3) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Dplog.c154 char *newfmt; local
160 newfmt = plog_common(pri, fmt, func);
165 vprintf(newfmt, ap);
168 log_vaprint(logp, newfmt, ap_bak);
171 vsyslog(ptab[pri].priority, newfmt, ap_bak);
173 vsyslog(LOG_ALERT, newfmt, ap_bak);
/external/python/cpython2/Modules/
H A Ddatetimemodule.c1174 PyObject *newfmt = NULL; /* py string, the output format */ local
1220 newfmt = PyString_FromStringAndSize(NULL, totalnew);
1221 if (newfmt == NULL) goto Done;
1222 pnew = PyString_AsString(newfmt);
1332 if (_PyString_Resize(&newfmt, bigger) < 0)
1335 pnew = PyString_AsString(newfmt) + usednew;
1343 if (_PyString_Resize(&newfmt, usednew) < 0)
1350 newfmt, timetuple);
1357 Py_XDECREF(newfmt);
/external/python/cpython3/Modules/
H A D_datetimemodule.c1232 PyObject *newfmt = NULL; /* py string, the output format */ local
1258 newfmt = PyBytes_FromStringAndSize(NULL, totalnew);
1259 if (newfmt == NULL) goto Done;
1260 pnew = PyBytes_AsString(newfmt);
1348 if (_PyBytes_Resize(&newfmt, totalnew) < 0)
1350 pnew = PyBytes_AsString(newfmt) + usednew;
1358 if (_PyBytes_Resize(&newfmt, usednew) < 0)
1366 format = PyUnicode_FromString(PyBytes_AS_STRING(newfmt));
1378 Py_XDECREF(newfmt);

Completed in 178 milliseconds