/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getuserattr.c | 66 * wherein the field pointers would be set to areas in the buffer if 67 * need be. instring and buffer should be separate areas. 82 /* Terminate the buffer */ 117 _getuserattr(userstr_t *result, char *buffer, int buflen, int *h_errnop) argument 122 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2userattr); 131 _fgetuserattr(FILE *f, userstr_t *result, char *buffer, int buflen) argument 135 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2userattr); 143 _getusernam(const char *name, userstr_t *result, char *buffer, int buflen, argument 149 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2userattr);
|
H A D | mon.c | 101 * register a buffer which contains the third region (either with 173 #define HAS_HISTOGRAM 0x0001 /* this buffer has a histogram */ 187 * WORD *buffer; ptr to space for monitor data(WORDs) 193 monitor(int (*alowpc)(void), int (*ahighpc)(void), WORD *buffer, argument 294 hdrp = (struct hdr *)(uintptr_t)buffer; /* initialize 1st region */ 318 countbase = (char *)buffer + sizeof (struct hdr); 323 (bufsize * sizeof (WORD) - (countlimit - (char *)buffer)); 327 buffer += ssiz; /* move ptr past 2'nd region */ 345 profil(buffer, bufsize, (ulong_t)lowpc, scale); 356 * last specified profil buffer, an [all...] |
H A D | getxby_door.c | 81 * *dptr IN: points to arg buffer OUT: points to results buffer 82 * *bufsize IN: overall size of buffer OUT: overall size of buffer 471 * original header can be copied back to the door buffer 482 * Restore the buffer size and header 526 * Retry the door after restoring buffer 621 * Get the current (but growable) buffer size for a NSS2 packet. 624 * 2) if an incoming user buffer is > larger than the current size 625 * Make the buffer a [all...] |
/osnet-11/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_ipc.c | 59 * long starting at `buffer'. note that `buffer' is guaranteed to be 65 * guaranteed to be `data_length' bytes long starting at `buffer'. 66 * once again, note that `buffer' is guaranteed to be 32-bit aligned 98 const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) 113 if (buffer != NULL) 114 (void) memcpy(request->buffer, buffer, buffer_size); 132 const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) 145 if (buffer ! 97 dhcp_ipc_alloc_request(dhcp_ipc_type_t type, const char *ifname, const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) argument 131 dhcp_ipc_alloc_reply(dhcp_ipc_request_t *request, int return_code, const void *buffer, uint32_t buffer_size, dhcp_data_type_t data_type) argument 547 static char buffer[BUFMAX]; local 973 dhcp_ipc_timed_read(int fd, void *buffer, unsigned int length, int *msec) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/ |
H A D | multiboot_mbi.c | 69 char *buffer; local 74 buffer = grub_malloc (MULTIBOOT_SEARCH); 75 if (!buffer) 78 len = grub_file_read (file, buffer, MULTIBOOT_SEARCH); 81 grub_free (buffer); 85 /* Look for the multiboot header in the buffer. The header should 87 for (header = (struct multiboot_header *) buffer; 88 ((char *) header <= buffer + len - 12) || (header = 0); 98 grub_free (buffer); 104 grub_free (buffer); [all...] |
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | netdir_inet.c | 556 ndbuf4switch->buffer, ndbuf4switch->buflen); 582 ndbuf4switch->result, ndbuf4switch->buffer, 591 ndbuf4switch->result, ndbuf4switch->buffer, 656 ndbuf4switch->buffer, ndbuf4switch->buflen); 677 ndbuf4switch->result, ndbuf4switch->buffer, 984 ndbuf4serv->result, ndbuf4serv->buffer, 1019 ndbuf4host->buffer, 1028 ndbuf4host->buffer, ndbuf4host->buflen, 1079 ndbuf4serv->result, ndbuf4serv->buffer, 1106 ndbuf4host->buffer, 1301 _switch_gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 1320 _switch_getipnodebyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int af_family, int flags, int *h_errnop) argument 1341 _switch_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 1360 _switch_getipnodebyaddr_r(const char *addr, int len, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 1386 _switch_getservbyname_r(const char *name, const char *proto, struct servent *result, char *buffer, int buflen) argument 1403 _switch_getservbyport_r(int port, const char *proto, struct servent *result, char *buffer, int buflen) argument 1430 str2servent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 2230 ndaddr2hent(int af, const char *nam, struct nd_addrlist *addrs, struct hostent *result, char *buffer, int buflen) argument 2299 ndaddr2srent(const char *name, const char *proto, ushort_t port, struct servent *result, char *buffer, int buflen) argument 2334 ndhostserv2hent(struct netbuf *nbuf, struct nd_hostservlist *addrs, struct hostent *result, char *buffer, int buflen) argument 2406 ndhostserv2srent(int port, const char *proto, struct nd_hostservlist *addrs, struct servent *result, char *buffer, int buflen) argument [all...] |
H A D | getipnodeby.c | 106 char *buffer, int buflen, int af_family, int flags, int *h_errnop) 108 return (_switch_getipnodebyname_r(nam, result, buffer, buflen, 114 struct hostent *result, char *buffer, int buflen, int *h_errnop) 118 result, buffer, buflen, h_errnop)); 121 result, buffer, buflen, h_errnop)); 305 nssin.arg.nss.host6.buf = buf6->buffer; 345 nssin.arg.nss.host.buf = buf4->buffer; 364 /* Extract the appropriate addresses from the returned buffer(s). */ 532 nssin.arg.nss.host.buf = buf->buffer; 550 buf->buffer, bu 105 _uncached_getipnodebyname(const char *nam, struct hostent *result, char *buffer, int buflen, int af_family, int flags, int *h_errnop) argument 113 _uncached_getipnodebyaddr(const char *addr, int length, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 842 char *buffer, *limit; local 1075 char *buffer, *limit; local [all...] |
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 230 * argp->buf.buffer i.e. no need to marshall the data. 232 argp->returnval = argp->buf.buffer; 233 argp->returnlen = strlen(argp->buf.buffer); 240 stat = (*argp->str2ent)(be->buffer, be->buflen, 241 argp->buf.result, argp->buf.buffer, argp->buf.buflen); 254 if (be->buffer != NULL) { 255 free(be->buffer); 256 be->buffer = NULL; 469 if (be->buffer != NULL) { 470 free(be->buffer); [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | boot.c | 58 unsigned char buffer[MULTIBOOT_SEARCH]; local 61 buffer by default */ 62 pu.aout = (struct exec *) buffer; 67 if (!(len = grub_read (buffer, MULTIBOOT_SEARCH)) || len < 32) 79 if (MULTIBOOT_FOUND ((int) (buffer + i), len - i)) 81 flags = ((struct multiboot_header *) (buffer + i))->flags; 96 lh = (struct linux_kernel_header *) buffer; 104 && BOOTABLE_I386_ELF ((*((Elf32_Ehdr *) buffer)))) 140 pu.mb = (struct multiboot_header *) (buffer + i); 168 pu.aout = (struct exec *) buffer; [all...] |
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 310 * finish_hostname and add_host_line construct buffer used by nscd 400 char *buffer; local 406 args->returnval = args->buf.buffer; 408 buffer = args->buf.buffer; 411 if (add_host_line(&buffer, &alias_end, &buflen, linem) != 0) { 433 * function with different output buffer. 654 char *first, *last, *buffer; local 688 buffer = args->buf.buffer; [all...] |
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | clstdup.c | 75 status = fat_read_fragments (ctx->old_fs, fs_info->buffer, 88 fs_info->buffer + i * fs_info->frag_size, 193 new_fs_info->buffer 229 memcpy (new_fs_info->buffer + offset * new_fs_info->frag_size, 230 old_fs_info->buffer + i * new_fs_info->frag_size, 235 if (!fat_write_sync_fragments (ctx->new_fs, new_fs_info->buffer, 267 old_fs_info->buffer + i * old_fs_info->frag_size, 350 /* ran out of room in the buffer, so write this group,
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppinput.c | 134 p = (cur->buffer = oldof(0, char, 0, pp.member->size + PPBAKSIZ + 1)) + PPBAKSIZ; 146 p = cur->buffer = pp.member->archive->info.buffer + pp.member->offset; 152 p = cur->buffer = ""; 167 if (!(pp.option & NOPROTO) && !(pp.test & TEST_noproto) && ((pp.state & (COMPATIBILITY|TRANSITION)) == COMPATIBILITY || (pp.option & PLUSPLUS) || (pp.mode & EXTERNALIZE)) && (cur->buffer = pppopen(NiL, cur->fd, NiL, NiL, NiL, NiL, (PROTO_HEADER|PROTO_RETAIN)|(((pp.mode & EXTERNALIZE) || (pp.option & PROTOTYPED)) ? PROTO_FORCE : PROTO_PASS)|((pp.mode & EXTERNALIZE) ? PROTO_EXTERNALIZE : 0)|((pp.mode & MARKC) ? PROTO_PLUSPLUS : 0)))) 169 *(p = cur->buffer - 1) = 0; 170 cur->buffer -= PPBAKSIZ; 176 *(p = (cur->buffer = oldof(0, char, 0, PPBUFSIZ + PPBAKSIZ + 1)) + PPBAKSIZ) = 0; 250 cur->buffer = p = strdup(p); 253 cur->buffer [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Digest/MD5/ |
H A D | MD5.xs | 147 U8 buffer[128]; /* collect complete 64 byte blocks */ 153 * padding is also the reason the buffer in MD5_CTX have to be 275 if (buf == ctx->buffer) 276 fprintf(stderr,"%5d: Transform ctx->buffer", ++tcount); 407 Copy(buf, ctx->buffer + fill, len, U8); 410 Copy(buf, ctx->buffer + fill, missing, U8); 411 MD5Transform(ctx, ctx->buffer, 1); 420 Copy(buf + (blocks << 6), ctx->buffer, len, U8); 434 Copy(PADDING, ctx->buffer + fill, padlen, U8); 440 *(U32*)(ctx->buffer [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 56 /* Size of the errstr buffer needs to be MAXERROR */ 58 read_line(FILE *fp, char *buffer, int buflen, char *errstr) argument 71 if (linelen > 0 && buffer[linelen - 1] == '\\') { 76 buffer[linelen] = '\0'; 81 buffer[linelen++] = c; 89 } else if (linelen > 0 && buffer[linelen - 1] == '\\') { 95 buffer[linelen] = '\0'; 106 char buffer[BUFSIZE], *name, *value; local 132 if ((linelen = read_line(fp, buffer, sizeof (buffer), 839 LineBuf buffer; local [all...] |
H A D | ns_standalone.c | 410 struct hostent *result, char *buffer, int buflen, 438 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2ent); 456 * If the buffer is not big enough to accommodate a returning data, 461 struct hostent *result, char *buffer, int buflen, 482 (void) strncpy(buffer, name, buflen); 485 buffer + strlen(name) + 1, 489 result->h_aliases[0] = buffer; 492 buffer + buflen - sizeof (struct in_addr), 494 result->h_addr_list[0] = buffer + buflen - 498 result->h_name = buffer; 409 _filter_gethostbyaddr_r(const char *addr, int len, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 460 __s_api_hostname2ip(const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument 562 char buffer[NSS_BUFLEN_HOSTS]; local 1055 domainname2baseDN(char *domain_name, char *buffer, uint16_t buf_len) argument 1126 char buffer[NSS_BUFLEN_HOSTS]; local [all...] |
/osnet-11/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 590 char buffer[1024]; local 608 (void) snprintf(buffer, sizeof (buffer), "%s=%s,%s=%s", 612 masktostr(buffer, xpes[0].cmask, tokens[D_cmask0]); 613 masktostr(buffer, xpes[1].cmask, tokens[D_cmask1]); 614 masktostr(buffer, xpes[0].umask, tokens[D_umask0]); 615 masktostr(buffer, xpes[1].umask, tokens[D_umask1]); 616 flagstostr(buffer, 618 flagstostr(buffer, 620 flagstostr(buffer, [all...] |
/osnet-11/usr/src/lib/libadt_jni/common/ |
H A D | adt_jni.c | 277 jbyte *buffer; local 283 length = adt_export_session_data(state, (adt_export_data_t **)&buffer); 286 free(buffer); 289 (*env)->SetByteArrayRegion(env, jbuf, 0, length, buffer); 290 free(buffer);
|
/osnet-11/usr/src/grub/grub2/grub-core/io/ |
H A D | bufio.c | 40 char buffer[0]; member in struct:grub_bufio 118 /* First part: use whatever we already have in the buffer. */ 130 grub_memcpy (buf, &bufio->buffer[pos], n); 156 /* Partial read. File ended unexpectedly. Save the last chunk in buffer. 164 grub_memcpy (&bufio->buffer[0], buf - bufio->buffer_len, 170 /* Read into buffer. */ 172 really_read = grub_file_read (bufio->file, bufio->buffer, 184 grub_memcpy (buf, &bufio->buffer[file->offset + res - next_buf], len);
|
/osnet-11/usr/src/grub/grub2/grub-core/loader/ |
H A D | multiboot.c | 159 grub_multiboot_load_elf (grub_file_t file, void *buffer) argument 161 if (grub_multiboot_is_elf32 (buffer)) 162 return grub_multiboot_load_elf32 (file, buffer); 163 else if (grub_multiboot_is_elf64 (buffer)) 164 return grub_multiboot_load_elf64 (file, buffer); 388 "The module was not fully read because the buffer that was \n"
|
H A D | multiboot_elfxx.c | 44 CONCAT(grub_multiboot_is_elf, XX) (void *buffer) 46 Elf_Ehdr *ehdr = (Elf_Ehdr *) buffer; 52 CONCAT(grub_multiboot_load_elf, XX) (grub_file_t file, void *buffer) 54 Elf_Ehdr *ehdr = (Elf_Ehdr *) buffer; 87 phdr_base = (char *) buffer + ehdr->e_phoff;
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | au_open.c | 44 * and since realloc loses data if it fails to expand the buffer, 169 char *buffer; /* to build record into */ local 242 if ((buffer = malloc((size_t)byte_count)) == NULL) { 255 adr_start(&adr, buffer); 286 v = audit((caddr_t)buffer, byte_count); 287 free(buffer);
|
/osnet-11/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 555 raw_memcpy(void *buffer, raw_list_t *rawlist, int offset, int size) argument 561 (void) memcpy(buffer, &rawlist->raw[offset], size); 600 unsigned char *buffer; local 638 buffer = alloca(size); 639 if (buffer == NULL) { 643 /* segment header buffer */ 659 (void) memcpy(buffer, &sec_hdr, sizeof (sec_hdr)); 662 (void) memcpy(buffer + sizeof (sec_hdr), seg_buf, size - 666 retval = verify_header_crc8(hdrver, buffer, size); 742 unsigned char *buffer; local 778 get_packet(raw_list_t *rawlist, void *buffer, int size, int offset) argument 1068 fru_get_payload(packet_hdl_t packet, void *buffer, size_t nbytes, door_cred_t *cred) argument [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getether.c | 88 be->buffer = calloc(1, be->buflen + 1); 89 if (be->buffer == NULL) { 94 (void) snprintf(be->buffer, be->buflen + 1, "%s %s",
|
/osnet-11/usr/src/lib/pam_modules/unix_session/ |
H A D | unix_session.c | 94 char buffer[NSS_BUFLEN_PASSWD]; local 127 if (getpwnam_r(user, &pwd, buffer, sizeof (buffer)) == NULL) {
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | print.c | 139 char buffer[512]; /* Holds search pathname */ local 165 (void) sprintf(buffer, "%s%s%s", terminfo, tail, term); 167 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); 172 if ((work_fp = fopen(buffer, "rF")) == NULL) { 177 if (strncmp(buffer, _ULIBTI, strlen(_ULIBTI)) == 0) { 189 (void) sprintf(buffer, "%s%s%s", _ULIBTI, tail, term); 191 if ((work_fp = fopen(buffer, "rF")) == NULL) { 208 "%s\n", buffer);
|