/freebsd-11-stable/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, long long* array, size_t sz) argument 239 timehist_import(struct timehist* hist, long long* array, size_t sz) argument [all...] |
/freebsd-11-stable/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-stable/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...] |
H A D | input.c | 253 if (parsefile->fd == 0 && hist && 257 history(hist, &he, whichprompt == 1 ? H_ENTER : H_ADD,
|
/freebsd-11-stable/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-stable/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 | 120 HistoryW *hist; local 133 hist = history_winit(); /* Init built-in history */ 134 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ 135 history_w(hist, &ev, H_LOAD, hfile); 145 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */ 199 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); 220 for(rc = history_w(hist, &ev, H_LAST); 222 rc = history_w(hist, &ev, H_PREV)) 228 history_w(hist, &ev, H_CLEAR); 234 history_w(hist, [all...] |
/freebsd-11-stable/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-stable/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-stable/usr.bin/netstat/ |
H A D | ipsec.c | 233 ipsec_hist_new(const uint64_t *hist, size_t histmax, argument 242 if (hist[proto] <= 0) 256 (uintmax_t)hist[proto]); 259 (unsigned long)proto, (uintmax_t)hist[proto]); 275 #define hist(f, n, t, c) \ macro 305 hist(ahstat->ahs_hist, ipsec_ahnames, 309 #undef hist macro 334 #define hist(f, n, t, c) \ macro 365 hist(espstat->esps_hist, ipsec_espnames, 369 #undef hist macro 395 #define hist macro 426 #undef hist macro [all...] |
/freebsd-11-stable/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-stable/usr.sbin/gstat/ |
H A D | gstat.c | 96 History *hist; local 99 hist = NULL; 180 hist = history_init(); 181 if (hist == NULL) 183 history(hist, &hist_ev, H_SETSIZE, 100); 189 el_set(el, EL_HIST, history, hist); 192 history(hist, &hist_ev, H_ENTER, f_s); 441 history(hist, &hist_ev, H_ENTER, line);
|
/freebsd-11-stable/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-stable/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-stable/usr.sbin/pppctl/ |
H A D | pppctl.c | 59 History *hist; /* libedit stuff */ member in struct:thread_data 298 history(td->hist, H_ENTER, l); 300 history(td->hist, &hev, H_ENTER, l); 583 td.hist = history_init(); 591 history(td.hist, H_EVENT, size); 594 history(td.hist, &hev, H_SETSIZE, size); 606 el_set(td.edit, EL_HIST, history, (const char *)td.hist); 640 history_end(td.hist);
|
/freebsd-11-stable/contrib/unbound/smallapp/ |
H A D | unbound-control.c | 294 struct timehist* hist; local 296 hist = timehist_setup(); 297 if(!hist) 299 timehist_import(hist, s->svr.hist, NUM_BUCKETS_HIST); 300 for(i=0; i<hist->num; i++) { 302 (int)hist->buckets[i].lower.tv_sec, 303 (int)hist->buckets[i].lower.tv_usec, 304 (int)hist->buckets[i].upper.tv_sec, 305 (int)hist [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_proc.c | 243 #define SDPSTATS_HIST_GET(hist, hist_len, sum) ({ \ 247 u32 *h = per_cpu(sdpstats, __i).hist; \ 254 #define __sdpstats_seq_hist(seq, msg, hist, is_log) ({ \ 256 int hist_len = ARRAY_SIZE(__get_cpu_var(sdpstats).hist);\ 258 SDPSTATS_HIST_GET(hist, hist_len, tmp_hist); \
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | range_tree.c | 107 uint64_t hist[RANGE_TREE_HISTOGRAM_SIZE] = { 0 }; local 115 hist[idx]++; 116 ASSERT3U(hist[idx], !=, 0); 120 if (hist[i] != rt->rt_histogram[i]) { 121 zfs_dbgmsg("i=%d, hist=%p, hist=%llu, rt_hist=%llu", 122 i, hist, hist[i], rt->rt_histogram[i]); 124 VERIFY3U(hist[i], ==, rt->rt_histogram[i]);
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | log.c | 430 svn_fs_history_t *hist; 462 svn_fs_history_t *hist; 466 if (info->hist) 470 SVN_ERR(svn_fs_history_prev2(&info->hist, info->hist, ! strict, 473 hist = info->hist; 483 SVN_ERR(svn_fs_node_history2(&hist, history_root, info->path->data, 486 SVN_ERR(svn_fs_history_prev2(&hist, hist, ! stric 429 svn_fs_history_t *hist; member in struct:path_info 461 svn_fs_history_t *hist; local [all...] |
/freebsd-11-stable/contrib/llvm-project/libunwind/src/ |
H A D | Unwind-seh.cpp | 389 UNWIND_HISTORY_TABLE hist; local 392 memset(&hist, 0, sizeof(hist)); 402 exception_object, &ms_ctx, &hist);
|