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

1234567891011>>

/illumos-gate/usr/src/cmd/pwd/
H A Dpwd.c49 int length; local
51 length = strlen(name);
52 name[length] = '\n';
53 (void) write(1, name, length + 1);
/illumos-gate/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.c39 size_t length, krb5_keyblock **out)
50 kb->length = length;
51 if(length) {
52 kb->contents = malloc (length);
37 krb5_init_keyblock(krb5_context context, krb5_enctype enctype, size_t length, krb5_keyblock **out) argument
H A Dset_realm.c36 size_t length; local
42 length = strlen(realm);
43 newrealm = malloc(length+1); /* Include room for the null */
50 krb5_princ_realm(context, principal)->length = length;
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dtruncate.c37 truncate(char *path, off_t length) argument
51 if (ftruncate(fd, length) == -1) {
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dtruncate.c36 truncate(char *path, off_t length) argument
48 if (ftruncate(fd, length) == -1) {
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dchecksum_length.c33 size_t *length)
46 *length = krb5_cksumtypes_list[i].keyhash->hashsize;
48 *length = krb5_cksumtypes_list[i].trunc_size;
50 *length = krb5_cksumtypes_list[i].hash->hashsize;
32 krb5_c_checksum_length(krb5_context context, krb5_cksumtype cksumtype, size_t *length) argument
H A Dencrypt_length.c33 size_t inputlen, size_t *length)
47 inputlen, length);
32 krb5_c_encrypt_length(krb5_context context, krb5_enctype enctype, size_t inputlen, size_t *length) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_get.h42 unsigned int length; member in struct:__anon2640
65 tag number, and length are returned in *construction,
77 associated length is returned in *retlen. */
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioStream.h47 Double length; // length of data, in secs member in class:AudioStream
57 // Set data length
59 Double len); // new length, in secs
70 // Set data length
72 Double len); // new length, in secs
75 virtual size_t GetByteCount() const; // Get length, in bytes
80 virtual Double GetLength() const; // Get length, in secs
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dtruncate.cc29 extern int truncate(const char *path, off_t length);
36 vroot_result= truncate(path, vroot_args.truncate.length);
40 int truncate_vroot(char *path, int length, pathpt vroot_path, pathpt vroot_vroot) argument
42 vroot_args.truncate.length= length;
H A Dsetenv.cc37 int length= 0, vl; local
40 for (q= environ; *q != NULL; q++, length++);
41 q= (char **)malloc((unsigned)(sizeof(char *)*(length+2)));
42 memcpy(((char *)q)+sizeof(char *), (char *)environ, sizeof(char *)*(length+1));
45 length= strlen(name);
48 length= strlen(name);
50 if (!strncmp(*q, name, length))
53 if (!p || (length+vl+1 > strlen(p)))
54 *q= p= (char *) malloc((unsigned)(length+vl+2));
57 (void)strcpy(p, name); p+= length;
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dstage1_5.c28 disk_read_savesect_func (unsigned long long sector, int offset, int length) argument
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dbcmp.c42 bcmp(const void *b1, const void *b2, size_t length) argument
46 if (length == 0)
53 while (--length);
54 return (length);
/illumos-gate/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--) {
/illumos-gate/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));
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dcalls.c64 sztype length; local
87 length = 4;
90 instructp += length) {
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_boot.c35 int length; local
46 length = prom_getproplen(node, name);
47 if ((length == -1) || (length == 0))
49 if (length > OBP_MAXPATHLEN)
50 length = OBP_MAXPATHLEN - 1; /* Null terminator */
51 (void) prom_bounded_getprop(node, name, bootargs, length);
67 int length; local
77 length = prom_getproplen(node, name);
78 if ((length
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_idprom.c48 int length; local
50 length = prom_getproplen(prom_rootnode(), OBP_IDPROM);
51 if (length == -1) {
56 if (length > size) {
/illumos-gate/usr/src/cmd/make/include/vroot/
H A Dvroot.h37 short length; member in struct:__anon38
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dread.cc65 register int length; local
109 length = read(source->fd, source->inp_buf, (unsigned int) to_read);
110 if (length != to_read) {
112 if (length == 0) {
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_crc32.c110 __in_ecount(length) uint8_t const *input,
111 __in int length)
116 for (index = 0; index < length; index++) {
108 efx_crc32_calculate( __in uint32_t crc_init, __in_ecount(length) uint8_t const *input, __in int length) argument
/illumos-gate/usr/src/lib/libtecla/common/
H A Dstrngmem.c51 * many strings of length SM_STRLEN
136 * Allocate an array of 'length' chars.
140 * length size_t The length of the new string (including '\0').
144 char *_new_StringMemString(StringMem *sm, size_t length) argument
153 if(length < 1)
154 length = 1;
158 if(length < SM_STRLEN) {
164 string = (char *) malloc(length+1); /* Leave room for the flag byte */
/illumos-gate/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) {
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dexport_name.c39 size_t length; local
52 exported_name->length = 0;
83 length = strlen(str);
84 exported_name->length = 10 + length + gss_mech_krb5->length;
85 exported_name->value = malloc(exported_name->length);
96 *cp++ = (gss_mech_krb5->length+2) >> 8;
97 *cp++ = (gss_mech_krb5->length+2) & 0xFF;
99 *cp++ = (gss_mech_krb5->length)
[all...]

Completed in 179 milliseconds

1234567891011>>