/illumos-gate/usr/src/cmd/pwd/ |
H A D | pwd.c | 49 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 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 | 39 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 D | set_realm.c | 36 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 D | truncate.c | 37 truncate(char *path, off_t length) argument 51 if (ftruncate(fd, length) == -1) {
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | truncate.c | 36 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 D | checksum_length.c | 33 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 D | encrypt_length.c | 33 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 D | asn1_get.h | 42 unsigned int length; member in struct:__anon2525 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 D | AudioStream.h | 47 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 D | truncate.cc | 29 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 D | setenv.cc | 37 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 D | stage1_5.c | 28 disk_read_savesect_func (unsigned long long sector, int offset, int length) argument
|
/illumos-gate/usr/src/boot/lib/libc/string/ |
H A D | bcmp.c | 42 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 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--) {
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostby_door.c | 50 _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 D | calls.c | 64 sztype length; local 87 length = 4; 90 instructp += length) {
|
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_boot.c | 35 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 D | prom_idprom.c | 48 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 D | vroot.h | 37 short length; member in struct:__anon48
|
/illumos-gate/usr/src/cmd/make/lib/mksh/ |
H A D | read.cc | 65 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 D | efx_crc32.c | 110 __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/gss_mechs/mech_krb5/mech/ |
H A D | export_name.c | 39 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...] |
H A D | import_name.c | 63 OM_uint32 length; local 87 (char *) xmalloc(input_name_buffer->length + 1)) == NULL) { 93 memcpy(tmp, input_name_buffer->value, input_name_buffer->length); 94 tmp[input_name_buffer->length] = 0; 110 if (input_name_buffer->length != sizeof(krb5_principal)) { 139 (char *) xmalloc(input_name_buffer->length + 1)) == NULL) { 146 memcpy(tmp, input_name_buffer->value, input_name_buffer->length); 147 tmp[input_name_buffer->length] = 0; 173 length = *cp++; 174 if (length ! [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | strngmem.c | 51 * 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 */
|