/external/chromium-libpac/src/ |
H A D | proxy_resolver_js_bindings.cc | 65 struct hostent* he = gethostbyname(host.c_str()); local 67 if (he == NULL) { 70 *first_ip_address = std::string(he->h_addr); 76 struct hostent* he = gethostbyname(host.c_str()); local 78 if (he == NULL) { 82 for (char** addr = &he->h_addr; *addr != NULL; ++addr) { 90 *ip_address_list = std::string(he->h_addr);
|
/external/iputils/ |
H A D | tracepath.c | 308 struct hostent *he; local 382 he = gethostbyname(p); 383 if (he == NULL) { 392 memcpy(&target.sin_addr, he->h_addr, 4);
|
H A D | arping.c | 91 struct sockaddr_storage he; variable in typeref:struct:sockaddr_storage 359 (struct sockaddr_ll *)&me, (struct sockaddr_ll *)&he); 477 memcpy(((struct sockaddr_ll *)&he)->sll_addr, p, ((struct sockaddr_ll *)&me)->sll_halen); 1189 he = me; 1191 set_device_broadcast(&device, ((struct sockaddr_ll *)&he)->sll_addr, 1192 ((struct sockaddr_ll *)&he)->sll_halen);
|
/external/libedit/examples/ |
H A D | fileman.c | 328 HIST_ENTRY *he; local 334 for (he = current_history(); he != NULL; he = previous_history()) { 335 //printf("%5d %s\n", *((int*)he->data) - 1, he->line); 336 printf("%s\n", he->line);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-annotate.c | 51 struct hist_entry *he; local 66 he = __hists__add_entry(&evsel->hists, al, NULL, 1, 1); 67 if (he == NULL) 71 if (he->ms.sym != NULL) { 72 struct annotation *notes = symbol__annotation(he->ms.sym); 73 if (notes->src == NULL && symbol__alloc_hist(he->ms.sym) < 0) 76 ret = hist_entry__inc_addr_samples(he, evsel->idx, al->addr); 111 static int hist_entry__tty_annotate(struct hist_entry *he, argument 115 return symbol__tty_annotate(he->ms.sym, he 127 struct hist_entry *he = rb_entry(nd, struct hist_entry, rb_node); local [all...] |
H A D | builtin-report.c | 84 struct hist_entry *he; local 114 he = __hists__add_mem_entry(&evsel->hists, al, parent, mi, cost, cost); 115 if (!he) 123 if (sort__has_sym && he->ms.sym && use_browser > 0) { 124 struct annotation *notes = symbol__annotation(he->ms.sym); 128 if (notes->src == NULL && symbol__alloc_hist(he->ms.sym) < 0) 131 err = hist_entry__inc_addr_samples(he, evsel->idx, al->addr); 136 if (sort__has_sym && he->mem_info->daddr.sym && use_browser > 0) { 139 mx = he->mem_info; 158 err = callchain_append(he 176 struct hist_entry *he; local 252 struct hist_entry *he; local [all...] |
H A D | builtin-top.c | 90 static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he) argument 97 if (!he || !he->ms.sym) 100 sym = he->ms.sym; 101 map = he->ms.map; 133 top->sym_filter_entry = he; 140 static void __zero_source_counters(struct hist_entry *he) argument 142 struct symbol *sym = he->ms.sym; 174 struct hist_entry *he, 181 if (he 173 perf_top__record_precise_ip(struct perf_top *top, struct hist_entry *he, int counter, u64 ip) argument 211 struct hist_entry *he = top->sym_filter_entry; local 246 struct hist_entry *he; local 768 struct hist_entry *he; local [all...] |
H A D | builtin-diff.c | 220 static double period_percent(struct hist_entry *he, u64 period) argument 222 u64 total = he->hists->stats.total_period; 226 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) argument 228 double old_percent = period_percent(he, he->stat.period); 236 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) argument 238 double old_period = he->stat.period ?: 1; 246 static s64 compute_wdiff(struct hist_entry *he, struct hist_entry *pair) argument 248 u64 old_period = he->stat.period; 258 static int formula_delta(struct hist_entry *he, struc argument 268 formula_ratio(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument 277 formula_wdiff(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument 288 formula_fprintf(struct hist_entry *he, struct hist_entry *pair, char *buf, size_t size) argument 375 get_pair_data(struct hist_entry *he, struct data__file *d) argument 389 get_pair_fmt(struct hist_entry *he, struct diff_hpp_fmt *dfmt) argument 409 struct hist_entry *he = rb_entry(next, struct hist_entry, rb_node_in); local 431 struct hist_entry *he, *pair; local 529 insert_hist_entry_by_compute(struct rb_root *root, struct hist_entry *he, int c) argument 568 struct hist_entry *he; local 735 baseline_percent(struct hist_entry *he) argument 741 hpp__color_baseline(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, struct hist_entry *he) argument 758 hpp__entry_baseline(struct hist_entry *he, char *buf, size_t size) argument 771 hpp__entry_unpair(struct hist_entry *he, int idx, char *buf, size_t size) argument 784 hpp__entry_pair(struct hist_entry *he, struct hist_entry *pair, int idx, char *buf, size_t size) argument 844 __hpp__entry_global(struct hist_entry *he, struct diff_hpp_fmt *dfmt, char *buf, size_t size) argument 861 hpp__entry_global(struct perf_hpp_fmt *_fmt, struct perf_hpp *hpp, struct hist_entry *he) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | hists_link.c | 202 struct hist_entry *he; local 225 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1); 226 if (he == NULL) 247 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1); 248 if (he == NULL) 293 struct hist_entry *he; local 295 he = rb_entry(node, struct hist_entry, rb_node_in); 297 if (hist_entry__has_pairs(he)) { 300 he->thread, he 345 struct hist_entry *he; local 417 struct hist_entry *he; local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
H A D | hist.c | 13 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, argument 19 struct hists *hists = he->hists; 26 percent = 100.0 * get_field(he) / 31 ret = print_fn(hpp->buf, hpp->size, fmt, get_field(he)); 40 list_for_each_entry(pair, &he->pairs.head, pairs.node) { 111 static u64 he_get_##_field(struct hist_entry *he) \ 113 return he->stat._field; \ 117 struct perf_hpp *hpp, struct hist_entry *he) \ 119 return __hpp__fmt(hpp, he, he_get_##_field, " %6.2f%%", \ 125 struct perf_hpp *hpp, struct hist_entry *he) \ 239 hist_entry__sort_snprintf(struct hist_entry *he, char *s, size_t size, struct hists *hists) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | annotate.h | 173 static inline int hist_entry__gtk_annotate(struct hist_entry *he, argument 177 return symbol__gtk_annotate(he->ms.sym, he->ms.map, evsel, hbt); 182 static inline int hist_entry__gtk_annotate(struct hist_entry *he __maybe_unused,
|
H A D | sort.h | 113 static inline bool hist_entry__has_pairs(struct hist_entry *he) argument 115 return !list_empty(&he->pairs.node); 118 static inline struct hist_entry *hist_entry__next_pair(struct hist_entry *he) argument 120 if (hist_entry__has_pairs(he)) 121 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); 126 struct hist_entry *he) 128 list_add_tail(&pair->pairs.node, &he->pairs.head); 125 hist_entry__add_pair(struct hist_entry *pair, struct hist_entry *he) argument
|
H A D | hist.c | 11 struct hist_entry *he); 13 struct hist_entry *he); 15 struct hist_entry *he); 181 static void hist_entry__add_cpumode_period(struct hist_entry *he, argument 186 he->stat.period_sys += period; 189 he->stat.period_us += period; 192 he->stat.period_guest_sys += period; 195 he->stat.period_guest_us += period; 222 static void hist_entry__decay(struct hist_entry *he) argument 224 he 229 hists__decay_entry(struct hists *hists, struct hist_entry *he) argument 279 struct hist_entry *he = zalloc(sizeof(*he) + callchain_size); local 348 struct hist_entry *he; local 529 hist_entry__free(struct hist_entry *he) argument 540 hists__collapse_insert_entry(struct hists *hists __maybe_unused, struct rb_root *root, struct hist_entry *he) argument 594 hists__apply_filters(struct hists *hists, struct hist_entry *he) argument 691 __hists__insert_output_entry(struct rb_root *entries, struct hist_entry *he, u64 min_callchain_hits) argument 765 hists__filter_entry_by_dso(struct hists *hists, struct hist_entry *he) argument 798 hists__filter_entry_by_thread(struct hists *hists, struct hist_entry *he) argument 828 hists__filter_entry_by_symbol(struct hists *hists, struct hist_entry *he) argument 859 hist_entry__inc_addr_samples(struct hist_entry *he, int evidx, u64 ip) argument 864 hist_entry__annotate(struct hist_entry *he, size_t privsize) argument 886 struct hist_entry *he; local 924 hists__find_entry(struct hists *hists, struct hist_entry *he) argument [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
H A D | xmlparser.cpp | 653 const UHashElement *he=fNames.find(s); local 654 if(he!=NULL) { 656 return (const UnicodeString *)he->key.pointer; 660 he=fNames.find(s); 661 return (const UnicodeString *)he->key.pointer; 667 const UHashElement *he=fNames.find(s); local 668 if(he!=NULL) { 670 return (const UnicodeString *)he->key.pointer;
|
/external/chromium_org/third_party/libevent/test/ |
H A D | regress_http.c | 114 struct hostent *he; local 125 if (!(he = gethostbyname(address))) { 128 memcpy(&sin.sin_addr, he->h_addr_list[0], he->h_length);
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | xmlparser.cpp | 653 const UHashElement *he=fNames.find(s); local 654 if(he!=NULL) { 656 return (const UnicodeString *)he->key.pointer; 660 he=fNames.find(s); 661 return (const UnicodeString *)he->key.pointer; 667 const UHashElement *he=fNames.find(s); local 668 if(he!=NULL) { 670 return (const UnicodeString *)he->key.pointer;
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/ |
H A D | hists.c | 29 static int __hpp__color_fmt(struct perf_hpp *hpp, struct hist_entry *he, argument 34 struct hists *hists = he->hists; 38 percent = 100.0 * get_field(he) / hists->stats.total_period; 49 list_for_each_entry(pair, &he->pairs.head, pairs.node) { 89 static u64 he_get_##_field(struct hist_entry *he) \ 91 return he->stat._field; \ 96 struct hist_entry *he) \ 98 return __hpp__color_fmt(hpp, he, he_get_##_field); \
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/ |
H A D | hist.c | 269 static size_t hist_entry_callchain__fprintf(struct hist_entry *he, argument 275 return callchain__fprintf_graph(fp, &he->sorted_chain, he->stat.period, 279 return callchain__fprintf_graph(fp, &he->sorted_chain, total_samples, 283 return callchain__fprintf_flat(fp, &he->sorted_chain, total_samples); 294 static size_t hist_entry__callchain_fprintf(struct hist_entry *he, argument 305 left_margin -= thread__comm_len(he->thread); 308 return hist_entry_callchain__fprintf(he, total_period, left_margin, fp); 318 struct hist_entry *he) 326 if (symbol_conf.exclude_other && !he 317 hist_entry__period_snprintf(struct perf_hpp *hpp, struct hist_entry *he) argument 351 hist_entry__fprintf(struct hist_entry *he, size_t size, struct hists *hists, char *bf, size_t bfsz, FILE *fp) argument [all...] |
/external/openssl/apps/ |
H A D | s_socket.c | 522 struct hostent *he; local 526 he=GetHostByName(str); 527 if (he == NULL) 533 if ((short)he->h_addrtype != AF_INET) 538 ip[0]=he->h_addr_list[0][0]; 539 ip[1]=he->h_addr_list[0][1]; 540 ip[2]=he->h_addr_list[0][2]; 541 ip[3]=he->h_addr_list[0][3];
|
/external/openssl/crypto/bio/ |
H A D | b_sock.c | 125 struct hostent *he; local 146 he=BIO_gethostbyname(str); 147 if (he == NULL) 154 if ((short)he->h_addrtype != AF_INET) 160 ip[i]=he->h_addr_list[0][i];
|
/external/qemu/slirp/ |
H A D | misc.c | 75 struct hostent *he = NULL; local 78 he = gethostbyname(buff); 79 if (he) 80 our_addr = *(struct in_addr *)he->h_addr;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | crestst.c | 114 UResourceBundle *he = NULL; local 119 he = ures_open(NULL, "he", &status); 125 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); 129 ures_close(he);
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | crestst.c | 112 UResourceBundle *he = NULL; local 117 he = ures_open(NULL, "he", &status); 123 result = ures_getStringByKey(he, "ExemplarCharacters", &resultLen, &status); 127 ures_close(he);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/ |
H A D | annotate.c | 820 int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, argument 823 return symbol__tui_annotate(he->ms.sym, he->ms.map, evsel, hbt);
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | rbt_pars.cpp | 1110 const UHashElement* he = variableNames.nextElement(pos); local 1111 while (he != NULL) { 1112 UnicodeString* tempus = (UnicodeString*)(((UnicodeString*)(he->value.pointer))->clone()); 1117 data->variableNames.put(*((UnicodeString*)(he->key.pointer)), 1119 he = variableNames.nextElement(pos);
|