/freebsd-11.0-release/contrib/unbound/util/ |
H A D | timehist.h | 78 * @param hist: to delete 80 void timehist_delete(struct timehist* hist); 84 * @param hist: to clear all data from 86 void timehist_clear(struct timehist* hist); 90 * @param hist: histogram 93 void timehist_insert(struct timehist* hist, struct timeval* tv); 99 * @param hist: histogram. Interpolated information is used from it. 103 double timehist_quartile(struct timehist* hist, double q); 107 * @param hist: histogram 109 void timehist_print(struct timehist* hist); [all...] |
H A D | timehist.c | 71 dosetup(struct timehist* hist) argument 76 for(i=0; i<hist->num; i++) { 77 hist->buckets[i].lower = last; 79 hist->buckets[i].upper = last; 80 hist->buckets[i].count = 0; 86 struct timehist* hist = (struct timehist*)calloc(1, local 88 if(!hist) 90 hist->num = NUM_BUCKETS_HIST; 91 hist->buckets = (struct th_buck*)calloc(hist 102 timehist_delete(struct timehist* hist) argument 110 timehist_clear(struct timehist* hist) argument 134 timehist_insert(struct timehist* hist, struct timeval* tv) argument 147 timehist_print(struct timehist* hist) argument 164 timehist_log(struct timehist* hist, const char* name) argument 189 timehist_count(struct timehist* hist) argument 198 timehist_quartile(struct timehist* hist, double q) argument 228 timehist_export(struct timehist* hist, size_t* array, size_t sz) argument 239 timehist_import(struct timehist* hist, size_t* array, size_t sz) argument [all...] |
/freebsd-11.0-release/contrib/netbsd-tests/usr.bin/xlint/lint1/ |
H A D | d_nested_structs.c | 7 History *hist; member in struct:__anon4746 18 .command = { .el = 0, .hist = 0, }, 19 .string = { .el = 0, .hist = 0, }, 20 .filec = { .el = 0, .hist = 0, },
|
/freebsd-11.0-release/bin/sh/ |
H A D | myhistedit.h | 35 extern History *hist;
|
H A D | histedit.c | 67 History *hist; /* history cookie */ variable 87 if (!hist) { 92 hist = history_init(); 95 if (hist != NULL) 122 if (hist) 123 el_set(el, EL_HIST, history, hist); 153 if (hist) { 154 history_end(hist); 155 hist = NULL; 168 if (hist ! [all...] |
/freebsd-11.0-release/contrib/libreadline/ |
H A D | history.c | 229 history_get_time (hist) 230 HIST_ENTRY *hist; 235 if (hist == 0 || hist->timestamp == 0) 237 ts = hist->timestamp; 330 free_history_entry (hist) 331 HIST_ENTRY *hist; 335 if (hist == 0) 337 FREE (hist->line); 338 FREE (hist [all...] |
/freebsd-11.0-release/lib/libedit/TEST/ |
H A D | tc1.c | 133 History *hist; local 142 hist = history_init(); /* Init the builtin history */ 144 history(hist, &ev, H_SETSIZE, 100); 156 el_set(el, EL_HIST, history, hist); 218 if (history(hist, &ev, H_SET, lastevent) == -1) 220 history(hist, &ev, H_ADD , buf); 222 history(hist, &ev, H_ENTER, buf); 227 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf); 250 for (rv = history(hist, &ev, H_LAST); rv != -1; 251 rv = history(hist, [all...] |
H A D | wtc1.c | 117 HistoryW *hist; local 130 hist = history_winit(); /* Init built-in history */ 131 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ 132 history_w(hist, &ev, H_LOAD, hfile); 142 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */ 196 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); 217 for(rc = history_w(hist, &ev, H_LAST); 219 rc = history_w(hist, &ev, H_PREV)) 225 history_w(hist, &ev, H_CLEAR); 231 history_w(hist, [all...] |
/freebsd-11.0-release/usr.bin/bc/ |
H A D | extern.h | 44 extern History *hist;
|
H A D | scan.l | 40 History *hist; 355 history(hist, &he, H_ENTER, bp);
|
/freebsd-11.0-release/sys/net/ |
H A D | mppcd.c | 49 uint8_t hist[2*MPPE_HIST_LEN]; member in struct:MPPC_decomp_state 110 uint8_t *hist, *s; local 115 memcpy(state->hist, state->hist + MPPE_HIST_LEN, MPPE_HIST_LEN); 119 hist = state->hist + state->histptr; 128 (state->hist)[(state->histptr)++] = (uint8_t) val; 143 (state->hist)[(state->histptr)++] = 242 s = state->hist + state->histptr; 264 if ((hist[ [all...] |
H A D | mppcc.c | 51 uint8_t hist[2*MPPE_HIST_LEN]; member in struct:MPPC_comp_state 150 uint8_t *hist, *sbuf, *p, *q, *r, *s; local 173 hist = state->hist + MPPE_HIST_LEN; 178 memcpy(state->hist, hist, MPPE_HIST_LEN); 181 sbuf = state->hist + state->histptr; 194 p = hist + state->hash[idx]; 195 state->hash[idx] = (uint16_t) (s - hist);
|
/freebsd-11.0-release/usr.bin/netstat/ |
H A D | ipsec.c | 243 ipsec_hist_new(const uint64_t *hist, size_t histmax, argument 252 if (hist[proto] <= 0) 266 (uintmax_t)hist[proto]); 269 (unsigned long)proto, (uintmax_t)hist[proto]); 285 #define hist(f, n, t, c) \ macro 315 hist(ahstat->ahs_hist, ipsec_ahnames, 319 #undef hist macro 344 #define hist(f, n, t, c) \ macro 375 hist(espstat->esps_hist, ipsec_espnames, 379 #undef hist macro 405 #define hist macro 436 #undef hist macro [all...] |
/freebsd-11.0-release/contrib/gcc/ |
H A D | value-prof.c | 709 histogram_value hist; 738 hist = ggc_alloc (sizeof (*hist)); 739 hist->hvalue.value = divisor; 740 hist->hvalue.stmt = stmt; 741 hist->type = HIST_TYPE_SINGLE_VALUE; 742 VEC_quick_push (histogram_value, *values, hist); 751 hist = ggc_alloc (sizeof (*hist)); 752 hist 708 histogram_value hist; local 788 histogram_value hist; local [all...] |
H A D | profile.c | 177 histogram_value hist = VEC_index (histogram_value, values, i); 178 switch (hist->type) 199 if (!coverage_counter_alloc (t, hist->n_counters)) 202 switch (hist->type) 205 (profile_hooks->gen_interval_profiler) (hist, t, 0); 209 (profile_hooks->gen_pow2_profiler) (hist, t, 0); 213 (profile_hooks->gen_one_value_profiler) (hist, t, 0); 217 (profile_hooks->gen_const_delta_profiler) (hist, t, 0); 627 histogram_value hist = VEC_index (histogram_value, values, i); 628 n_histogram_counters[(int) hist 176 histogram_value hist = VEC_index (histogram_value, values, i); local 624 histogram_value hist = VEC_index (histogram_value, values, i); local 649 histogram_value hist = VEC_index (histogram_value, values, i); local [all...] |
/freebsd-11.0-release/usr.sbin/gstat/ |
H A D | gstat.c | 94 History *hist; local 97 hist = NULL; 171 hist = history_init(); 172 if (hist == NULL) 174 history(hist, &hist_ev, H_SETSIZE, 100); 180 el_set(el, EL_HIST, history, hist); 183 history(hist, &hist_ev, H_ENTER, f_s); 408 history(hist, &hist_ev, H_ENTER, line);
|
/freebsd-11.0-release/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 151 static History *hist; local 160 hist = NULL; 165 hist = history_init(); 166 history(hist, &he, H_SETSIZE, 100); 167 el_set(el, EL_HIST, history, hist); 188 history(hist, &he, H_ENTER, bp);
|
/freebsd-11.0-release/usr.sbin/ngctl/ |
H A D | main.c | 297 History *hist; local 308 hist = history_init(); 309 if (hist == NULL) 311 history(hist, &hev, H_SETSIZE, 100); 312 history(hist, &hev, H_SETUNIQUE, 1); 313 el_set(el, EL_HIST, history, (const char *)hist); 324 history(hist, &hev, H_ENTER, buf); 335 history_end(hist);
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | range_tree.c | 57 uint64_t hist[RANGE_TREE_HISTOGRAM_SIZE] = { 0 }; local 65 hist[idx]++; 66 ASSERT3U(hist[idx], !=, 0); 70 if (hist[i] != rt->rt_histogram[i]) { 71 zfs_dbgmsg("i=%d, hist=%p, hist=%llu, rt_hist=%llu", 72 i, hist, hist[i], rt->rt_histogram[i]); 74 VERIFY3U(hist[i], ==, rt->rt_histogram[i]);
|
/freebsd-11.0-release/usr.sbin/pppctl/ |
H A D | pppctl.c | 57 History *hist; /* libedit stuff */ member in struct:thread_data 296 history(td->hist, H_ENTER, l); 298 history(td->hist, &hev, H_ENTER, l); 581 td.hist = history_init(); 589 history(td.hist, H_EVENT, size); 592 history(td.hist, &hev, H_SETSIZE, size); 604 el_set(td.edit, EL_HIST, history, (const char *)td.hist); 638 history_end(td.hist);
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_proc.c | 244 #define SDPSTATS_HIST_GET(hist, hist_len, sum) ({ \ 248 u32 *h = per_cpu(sdpstats, __i).hist; \ 255 #define __sdpstats_seq_hist(seq, msg, hist, is_log) ({ \ 257 int hist_len = ARRAY_SIZE(__get_cpu_var(sdpstats).hist);\ 259 SDPSTATS_HIST_GET(hist, hist_len, tmp_hist); \
|
/freebsd-11.0-release/contrib/subversion/subversion/libsvn_repos/ |
H A D | log.c | 412 svn_fs_history_t *hist; 444 svn_fs_history_t *hist; 448 if (info->hist) 452 SVN_ERR(svn_fs_history_prev2(&info->hist, info->hist, ! strict, 455 hist = info->hist; 465 SVN_ERR(svn_fs_node_history2(&hist, history_root, info->path->data, 468 SVN_ERR(svn_fs_history_prev2(&hist, hist, ! stric 411 svn_fs_history_t *hist; member in struct:path_info 443 svn_fs_history_t *hist; local [all...] |
/freebsd-11.0-release/contrib/unbound/daemon/ |
H A D | stats.h | 139 size_t hist[NUM_BUCKETS_HIST]; member in struct:server_stats
|
/freebsd-11.0-release/sys/sys/ |
H A D | event.h | 174 #define KNOTE(list, hist, flags) knote(list, hist, flags)
|
/freebsd-11.0-release/contrib/tnftp/src/ |
H A D | util.c | 977 if (editing && el == NULL && hist == NULL) { 983 hist = history_init(); /* init the builtin history */ 984 history(hist, &ev, H_SETSIZE, 100);/* remember 100 events */ 985 el_set(el, EL_HIST, history, hist); /* use history */ 1005 if (hist) { 1006 history_end(hist); 1007 hist = NULL;
|