/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_error.c | 303 int len; local 308 len = strlen(code); 310 if (strncasecmp(de->code, code, len) != 0) 313 if (de->code[len] == '\0' || de->code[len] == '.')
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_util.c | 142 ipmi_entity_name(uint8_t id, char *buf, size_t len) argument 148 (void) strlcpy(buf, ntp->int_name, len); 153 (void) snprintf(buf, len, "0x%02x", id); 157 ipmi_sensor_type_name(uint8_t type, char *buf, size_t len) argument 163 (void) strlcpy(buf, ntp->int_name, len); 168 (void) snprintf(buf, len, "0x%02x", type); 172 ipmi_sensor_units_name(uint8_t type, char *buf, size_t len) argument 178 (void) strlcpy(buf, ntp->int_name, len); 183 (void) snprintf(buf, len, "0x%02x", type); 188 char *buf, size_t len) 187 ipmi_sensor_reading_name(uint8_t sensor_type, uint8_t reading_type, char *buf, size_t len) argument 242 ipmi_decode_string(uint8_t type, uint8_t len, char *data, char *buf) argument [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | mapping.c | 66 int len; local 78 len = strlen(name) + strlen(MAPPER_NAME_TEMPLATE) + strlen(dir); 80 pathname = malloc(len); 83 (void) memset(pathname, 0, len); 85 (void) snprintf(pathname, len, "%s%s" MAPPER_NAME_TEMPLATE,
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | control.c | 132 ber_len_t len; local 157 if ( ber_get_option( ber, LBER_OPT_REMAINING_BYTES, &len ) != 0 ) { 160 if ( len == 0 ) { 165 if (( tag = ber_peek_tag( ber, &len )) != LDAP_TAG_CONTROLS ) { 184 for ( tag = ber_first_element( ber, &len, &last ); 186 tag = ber_next_element( ber, &len, last ) ) { 214 if ( ber_peek_tag( ber, &len ) == LBER_BOOLEAN ) { 228 if ( ber_peek_tag( ber, &len ) == LBER_OCTETSTRING ) { 407 size_t len; local 421 len [all...] |
H A D | getdn.c | 202 int state, count = 0, endquote, len, goteq; local 293 len = p - rdnstart; 295 1, len + 1 )) != NULL ) { 297 len ); 300 while ( len > 0 && 302 &rdns[count-1][len-1] )) { 303 --len; 306 rdns[ count-1 ][ len ] = '\0';
|
H A D | sortctrl.c | 149 ber_len_t len; local 190 if ( ber_peek_tag( ber, &len ) == LDAP_TAG_SR_ATTRTYPE ) {
|
H A D | srchpref.c | 69 long rlen, len; local 76 if ( fseek( fp, 0L, SEEK_END ) != 0 ) { /* move to end to get len */ 81 len = ftell( fp ); 88 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) { 93 rlen = fread( buf, 1, (size_t)len, fp ); 97 if ( rlen != len && !eof ) { /* error: didn't get the whole file */
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | s_string.c | 141 s_array(char *cp, size_t len) argument 146 sp->end = sp->base + len; 155 size_t len; local 158 len = strlen(cp)+1; 159 sp->base = malloc(len); 164 sp->end = sp->base + len; /* point past end of allocation */ 320 size_t len = 0; local 330 len++; 334 return (to->ptr - len); 338 return (to->ptr - len); [all...] |
/illumos-gate/usr/src/cmd/valtools/ |
H A D | ckstr.c | 118 size_t len; local 251 len = strlen(deflt) + 1; 252 if (len < MAX_INPUT) 253 len = MAX_INPUT; 255 len = MAX_INPUT; 257 strval = (char *)malloc(len);
|
/illumos-gate/usr/src/common/bzip2/ |
H A D | huffman.c | 63 void BZ2_hbMakeCodeLengths ( UChar *len, argument 119 len[i-1] = j;
|
/illumos-gate/usr/src/common/crypto/dsa/ |
H A D | dsa_impl.c | 73 int len, len160; local 75 len = BITLEN2BIGNUMLEN(size); 80 if ((err = big_init(&(key->p), len)) != BIG_OK) 82 if ((err = big_init(&(key->g), len)) != BIG_OK) 86 if ((err = big_init(&(key->y), len)) != BIG_OK) 231 * Note: bignum.len is length of value in words. 272 value_bytes = CRYPTO_BITS2BYTES(bkey->private_x_bits); /* len of x */ 442 value_bytes = CRYPTO_BITS2BYTES(bkey->public_y_bits); /* len of y */
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_lookup.c | 48 isqualifier(const char *s, size_t len) argument 61 int h = s[len - 1] + (int)len - 105; 65 len == qp->q_len && strncmp(qp->q_name, s, qp->q_len) == 0);
|
/illumos-gate/usr/src/common/iscsi/ |
H A D | utils.c | 258 int len; local 292 len = strlen(temp) + 1; 293 if ((pmet = malloc(len)) == NULL) { 297 if (reverse_fqdn(temp, pmet, len) == B_FALSE) {
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | p12auxpars.c | 716 int len; local 726 len = ASN1_STRING_to_UTF8(&data, tmpstr); 727 if (len < 0) { 734 if (X509_alias_set1(x509, data, len) == 0) {
|
/illumos-gate/usr/src/common/tsol/ |
H A D | ltos.c | 84 uchar_t *len; local 87 len = hl; 89 if (*len == 0) { 93 hex_len = _MIN_HEX + (*len * sizeof (uint32_t) * 2); 112 HEX(hex, i, len, 9);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_iso9660.c | 234 if ( rr_ptr.rr->len >= (4+sizeof(struct RR))) 239 name_len = rr_ptr.rr->len - (4+sizeof(struct NM)); 243 if (rr_ptr.rr->len >= (4+sizeof(struct PX))) 255 if (rr_ptr.rr->len >= (4+sizeof(struct CE))) 266 slen = rr_ptr.rr->len - (4+1); 274 memcpy(rpnt, slp->text, slp->len); 275 rpnt += slp->len; 293 slen -= slp->len + 2; 295 slp = (struct SL_component *) ((char *) slp + slp->len + 2); 330 rr_len -= rr_ptr.rr->len; 415 iso9660_read(char *buf, int len) argument [all...] |
H A D | fsys_vstafs.c | 162 filemax = FILE_INFO->len; 187 vstafs_read (char *addr, int len) argument 197 size = FILE_INFO->len-VSTAFS_START_DATA; 230 if (curr_len > len) 231 curr_len = len;
|
/illumos-gate/usr/src/head/ |
H A D | nss_netdir.h | 100 int len; member in struct:nss_netdirbyaddr_in::__anon2313::__anon2314::__anon2315
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 142 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) argument 149 lock.l_len = len; 223 int len, write_offset, bytes_left; local 285 if ((len = strlen(update_str)) == 0) { 294 if ((upd_str = calloc(1, len + 2)) == NULL) { 302 len = strlen(upd_str); 378 if (write(fd, upd_str, len) != len) { 420 size += len; 426 len [all...] |
/illumos-gate/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 88 size_t len; local 132 len = strlen(p->pw_dir) + 1; 133 if ((dir = (char *)malloc(len)) == NULL) 135 (void) strncpy(dir, p->pw_dir, len); 136 len = strlen(p->pw_name) + 1; 137 if ((name = (char *)malloc(len)) == NULL) 139 (void) strncpy(name, p->pw_name, len); 155 len = strlen(dir) + 6; 156 if ((homedir = (char *)malloc(len)) == NULL) 158 (void) snprintf(homedir, len, "HOM [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getexec.c | 110 int len; local 112 len = snprintf(keys, sizeof (keys), "%s:%s:%s:%s:%d", 116 return (db_gethash(keys, len, htsize)); 120 execattr_getlogstr(char *name, char *whoami, size_t len, argument 124 (void) snprintf(whoami, len,
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | io_dev_label.c | 250 int len; local 262 len = strlen(pval) + 1; 264 pvalbuf = alloca(len); 268 err = ptree_get_propval(proph, pvalbuf, len);
|
/illumos-gate/usr/src/cmd/print/lpset/ |
H A D | lpset.c | 57 int len; local 76 if ((len = getgroups(maxgrp, list)) != -1) 77 while (len-- > 0) 78 if (list[len] == 14)
|
/illumos-gate/usr/src/cmd/profiles/ |
H A D | profiles.c | 201 int len; local 222 len = printf(" %s ", exec->id); 235 if (len >= ATTR_COL) 238 (void) printf("%*s", ATTR_COL-len, " "); 239 len = ATTR_COL; 250 (void) printf("%*s", len, " ");
|
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap_common.c | 72 int len; local 80 if ((len = resolvepath(buf, buf, bufsz)) > 0) { 81 buf[len] = '\0'; 93 len = readlink(path, buf, bufsz - 1); 94 if (len >= 0) { 95 buf[len] = '\0';
|