/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | files_common.c | 169 * in a buffer with one additional newline after each file. 424 _nss_files_read_line(files_backend_ptr_t be, char *buffer, int buflen) argument 426 int linelen; /* 1st unused slot in buffer */ 446 buffer[linelen - 1] == '\\') { 449 buffer[linelen ] = '\n'; 450 buffer[linelen + 1] = '\0'; 457 buffer[linelen ] = '\n'; 458 buffer[linelen + 1] = '\0'; 463 buffer[linelen++] = c; 488 char *buffer; local [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/ |
H A D | kmsKeystoreUtil.c | 471 char buffer[BUFSIZ]; local 481 buffer, sizeof (buffer)); 485 add_label_node(tree, buffer);
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeysUtil.c | 841 * The final output of this process is the A buffer 1202 CK_BYTE buffer[2][SHA1_DIGEST_LENGTH]; local 1211 output = buffer[1]; 1239 * The first time, initialize the output buffer 1250 * it may be less than a full hmac buffer when 1262 * Initially we used buffer[1], so after the end of 1263 * the first iteration (i==0), we switch to buffer[0] 1266 output = buffer[i%2]; 1565 /* Clear buffer before returning to memory pool. */ 1571 /* Clear buffer befor [all...] |
/osnet-11/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 140 char *buffer; member in struct:context 508 result = _plug_buf_alloc(text->utils, &text->buffer, 526 memcpy(text->buffer + text->cursize, *input, *inputlen); 533 memcpy(text->buffer + text->cursize, *input, diff); 539 real_input_token.value = text->buffer; 708 if (text->buffer) { 709 text->utils->free(text->buffer); 710 text->buffer = NULL;
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | pplib.h | 112 #define IN_expand (1<<5) /* ppexpand buffer */ 120 #define IN_static (1<<13) /* static buffer - don't free */ 144 char* buffer; /* buffer base pointer */ member in struct:ppinstk 150 int buflen; /* buffer count */ 289 char* addbuf; /* ADD buffer */ \ 290 char* catbuf; /* catenation buffer */ \ 291 char* hdrbuf; /* HEADEREXPAND buffer */ \ 292 char* hidebuf; /* pp:hide buffer */ \ 294 char* tmpbuf; /* very temporary buffer */ \ [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 754 * The buffer may alread be allocated if this is a core file that 760 dprintf("failed to allocate ctf buffer\n"); 1680 * header and .shstrtab data buffer so we can process sections by 2420 char *sym_name_buffer, /* buffer for the symbol name */ 2710 char *buffer, size_t bufsize) 2725 (void) strlcpy(buffer, fptr->file_lname, bufsize); 2726 return (buffer); 2730 if (Pfindmap(P, mptr, buffer, bufsize) != NULL) 2731 return (buffer); 2743 char *buffer, size_ 2709 i_Pobjname(struct ps_prochandle *P, boolean_t lmresolve, uintptr_t addr, char *buffer, size_t bufsize) argument 2742 Pobjname(struct ps_prochandle *P, uintptr_t addr, char *buffer, size_t bufsize) argument 2757 Pobjname_resolved(struct ps_prochandle *P, uintptr_t addr, char *buffer, size_t bufsize) argument [all...] |
/osnet-11/usr/src/lib/librestart/common/ |
H A D | librestart.c | 2352 char *buffer; local 2356 buffer = malloc(buflen); 2357 if (buffer == NULL) 2361 ret = getgrnam_r(str, &grp, buffer, buflen); 2362 free(buffer);
|
/osnet-11/usr/src/lib/libshell/common/edit/ |
H A D | edit.c | 534 * Flush the output buffer. 739 /* can't use output buffer when reading from stderr */ 989 /* shift lookahead buffer if necessary */ 1107 * put a character into the output buffer 1148 * returns the line and column corresponding to offset <off> in the physical buffer 1297 * copy virtual to physical and return the index for cursor in physical buffer 1376 genchar buffer[MAXLINE]; local 1377 c = ed_internal(src,buffer); 1378 ed_gencpy((genchar*)dp,buffer); 1401 char buffer[MAXLIN local [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_common.c | 528 char *buffer = NULL; local 534 buffer = strdup(p); 535 if (!buffer) { 543 service, &buffer, error); 546 free(buffer); 555 buffer = (char *)malloc(buflen); 556 if (buffer == NULL) { 562 (void) snprintf(buffer, buflen, 567 buffer = (char *)malloc(buflen); 568 if (buffer 2055 char *buffer = NULL; local [all...] |
H A D | ns_config.c | 105 __door_getldapconfig(char **buffer, int *buflen, ns_ldap_error_t **error); 108 SetDoorInfo(char *buffer, ns_ldap_error_t **errorp); 543 * The sysinfo man page recommends using a buffer size 1515 * Size of errstr buffer needs to be MAXERROR. 1522 char *ptr = NULL, *strptr = NULL, buffer[BUFSIZE]; local 1591 (void) strcpy(buffer, value); 1592 strptr = strtok_r(buffer, ",", &rest); 1632 __s_api_split_key_value(char *buffer, char **name, char **value) argument 1636 *name = buffer; 1638 if ((ptr = strchr(buffer, TOKENSEPARATO 3052 LineBuf *buffer = &lbuf; local 3299 __door_getconf(char **buffer, int *buflen, ns_ldap_error_t **error, int callnumber) argument 3375 __door_getldapconfig(char **buffer, int *buflen, ns_ldap_error_t **error) argument 3385 SetDoorInfoToUnixCred(char *buffer, ns_ldap_error_t **errorp, UnixCred_t **cred) argument 3448 SetDoorInfo(char *buffer, ns_ldap_error_t **errorp) argument 3530 char *buffer = NULL; local [all...] |
H A D | ns_connect.c | 69 extern int __door_getconf(char **buffer, int *buflen, 72 extern int SetDoorInfoToUnixCred(char *buffer, 145 __door_getadmincred(char **buffer, int *buflen, ns_ldap_error_t **error) argument 147 return (__door_getconf(buffer, buflen, error, GETADMINCRED)); 158 char *buffer = NULL; local 163 ret = __door_getadmincred(&buffer, &buflen, error); 172 ret = SetDoorInfoToUnixCred(buffer, error, cred); 173 free(buffer); 2265 * newaddr_size - Size of the newaddr buffer. 2269 * errstr_size - Size of the errstr buffer 2286 char buffer[NSS_BUFLEN_HOSTS]; 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/libsmb/common/ |
H A D | smb_util.c | 106 * Simple hex dump display function. Displays nbytes of buffer in hex and 116 hexdump_offset(unsigned char *buffer, int nbytes, unsigned long *start) argument 127 if ((p = buffer) == NULL) 162 hexdump(unsigned char *buffer, int nbytes) argument 166 hexdump_offset(buffer, nbytes, &start); 244 * from a buffer containing a null-terminated string. 245 * For example, if the input buffer contained "ABtext23" and class 246 * contains "ABC123", the buffer will contain "text" on return. 278 * Strip the characters in the set defined by class from a buffer 280 * For example, if the input buffer containe [all...] |
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 717 buf[amount_to_read] = '\0'; /* guarantees buffer is NUL-terminated */ 747 * out(output) - contains the output buffer address to be returned 781 * out(output) - contains the output buffer address to be returned 902 /* Restore the buffer */ 2762 char buffer[MAXPATHLEN]; local 2770 while (fgets(buffer, MAXPATHLEN, pfile) != NULL) { 2771 if (buffer[0] == '#' || buffer[0] == ' ' || 2772 buffer[0] == '\n'|| buffer[ [all...] |
/osnet-11/usr/src/lib/libndr/common/ |
H A D | libndr.h | 89 * something special for the RPC packet to be placed in a buffer 387 uint16_t buffer[ANY_SIZE_ARRAY]; member in struct:ndr_vcs 403 uint8_t buffer[ANY_SIZE_ARRAY]; member in struct:ndr_vcb
|
/osnet-11/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 117 char **buffer; local 120 buffer = (char **)malloc (sizeof (char *) * 8); 122 if (buffer == NULL) 125 buffer[0] = NULL; 131 buffer = realloc (buffer, sizeof (char *) * (count + 8)); 132 if (buffer == NULL) 141 buffer[count] = str; 148 buffer = realloc (buffer, sizeo [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/ |
H A D | ohci.c | 56 grub_uint32_t buffer; /* LittleEndian physical address */ member in struct:grub_ohci_td 609 grub_uint32_t buffer; 639 buffer = data; 640 buffer_end = buffer + size - 1; 642 /* Set correct buffer values in TD if zero transfer occurs */ 645 buffer = (grub_uint32_t) data; 646 buffer_end = buffer + size - 1; 647 td->buffer = grub_cpu_to_le32 (buffer); 652 td->buffer 607 grub_uint32_t buffer; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | reiserfs.c | 291 grub_hexdump (char *buffer, grub_size_t len) argument 299 ((unsigned int) ((unsigned char *) buffer)[a]) & 0xFF); 1320 returned in a grub_malloc'ed buffer and should be freed by the
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | ac.c | 548 /* Allocate buffer. */ 557 /* Fill buffer. */ 948 _gcry_ac_io_write (gcry_ac_io_t *ac_io, unsigned char *buffer, size_t buffer_n) 971 memcpy (p + *ac_io->io.writable.string.data_n, buffer, buffer_n); 977 if (gcry_is_secure (buffer)) 985 memcpy (p, buffer, buffer_n); 995 buffer, buffer_n); 1008 unsigned int nread, unsigned char *buffer, size_t *buffer_n) 1031 memcpy (buffer, ac_io->io.readable.string.data + nread, bytes_to_read); 1039 (ac_io->io.readable.callback.opaque, buffer, buffer_ 945 _gcry_ac_io_write(gcry_ac_io_t *ac_io, unsigned char *buffer, size_t buffer_n) argument 1004 _gcry_ac_io_read(gcry_ac_io_t *ac_io, unsigned int nread, unsigned char *buffer, size_t *buffer_n) argument 1048 _gcry_ac_io_read_all(gcry_ac_io_t *ac_io, unsigned char **buffer, size_t *buffer_n) argument 1106 unsigned char buffer[BUFSIZ]; local 2168 em_randomize_nonzero(unsigned char *buffer, size_t buffer_n, gcry_random_level_t level) argument 2222 unsigned char *buffer; local 2296 unsigned char *buffer; local 2352 emsa_pkcs_v1_5_encode_data_cb(void *opaque, unsigned char *buffer, size_t buffer_n) argument 2380 unsigned char *buffer; local 2643 unsigned char *buffer; local 2894 unsigned char *buffer; local 3102 unsigned char *buffer; local [all...] |
H A D | pubkey.c | 2470 gcry_pk_ctl (int cmd, void *buffer, size_t buflen) argument 2479 /* This one expects a buffer pointing to an integer with the 2481 if ((! buffer) || (buflen != sizeof (int))) 2484 disable_pubkey_algo (*((int *) buffer)); 2517 gcry_pk_algo_info (int algorithm, int what, void *buffer, size_t *nbytes) argument 2526 if (buffer)
|
/osnet-11/usr/src/grub/grub2/include/grub/i386/pc/ |
H A D | pxe.h | 214 grub_uint32_t buffer; member in struct:grub_pxenv_get_cached_info 238 grub_uint32_t buffer; member in struct:grub_pxenv_tftp_read 269 grub_uint32_t buffer; member in struct:grub_pxenv_udp_write 280 grub_uint32_t buffer; member in struct:grub_pxenv_udp_read
|
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | tlan.c | 193 } buffer[TLAN_BUFFERS_PER_LIST]; member in struct:TLanList 284 /* list->buffer[0].address = 0; */ 285 list->buffer[0].address = virt_to_bus(txb + 287 list->buffer[2].count = 0; 288 list->buffer[2].address = 0; 289 list->buffer[9].address = 0; 302 rx_ring[i].buffer[0].count = 304 rx_ring[i].buffer[0].address = 306 rx_ring[i].buffer[1].count = 0; 307 rx_ring[i].buffer[ [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ext2fs.c | 299 /* check filesystem types and read superblock into memory buffer */ 321 ext2_rdfsb (int fsblock, int buffer) argument 324 printf ("fsblock %d buffer %d\n", fsblock, buffer); 327 EXT2_BLOCK_SIZE (SUPERBLOCK), (char *) buffer); 538 /* preconditions: ext2fs_mount already executed, therefore supblk in buffer 541 * postconditions: on a nonzero return, buffer known as INODE contains the 543 * side effects: messes up GROUP_DESC buffer area 558 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */
|
H A D | fsys_reiserfs.c | 386 journal_read (int block, int len, char *buffer) argument 389 0, len, buffer); 397 block_read (int blockNr, int start, int len, char *buffer) argument 462 return devread (translatedNr << INFO->blocksize_shift, start, len, buffer); 568 /* check filesystem types and read superblock into memory buffer */ 1003 char linkbuf[PATH_MAX]; /* buffer for following symbolic links */
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | pp_sys.c | 341 sv_setpv(TARG, ""); /* note that this preserves previous buffer */ 1541 char *buffer; local 1593 buffer = SvPVutf8_force(bufsv, blen); 1598 buffer = SvPV_force(bufsv, blen); 1620 buffer = SvGROW(bufsv, (STRLEN)(length+1)); 1622 count = PerlSock_recvfrom(PerlIO_fileno(IoIFP(io)), buffer, length, offset, 1662 offset = utf8_hop((U8 *)buffer,offset) - (U8 *) buffer; 1666 buffer = SvGROW(bufsv, (STRLEN)(length+offset+1)); 1668 Zero(buffer 1781 char *buffer; local [all...] |