Searched refs:hist (Results 1 – 4 of 4) sorted by relevance
65 struct BatteryHistory hist; in checkAndReport() local111 hist.tempco = histv2.tempco; in checkAndReport()112 hist.rcomp0 = histv2.rcomp0; in checkAndReport()113 hist.timer_h = (uint8_t)histv2.timer_h * 5; in checkAndReport()114 hist.max_temp = (int8_t)histv2.maxtemp * 3 + 22; in checkAndReport()115 hist.min_temp = (int8_t)histv2.mintemp * 3 - 20; in checkAndReport()116 hist.min_ibatt = (int16_t)histv2.maxchgcurr * 500 * (-1); in checkAndReport()117 hist.max_ibatt = (int16_t)histv2.maxdischgcurr * 500; in checkAndReport()118 hist.min_vbatt = (uint16_t)histv2.minvolt * 10 + 2500; in checkAndReport()119 hist.max_vbatt = (uint16_t)histv2.maxvolt * 20 + 4200; in checkAndReport()[all …]
151 bool checkLogEvent(struct BatteryHistory hist);153 const struct BatteryHistory &hist);
250 } hist[N_TEXELS]; in fxt1_choose() local253 memset(hist, 0, sizeof(hist)); in fxt1_choose()265 if (!hist[l].flag) { in fxt1_choose()267 hist[l].flag = !0; in fxt1_choose()268 hist[l].key = key; in fxt1_choose()269 hist[l].freq = 1; in fxt1_choose()270 hist[l].idx = k; in fxt1_choose()273 } else if (hist[l].key == key) { in fxt1_choose()274 hist[l].freq++; in fxt1_choose()291 vec[j][i] = (float)input[hist[j].idx][i]; in fxt1_choose()
3190 mz_uint32 total_passes = 2, pass_shift, pass, i, hist[256 * 2]; in tdefl_radix_sort_syms() local3192 MZ_CLEAR_OBJ(hist); in tdefl_radix_sort_syms()3195 hist[freq & 0xFF]++; in tdefl_radix_sort_syms()3196 hist[256 + ((freq >> 8) & 0xFF)]++; in tdefl_radix_sort_syms()3198 while ((total_passes > 1) && (num_syms == hist[(total_passes - 1) * 256])) in tdefl_radix_sort_syms()3201 const mz_uint32 *pHist = &hist[pass << 8]; in tdefl_radix_sort_syms()