/osnet-11/usr/src/lib/libsum/common/ |
H A D | sum-sha1.c | 50 uint8_t buffer[64]; member in struct:Sha1_s 171 sha1_transform(uint32_t state[5], const unsigned char buffer[64]) { argument 177 (void)memcpy(block, buffer, 64); 239 (void)memcpy(&sha->buffer[j], data, (i = 64 - j)); 240 sha1_transform(sha->state, sha->buffer); 248 (void)memcpy(&sha->buffer[j], &data[i], len - i); 316 memset(sha->buffer, 0, sizeof(sha->buffer));
|
/osnet-11/usr/src/lib/libxcurses/src/tic/ |
H A D | ticscan.c | 110 static char buffer[1024]; local 135 ptr = buffer; 151 curr_token.tk_name = buffer; 167 curr_token.tk_name = buffer; 174 curr_token.tk_name = buffer; 184 curr_token.tk_name = buffer; 193 curr_token.tk_name = buffer;
|
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.h | 82 char *buffer; member in struct:ad_backend
|
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | compat_common.c | 52 char *buffer, int buflen); 54 char *buffer, int buflen); 56 char *buffer, int buflen); 68 char *buffer, 77 (void) strncpy(buffer, instr, buflen); 78 au_user->au_name = _strtok_escape(buffer, sep, &last); 215 args.buffer = be->netgr_buffer; 321 args->returnval = args->buf.buffer; 430 read_line(f, buffer, buflen) 432 char *buffer; 64 str2auuser_s( const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 72 char *buffer = NULL; local 86 if ((be->buffer = calloc(1, buflen)) == NULL) { 90 buffer = be->buffer; 92 buffer = argp->buf.buffer; 103 (void) memset(argp->buf.buffer, 0, buflen); 231 len = snprintf(buffer, buflen, "%s%s", first_host, other_hosts); 232 TEST_AND_ADJUST(len, buffer, buflen, result_host2str); 236 be->buflen = strlen(be->buffer); [all...] |
H A D | getpwnam.c | 81 char *buffer = NULL; local 110 buffer = argp->buf.buffer; 113 (void) memset(buffer, 0, buflen); 162 be->buffer = malloc(be->buflen); 163 if (be->buffer == NULL) { 168 (void) snprintf(be->buffer, be->buflen, 178 * there's enough room in the buffer. 195 plen = snprintf(argp->buf.buffer, buflen, 201 plen = snprintf(argp->buf.buffer, bufle [all...] |
H A D | getservent.c | 116 char *buffer = NULL; local 144 if ((be->buffer = calloc(1, buflen)) == NULL) { 148 buffer = be->buffer; 150 buffer = argp->buf.buffer; 154 (void) memset(argp->buf.buffer, 0, buflen); 178 len = snprintf(buffer, buflen, "%s %s/", cname, ipport[0]); 179 TEST_AND_ADJUST(len, buffer, buflen, result_srvs2str); 236 len = snprintf(buffer, bufle [all...] |
H A D | getspent.c | 75 char *tmp, *buffer = NULL; local 88 (void) memset(argp->buf.buffer, 0, buflen); 204 be->buffer = calloc(1, len); 205 if (be->buffer == NULL) { 209 buffer = be->buffer; 211 buffer = argp->buf.buffer; 214 (void) snprintf(buffer, len, "%s:%s:%s:%s:%s:%s:%s:%s:%s", 218 (void) snprintf(buffer, le [all...] |
/osnet-11/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 289 * wherein the field pointers would be set to areas in the buffer if 290 * need be. instring and buffer should be separate areas. 293 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 303 * We copy the input string into the output buffer and 306 (void) memcpy(buffer, instr, lenstr); 307 buffer[lenstr] = '\0'; 309 next = buffer; 513 * wherein the field pointers would be set to areas in the buffer if 514 * need be. instring and buffer should be separate areas. 517 str2spwd(instr, lenstr, ent, buffer, bufle 597 static nss_XbyY_buf_t *buffer; variable [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...] |
/osnet-11/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 261 ret_val = remap_shared_buf(handle, r_p->size, r_p->buffer); 266 bcopy(r_p->buffer, handle->sm_buf, r_p->size); 322 ret_val = remap_shared_buf(handle, r_p->size, r_p->buffer); 352 (void) memcpy(r_p->buffer, handle->sm_buf, retraw_read->nbytes); 667 * We will be validating the user supplied buffer lengths and 668 * buffer pointers. 682 DPRINTF("cdb buffer is NULL.\n"); 786 remap_shared_buf(rmedia_handle_t *handle, size_t buf_size, char *buffer) argument 846 ret_val = write(fd, buffer, buf_size);
|
/osnet-11/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 117 void *ent, char *buffer, int buflen) { 121 * We copy the input string into the output buffer 123 (void) memcpy(buffer, instr, lenstr); 124 buffer[lenstr] = '\0'; 442 NSS_XbyY_INIT(&arg, buf->result, buf->buffer, buf->buflen, str2key); 465 keyval = buf->buffer; 116 str2key(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | fat.h | 39 #define BUFFER_SIZE 1024 /* buffer size in sectors (512 bytes) */ 126 char* buffer; member in struct:_FatSpecific
|
/osnet-11/usr/src/lib/libcontract/common/ |
H A D | libcontract.c | 395 unpack_and_merge(nvlist_t **nvl, char *buffer, size_t len) argument 400 if ((error = nvlist_unpack(buffer, len, &tmpnvl, 0)) != 0)
|
/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/lib/fm/libseslog/common/ |
H A D | libseslog.c | 180 * Save the logs by walking through the entries in the response buffer. 182 * resp buffer looks like: 244 * Bytes 2 and 3 of response buffer contain the page length of 270 * Start walking each log entry in response buffer looking for 579 /* Too short of a response buffer */ 791 struct stat buffer; local 808 if (stat(real_path, &buffer) != 0) { 812 if (stat(real_path, &buffer) != 0) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_dummy/mech/ |
H A D | dmech.c | 815 (name_1->buffer->length == name_2->buffer->length) && 816 !memcmp(name_1->buffer->value, name_2->buffer->value, 817 name_1->buffer->length)) 851 output_name_buffer->length = name->buffer->length; 853 malloc(name->buffer->length); 857 memcpy(output_name_buffer->value, name->buffer->value, 858 name->buffer->length); 895 name->buffer 1244 gss_buffer_desc buffer; local 1259 gss_buffer_desc buffer; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 106 * if the supplied buffer/length will not contain the output. 109 krb5_salttype_to_string(krb5_int32 salttype, char *buffer, size_t buflen) argument 122 if (strlcpy(buffer, out, buflen) >= buflen) 203 /* See if at end of buffer - otherwise partial processing */ 220 krb5_timestamp_to_string(krb5_timestamp timestamp, char *buffer, size_t buflen) 233 ret = strftime(buffer, buflen, fmt, &tmbuf); 240 krb5_timestamp_to_sfstring(krb5_timestamp timestamp, char *buffer, size_t buflen, char *pad) 264 if ((ndone = strftime(buffer, buflen, sftime_format_table[i], tmp))) 270 snprintf(buffer, buflen, "%02d/%02d/%4d %02d:%02d", 273 ndone = strlen(buffer); 219 krb5_timestamp_to_string(krb5_timestamp timestamp, char *buffer, size_t buflen) argument 239 krb5_timestamp_to_sfstring(krb5_timestamp timestamp, char *buffer, size_t buflen, char *pad) argument 288 krb5_deltat_to_string(krb5_deltat deltat, char *buffer, size_t buflen) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | twofish.c | 877 byte scratch[16]; /* Encryption/decryption result buffer. */ 955 /* Test buffer. */ 956 byte buffer[4][16] = { 995 twofish_setkey (&ctx, buffer[0], sizeof (buffer[0])); 997 twofish_encrypt (&ctx, buffer[2], buffer[2]); 998 twofish_setkey (&ctx, buffer[1], sizeof (buffer[1])); 1000 twofish_encrypt (&ctx, buffer[ 946 byte buffer[4][16] = { local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | twofish.c | 895 /* Test buffer. */ 896 byte buffer[4][16] = { 935 twofish_setkey (&ctx, buffer[0], sizeof (buffer[0])); 937 twofish_encrypt (&ctx, buffer[2], buffer[2]); 938 twofish_setkey (&ctx, buffer[1], sizeof (buffer[1])); 940 twofish_encrypt (&ctx, buffer[3], buffer[ 886 byte buffer[4][16] = { local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/ |
H A D | reed_solomon.c | 456 grub_reed_solomon_add_redundancy (void *buffer, grub_size_t data_size, argument 461 gf_single_t *ptr = buffer; 466 grub_memcpy (tmp, buffer, data_size); 493 assert (grub_memcmp (tmp, buffer, data_size) == 0);
|
/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/grub/grub2/grub-core/script/ |
H A D | execute.c | 219 char buffer[ERRNO_DIGITS_MAX + 1]; local 220 grub_snprintf (buffer, sizeof (buffer), "%u", scope->argv.argc); 221 if (grub_script_argv_append (&result, buffer, grub_strlen (buffer)))
|
/osnet-11/usr/src/grub/grub2/include/grub/ |
H A D | script_sh.h | 168 Otherwise the lexer can stop processing if the current buffer is 173 this other buffer. It can be used to edit the menu entry at a 212 /* Flex scanner buffer. */ member in struct:grub_lexer_param 213 void *buffer;
|
/osnet-11/usr/src/cmd/powertop/common/ |
H A D | display.c | 525 char buffer[1024]; local 527 (void) sprintf(buffer, "no power usage estimate available"); 535 (void) sprintf(buffer, "Power usage (ACPI estimate): %.3fW", 537 (void) strcat(buffer, " "); 538 c = &buffer[strlen(buffer)]; 559 print(sw[SW_POWER], 0, 0, "%s\n", buffer);
|