Searched refs:snprintf (Results 1 - 25 of 32) sorted by relevance

12

/seL4-test-master/projects/musllibc/src/network/
H A Dinet_ntoa.c8 snprintf(buf, sizeof buf, "%d.%d.%d.%d", a[0], a[1], a[2], a[3]);
H A Dinet_ntop.c15 if (snprintf(s, l, "%d.%d.%d.%d", a[0],a[1],a[2],a[3]) < l)
20 snprintf(buf, sizeof buf,
27 snprintf(buf, sizeof buf,
/seL4-test-master/projects/musllibc/src/stdio/
H A Dsnprintf.c4 int snprintf(char *restrict s, size_t n, const char *restrict fmt, ...) function
/seL4-test-master/projects/musllibc/src/conf/
H A Dconfstr.c14 // snprintf is overkill but avoid wasting code size to implement
16 return snprintf(buf, len, "%s", s) + 1;
/seL4-test-master/projects/musllibc/src/legacy/
H A Dcuserid.c12 snprintf(buf, L_cuserid, "%s", pw.pw_name);
/seL4-test-master/projects/musllibc/src/regex/
H A Dregerror.c36 return 1+snprintf(buf, size, "%s", s);
/seL4-test-master/projects/musllibc/src/time/
H A D__asctime.c11 if (snprintf(buf, 26, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n",
H A Dstrftime.c89 *l = snprintf(*s, sizeof *s, "%2d", tm->tm_mday);
175 *l = snprintf(*s, sizeof *s, "+%lld", val);
185 *l = snprintf(*s, sizeof *s, "%+.2d%.2d",
203 *l = snprintf(*s, sizeof *s, "%0*lld", width, val);
/seL4-test-master/projects/musllibc/src/misc/
H A Dpty.c30 if (snprintf(buf, len, "/dev/pts/%d", pty) >= len) return ERANGE;
H A Dopenpty.c24 snprintf(name, sizeof buf, "/dev/pts/%d", n);
H A Dsyslog.c103 l = snprintf(buf, sizeof buf, "<%d>%s %n%s%s%.0d%s: ",
/seL4-test-master/projects/seL4_libs/libsel4test/include/sel4test/
H A Dmacros.h31 snprintf(buffer, SEL4TEST_PRINT_BUFFER, x, ##__VA_ARGS__);\
H A Dtest.h225 int len = snprintf(NULL, 0, "Check %s(" t ") %s %s(" t ") failed.",\
228 snprintf(buffer, len, "Check %s(" t ") %s %s(" t ") failed.",\
239 int len = snprintf(NULL, 0, "%s (size %zu) != %s (size %zu), use of test_eq incorrect", #a,\
242 snprintf(buffer, len, "%s (size %zu) != %s (size %zu), use of test_eq incorrect", #a, sizeof(_a),\
284 snprintf(buffer, sizeof(buffer),\
/seL4-test-master/projects/musllibc/src/thread/
H A Dpthread_setname_np.c20 snprintf(f, sizeof f, "/proc/self/task/%d/comm", thread->tid);
H A Dsem_open.c113 snprintf(tmp, sizeof(tmp), "/dev/shm/tmp-%d", (int)ts.tv_nsec);
/seL4-test-master/tools/riscv-pk/pk/
H A Dpk.h35 int snprintf(char* out, size_t n, const char* s, ...);
/seL4-test-master/kernel/include/machine/
H A Dio.h33 #define snprintf(args...) ksnprintf(args) macro
/seL4-test-master/projects/seL4_libs/libsel4test/src/
H A Dtestutil.c48 snprintf(current_stdout_bank + buf_index, len, "%s", string);
/seL4-test-master/projects/musllibc/src/locale/
H A Dstrfmon.c67 l = snprintf(s, n, "%*.*f", w, rp, x);
/seL4-test-master/tools/riscv-pk/util/
H A Dsnprintf.c91 int snprintf(char* out, size_t n, const char* s, ...) function
/seL4-test-master/tools/seL4/misc/
H A Dcpio-strip.c121 snprintf(header->c_ino, sizeof(header->c_ino), "%08x", inode);
/seL4-test-master/projects/musllibc/src/passwd/
H A Dgetspnam_r.c81 if (snprintf(path, sizeof path, "/etc/tcb/%s/shadow", name) >= sizeof path)
/seL4-test-master/kernel/include/api/
H A Dtypes.h117 snprintf((char *)current_debug_error.errorMessage, \
/seL4-test-master/projects/sel4_projects_libs/libsel4vmmplatsupport/src/arch/arm/
H A Dguest_vcpu_util.c97 snprintf(cpu_name, MAX_CPU_NAME_LENGTH, "cpu@%x", vcpu->vcpu_id);
/seL4-test-master/projects/util_libs/libutils/src/
H A Dzf_log.c302 n = snprintf(ctx->p, nprintf_size(ctx),
345 n = snprintf(ctx->p, nprintf_size(ctx), "%s@%s:%u ",

Completed in 118 milliseconds

12