/xnu-2422.115.4/bsd/sys/ |
H A D | kasl.h | 44 int escape_str(char *str, int len, int buflen);
|
H A D | utfconv.h | 103 * and produces the UTF-8 output into a buffer of buflen bytes pointed 129 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags); 136 * and produces the Unicode output into a buffer of buflen bytes pointed 164 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags); 171 * and produces normalized UTF-8 output into a buffer of buflen bytes 193 size_t *outlen, size_t buflen, int flags);
|
H A D | vnode_internal.h | 367 int build_path(vnode_t first_vp, char *buff, int buflen, int *outlen, int flags, vfs_context_t ctx);
|
/xnu-2422.115.4/libkern/net/ |
H A D | inet_ntoa.c | 49 inet_ntoa_r(struct in_addr ina, char *buf, size_t buflen) argument 53 snprintf(buf, buflen, "%d.%d.%d.%d",
|
/xnu-2422.115.4/bsd/crypto/rc4/ |
H A D | rc4.h | 51 const u_char *inbuf, u_char *outbuf, int buflen);
|
H A D | rc4.c | 84 const u_char *inbuf, u_char *outbuf, int buflen) 89 for (i = 0; i < buflen; i++) { 83 rc4_crypt(struct rc4_state *const state, const u_char *inbuf, u_char *outbuf, int buflen) argument
|
/xnu-2422.115.4/bsd/net/ |
H A D | bpf_filter.c | 208 * buflen is the amount of data present 211 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) argument 244 if (k > buflen || sizeof(int32_t) > buflen - k) { 248 if (buflen != 0) 268 if (k > buflen || sizeof(int16_t) > buflen - k) { 272 if (buflen != 0) 285 if (k >= buflen) { 289 if (buflen ! [all...] |
H A D | ndrv.c | 607 sprint_d(u_int n, char *buf, int buflen) argument 612 do { buflen--; 616 } while (n != 0 && buflen > 0); 617 strncpy(buf, cp, IFNAMSIZ-buflen);
|
H A D | if_bridge.c | 2489 unsigned int count, buflen, len; \ 2497 buflen = sizeof (breq) * count; \ 2499 bifc->ifbic_len = buflen; \ 2503 outbuf = _MALLOC(buflen, M_TEMP, M_WAITOK | M_ZERO); \ 2508 len = min(bifc->ifbic_len, buflen); \ 2571 unsigned int count, buflen, len; \ 2580 buflen = sizeof (bareq) * count; \ 2583 outbuf = _MALLOC(buflen, M_TEMP, M_WAITOK | M_ZERO); \ 2588 len = min(bac->ifbac_len, buflen); \ 3016 unsigned int count, buflen, le [all...] |
H A D | route.c | 693 void *buf, uint32_t buflen, kauth_cred_t *credp) 698 VERIFY(buf != NULL && buflen >= sizeof (*ss)); 699 bzero(buf, buflen); 771 VERIFY(buflen >= sa->sa_len); 692 rtm_scrub(int type, int idx, struct sockaddr *hint, struct sockaddr *sa, void *buf, uint32_t buflen, kauth_cred_t *credp) argument
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_asl.c | 217 * buflen - size of buffer that contains the string 220 escape_str(char *str, int len, int buflen) argument 239 if ((buflen - len) < count) {
|
H A D | uipc_syscalls.c | 1453 int buflen = m->m_len; local 1455 while (buflen > 0 && len > 0) { 1499 if (cp_size > buflen) { 1500 panic("cp_size > buflen, something wrong with alignment!"); 1520 buflen -= cp_size; 2051 sockargs(struct mbuf **mp, user_addr_t data, int buflen, int type) argument 2057 size_t alloc_buflen = (size_t)buflen; 2064 alloc_buflen = ((buflen - sizeof(struct cmsghdr))*2) + sizeof(struct cmsghdr); 2082 /* K64: We still copyin the original buflen because it gets expanded later 2085 m->m_len = buflen; [all...] |
H A D | kern_sysctl.c | 1282 int buflen; member in struct:sysdoproc_args 1300 if (args->buflen >= args->sizeof_kproc) { 1319 args->buflen -= args->sizeof_kproc; 1336 int buflen = where != USER_ADDR_NULL ? req->oldlen : 0; variable 1396 args.buflen = buflen; 1866 int buflen = where != USER_ADDR_NULL ? *sizep : 0; local 1886 buflen -= sizeof(int); /* reserve first word to return argc */ 1888 /* we only care about buflen when where (oldp from sysctl) is not NULL. */ 1892 if (where != USER_ADDR_NULL && (buflen < [all...] |
/xnu-2422.115.4/security/ |
H A D | mac_file.c | 178 int buflen) 182 MAC_CHECK(file_check_set, cred, fg, buf, buflen); 177 mac_file_check_set(struct ucred *cred, struct fileglob *fg, char *buf, int buflen) argument
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | xdr_subs.h | 157 xb_init_buffer(struct xdrbuf *xbp, char *buf, size_t buflen) argument 161 xbp->xb_u.xb_buffer.xbb_size = buflen; 162 xbp->xb_u.xb_buffer.xbb_len = buflen; 165 xbp->xb_left = buflen;
|
H A D | nfs_gss.c | 2987 nfs_gss_mach_alloc_buffer(u_char *buf, uint32_t buflen, vm_map_copy_t *addr) argument 2994 if (buf == NULL || buflen == 0) 2997 tbuflen = vm_map_round_page(buflen, 3016 bcopy(buf, (void *) kmem_buf, buflen); 3018 // bzero(kmem_buf + buflen, tbuflen - buflen); 3032 (vm_map_size_t) buflen, TRUE, addr);
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_utfconv.c | 255 * ENAMETOOLONG: Name didn't fit; only buflen bytes were encoded 261 size_t * utf8len, size_t buflen, u_int16_t altslash, int flags) 277 bufend = bufstart + buflen; 412 size_t *ucslen, size_t buflen, u_int16_t altslash, int flags) 431 bufend = (u_int16_t *)((u_int8_t *)ucsp + buflen); 712 * and produces normalized UTF-8 output into a buffer of buflen bytes 733 size_t *outlen, size_t buflen, int flags) 755 outbufend = outbufstart + buflen; 815 &uft8_bytes, buflen, 0, UTF_NO_NULL_TERM); 260 utf8_encodestr(const u_int16_t * ucsp, size_t ucslen, u_int8_t * utf8p, size_t * utf8len, size_t buflen, u_int16_t altslash, int flags) argument 411 utf8_decodestr(const u_int8_t* utf8p, size_t utf8len, u_int16_t* ucsp, size_t *ucslen, size_t buflen, u_int16_t altslash, int flags) argument 732 utf8_normalizestr(const u_int8_t* instr, size_t inlen, u_int8_t* outstr, size_t *outlen, size_t buflen, int flags) argument
|
H A D | vfs_cache.c | 208 build_path(vnode_t first_vp, char *buff, int buflen, int *outlen, int flags, vfs_context_t ctx) argument 234 end = &buff[buflen-1]; 516 memmove(buff, end, &buff[buflen] - end); 521 *outlen = &buff[buflen] - end;
|
/xnu-2422.115.4/bsd/dev/i386/ |
H A D | dis_tables.c | 3487 * Print a numeric immediate into end of buf, maximum length buflen. 3505 size_t buflen, int disp, int try_neg) 3516 dis->d86_sprintf_func(buf + curlen, buflen - curlen, 3521 dis->d86_sprintf_func(buf + curlen, buflen - curlen, 3524 dis->d86_sprintf_func(buf + curlen, buflen - curlen, 3547 size_t buflen) 3560 dis->d86_sprintf_func(buf, buflen, "%-6s ", dis->d86_mnem); 3572 (void) strlcat(buf, ",", buflen); 3574 (void) strlcat(buf, op->d86_prefix, buflen); 3606 (void) strlcat(buf, op->d86_opnd, buflen); [all...] |
/xnu-2422.115.4/bsd/bsm/ |
H A D | audit_record.h | 193 int au_close_buffer(int d, short event, u_char *buffer, size_t *buflen); 194 int au_close_token(token_t *tok, u_char *buffer, size_t *buflen);
|
/xnu-2422.115.4/osfmk/kern/ |
H A D | debug.c | 405 * Assumes "buflen" is a multiple of 8. 408 int packA(char *inbuf, uint32_t length, uint32_t buflen) argument 413 length = MIN(((length + 7) & ~7), buflen);
|
H A D | debug.h | 259 int packA(char *inbuf, uint32_t length, uint32_t buflen);
|
/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccmode_factory.h | 344 uint32_t buflen; /* length of data in buf */ member in struct:_ccmode_gcm_key
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | in.h | 854 size_t buflen); /* in libkern */
|
H A D | in_arp.c | 877 sdl_addr_to_hex(const struct sockaddr_dl *sdl, char *orig_buf, int buflen) argument 882 int maxbytes = buflen / 3;
|