/third_party/python/Lib/ctypes/test/ |
H A D | test_python_api.py | 66 PyOS_snprintf = pythonapi.PyOS_snprintf 67 PyOS_snprintf.argtypes = POINTER(c_char), c_size_t, c_char_p 70 PyOS_snprintf(buf, sizeof(buf), b"Hello from %s", b"ctypes") 73 PyOS_snprintf(buf, sizeof(buf), b"Hello from %s (%d, %d, %d)", b"ctypes", 1, 2, 3) 77 self.assertRaises(TypeError, PyOS_snprintf, buf)
|
/third_party/python/Python/ |
H A D | dynload_hpux.c | 37 PyOS_snprintf(buf, sizeof(buf), "Failed to load %.200s", in _PyImport_FindSharedFuncptr() 61 PyOS_snprintf(funcname, sizeof(funcname), FUNCNAME_PATTERN, in _PyImport_FindSharedFuncptr()
|
H A D | dynload_shlib.c | 65 PyOS_snprintf(pathbuf, sizeof(pathbuf), "./%-.255s", pathname); in _PyImport_FindSharedFuncptr() 69 PyOS_snprintf(funcname, sizeof(funcname), in _PyImport_FindSharedFuncptr()
|
H A D | getversion.c | 12 PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s", in Py_GetVersion()
|
H A D | mysnprintf.c | 16 PyOS_snprintf and PyOS_vsnprintf never write more than size bytes 41 PyOS_snprintf(char *str, size_t size, const char *format, ...) in PyOS_snprintf() function
|
H A D | dynload_win.c | 237 PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname); 318 PyOS_snprintf(buffer, sizeof(buffer),
|
H A D | getargs.c | 451 PyOS_snprintf(p, sizeof(buf), "%.200s() ", fname); in seterror() 455 PyOS_snprintf(p, sizeof(buf) - (p - buf), in seterror() 460 PyOS_snprintf(p, sizeof(buf) - (p - buf), in seterror() 467 PyOS_snprintf(p, sizeof(buf) - (p - buf), "argument"); in seterror() 470 PyOS_snprintf(p, sizeof(buf) - (p - buf), " %.256s", msg); in seterror() 531 PyOS_snprintf(msgbuf, bufsize, in converttuple() 543 PyOS_snprintf(msgbuf, bufsize, in converttuple() 550 PyOS_snprintf(msgbuf, bufsize, in converttuple() 633 PyOS_snprintf(msgbuf, bufsize, in converterr() 637 PyOS_snprintf(msgbu in converterr() [all...] |
H A D | pystrtod.c | 680 written = PyOS_snprintf(p, buf_avail, "e%+.02d", digit_count-1); in ensure_decimal_point() 766 /* Have PyOS_snprintf do the hard work */ in _PyOS_ascii_formatd() 767 PyOS_snprintf(buffer, buf_size, format, d); in _PyOS_ascii_formatd() 915 PyOS_snprintf(format, sizeof(format), "%%%s.%i%c", in PyOS_double_to_string()
|
H A D | _warnings.c | 502 PyOS_snprintf(lineno_str, sizeof(lineno_str), ":%d: ", lineno); in show_warning()
|
/third_party/python/Modules/ |
H A D | getbuildinfo.c | 46 PyOS_snprintf(buildinfo, sizeof(buildinfo), in Py_GetBuildInfo()
|
H A D | faulthandler.c | 690 PyOS_snprintf(buffer, sizeof(buffer), in format_timeout() 695 PyOS_snprintf(buffer, sizeof(buffer), in format_timeout()
|
H A D | _gdbmmodule.c | 668 PyOS_snprintf(buf, sizeof(buf), "Flag '%c' is not supported.", in dbmopen_impl()
|
H A D | _localemodule.c | 458 PyOS_snprintf(encoding, sizeof(encoding), "cp%u", GetACP()); in _locale__getdefaultlocale_impl()
|
H A D | unicodedata.c | 453 PyOS_snprintf(decomp + i, sizeof(decomp) - i, "%04X", in unicodedata_UCD_decomposition_impl()
|
H A D | _datetimemodule.c | 1496 PyOS_snprintf(buf, buflen, "%c%02d%s%02d%s%02d.%06d", sign, in format_utcoffset() 1501 PyOS_snprintf(buf, buflen, "%c%02d%s%02d%s%02d", sign, hours, in format_utcoffset() 1505 PyOS_snprintf(buf, buflen, "%c%02d%s%02d", sign, hours, sep, minutes); in format_utcoffset()
|
H A D | gcmodule.c | 1053 pos += PyOS_snprintf(buf+pos, sizeof(buf)-pos, in show_stats_each_generations()
|
H A D | selectmodule.c | 1852 PyOS_snprintf( in kqueue_event_repr()
|
H A D | _pickle.c | 1723 PyOS_snprintf(pdata + 1, sizeof(pdata) - 1, in memo_get() 1780 PyOS_snprintf(pdata + 1, sizeof(pdata) - 1, in memo_put()
|
/third_party/python/Include/ |
H A D | pyerrors.h | 317 PyAPI_FUNC(int) PyOS_snprintf(char *str, size_t size, const char *format, ...)
|
/third_party/python/Objects/ |
H A D | obmalloc.c | 2918 PyOS_snprintf(buf1, sizeof(buf1), in _PyDebugAllocatorStats() 2921 PyOS_snprintf(buf2, sizeof(buf2), in _PyDebugAllocatorStats() 3076 PyOS_snprintf(buf, sizeof(buf), in _PyObject_DebugMallocStats() 3087 PyOS_snprintf(buf, sizeof(buf), in _PyObject_DebugMallocStats()
|
H A D | tupleobject.c | 1266 PyOS_snprintf(buf, sizeof(buf), in _PyTuple_DebugMallocStats()
|
H A D | floatobject.c | 992 PyOS_snprintf(mybuf, mybuflen, "%s0%se%d", (sign ? "-" : ""), in double_round()
|
/third_party/python/PC/ |
H A D | python3dll.c | 496 EXPORT_FUNC(PyOS_snprintf)
|
/third_party/python/Modules/_sqlite/ |
H A D | cursor.c | 406 PyOS_snprintf(buf, sizeof(buf) - 1, "Could not decode to UTF-8 column '%s' with text '%s'", in _pysqlite_fetch_one_row()
|
/third_party/skia/third_party/externals/libwebp/swig/ |
H A D | libwebp_python_wrap.c | 817 /* Add PyOS_snprintf for old Pythons */ 820 # define PyOS_snprintf _snprintf macro 822 # define PyOS_snprintf snprintf macro 2867 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); in SWIG_Python_ArgFail()
|