_mid 86 src/libsir/include/sir/helpers.h size_t _mid = (_low + _high) / 2 _mid 93 src/libsir/include/sir/helpers.h if (0 > comparison && (_mid - 1) >= _low) { \ _mid 94 src/libsir/include/sir/helpers.h _high = _mid - 1; \ _mid 95 src/libsir/include/sir/helpers.h } else if ((_mid + 1) <= _high) { \ _mid 96 src/libsir/include/sir/helpers.h _low = _mid + 1; \ _mid 100 src/libsir/include/sir/helpers.h _mid = (_low + _high) / 2 _mid 207 src/libsir/src/sirerrors.c if (sir_errors[_mid].e == _sir_te.lasterror) { _mid 210 src/libsir/src/sirerrors.c if (_SIR_E_PLATFORM == sir_errors[_mid].e) { _mid 220 src/libsir/src/sirerrors.c ? heap_msg : (_sir_validstrnofail(sir_errors[_mid].msg) _mid 221 src/libsir/src/sirerrors.c ? sir_errors[_mid].msg : SIR_UNKNOWN))); _mid 225 src/libsir/src/sirerrors.c retval = sir_errors[_mid].e; _mid 229 src/libsir/src/sirerrors.c _SIR_ITERATE_BIN_SEARCH((sir_errors[_mid].e < _sir_te.lasterror ? 1 : -1)); _mid 257 src/libsir/src/sirerrors.c if (sir_errors[_mid].e == _sir_te.lasterror) { _mid 258 src/libsir/src/sirerrors.c err->code = _sir_geterrcode(sir_errors[_mid].e); _mid 259 src/libsir/src/sirerrors.c if (_SIR_E_PLATFORM == sir_errors[_mid].e) _mid 262 src/libsir/src/sirerrors.c (void)_sir_strncpy(err->msg, SIR_MAXERROR, sir_errors[_mid].msg, SIR_MAXERROR); _mid 266 src/libsir/src/sirerrors.c _SIR_ITERATE_BIN_SEARCH((sir_errors[_mid].e < _sir_te.lasterror ? 1 : -1)); _mid 1178 src/libsir/src/sirinternal.c if (sir_level_to_str_map[_mid].level == level) { _mid 1179 src/libsir/src/sirinternal.c retval = sir_level_to_str_map[_mid].fmt; _mid 1183 src/libsir/src/sirinternal.c _SIR_ITERATE_BIN_SEARCH((sir_level_to_str_map[_mid].level < level ? 1 : -1)); _mid 57 src/libsir/src/sirtextstyle.c if (data->map[_mid].level == level) { _mid 58 src/libsir/src/sirtextstyle.c retval = data->map[_mid].str; _mid 62 src/libsir/src/sirtextstyle.c _SIR_ITERATE_BIN_SEARCH((data->map[_mid].level < level ? 1 : -1)); _mid 83 src/libsir/src/sirtextstyle.c if (data->map[_mid].level == level) { _mid 84 src/libsir/src/sirtextstyle.c (void)memcpy(&data->map[_mid].style, style, sizeof(sir_textstyle)); _mid 85 src/libsir/src/sirtextstyle.c updated = _sir_formatstyle(*data->color_mode, style, data->map[_mid].str); _mid 89 src/libsir/src/sirtextstyle.c _SIR_ITERATE_BIN_SEARCH((data->map[_mid].level < level ? 1 : -1));