/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_localhost.c | 48 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 D | m_malloc.c | 66 _VOID* ptr; local 91 if ((ptr = malloc(amount)) == NULL) { 105 return (ptr);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strchrnul.c | 31 char *ptr = strchr(s, c); local 33 if (ptr == NULL) 34 ptr = (char *)s + strlen(s); 36 return (ptr);
|
H A D | strnlen.c | 40 const char *ptr; local 42 ptr = memchr(str, 0, maxlen); 43 if (ptr == NULL) 46 return (ptr - str);
|
H A D | posix_memalign.c | 51 void *ptr = NULL; local 59 (ptr = memalign(alignment, size)) == NULL) 62 *memptr = ptr;
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wcsnlen.c | 38 const wchar_t *ptr = str; local 42 if (*ptr++ == L'\0') { 43 ptr--; 49 return (ptr - str);
|
H A D | putws.c | 34 * "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 D | wstol.c | 39 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 D | mdesc_fini.c | 38 md_fini(md_t *ptr) argument 42 mdp = (md_impl_t *)ptr;
|
H A D | mdesc_getbinsize.c | 35 md_get_bin_size(md_t *ptr) argument 39 mdp = (md_impl_t *)ptr;
|
H A D | mdesc_getgen.c | 35 md_get_gen(md_t *ptr) argument 39 mdp = (md_impl_t *)ptr;
|
H A D | mdesc_nodecount.c | 34 md_node_count(md_t *ptr) argument 38 mdp = (md_impl_t *)ptr;
|
H A D | mdesc_rootnode.c | 34 md_root_node(md_t *ptr) argument 38 mdp = (md_impl_t *)ptr;
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat_utils.c | 38 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 D | printhostmask.c | 31 void *ptr = addr; local 40 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof(ipbuf)));
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | new.c | 45 void *ptr; local 47 ptr = malloc(size); 49 if (!ptr) { 55 return (ptr);
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | random.c | 19 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 D | strlen.c | 64 const char *ptr = buffer; local 65 while (*ptr++) 67 return (ptr - buffer - 1);
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/wide/ |
H A D | wio_put.c | 61 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 D | gets.c | 40 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 D | ldap_xdr.h | 44 void *ptr; member in struct:__anon85
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | stringlib.c | 23 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 D | extendedFILE.c | 53 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 D | gen_port.c | 35 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 D | wio_put.c | 62 unsigned char *ptr; local 87 for (ptr = wio->_mb, count = 0; count < mb_len; ++ptr, ++count) 88 if ((*wio->put)(*ptr, wio->object) == EOF)
|