Home
last modified time | relevance | path

Searched refs:addressType (Results 1 – 3 of 3) sorted by relevance

/external/nist-sip/java/gov/nist/core/
DHost.java79 protected int addressType; field in Host
86 addressType = HOSTNAME; in Host()
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) { in encode()
172 if (addressType == HOSTNAME) { in getIpAddress()
213 addressType = IPV6ADDRESS; in setHost()
215 addressType = type; in setHost()
222 if(addressType == HOSTNAME) in setHost()
228 if(addressType == IPV6ADDRESS in setHost()
250 return addressType == HOSTNAME; in isHostname()
258 return addressType != HOSTNAME; in isIPAddress()
/external/nist-sip/java/gov/nist/javax/sip/address/
DAddressImpl.java65 protected int addressType; field in AddressImpl
168 if (this.addressType == WILD_CARD) { in encode()
179 if (addressType == NAME_ADDR || displayName != null) in encode()
182 if (addressType == NAME_ADDR || displayName != null) in encode()
190 this.addressType = NAME_ADDR; in AddressImpl()
198 return addressType; in getAddressType()
209 addressType = atype; in setAddressType()
230 this.addressType = NAME_ADDR; in setDisplayName()
310 return this.addressType == WILD_CARD; in isWildcard()
334 this.addressType = WILD_CARD; in setWildCardFlag()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java149 int addressType = fromSource.readByte() & 0xff; in acceptCommand() local
151 switch (addressType) { in acceptCommand()
163 throw new ProtocolException("unsupported address type: " + addressType); in acceptCommand()