Searched defs:ptr (Results 1 - 25 of 441) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_localhost.c48 char buf[MAXHOSTNAMELEN+1], *ptr; local
H A Dutil_cksum.c43 char *ptr; local
80 ptr = buf;
82 TWRITE_INT(ptr, cb->initiator_addrtype, bigend);
83 TWRITE_BUF(ptr, cb->initiator_address, bigend);
84 TWRITE_INT(ptr, cb->acceptor_addrtype, bigend);
85 TWRITE_BUF(ptr, cb->acceptor_address, bigend);
86 TWRITE_BUF(ptr, cb->application_data, bigend);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dzap.c35 void krb5int_zap(void *ptr, size_t len) argument
37 memset(ptr, 0, len);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrchrnul.c31 char *ptr = strchr(s, c); local
33 if (ptr == NULL)
34 ptr = (char *)s + strlen(s);
36 return (ptr);
H A Dstrnlen.c40 const char *ptr; local
42 ptr = memchr(str, 0, maxlen);
43 if (ptr == NULL)
46 return (ptr - str);
H A Dposix_memalign.c51 void *ptr = NULL; local
59 (ptr = memalign(alignment, size)) == NULL)
62 *memptr = ptr;
H A Dlltostr.c36 * lltostr(value, ptr)
38 * char *ptr;
46 * result always occupies memory position ptr-1.
59 lltostr(longlong_t value, char *ptr) argument
68 *--ptr = (char)('0' + val - 10 * (t = val / 10));
71 return (ptr);
76 *--ptr = (char)('0' + value - 10 * (t = value / 10));
79 return (ptr);
83 ulltostr(u_longlong_t value, char *ptr) argument
92 *--ptr
[all...]
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dwcsnlen.c38 const wchar_t *ptr = str; local
42 if (*ptr++ == L'\0') {
43 ptr--;
49 return (ptr - str);
H A Dputws.c34 * "ptr" into a byte string, and writes the string followed
48 putws(const wchar_t *ptr) argument
50 wchar_t *ptr0 = (wchar_t *)ptr;
55 for (; *ptr; ptr++) { /* putwc till NULL */
56 if (fputwc(*ptr, stdout) == EOF) {
66 diff = ptr - ptr0;
H A Dwstol.c39 wstol(const wchar_t *str, wchar_t **ptr, int base) argument
41 return (wcstol(str, ptr, base));
H A D__fgetws_xpg5.c38 * array pointed to by "ptr". Fgetws reads until n-1 process
39 * codes are transferred to "ptr", or EOF.
55 __fgetws_xpg5(wchar_t *ptr, int size, FILE *iop) argument
57 wchar_t *ptr0 = ptr;
74 if (ptr == ptr0) {
80 *ptr++ = c;
84 *ptr = 0;
/osnet-11/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_malloc.c66 _VOID* ptr; local
91 if ((ptr = malloc(amount)) == NULL) {
105 return (ptr);
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_xdr.h45 void *ptr; member in struct:__anon1982
/osnet-11/usr/src/grub/grub2/grub-core/commands/i386/pc/
H A Dacpi.c27 grub_uint8_t *ebda, *ptr; local
34 for (ptr = ebda; ptr < ebda + 0x400; ptr += 16)
35 if (grub_memcmp (ptr, "RSD PTR ", 8) == 0
36 && grub_byte_checksum (ptr, sizeof (struct grub_acpi_rsdp_v10)) == 0
37 && ((struct grub_acpi_rsdp_v10 *) ptr)->revision == 0)
38 return (struct grub_acpi_rsdp_v10 *) ptr;
41 for (ptr = (grub_uint8_t *) 0xe0000; ptr < (grub_uint8_
54 grub_uint8_t *ebda, *ptr; local
[all...]
/osnet-11/usr/src/lib/libxcurses/src/libc/wide/
H A Dwio_put.c61 unsigned char *ptr; local
85 for (ptr = wio->_mb, count = 0; count < mb_len; ++ptr, ++count)
86 if ((*wio->put)(*ptr, wio->object) == EOF)
/osnet-11/usr/src/lib/extendedFILE/common/
H A DextendedFILE.c53 char *ptr; local
60 if ((ptr = getenv("_STDIO_BADFD")) != NULL) {
61 closed_fd = atoi(ptr);
72 if ((ptr = getenv("_STDIO_BADFD_SIGNAL")) != NULL) {
74 if (strncmp(ptr, "SIG", 3) == 0) /* begins with "SIG"? */
75 ptr = ptr + 3;
76 retval = str2sig(ptr, &signal);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgen_port.c35 krb5_gen_portaddr(krb5_context context, const krb5_address *addr, krb5_const_pointer ptr, krb5_address **outaddr) argument
43 port = *(const krb5_int16 *)ptr;
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/i386/pc/
H A Dcfgtables.c29 grub_uint8_t *ptr; local
61 for (ptr = (grub_uint8_t *) 0xf0000; ptr < (grub_uint8_t *) 0x100000;
62 ptr += 16)
63 if (grub_memcmp (ptr, "_SM_", 4) == 0
64 && grub_byte_checksum (ptr, *(ptr + 5)) == 0)
67 if (ptr < (grub_uint8_t *) 0x100000)
70 if ((err = grub_efiemu_register_configuration_table (smbios, 0, 0, ptr)))
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dgets.c48 char *ptr = buf; local
80 } else if (ptr == buf) { /* never read anything */
87 if ((p = (char *)memccpy(ptr, (char *)stdin->_ptr, '\n',
89 n = p - ptr;
90 ptr += n;
97 ptr--; /* step back over the '\n' */
101 *ptr = '\0';
/osnet-11/usr/src/lib/libxcurses2/src/libc/wide/
H A Dwio_put.c62 unsigned char *ptr; local
87 for (ptr = wio->_mb, count = 0; count < mb_len; ++ptr, ++count)
88 if ((*wio->put)(*ptr, wio->object) == EOF)
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dstringlib.c23 register char *ptr; local
27 for (ptr = string; *ptr; ptr++);
28 if (ptr != string) {
29 c = *(--ptr);
30 *ptr = '\0';
39 register char *ptr; local
43 for (ptr = string; *ptr; pt
56 register char *ptr; local
[all...]
/osnet-11/usr/src/lib/libcmdutils/common/
H A Dstrsplit.c39 char *ptr; local
47 for (ptr = str; *ptr != '\0'; ptr++) {
48 if (strchr(chset, *ptr) != NULL)
/osnet-11/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c49 dis_free(void *ptr, size_t bytes) argument
51 mdb_free(ptr, bytes);
62 dis_free(void *ptr, size_t bytes) argument
64 free(ptr);
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dmm.c50 grub_free (void *ptr) argument
52 free (ptr);
56 grub_realloc (void *ptr, grub_size_t size) argument
59 ret = realloc (ptr, size);
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/
H A Dstdlib.h26 free (void *ptr) argument
28 grub_free (ptr);
44 realloc (void *ptr, grub_size_t size) argument
46 return grub_realloc (ptr, size);

Completed in 47 milliseconds

1234567891011>>