Lines Matching refs:h_aliases
1557 he->h_aliases = (char **)( dst - base ); in QueryCopyQuerySetTo()
1900 for ( i = 0; node->m_host.h_aliases[i]; i++ ) in IsLocalName()
1902 if ( strstr( node->m_host.h_aliases[i], ".local" ) ) in IsLocalName()
1933 for ( i = 0; node->m_host.h_aliases[i]; i++ ) in IsSameName()
1935 if ( strcmp( node->m_host.h_aliases[i], name ) == 0 ) in IsSameName()
2034 if ( info->m_host.h_aliases ) in HostsFileInfoFree()
2038 for ( i = 0; info->m_host.h_aliases[i]; i++ ) in HostsFileInfoFree()
2040 free( info->m_host.h_aliases[i] ); in HostsFileInfoFree()
2043 free( info->m_host.h_aliases ); in HostsFileInfoFree()
2200 (*hInfo)->m_host.h_aliases = (char**) malloc( sizeof(char**) * numAliases ); in HostsFileNext()
2201 require_action( (*hInfo)->m_host.h_aliases, exit, err = kNoMemoryErr ); in HostsFileNext()
2202 (*hInfo)->m_host.h_aliases[0] = NULL; in HostsFileNext()
2219 …(*hInfo)->m_host.h_aliases = (char**) realloc( (*hInfo)->m_host.h_aliases, numAliases * sizeof( ch… in HostsFileNext()
2220 require_action( (*hInfo)->m_host.h_aliases, exit, err = kNoMemoryErr ); in HostsFileNext()
2223 (*hInfo)->m_host.h_aliases[i] = (char*) malloc( strlen( tok ) + 1 ); in HostsFileNext()
2224 require_action( (*hInfo)->m_host.h_aliases[i], exit, err = kNoMemoryErr ); in HostsFileNext()
2226 strcpy( (*hInfo)->m_host.h_aliases[i], tok ); in HostsFileNext()
2233 (*hInfo)->m_host.h_aliases[++i] = NULL; in HostsFileNext()