Lines Matching refs:a_off
197 #define STARTS_WITH_1(a_off, a_uValue) \
198 ( pszObjId[a_off] == (a_uValue) + '0' && pszObjId[a_off + 1] == '.' )
199 #define STARTS_WITH_2(a_off, a_uValue) \
200 ( pszObjId[a_off] == (a_uValue) / 10 + '0' && pszObjId[a_off + 1] == (a_uValue) % 10 + '0' && pszObjId[a_off + 2] == '.' )
201 #define STARTS_WITH_3(a_off, a_uValue) \
202 ( pszObjId[a_off] == (a_uValue) / 100 + '0' \
203 && pszObjId[a_off + 1] == ((a_uValue) % 100) / 10 + '0' \
204 && pszObjId[a_off + 2] == (a_uValue) % 10 + '0' \
205 && pszObjId[a_off + 3] == '.' )
206 #define STARTS_WITH_6(a_off, a_uValue) \
207 ( pszObjId[a_off] == (a_uValue) / 100000 + '0' \
208 && pszObjId[a_off + 1] == ((a_uValue) % 100000) / 10000 + '0' \
209 && pszObjId[a_off + 2] == ((a_uValue) % 10000) / 1000 + '0' \
210 && pszObjId[a_off + 3] == ((a_uValue) % 1000) / 100 + '0' \
211 && pszObjId[a_off + 4] == ((a_uValue) % 100) / 10 + '0' \
212 && pszObjId[a_off + 5] == (a_uValue) % 10 + '0' \
213 && pszObjId[a_off + 6] == '.' )
215 #define ENDS_WITH_1(a_off, a_uValue) \
216 ( pszObjId[a_off] == (a_uValue) + '0' && !pszObjId[a_off + 1] )
217 #define ENDS_WITH_2(a_off, a_uValue) \
218 ( pszObjId[a_off] == (a_uValue) / 10 + '0' && pszObjId[a_off + 1] == (a_uValue) % 10 + '0' && !pszObjId[a_off + 2] )