/openbsd-current/lib/libc/time/ |
H A D | strftime_l.c | 10 strftime_l(char *s, size_t maxsize, const char *format, const struct tm *t, argument 13 return strftime(s, maxsize, format, t);
|
H A D | strftime.c | 111 strftime(char *s, size_t maxsize, const char *format, const struct tm *t) argument 118 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); 119 if (p == s + maxsize) { 120 if (maxsize > 0) 121 s[maxsize - 1] = '\0';
|
H A D | wcsftime.c | 119 wcsftime(wchar_t *__restrict s, size_t maxsize, argument 127 p = _fmt(((format == NULL) ? L"%c" : format), t, s, s + maxsize, &warn); 128 if (p == s + maxsize) { 129 if (maxsize > 0) 130 s[maxsize - 1] = '\0';
|
/openbsd-current/gnu/lib/libiberty/src/ |
H A D | spaces.c | 52 static int maxsize; local 54 if (count > maxsize) 67 maxsize = count; 70 return (const char *) (buf + maxsize - count);
|
H A D | strsignal.c | 370 int maxsize; local 376 maxsize = MAX (sys_nsig, num_signal_names); 377 return (maxsize - 1);
|
H A D | strerror.c | 589 int maxsize; local 595 maxsize = MAX (sys_nerr, num_error_names); 596 return (maxsize - 1);
|
/openbsd-current/lib/libcrypto/asn1/ |
H A D | a_strnid.c | 157 tbl->minsize, tbl->maxsize); 182 .maxsize = ub_common_name, 189 .maxsize = 2, 196 .maxsize = ub_locality_name, 203 .maxsize = ub_state_name, 210 .maxsize = ub_organization_name, 217 .maxsize = ub_organization_unit_name, 224 .maxsize = ub_email_address, 231 .maxsize = -1, 238 .maxsize [all...] |
H A D | a_mbstr.c | 97 int inform, unsigned long mask, long minsize, long maxsize) 156 if ((maxsize > 0) && (nchar > maxsize)) { 158 ERR_asprintf_error_data("maxsize=%ld", maxsize); 96 ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask, long minsize, long maxsize) argument
|
/openbsd-current/usr.bin/xargs/ |
H A D | strnsubst.c | 23 * maxsize bytes large. It does not free the string pointed to by str, it 31 strnsubst(char **str, const char *match, const char *replstr, size_t maxsize) argument 39 if ((s2 = malloc(maxsize)) == NULL) 45 if (match == NULL || *match == '\0' || strlen(s1) >= maxsize) { 46 strlcpy(s2, s1, maxsize); 56 n = snprintf(s2 + s2len, maxsize - s2len, "%.*s%s", 58 if (n < 0 || n + s2len + strlen(this + matchlen) >= maxsize) 63 strlcpy(s2 + s2len, s1, maxsize - s2len);
|
/openbsd-current/lib/libc/rpc/ |
H A D | xdr_array.c | 61 u_int maxsize, /* max numberof elements */ 74 if ((c > maxsize || c > UINT_MAX/elsize) && 58 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument
|
H A D | xdr.c | 492 * If *cpp is NULL maxsize bytes are allocated 495 xdr_bytes(XDR *xdrs, char **cpp, u_int *sizep, u_int maxsize) argument 507 if ((nodesize > maxsize) && (xdrs->x_op != XDR_FREE)) { 612 xdr_string(XDR *xdrs, char **cpp, u_int maxsize) argument 636 if (size > maxsize) {
|
/openbsd-current/gnu/usr.bin/binutils/opcodes/ |
H A D | xtensa-dis.c | 432 int bytes_fetched, size, maxsize, i, noperands; local 445 maxsize = xtensa_insn_maxlength (xtensa_default_isa); 457 info->bytes_per_line = MAX (maxsize, 4); 463 byte_buf = (bfd_byte *) malloc (MAX (maxsize, 4));
|
/openbsd-current/sys/dev/pci/ |
H A D | vga_pcivar.h | 48 bus_size_t maxsize; member in struct:vga_pci_bar
|
H A D | pci_map.c | 365 bus_size_t *sizep, bus_size_t maxsize) 387 if (maxsize != 0 && size > maxsize) { 390 (u_long)size, (u_long)maxsize); 392 size = maxsize; 363 pci_mapreg_map(struct pci_attach_args *pa, int reg, pcireg_t type, int flags, bus_space_tag_t *tagp, bus_space_handle_t *handlep, bus_addr_t *basep, bus_size_t *sizep, bus_size_t maxsize) argument
|
/openbsd-current/lib/libcrypto/ui/ |
H A D | ui.h | 134 char *result_buf, int minsize, int maxsize); 136 char *result_buf, int minsize, int maxsize); 138 char *result_buf, int minsize, int maxsize, const char *test_buf); 140 char *result_buf, int minsize, int maxsize, const char *test_buf);
|
H A D | ui_lib.c | 181 int maxsize, const char *test_buf) 190 s->_.string_data.result_maxsize = maxsize; 267 int minsize, int maxsize) 270 result_buf, minsize, maxsize, NULL); 277 int minsize, int maxsize) 280 result_buf, minsize, maxsize, NULL); 286 int minsize, int maxsize, const char *test_buf) 289 result_buf, minsize, maxsize, test_buf); 295 char *result_buf, int minsize, int maxsize, const char *test_buf) 298 result_buf, minsize, maxsize, test_bu 179 general_allocate_string(UI *ui, const char *prompt, int dup_prompt, enum UI_string_types type, int input_flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument 266 UI_add_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) argument 276 UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) argument 285 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument 294 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) argument [all...] |
H A D | ui_openssl.c | 249 int maxsize = BUFSIZ - 1; local 264 p = fgets(result, maxsize, tty_in);
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | tree-dfa.c | 866 HOST_WIDE_INT maxsize = -1; local 894 /* Initially, maxsize is the same as the accessed element size. 896 maxsize = bitsize; 928 /* We need to adjust maxsize to the whole structure bitsize. 931 if (maxsize != -1 934 maxsize = (TREE_INT_CST_LOW (csize) 938 maxsize = -1; 970 /* We need to adjust maxsize to the whole array bitsize. 973 if (maxsize != -1 976 maxsize [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | xtensa-dis.c | 139 int bytes_fetched, size, maxsize, i, n, noperands, nslots; local 153 maxsize = xtensa_isa_maxlength (xtensa_default_isa); 165 info->bytes_per_line = MAX (maxsize, 4); 172 byte_buf = (bfd_byte *) xmalloc (MAX (maxsize, 4));
|
/openbsd-current/usr.sbin/unbound/dnstap/ |
H A D | dtstream.h | 68 size_t maxsize; member in struct:dt_msg_queue 70 * If a new message make it more than maxsize, the buffer is full */
|
/openbsd-current/usr.sbin/makefs/ |
H A D | makefs.h | 145 off_t maxsize; /* maximum size image can be */ member in struct:makefs_fsinfo
|
H A D | makefs.c | 142 fsoptions.maxsize = 165 fsoptions.minsize = fsoptions.maxsize =
|
/openbsd-current/regress/sys/dev/kcov/ |
H A D | kcov.c | 191 check_coverage(const unsigned long *cover, int mode, unsigned long maxsize, argument 205 } else if (cover[0] >= maxsize) { 207 *cover, maxsize); 212 if (*cover * 4 >= maxsize) { 214 *cover * 4, maxsize);
|
/openbsd-current/bin/ls/ |
H A D | ls.c | 434 off_t maxsize; local 453 maxsize = 0; 490 if (sp->st_size > maxsize) 491 maxsize = sp->st_size; 570 (long long)maxsize);
|
/openbsd-current/gnu/usr.bin/cvs/lib/ |
H A D | strerror.c | 587 int maxsize; local 593 maxsize = MAX (sys_nerr, num_error_names); 594 return (maxsize - 1);
|