Lines Matching refs:LENGTH
63 #define LENGTH(s) (sizeof(s) - 1) macro
205 if( !memcmp(rd_auto_platform, STR_AUTO, LENGTH(STR_AUTO)) ) in loc_get_target()
211 if( !memcmp(baseband, STR_APQ_NO_WGR, LENGTH(STR_APQ_NO_WGR)) ){ in loc_get_target()
217 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) || in loc_get_target()
218 !memcmp(baseband, STR_SDC, LENGTH(STR_SDC)) || in loc_get_target()
219 !memcmp(baseband, STR_QCS, LENGTH(STR_QCS)) ) { in loc_get_target()
221 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
222 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
226 } else if (((!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
227 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
228 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
229 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
230 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
231 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) && in loc_get_target()
234 } else if( (!memcmp(rd_id, MSM8930_ID_1, LENGTH(MSM8930_ID_1)) in loc_get_target()
235 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_1)])) || in loc_get_target()
236 (!memcmp(rd_id, MSM8930_ID_2, LENGTH(MSM8930_ID_2)) in loc_get_target()
237 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_2)])) ) { in loc_get_target()
239 } else if ( !memcmp(baseband, STR_MSM, LENGTH(STR_MSM)) || in loc_get_target()
240 !memcmp(baseband, STR_SDM, LENGTH(STR_SDM)) ) { in loc_get_target()