/external/libedit/src/ |
H A D | history.c | 420 * Delete element hp of the h list 438 * Delete element hp of the h list 443 TYPE(HistEvent) *ev __attribute__((__unused__)), hentry_t *hp) 445 HistEventPrivate *evp = (void *)&hp->ev; 446 if (hp == &h->list) 448 if (h->cursor == hp) { 449 h->cursor = hp->prev; 451 h->cursor = hp->next; 453 hp->prev->next = hp 442 history_def_delete(history_t *h, TYPE(HistEvent) *ev __attribute__((__unused__)), hentry_t *hp) argument [all...] |
/external/libpcap/Win32/Src/ |
H A D | getaddrinfo.c | 526 struct hostent *hp; local 563 hp = getipnodebyname(hostname, pai->ai_family, AI_ADDRCONFIG, &h_error); 566 hp = gethostbyname2(hostname, pai->ai_family); 570 hp = gethostbyname(hostname); 579 if (hp == NULL) { 594 } else if ((hp->h_name == NULL) || (hp->h_name[0] == 0) 595 || (hp->h_addr_list[0] == NULL)) { 597 freehostent(hp); 599 hp 925 struct hostent *hp = NULL; local [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_decodemv.c | 206 int mag, d, fr, hp; local 228 // High precision part (if hp is not used, the default value of the hp is 1) 229 hp = usehp ? vp9_read(r, class0 ? mvcomp->class0_hp : mvcomp->hp) 233 mag = vp9_get_mv_mag(mv_class, (d << 3) | (fr << 1) | hp) + 1;
|
/external/qemu/telephony/ |
H A D | sysdeps_posix.c | 611 struct hostent* hp; local 616 hp = gethostbyname(hostname); 617 if(hp == 0) { 624 addr.sin_family = hp->h_addrtype; 626 memcpy(&addr.sin_addr, hp->h_addr, hp->h_length); 628 channel->fd = socket(hp->h_addrtype, SOCK_STREAM, 0);
|
/external/valgrind/main/VEX/priv/ |
H A D | host_generic_reg_alloc2.c | 246 Int i, j, h, bigN, hp; local 254 hp = 0; while (hp < 14 && incs[hp] < bigN) hp++; hp--; 258 for ( ; hp >= 0; hp--) { 259 h = incs[hp]; 274 for ( ; hp > [all...] |
/external/chromium_org/third_party/libxml/src/ |
H A D | nanoftp.c | 856 struct hostent *hp; local 930 hp = gethostbyname (proxy); 932 hp = gethostbyname (ctxt->hostname); 933 if (hp == NULL) { 937 if ((unsigned int) hp->h_length > 948 hp->h_addr_list[0], hp->h_length);
|
/external/dhcpcd/ |
H A D | dhcp.c | 917 const char *hp; local 1050 hp = strchr(ifo->hostname, '.'); 1051 if (hp) 1052 len = hp - ifo->hostname;
|
/external/iputils/ |
H A D | arping.c | 1088 struct hostent *hp; local 1101 hp = gethostbyname2(idn, AF_INET); 1102 if (!hp) { 1111 memcpy(&dst, hp->h_addr, 4);
|
H A D | ping.c | 121 struct hostent *hp; local 287 hp = gethostbyname(idn); 288 if (!hp) { 295 memcpy(&whereto.sin_addr, hp->h_addr, 4); 297 if (idna_to_unicode_lzlz(hp->h_name, &hnamebuf, 0) != IDNA_SUCCESS) { 298 hnamebuf = strdup(hp->h_name); 305 strncpy(hnamebuf, hp->h_name, sizeof(hnamebuf) - 1); 1314 struct hostent *hp; local 1320 !(hp = gethostbyaddr((char *)&addr, 4, AF_INET))) 1325 if (idna_to_unicode_lzlz(hp [all...] |
H A D | ping6.c | 1812 struct hostent *hp = NULL; local 1822 hp = gethostbyaddr((__u8*)addr, sizeof(struct in6_addr), AF_INET6); 1826 if (!hp 1828 || idna_to_unicode_lzlz(hp->h_name, &s, 0) != IDNA_SUCCESS 1833 return hp ? (s ? s : hp->h_name) : pr_addr_n(addr);
|
/external/libxml2/ |
H A D | nanoftp.c | 857 struct hostent *hp; local 931 hp = gethostbyname (proxy); 933 hp = gethostbyname (ctxt->hostname); 934 if (hp == NULL) { 938 if ((unsigned int) hp->h_length > 949 hp->h_addr_list[0], hp->h_length);
|
/external/mksh/src/ |
H A D | histrap.c | 96 char **hfirst, **hlast, **hp, *editor = NULL; local 187 hp = first ? hist_get(first, false, false) : 189 if (!hp) 193 strdupx(line, *hp, ATEMP); 204 for (s = *hp; (s1 = strstr(s, pat)) && 275 for (hp = rflag ? hlast : hfirst; 276 hp >= hfirst && hp <= hlast; hp += rflag ? -1 : 1) { 279 hist_source->line - (int)(histptr - hp)); 421 char **hp = NULL; local 514 char **hp; local 634 char **hp; local 754 char *nhname, **hp; local 854 char **hp; local [all...] |
H A D | edit.c | 1810 x_load_hist(char **hp) argument 1815 if (hp == histptr + 1) { 1818 } else if (hp < history || hp > histptr) { 1823 sp = *hp; 1824 x_histp = hp; 1946 char **hp; local 1949 for (hp = x_histp - (sameline ? 0 : 1); hp >= history; --hp) { 1983 char **hp = x_histp + search_dir; local [all...] |
/external/netperf/ |
H A D | nettest_xti.c | 539 struct hostent *hp; 574 if ((hp = gethostbyname(remote_host)) == NULL) { 584 bcopy(hp->h_addr, 586 hp->h_length); 587 server.sin_family = hp->h_addrtype; 1746 struct hostent *hp; 1787 if ((hp = gethostbyname(remote_host)) == NULL) { 1797 bcopy(hp->h_addr, 1799 hp->h_length); 1800 server.sin_family = hp 535 struct hostent *hp; local 1740 struct hostent *hp; local 2468 struct hostent *hp; local 3460 struct hostent *hp; local 5021 struct hostent *hp; local [all...] |
H A D | nettest_bsd.c | 9131 struct hostent *hp; 10203 struct hostent *hp; 9110 struct hostent *hp; local 10180 struct hostent *hp; local
|
/external/ppp/pppd/ |
H A D | ipcp.c | 339 struct hostent *hp; local 343 if ((hp = gethostbyname(*argv)) == NULL) { 348 dns = *(u_int32_t *)hp->h_addr; 375 struct hostent *hp; local 379 if ((hp = gethostbyname(*argv)) == NULL) { 384 wins = *(u_int32_t *)hp->h_addr; 413 struct hostent *hp; local 433 if ((hp = gethostbyname(arg)) == NULL) { 437 local = *(u_int32_t *)hp->h_addr; 454 if ((hp 1609 struct hostent *hp; local [all...] |
H A D | auth.c | 2034 struct hostent *hp; local 2107 hp = gethostbyname(ptr_word); 2108 if (hp != NULL && hp->h_addrtype == AF_INET) { 2109 a = *(u_int32_t *)hp->h_addr;
|
/external/tcpdump/ |
H A D | addrtoname.c | 227 register struct hostent *hp; local 249 hp = gethostbyaddr((char *)&addr, 4, AF_INET); 250 if (hp) { 253 p->name = strdup(hp->h_name); 275 register struct hostent *hp; local 300 hp = gethostbyaddr((char *)&addr, sizeof(addr), AF_INET6); 301 if (hp) { 304 p->name = strdup(hp->h_name);
|
H A D | print-802_11.c | 1528 const struct mgmt_header_t *hp = (const struct mgmt_header_t *) p; local 1531 *srcp = hp->sa; 1533 *dstp = hp->da; 1538 etheraddr_string((hp)->bssid), etheraddr_string((hp)->da), 1539 etheraddr_string((hp)->sa));
|
/external/chromium_org/third_party/libevent/ |
H A D | http.c | 127 struct hostent *hp; local 128 hp = gethostbyaddr((char *)&sin->sin_addr, 130 if (hp == NULL) 133 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/ |
H A D | SkPdfRenderer.cpp | 2793 SkScalar hp = fPdfDoc->MediaBox(page).height(); local 2797 SkPoint::Make(wp, hp), 2798 SkPoint::Make(z, hp)};
|
/external/clang/test/Analysis/ |
H A D | malloc.c | 1319 struct HasPtr hp; 1320 hp.p = malloc(10); 1321 memcmp(&hp, &hp, sizeof(hp)); 1322 return; // expected-warning {{Potential leak of memory pointed to by 'hp.p'}} 1318 struct HasPtr hp; local
|
/external/skia/experimental/PdfViewer/src/ |
H A D | SkPdfRenderer.cpp | 2793 SkScalar hp = fPdfDoc->MediaBox(page).height(); local 2797 SkPoint::Make(wp, hp), 2798 SkPoint::Make(z, hp)};
|
/external/valgrind/main/VEX/switchback/ |
H A D | test_bzip2.c | 2516 Int32 i, j, h, bigN, hp; local 2522 hp = 0; 2523 while (incs[hp] < bigN) hp++; 2524 hp--; 2526 for (; hp >= 0; hp--) { 2527 h = incs[hp];
|
/external/valgrind/main/exp-sgcheck/tests/ |
H A D | hackedbz2.c | 2540 Int32 i, j, h, bigN, hp; local 2546 hp = 0; 2547 while (incs[hp] < bigN) hp++; 2548 hp--; 2550 for (; hp >= 0; hp--) { 2551 h = incs[hp];
|