Searched refs:buf (Results 76 - 100 of 220) sorted by relevance

123456789

/darwin-on-arm/xnu/libkern/gen/
H A DOSDebug.cpp101 char buf[128]; local
110 vsnprintf(buf, sizeof(buf), str, listp);
116 buf, bt[2], bt[3], bt[4], bt[5], bt[6], bt[7], bt[8]);
/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-md.h235 #define PROF_CNT_TO_DECIMAL(buf,cnt) _profile_cnt_to_decimal(buf, (cnt).low, (cnt).high)
262 #define LPROF_CNT_TO_DECIMAL(buf,cnt) PROF_CNT_TO_DECIMAL(buf,cnt)
/darwin-on-arm/xnu/libkern/libkern/
H A Dzlib.h939 typedefs. inflateBack() will call in(in_desc, &buf) which should return the
940 number of bytes of provided input, and a pointer to that input in buf. If
941 there is no input available, in() must return zero--buf is ignored in that
943 out(out_desc, buf, len) to write the uncompressed data buf[0..len-1]. out()
1136 ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len));
1145 voidpc buf, unsigned len));
1172 ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len));
1175 a newline character is read and transferred to buf, or an end-of-file
1178 gzgets returns buf, o
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dddp.save50 char buf[DDP_HDR_SIZE + LLAP_HDR_SIZE];
65 bcopy(gbuf_rptr(mp), buf, LLAP_HDR_SIZE + DDP_HDR_SIZE);
101 llap = (at_llap_hdr_t *)buf;
102 ddp_short = (at_ddp_short_t *)(buf + LLAP_HDR_SIZE);
170 int ATPsndreq(fd, buf, len, nowait) /* AIX version */
172 unsigned char *buf;
179 rc = (*sys_ATPsndreq)(fd, buf, len, nowait, &err, 0);
204 int ATPgetreq(fd, buf, buflen) /* AIX version */
206 unsigned char *buf;
212 rc = (*sys_ATPgetreq)(fd, buf, bufle
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Din_arp.c784 char * buf = orig_buf; local
792 *buf = '\0';
794 snprintf(buf, 3, "%02x", lladdr[i]);
795 buf += 2;
796 *buf = (i == maxbytes - 1) ? '\0' : ':';
797 buf++;
1110 char buf[3 * MAX_HW_LEN]; // enough for MAX_HW_LEN byte hw address local
1235 sdl_addr_to_hex(sender_hw, buf, sizeof(buf)));
1312 sdl_addr_to_hex(sender_hw, buf, sizeo
[all...]
H A Din_pcblist.c263 void *buf = NULL; local
311 buf = _MALLOC(item_size, M_TEMP, M_WAITOK);
312 if (buf == 0) {
334 struct xinpcb_n *xi = (struct xinpcb_n *)buf;
340 bzero(buf, item_size);
360 error = SYSCTL_OUT(req, buf, item_size);
382 if (buf)
383 FREE(buf, M_TEMP);
/darwin-on-arm/xnu/libkern/zlib/
H A Dtrees.c186 local void copy_block OF((deflate_state *s, charf *buf, unsigned len,
894 void _tr_stored_block(s, buf, stored_len, eof)
896 charf *buf; /* input block */
905 copy_block(s, buf, (unsigned)stored_len, 1); /* with header */
948 void _tr_flush_block(s, buf, stored_len, eof)
950 charf *buf; /* input block, or NULL if too old */
992 Assert(buf != (char*)0, "lost buf");
997 if (buf != (char*)0) { /* force stored block */
999 if (stored_len+4 <= opt_lenb && buf !
[all...]
H A Dinflate.c127 local unsigned syncsearch OF((unsigned FAR *have, unsigned char FAR *buf,
406 # define UPDATE(check, buf, len) \
407 (state->flags ? z_crc32(check, buf, len) : adler32(check, buf, len))
409 # define UPDATE(check, buf, len) adler32(check, buf, len)
1258 Search buf[0..len-1] for the pattern: 0, 0, 0xff, 0xff. Return when found
1268 local unsigned syncsearch(have, buf, len)
1270 unsigned char FAR *buf;
1279 if ((int)(buf[nex
[all...]
/darwin-on-arm/xnu/bsd/libkern/
H A Dcrc32.c93 crc32(uint32_t crc, const void *buf, size_t size) argument
97 p = buf;
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_sect.h142 kern_return_t kxld_sect_export_macho_to_file_buffer(const KXLDSect *sect, u_char *buf,
147 kern_return_t kxld_sect_export_macho_to_vm(const KXLDSect *sect, u_char *buf,
/darwin-on-arm/xnu/security/
H A Dmac_file.c177 mac_file_check_set(struct ucred *cred, struct fileglob *fg, char *buf, argument
182 MAC_CHECK(file_check_set, cred, fg, buf, buflen);
/darwin-on-arm/xnu/bsd/sys/
H A Dsem_internal.h102 user_addr_t buf; /* buffer for IPC_STAT & IPC_SET */ member in union:user_semun
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOHibernateInternal.h105 hibernate_sum_page(uint8_t *buf, uint32_t ppnum);
H A DIOLib.cpp843 char buf[128]; local
845 snprintf(buf, sizeof(buf), "pid %d, ", pid);
846 len = strlen(buf);
847 proc_name(pid, buf + len, sizeof(buf) - len);
848 return (OSString::withCString(buf));
/darwin-on-arm/xnu/osfmk/kern/
H A Dkmod.c70 extern void proc_selfname(char * buf, int size);
/darwin-on-arm/xnu/SETUP/config/
H A Dmkglue.c217 char buf[80]; local
225 for (tp = buf; *cp; cp++)
231 fprintf(gp, "#define\tI_%s\t%lu\n", buf, i*sizeof (long));
H A Dparser.y423 char buf[80];
425 (void) sprintf(buf, "%s%d", $1, $2);
426 $$ = ns(buf); free($1);
430 char buf[80];
432 (void) sprintf(buf, "%s%d%s", $1, $2, $3);
433 $$ = ns(buf); free($1);
1119 char buf[BUFSIZ];
1144 (void) sprintf(buf,
1147 yyerror(buf);
1186 (void) sprintf(buf, "Warnin
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dbsd_stubs.c40 #include <sys/buf.h> /* for SET */
337 bsd_hostname(char *buf, int bufsize, int *len) argument
343 strlcpy(buf, hostname, bufsize);
H A Dkern_physio.c245 minphys(struct buf *bp)
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dblist.c876 char buf[1024]; local
883 if (fgets(buf, sizeof(buf), stdin) == NULL)
885 switch(buf[0]) {
887 if (sscanf(buf + 1, "%d", &count) == 1) {
896 if (sscanf(buf + 1, "%d", &count) == 1) {
904 if (sscanf(buf + 1, "%x %d", &da, &count) == 2) {
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey_debug.c759 ipsec_bindump(buf, len)
760 caddr_t buf;
766 printf("%c", (unsigned char)buf[i]);
773 ipsec_hexdump(buf, len)
774 caddr_t buf;
782 printf("%02x", (unsigned char)buf[i]);
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_select_tcp.c161 char buf[L_tmpnam+128]; local
162 sprintf(buf, "lat_select: Could not create temp file %s", ts->fname);
163 perror(buf);
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dpipe.c86 int readall(int s, void *buf, size_t len);
295 readall(int s, void *buf, size_t len) argument
301 n = read(s, (void *)((long)buf + total), len - total);
/darwin-on-arm/xnu/bsd/dev/random/
H A Drandomdev.c600 u_int32_t buf; local
601 read_random(&buf, sizeof (buf));
602 return (buf);
/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspecdev.h129 struct buf;

Completed in 85 milliseconds

123456789