/system/extras/tests/bionic/libc/common/ |
test_getaddrinfo.c | 2 * without a 'hints' argument 18 struct addrinfo hints; local 22 /* first, try without any hints */ 31 /* now try with the hints */ 32 memset(&hints, 0, sizeof(hints)); 33 hints.ai_family = AF_UNSPEC; 34 hints.ai_socktype = SOCK_STREAM; 35 hints.ai_protocol = IPPROTO_TCP; 37 ret = getaddrinfo( SERVER_NAME, PORT_NUMBER, &hints, &res ) [all...] |
/dalvik/vm/arch/mips/ |
HintsO32.cpp | 38 * are the same for all targets, while the lower 28 are used for hints to 45 * S - if set, ignore the hints and do things the hard way (scan signature) 47 * H - target-specific hints (see below for details) 49 * This function produces mips-specific hints - specifically a description 60 * If there are too many arguments to construct valid hints, this function will 69 int stackOffset, padMask, hints; local
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
DecodeThread.java | 40 private final Hashtable<DecodeHintType,Object> hints; field in class:DecodeThread 51 hints = new Hashtable<DecodeHintType,Object>(); 54 hints.put(DecodeHintType.POSSIBLE_FORMATS, formats); 57 hints.put(DecodeHintType.CHARACTER_SET, characterSet); 59 hints.put(DecodeHintType.NEED_RESULT_POINT_CALLBACK, resultPointCallback); 74 handler = new DecodeHandler(activity, hints);
|
/external/android-clat/ |
dns64.c | 37 struct addrinfo hints, *result, *p; local 49 bzero(&hints, sizeof(hints)); 50 hints.ai_family = AF_UNSPEC; 51 status = getaddrinfo(ipv4_name, NULL, &hints, &result);
|
/external/freetype/src/autofit/ |
afloader.h | 33 AF_GlyphHintsRec hints; member in struct:AF_LoaderRec_
|
afloader.c | 33 af_glyph_hints_init( &loader->hints, memory ); 35 _af_debug_hints = &loader->hints; 76 af_glyph_hints_done( &loader->hints ); 104 AF_GlyphHints hints = &loader->hints; local 165 loader->pp1.x = hints->x_delta; 166 loader->pp1.y = hints->y_delta; 168 hints->x_scale ) + hints->x_delta; 169 loader->pp2.y = hints->y_delta [all...] |
/external/oprofile/libpp/ |
profile_container.h | 90 : hints(cf_none), threshold(0.0), match_image(false) {} 92 /// hints filled in 93 column_flags hints; member in struct:profile_container::symbol_choice 176 * Optimization hints for what information we are going to need,
|
/external/chromium/net/base/ |
host_resolver_proc.cc | 142 struct addrinfo hints = {0}; local 146 hints.ai_family = AF_INET; 149 hints.ai_family = AF_INET6; 152 hints.ai_family = AF_UNSPEC; 156 hints.ai_family = AF_UNSPEC; 164 // Flags used in "hints" argument to getaddrinfo() 182 hints.ai_flags = 0; 184 hints.ai_flags = AI_ADDRCONFIG; 191 hints.ai_flags &= ~AI_ADDRCONFIG; 194 hints.ai_flags |= AI_CANONNAME [all...] |
/external/chromium/net/tools/flip_server/ |
create_listener.cc | 120 struct addrinfo hints; local 121 memset(&hints, 0, sizeof(hints)); 124 hints.ai_flags = AI_NUMERICHOST; // iff you know the name is numeric. 126 hints.ai_flags |= AI_PASSIVE; 128 hints.ai_family = PF_INET; 129 hints.ai_socktype = SOCK_STREAM; 132 if ((err=getaddrinfo(node, service, &hints, &results))) { 244 struct addrinfo hints; local 245 memset(&hints, 0, sizeof(hints)) [all...] |
/external/openssh/ |
dns.c | 147 struct addrinfo hints, *ai; local 158 memset(&hints, 0, sizeof(hints)); 159 hints.ai_socktype = SOCK_DGRAM; 160 hints.ai_flags = AI_NUMERICHOST; 162 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) {
|
addrmatch.c | 209 struct addrinfo hints, *ai; local 211 memset(&hints, '\0', sizeof(hints)); 212 hints.ai_flags = AI_NUMERICHOST; 214 if (p == NULL || getaddrinfo(p, NULL, &hints, &ai) != 0)
|
canohost.c | 53 struct addrinfo hints, *ai, *aitop; local 92 memset(&hints, 0, sizeof(hints)); 93 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 94 hints.ai_flags = AI_NUMERICHOST; 95 if (getaddrinfo(name, NULL, &hints, &ai) == 0) { 118 memset(&hints, 0, sizeof(hints)); 119 hints.ai_family = from.ss_family; 120 hints.ai_socktype = SOCK_STREAM [all...] |
/external/mtpd/ |
mtpd.c | 263 struct addrinfo hints = { local 274 error = getaddrinfo(server, port, &hints, &records);
|
/external/netperf/ |
netserver.c | 434 struct addrinfo hints; local 461 memset(&hints,0,sizeof(hints)); 462 hints.ai_family = af; 463 hints.ai_socktype = SOCK_STREAM; 464 hints.ai_protocol = IPPROTO_TCP; 465 hints.ai_flags = AI_PASSIVE; 471 &hints,
|
/external/opencv/otherlibs/highgui/ |
cvcap_socket.cpp | 124 struct addrinfo hints; local 125 memset(&hints, 0, sizeof hints); 126 hints.ai_family = AF_UNSPEC; // use IPv4 or IPv6, whichever 127 hints.ai_socktype = SOCK_STREAM; 128 hints.ai_flags = AI_NUMERICHOST; 130 int error = getaddrinfo(_address, _port, &hints, &pAddrInfo);
|
/external/skia/legacy/src/ports/ |
SkFontHost_ascender.cpp | 61 void* hints = sk_malloc_throw(fHintStream->getLength()); local 62 memcpy(hints, fHintStream->getMemoryBase(), fHintStream->getLength()); 67 hints, fHintStream->getLength());
|
/external/skia/src/ports/ |
SkFontHost_ascender.cpp | 61 void* hints = sk_malloc_throw(fHintStream->getLength()); local 62 memcpy(hints, fHintStream->getMemoryBase(), fHintStream->getLength()); 67 hints, fHintStream->getLength());
|
/bionic/libc/netbsd/resolv/ |
res_init.c | 342 struct addrinfo hints, *ai; local 352 memset(&hints, 0, sizeof(hints)); 353 hints.ai_family = PF_UNSPEC; 354 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ 355 hints.ai_flags = AI_NUMERICHOST; 357 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
|
/external/dropbear/ |
dbutil.c | 189 struct addrinfo hints, *res = NULL, *res0 = NULL; local 198 memset(&hints, 0, sizeof(hints)); 199 hints.ai_family = AF_UNSPEC; /* TODO: let them flag v4 only etc */ 200 hints.ai_socktype = SOCK_STREAM; 213 hints.ai_flags = AI_PASSIVE; 215 err = getaddrinfo(address, port, &hints, &res0); 306 struct addrinfo *res0 = NULL, *res = NULL, hints; local 316 memset(&hints, 0, sizeof(hints)); [all...] |
/external/freetype/include/freetype/internal/ |
pshints.h | 5 /* Interface to Postscript-specific (Type 1 and Type 2) hints */ 7 /* T1/T2 hints in the `type1', `cid', and `cff' font drivers. */ 71 /***** PUBLIC TYPE 1 HINTS RECORDER *****/ 82 * This is a handle to an opaque structure used to record glyph hints 86 * @T1_Hints_FuncsRec structure. Recording glyph hints is normally 97 * returns an error code if the hints were invalid or something 100 * The hints accumulated in the object can later be used by the 127 * hints recording session. 130 * hints :: 131 * A handle to the Type 1 hints recorder 344 T1_Hints hints; member in struct:T1_Hints_FuncsRec_ 658 T2_Hints hints; member in struct:T2_Hints_FuncsRec_ [all...] |
/external/freetype/src/pshinter/ |
pshrec.h | 5 /* Postscript (Type1/Type2) hints recorder (specification). */ 22 /* font drivers to record the hints of a given character/glyph. */ 24 /* The hints are recorded in a unified format, and are later processed */ 46 /***** GLYPH HINTS RECORDER INTERNALS *****/ 87 /* hints table descriptor */ 92 PS_Hint hints; member in struct:PS_Hint_TableRec_ 118 /* dimension-specific hints descriptor */ 121 PS_Hint_TableRec hints; member in struct:PS_DimensionRec_ 128 /* glyph hints descriptor */ 129 /* dimension 0 => X coordinates + vertical hints/stems * 150 ps_hints_done( PS_Hints hints ); variable [all...] |
/external/ipsec-tools/ |
setup.c | 89 struct addrinfo hints = { local 100 if (getaddrinfo(server, "500", &hints, &info) != 0) {
|
/external/libpcap/ |
nametoaddr.c | 128 struct addrinfo hints, *res; local 131 memset(&hints, 0, sizeof(hints)); 132 hints.ai_family = PF_UNSPEC; 133 hints.ai_socktype = SOCK_STREAM; /*not really*/ 134 hints.ai_protocol = IPPROTO_TCP; /*not really*/ 135 error = getaddrinfo(name, NULL, &hints, &res);
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 91 struct addrinfo hints, *res0; local 136 memset(&hints, 0, sizeof(hints)); 137 hints.ai_family = AF_INET6; 138 hints.ai_flags = AI_NUMERICHOST; 139 err = getaddrinfo(addr6, NULL, &hints, &res0);
|
/system/netd/ |
DnsProxyListener.cpp | 51 struct addrinfo* hints, 57 mHints(hints), 199 struct addrinfo* hints = NULL; local 208 hints = (struct addrinfo*) calloc(1, sizeof(struct addrinfo)); 209 hints->ai_flags = ai_flags; 210 hints->ai_family = ai_family; 211 hints->ai_socktype = ai_socktype; 212 hints->ai_protocol = ai_protocol; 225 new DnsProxyListener::GetAddrInfoHandler(cli, name, service, hints, iface, pid);
|