Lines Matching refs:LENGTH
57 #define LENGTH(s) (sizeof(s) - 1) macro
211 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
212 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
213 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
219 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
220 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
221 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
222 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
223 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
224 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in loc_get_target()
229 else if( (!memcmp(rd_id, MSM8930_ID_1, LENGTH(MSM8930_ID_1)) in loc_get_target()
230 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_1)])) || in loc_get_target()
231 (!memcmp(rd_id, MSM8930_ID_2, LENGTH(MSM8930_ID_2)) in loc_get_target()
232 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_2)])) ) in loc_get_target()