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

1234567891011>>

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_localhost.c48 char buf[MAXHOSTNAMELEN+1], *ptr; local
55 if (! (ptr = xmalloc(strlen(buf) + 1)))
58 return strcpy(ptr, buf);
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_malloc.c66 _VOID* ptr; local
91 if ((ptr = malloc(amount)) == NULL) {
105 return (ptr);
/illumos-gate/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;
/illumos-gate/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));
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_fini.c38 md_fini(md_t *ptr) argument
42 mdp = (md_impl_t *)ptr;
H A Dmdesc_getbinsize.c35 md_get_bin_size(md_t *ptr) argument
39 mdp = (md_impl_t *)ptr;
H A Dmdesc_getgen.c35 md_get_gen(md_t *ptr) argument
39 mdp = (md_impl_t *)ptr;
H A Dmdesc_nodecount.c34 md_node_count(md_t *ptr) argument
38 mdp = (md_impl_t *)ptr;
H A Dmdesc_rootnode.c34 md_root_node(md_t *ptr) argument
38 mdp = (md_impl_t *)ptr;
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat_utils.c38 Realloc(void *ptr, size_t nbytes) argument
40 if ((ptr = realloc(ptr, nbytes)))
41 return (ptr);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprinthostmask.c31 void *ptr = addr; local
40 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof(ipbuf)));
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dnew.c45 void *ptr; local
47 ptr = malloc(size);
49 if (!ptr) {
55 return (ptr);
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Drandom.c19 random_get_bytes(uint8_t *ptr, size_t len) argument
21 return (pkcs11_get_random(ptr, len));
25 random_get_pseudo_bytes(uint8_t *ptr, size_t len) argument
27 return (pkcs11_get_urandom(ptr, len));
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dstrlen.c64 const char *ptr = buffer; local
65 while (*ptr++)
67 return (ptr - buffer - 1);
/illumos-gate/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)
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dgets.c40 gets(char *ptr) argument
42 char *p, *ptr0 = ptr;
48 if (ptr0 == ptr)
56 if ((p = memccpy(ptr, (char *) stdin->_ptr, '\n', n)) != NULL)
57 n = p - ptr;
58 ptr += n;
63 ptr--; /* step back over '\n' */
67 *ptr = '\0';
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_xdr.h44 void *ptr; member in struct:__anon85
/illumos-gate/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...]
/illumos-gate/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);
/illumos-gate/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;
/illumos-gate/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)

Completed in 83 milliseconds

1234567891011>>