HomeSort by relevance Sort by last modified time
    Searched defs:hints (Results 1 - 25 of 43) sorted by null

1 2

  /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...]
  /external/chromium/net/tools/flip_server/
create_listener.cc 85 struct addrinfo hints; local
86 memset(&hints, 0, sizeof(hints));
89 hints.ai_flags = AI_NUMERICHOST; // iff you know the name is numeric.
91 hints.ai_flags |= AI_PASSIVE;
93 hints.ai_family = PF_INET; // we know it'll be IPv4, but if we didn't
94 // hints.ai_family = PF_UNSPEC; // know we'd use this. <---
95 hints.ai_socktype = SOCK_STREAM;
98 if ((err=getaddrinfo(node, service, &hints, &results))) {
  /external/freetype/src/autofit/
afloader.h 33 AF_GlyphHintsRec hints; member in struct:AF_LoaderRec_
afloader.c 31 af_glyph_hints_init( &loader->hints, memory );
33 _af_debug_hints = &loader->hints;
70 af_glyph_hints_done( &loader->hints );
94 AF_GlyphHints hints = &loader->hints; local
155 loader->pp1.x = hints->x_delta;
156 loader->pp1.y = hints->y_delta;
158 hints->x_scale ) + hints->x_delta;
159 loader->pp2.y = hints->y_delta
    [all...]
aftypes.h 170 /* opaque handle to glyph-specific hints -- see `afhints.h' for more
176 * the auto-hinter. The latter will set the `hints' field
188 AF_GlyphHints hints; member in struct:AF_OutlineRec_
309 (*AF_Script_InitHintsFunc)( AF_GlyphHints hints,
313 (*AF_Script_ApplyHintsFunc)( AF_GlyphHints hints,
afhints.h 29 * The definition of outline glyph hints. These are shared by all
274 af_glyph_hints_init( AF_GlyphHints hints,
284 af_glyph_hints_rescale( AF_GlyphHints hints,
288 af_glyph_hints_reload( AF_GlyphHints hints,
292 af_glyph_hints_save( AF_GlyphHints hints,
296 af_glyph_hints_align_edge_points( AF_GlyphHints hints,
300 af_glyph_hints_align_strong_points( AF_GlyphHints hints,
304 af_glyph_hints_align_weak_points( AF_GlyphHints hints,
309 af_glyph_hints_scale_dim( AF_GlyphHints hints,
316 af_glyph_hints_done( AF_GlyphHints hints ); variable
    [all...]
aflatin.c 45 AF_GlyphHintsRec hints[1]; local
48 af_glyph_hints_init( hints, face->memory );
78 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy );
80 error = af_glyph_hints_reload( hints, &face->glyph->outline );
87 AF_AxisHints axhints = &hints->axis[dim];
92 error = af_latin_hints_compute_segments( hints,
97 af_latin_hints_link_segments( hints,
144 af_glyph_hints_done( hints );
659 af_latin_hints_compute_segments( AF_GlyphHints hints,
662 AF_AxisHints axis = &hints->axis[dim]
    [all...]
  /external/chromium/net/base/
host_resolver_proc.cc 163 struct addrinfo hints = {0}; local
167 hints.ai_family = AF_INET;
170 hints.ai_family = AF_INET6;
173 hints.ai_family = AF_UNSPEC;
177 hints.ai_family = AF_UNSPEC;
185 // Flags used in "hints" argument to getaddrinfo()
203 hints.ai_flags = 0;
205 hints.ai_flags = AI_ADDRCONFIG;
209 hints.ai_socktype = SOCK_STREAM;
211 int err = getaddrinfo(host.c_str(), NULL, &hints, &ai)
    [all...]
  /external/ipsec-tools/
setup.c 110 struct addrinfo hints = { local
121 if (getaddrinfo(server, port, &hints, &r) != 0) {
  /external/mtpd/
mtpd.c 272 struct addrinfo hints = { local
283 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,
  /libcore/luni/src/main/native/
java_net_InetAddress.cpp 75 addrinfo hints; local
76 memset(&hints, 0, sizeof(hints));
77 hints.ai_family = AF_UNSPEC;
78 hints.ai_flags = AI_ADDRCONFIG;
84 hints.ai_socktype = SOCK_STREAM;
88 int result = getaddrinfo(name.c_str(), NULL, &hints, &addressList);
249 addrinfo hints; local
250 memset(&hints, 0, sizeof(hints));
    [all...]
  /bionic/libc/netbsd/resolv/
res_init.c 327 struct addrinfo hints, *ai; local
360 memset(&hints, 0, sizeof(hints));
361 hints.ai_family = PF_UNSPEC;
362 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
363 hints.ai_flags = AI_NUMERICHOST;
365 if (getaddrinfo(cp, sbuf, &hints, &ai) == 0 &&
454 struct addrinfo hints, *ai; local
464 memset(&hints, 0, sizeof(hints));
    [all...]
  /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...]
pshalgo.h 84 PSH_Hint hints; member in struct:PSH_Hint_TableRec_
  /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/v8/src/
platform-posix.cc 278 struct addrinfo hints; local
279 memset(&hints, 0, sizeof(addrinfo));
280 hints.ai_family = AF_INET;
281 hints.ai_socktype = SOCK_STREAM;
282 hints.ai_protocol = IPPROTO_TCP;
283 int status = getaddrinfo(host, port, &hints, &result);
  /frameworks/base/media/libstagefright/
HTTPStream.cpp 219 struct addrinfo hints, *ai; local
220 memset(&hints, 0, sizeof(hints));
221 hints.ai_flags = AI_ADDRCONFIG | AI_NUMERICSERV;
222 hints.ai_socktype = SOCK_STREAM;
224 int ret = getaddrinfo(server, service, &hints, &ai);
  /external/ipsec-tools/src/racoon/
sockmisc.c 982 struct addrinfo hints, *res; local
986 memset(&hints, 0, sizeof(hints));
987 hints.ai_family = PF_UNSPEC;
988 hints.ai_socktype = SOCK_DGRAM;
989 hints.ai_flags = AI_NUMERICHOST;
990 error = getaddrinfo(host, port, &hints, &res);
  /external/bluetooth/hcidump/src/
hcidump.c 629 struct addrinfo hints, *res0, *res; local
632 memset(&hints, 0, sizeof(hints));
633 hints.ai_family = af;
634 hints.ai_socktype = SOCK_STREAM;
635 hints.ai_protocol = IPPROTO_TCP;
637 if (getaddrinfo(addr, port, &hints, &res0))
638 if(getaddrinfo(NULL, port, &hints, &res0)) {
745 struct addrinfo hints; local
749 memset(&hints, 0, sizeof (hints))
    [all...]
  /external/chromium/net/disk_cache/
disk_format.h 187 int32 hints[4]; // Last used position for each entry type. member in struct:disk_cache::BlockFileHeader
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11video.c 330 XWMHints *hints; local
384 hints = NULL;
387 hints = XGetWMHints(SDL_Display, WMwindow);
401 /* Set the input hints so we get keyboard input */
402 if(!hints) {
403 hints = XAllocWMHints();
404 hints->input = True;
405 hints->flags = InputHint;
407 XSetWMHints(SDL_Display, WMwindow, hints);
408 XFree(hints);
776 XSizeHints *hints; local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/wps/
wps_upnp.c 341 struct addrinfo hints; local
384 os_memset(&hints, 0, sizeof(struct addrinfo));
385 hints.ai_family = AF_INET; /* IPv4 */
386 hints.ai_socktype = SOCK_STREAM;
391 hints.ai_flags = AI_NUMERICHOST;
394 hints.ai_flags = 0;
396 hints.ai_protocol = 0; /* Any protocol? */
398 &hints, &result);
    [all...]

Completed in 1135 milliseconds

1 2