/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | basename.c | 31 size_t length; local 39 length = base_len (base); 40 if (ISSLASH (base[length])) 41 length++; 48 char *p = xmalloc (length + 3); 51 memcpy (p + 2, base, length); 52 p[length + 2] = '\0'; 57 return xstrndup (base, length);
|
H A D | dirname-lgpl.c | 26 /* Return the length of the prefix of FILE that will be used by 35 size_t length; local 48 for (length = last_component (file) - file; 49 prefix_length < length; length--) 50 if (! ISSLASH (file[length - 1])) 52 return length; 73 size_t length = dir_len (file); local 74 bool append_dot = (length == 0 76 && length [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | dirname-lgpl.c | 26 /* Return the length of the prefix of FILE that will be used by 35 size_t length; local 48 for (length = last_component (file) - file; 49 prefix_length < length; length--) 50 if (! ISSLASH (file[length - 1])) 52 return length; 73 size_t length = dir_len (file); local 74 bool append_dot = (length == 0 76 && length [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | length.t | 10 print "not " unless length("") == 0; 13 print "not " unless length("abc") == 3; 17 print "not " unless length() == 6; 25 print "not " unless length($a) == 1; 30 print "not " unless $a eq "\x41" && length($a) == 1; 38 print "not " unless length($a) == 1; 46 print "not " unless $a eq "\x8b\x73" && length($a) == 2; 50 print "not " unless $a eq "\xc3\xbf" && length($a) == 2; 59 print "not " unless length($a) == 1; 67 print "not " unless $a eq "\x8c\x41" && length( [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | init_allocated_keyblock.c | 35 unsigned int length, 44 kb->length = length; 46 if (length) { 47 kb->contents = malloc(length); 51 (void) memset(kb->contents, 0, length); 32 krb5_init_allocated_keyblock( krb5_context context, krb5_enctype enctype, unsigned int length, krb5_keyblock *kb) argument
|
H A D | init_keyblock.c | 38 size_t length, krb5_keyblock **out) 40 return krb5int_c_init_keyblock (context, enctype, length, out); 37 krb5_init_keyblock(krb5_context context, krb5_enctype enctype, size_t length, krb5_keyblock **out) argument
|
H A D | set_realm.c | 37 size_t length; local 43 length = strlen(realm); 50 krb5_princ_realm(context, principal)->length = length;
|
H A D | addr_comp.c | 42 if (addr1->length != addr2->length) 45 addr1->length))
|
H A D | copy_data.c | 67 outdata->length = indata->length; 68 if (outdata->length) { 69 if (!(outdata->data = malloc(outdata->length))) { 72 memcpy(outdata->data, indata->data, outdata->length); 88 outdata->length = indata->length; 89 if (!(outdata->data = malloc(outdata->length + 1))) 91 if (outdata->length) 92 memcpy(outdata->data, indata->data, outdata->length); [all...] |
H A D | addr_order.c | 46 const int minlen = min(addr1->length, addr2->length); 51 dir = addr1->length - addr2->length;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_buffer.c | 37 buffer->length = strlen(str); 40 buffer->length = 0;
|
H A D | import_name.c | 68 data.length = enc_length; 97 ssize_t length; local 123 xmalloc(input_name_buffer->length + 1)) == NULL) { 129 memcpy(tmp, input_name_buffer->value, input_name_buffer->length); 130 tmp[input_name_buffer->length] = 0; 146 if (input_name_buffer->length != sizeof(krb5_principal)) { 186 (char *) xmalloc(input_name_buffer->length + 1)) == NULL) { 193 memcpy(tmp, input_name_buffer->value, input_name_buffer->length); 194 tmp[input_name_buffer->length] = 0; 215 end = cp + input_name_buffer->length; [all...] |
H A D | export_name.c | 40 size_t length; local 54 exported_name->length = 0; 86 length = strlen(str); 87 exported_name->length = 10 + length + gss_mech_krb5->length; 88 exported_name->value = malloc(exported_name->length); 99 store_16_be(gss_mech_krb5->length+2, cp); 102 *cp++ = (gss_mech_krb5->length) & 0xFF; 103 memcpy(cp, gss_mech_krb5->elements, gss_mech_krb5->length); [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_misc.c | 33 target->realm.length = source->realm.length; 34 target->realm.data = (char*)malloc(target->realm.length); /* copy realm */ 37 target->realm.length);
|
H A D | krb5_encode.c | 41 * length: length of the most-recently produced encoding 42 * sum: cumulative length of the entire encoding 46 unsigned int length, sum = 0; \ 72 retval = asn1_encode_pa_pk_as_req(buf,rep,&length); 74 sum += length; 83 retval = asn1_encode_pa_pk_as_req_draft9(buf,rep,&length); 85 sum += length; 93 retval = asn1_encode_pa_pk_as_rep(buf,rep,&length); 95 sum += length; [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/ |
H A D | bytes.t | 22 is( length $chr, 1 ); 26 is( length $chr, 2, 'byte.pm in effect' ); 29 is( length $chr, 1, ' score is lexical' );
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | debug.c | 57 ntfs_log_debug("VCN LCN Run length\n"); 66 ntfs_log_debug("%-16llx %s %-16llx%s\n", rl[i].vcn, lcn_str[idx], rl[i].length, rl[i].length ? "" : " (runlist end)"); 68 ntfs_log_debug("%-16llx %-16llx %-16llx%s\n", rl[i].vcn, rl[i].lcn, rl[i].length, rl[i].length ? "" : " (runlist end)"); 69 } while (rl[i++].length);
|
/osnet-11/usr/src/lib/libgss/ |
H A D | g_exp_sec_context.c | 51 interprocess_token->length = 0; 80 OM_uint32 length; local 110 length = token.length + 4 + ctx->mech_type->length; 111 interprocess_token->length = length; 112 interprocess_token->value = malloc(length); 118 length = ctx->mech_type->length; [all...] |
H A D | g_imp_sec_context.c | 79 OM_uint32 length = 0; local 104 if (interprocess_token->length >= sizeof (OM_uint32)) { 106 length = (OM_uint32)*p++; 107 length = (OM_uint32)(length << 8) + *p++; 108 length = (OM_uint32)(length << 8) + *p++; 109 length = (OM_uint32)(length << 8) + *p++; 112 if (length [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | mbtowc.c | 40 int length, c; local 57 if ((length = eucw2) == 0) 62 if ((length = eucw3) == 0) 73 length = eucw1 - 1; 77 if (length + 1 > n || length < 0) 79 while (length--) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/des/ |
H A D | string2key.c | 63 register long length; local 74 keyblock->length = sizeof(mit_des_cblock); 78 && (salt->length == SALT_TYPE_AFS_LENGTH 80 || salt->length == (unsigned) -1)) { 88 afssalt.length = at - afssalt.data; 90 afssalt.length = strlen(afssalt.data); 94 length = data->length + (salt ? salt->length : 0); 96 copystr = malloc((size_t) length); [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | mk_faddr.c | 51 raddr->length = kaddr->length + kport->length + (4 * sizeof(krb5_int32)); 52 if (!(raddr->contents = (krb5_octet *)malloc(raddr->length))) 64 tmp32 = kaddr->length; 68 (void) memcpy(marshal, kaddr->contents, kaddr->length); 69 marshal += kaddr->length; 77 tmp32 = kport->length; 81 (void) memcpy(marshal, kport->contents, kport->length); 82 marshal += kport->length; [all...] |
H A D | write_msg.c | 54 len[0] = htonl(outbuf[0].length); 56 SG_SET(&sg[1], outbuf[0].length ? outbuf[0].data : NULL, 57 outbuf[0].length); 59 len[1] = htonl(outbuf[1].length); 61 SG_SET(&sg[3], outbuf[1].length ? outbuf[1].data : NULL, 62 outbuf[1].length);
|
/osnet-11/usr/src/lib/libadm/common/ |
H A D | ckstr.c | 61 sethlp(char *msg, char *regexp[], int length) argument 65 if (length) 66 (void) sprintf(msg, HLPMSG1, length); 70 (void) strcat(msg, length ? " and " : " which "); 84 ckstr_val(char *regexp[], int length, char *input) argument 90 if (length && (strlen(input) > (size_t)length)) { 111 ckstr_err(char *regexp[], int length, char *error, char *input) argument 117 if (ckstr_val(regexp, length, input)) { 118 (void) sprintf(temp, errstr, length); 129 ckstr_hlp(char *regexp[], int length, char *help) argument 139 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error, char *help, char *prompt) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | hexdump.c | 33 {"length", 'n', 0, N_("Read only LENGTH bytes."), 0, ARG_TYPE_INT}, 42 grub_ssize_t size, length; local 51 length = (state[1].set) ? grub_strtoul (state[1].arg, 0, 0) : 256; 54 hexdump (skip, (char *) (grub_addr_t) skip, length); 68 while (length) 72 len = length; 83 length -= len; 103 len = ((length) && (size > length)) ? length [all...] |