Searched defs:length (Results 1 - 25 of 259) sorted by relevance

1234567891011

/osnet-11/usr/src/lib/libparted/common/lib/
H A Dbasename.c31 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 Ddirname-lgpl.c26 /* 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/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dinit_allocated_keyblock.c35 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 Dinit_keyblock.c38 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 Dset_realm.c37 size_t length; local
43 length = strlen(realm);
50 krb5_princ_realm(context, principal)->length = length;
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Drunlist.h39 * @length: length in clusters of the current array element
41 * The last vcn (in fact the last vcn + 1) is reached when length == 0.
49 s64 length; /* Run length in clusters. */ member in struct:_runlist_element
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Dgeom.h38 PedSector length; member in struct:_PedGeometry
46 PedSector start, PedSector length);
48 PedSector length);
54 PedSector length);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_get.h51 unsigned int length; member in struct:__anon1023
73 * tag number, and length are returned in *construction,
90 * associated length is returned in *retlen.
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Ddirname-lgpl.c26 /* 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/grub-0.97/stage2/
H A Dstage1_5.c25 disk_read_savesect_func (unsigned int sector, int offset, int length) argument
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dbytes_heavy.pl3 sub length ($) { subroutine
5 return CORE::length($_[0]);
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgethostby_door.c50 _door_gethostbyaddr_r(const char *addr, int length, int type, argument
54 length, type, result, buffer, buflen, h_errnop));
H A Dgetipnodeby_door.c51 _door_getipnodebyaddr_r(const char *addr, int length, int type, argument
55 length, type, result, buffer, buflen, h_errnop));
H A Dgethostbyname_r.c73 _switch_gethostbyaddr_r(const char *addr, int length, int type,
86 _uncached_gethostbyaddr_r(const char *addr, int length, int type, argument
89 return (_switch_gethostbyaddr_r(addr, length, type,
100 gethostbyaddr_r(const char *addr, int length, int type,
147 gethostbyaddr_r(const char *addr, int length, int type, argument
171 nssin.arg.nss.host.len = length;
/osnet-11/usr/src/lib/libcurses/screen/
H A Dmbtowc.c40 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/libgss/
H A Dg_exp_sec_context.c51 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 Dg_imp_sec_context.c79 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/gss_mechs/mech_krb5/mech/
H A Dexport_name.c40 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/libc/port/gen/
H A Dconfstr.c94 confstr(int name, char *buf, size_t length) argument
112 if (length != 0) {
113 (void) strncpy(buf, path, length);
114 buf[length - 1] = '\0';
128 if (length != 0) {
129 (void) strncpy(buf, entry->value, length);
130 buf[length - 1] = '\0';
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dptrmove.c57 __m_ptr_move(void **array, unsigned int length, argument
60 if (finish < start || length <= finish)
67 } else if (finish < to && to <= length) {
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcSendRNID.cc42 HBA_WWNTYPE type, void *responseBuffer, HBA_UINT32 *length) {
56 responseBuffer, length));
41 Sun_fcSendRNID(HBA_HANDLE handle, HBA_WWN wwn, HBA_WWNTYPE type, void *responseBuffer, HBA_UINT32 *length) argument
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_lmr_util.c49 IN DAT_VLEN length,
83 lmr->param.length = length;
46 dapl_lmr_alloc(IN DAPL_IA *ia, IN DAT_MEM_TYPE mem_type, IN DAT_REGION_DESCRIPTION region_desc, IN DAT_VLEN length, IN DAT_PZ_HANDLE pz_handle, IN DAT_MEM_PRIV_FLAGS mem_priv) argument
/osnet-11/usr/src/lib/libkmf/include/
H A Dpem_encode.h96 * The length is either the output line length
98 * length that is ok. Once decoding begins,
99 * the length is adjusted up each time a longer
102 int length; member in struct:pem_encode_ctx_st
/osnet-11/usr/src/lib/libnls/common/
H A Dnlsenv.c64 * Given an environment variable name, a receiving buffer and the length
66 * it and places the decoded data in addr. The return value is the length
78 int length; local
91 length = (strlen(charaddr) + 1) / 2;
92 if (!(buf->buf = calloc(1, length)))
95 buf->maxlen = length;
123 * netbuf structure. A length of zero in the
198 * null terminated, thus the returned length must be used when
226 fprintf(stderr, "nlsc2addr: returned length = %d\n", len);
/osnet-11/usr/src/lib/libfru/libfruraw/
H A Dcrcutils.c55 compute_crc8(unsigned char *bytes, int length) argument
73 for (i = 0; i < length; i++) {
83 compute_crc32(unsigned char *bytes, int length) argument
101 for (i = 0; i < length; i++) {
117 compute_checksum32(unsigned char *bytes, int length) argument
125 for (i = 0; i < length-4; i += 4) {
140 for (j = length-1, k = 3; j >= i; j--, k--) {

Completed in 141 milliseconds

1234567891011