Searched defs:snprintf (Results 76 - 100 of 109) sorted by relevance

12345

/external/mesa3d/src/mesa/main/
H A Dimports.h643 #if defined(_MSC_VER) && !defined(snprintf)
644 #define snprintf _snprintf macro
/external/openssh/openbsd-compat/
H A Dbsd-snprintf.c15 * snprintf() is used instead of sprintf() as it does limit checks
36 * gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
37 * and run snprintf for results.
44 * The original code assumed that both snprintf() and vsnprintf() were
45 * missing. Some systems only have snprintf() but not vsnprintf(), so
87 * if the C library has some snprintf functions already.
97 #if defined(BROKEN_SNPRINTF) /* For those with broken snprintf() */
882 snprintf(char *str, size_t count, SNPRINTF_CONST char *fmt, ...) function
/external/swiftshader/third_party/PowerVR_SDK/Tools/
H A DPVRTString.cpp32 #define snprintf _snprintf macro
/external/vulkan-validation-layers/windowsRuntimeInstaller/
H A Dconfigure_runtime.c51 #define snprintf _snprintf macro
236 int filter_size = snprintf(NULL, 0, pattern, install_path) + 1;
241 snprintf(filter, filter_size, pattern, install_path);
250 int layer_size = snprintf(NULL, 0, layer_pattern, install_path, find_data.cFileName) + 1;
255 snprintf(layer, layer_size, layer_pattern, install_path, find_data.cFileName);
576 int filter_size = snprintf(NULL, 0, pattern, path, name, abi_major, extension) + 1;
581 snprintf(filter, filter_size, pattern, path, name, abi_major, extension);
599 int size = snprintf(NULL, 0, latestPattern, path, find_data.cFileName) + 1;
605 snprintf(latest_filename, size, latestPattern, path, find_data.cFileName);
624 int out_size = snprintf(NUL
[all...]
/external/webrtc/webrtc/base/
H A Dlogging.cc16 #define snprintf _snprintf macro
86 snprintf(buffer, sizeof(buffer), "0x%08x", err);
/external/libusb/examples/
H A Dxusb.c37 #define snprintf _snprintf macro
1125 snprintf(str, sizeof(str), "LIBUSB_DEBUG=%s", (old_dbg_str == NULL)?"":old_dbg_str);
/external/mdnsresponder/mDNSWindows/mdnsNSP/
H A DmdnsNSP.c40 #define snprintf _snprintf macro
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_snprintf.c16 * the version available at <http://www.jhweiss.de/software/snprintf.html>.
24 * 2008-01-20 Holger Weiss <holger@jhweiss.de> for C99-snprintf 1.1:
29 * 2008-01-06 Holger Weiss <holger@jhweiss.de> for C99-snprintf 1.0:
57 * C99 compliant snprintf(3) and vsnprintf(3) functions return the number
64 * The original code assumed that both snprintf(3) and vsnprintf(3) were
65 * missing. Some systems only have snprintf(3) but not vsnprintf(3), so
81 * gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm && ./snprintf
135 * #define snprintf rpl_snprint
172 #define snprintf macro
[all...]
/external/pdfium/samples/
H A Dpdfium_test.cc48 #define snprintf _snprintf macro
142 snprintf(filename, sizeof(filename), "%s.%d.ppm", pdf_name, num);
170 snprintf(filename, sizeof(filename), "%s.%d.txt", pdf_name, num);
216 int chars_formatted = snprintf(
254 snprintf(filename, sizeof(filename), "%s.%d.bmp", pdf_name, num);
285 snprintf(filename, sizeof(filename), "%s.%d.emf", pdf_name, num);
311 snprintf(filename, sizeof(filename), "%s.%d.skp", pdf_name, num);
/external/pdfium/third_party/libtiff/
H A Dtiffiop.h61 #undef snprintf macro
62 #define snprintf FXSYS_snprintf macro
/external/swiftshader/third_party/PowerVR_SDK/Shell/
H A DPVRShell.cpp41 #define snprintf _snprintf macro
600 snprintf(pszFileName, nFileNameSize, "%s%s%04d.bmp", pszWritePath, fname, nScreenshotCount);
611 snprintf(pszFileName, nFileNameSize, "%s%s0000.bmp", pszWritePath, fname);
1528 snprintf(pString, nSize, "%s%s", pPath, pCL);
1537 snprintf(pString, nSize, "%s%s", pPath, pCL);
/external/bison/lib/
H A Dvasnprintf.c33 SNPRINTF The system's snprintf (or similar) function.
34 This may be either snprintf or swprintf.
46 /* Tell glibc's <stdio.h> to provide a prototype for snprintf().
70 #include <stdio.h> /* snprintf(), sprintf() */
166 /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'.
167 But don't use it on BeOS, since BeOS snprintf produces no output if the
169 Also don't use it on Linux libc5, since there snprintf with size = 1
177 /* Windows. The mingw function snprintf() has fewer bugs than the MSVCRT
180 # define SNPRINTF snprintf
182 # undef snprintf macro
190 # undef snprintf macro
[all...]
/external/google-breakpad/src/processor/
H A Dminidump.cc49 #define snprintf _snprintf macro
1856 snprintf(identifier_string, sizeof(identifier_string), "%08X%x",
1991 snprintf(identifier_string, sizeof(identifier_string),
2015 snprintf(identifier_string, sizeof(identifier_string),
2049 snprintf(version_string, sizeof(version_string), "%u.%u.%u.%u",
3298 snprintf(cpu_vendor_string, sizeof(cpu_vendor_string),
/external/harfbuzz_ng/src/
H A Dhb-private.hh182 # define snprintf _snprintf macro
/external/libcxxabi/src/
H A Dcxa_demangle.cpp24 // snprintf is implemented in VS 2015
26 #define snprintf _snprintf_s macro
214 int n = snprintf(num, sizeof(num), float_data<Float>::spec, value);
/external/libusb/include/libusb/
H A Dlibusbi.h544 #define snprintf _snprintf macro
/external/libusb/libusb/
H A Dlibusbi.h544 #define snprintf _snprintf macro
/external/libvncserver/libvncclient/
H A Drfbproto.c73 # define snprintf _snprintf /* MSVC went straight to the underscored syntax */ macro
496 snprintf(tmphost, sizeof(tmphost), "%s:%d", destHost, destPort);
628 snprintf(buf2, sizeof(buf2), (loop>0 ? ", %d" : "%d"), (int)tAuth[loop]);
/external/libvncserver/libvncserver/
H A Drfbserver.c94 #define snprintf _snprintf /* Missing in MSVC */ macro
1079 snprintf(buffer,sizeof(buffer)-1, "%s (%s)",
1371 snprintf(retfilename,sizeof(retfilename),"%s/%s", path, winFindData.cFileName);
1373 snprintf(retfilename,sizeof(retfilename),"%s/%s", path, direntp->d_name);
/external/mdnsresponder/Clients/
H A Ddns-sd.c97 #define snprintf _snprintf macro
674 while (**rd) { p += snprintf(p, end-p, "%.*s.", **rd, *rd+1); *rd += 1 + **rd; }
703 snprintf(rdb, sizeof(rdb), "%d.%d.%d.%d", rd[0], rd[1], rd[2], rd[3]);
715 p += snprintf(p, rdb + sizeof(rdb) - p, " ");
717 p += snprintf(p, rdb + sizeof(rdb) - p, " Ser %d Ref %d Ret %d Exp %d Min %d",
722 snprintf(rdb, sizeof(rdb), "%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X:%02X%02X",
728 p += snprintf(p, rdb + sizeof(rdb) - p, "%d %d %d ", // priority, weight, port
734 default : snprintf(rdb, sizeof(rdb), "%d bytes%s", rdlen, rdlen ? ":" : ""); unknowntype = 1; break;
775 snprintf(addr, sizeof(addr), "%d.%d.%d.%d", digits[0], digits[1], digits[2], digits[3]);
798 snprintf(add
[all...]
/external/netperf/src/
H A Dnetlib.h698 #define snprintf _snprintf macro
/external/pdfium/third_party/lcms2-2.6/src/
H A Dlcms2_internal.h86 # ifndef snprintf
87 # define snprintf _snprintf macro
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc46 // MSVC has only _snprintf, not snprintf.
48 // MinGW has both snprintf and _snprintf, but they appear to be different
51 // snprintf(buffer, 32, "%.*g\n", FLT_DIG, 1.23e10f);
56 #define snprintf _snprintf macro
1192 // generate the digits in the first place rather than use snprintf(),
1262 snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG, value);
1264 // The snprintf should never overflow because the buffer is significantly
1277 snprintf(buffer, kDoubleToBufferSize, "%.*g", DBL_DIG+2, value);
1380 snprintf(buffer, kFloatToBufferSize, "%.*g", FLT_DIG, value);
1382 // The snprintf shoul
[all...]
/external/v8/src/wasm/
H A Dmodule-decoder.cc205 #define snprintf sprintf_s macro
207 snprintf(buf, sizeof(buf) - 1, "%016zx.%s.wasm", hash,
/external/vulkan-validation-layers/demos/
H A Dvulkaninfo.c47 #define snprintf _snprintf macro
1459 snprintf(spec_version, sizeof(spec_version), "%d.%d.%d", major, minor,
1461 snprintf(layer_version, sizeof(layer_version), "%d",

Completed in 1301 milliseconds

12345