Lines Matching refs:LENGTH
58 #define LENGTH(s) (sizeof(s) - 1)
211 if( !memcmp(baseband, STR_AUTO, LENGTH(STR_AUTO)) )
216 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){
218 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1))
219 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) )
225 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID))
226 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) ||
227 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF))
228 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) ||
229 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP))
230 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) {
235 else if( (!memcmp(rd_id, MSM8930_ID_1, LENGTH(MSM8930_ID_1))
236 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_1)])) ||
237 (!memcmp(rd_id, MSM8930_ID_2, LENGTH(MSM8930_ID_2))
238 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_2)])) )