Most of the time, B = _value[int16] is going to produce 0 matches -- you are better off using 10 -- or define a generator macro in this file:

 {_bvalue |= "10"}
 {_bvalue |= "_value[int16]"} 

And use it an all equality tests, like:

SELECT * FROM _table WHERE B = _bvalue AND C _cmp _value[int16] ORDER BY C DESC