Lines Matching refs:LENGTH
56 #define LENGTH(s) (sizeof(s) - 1) macro
101 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in get_target()
102 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in get_target()
103 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in get_target()
109 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in get_target()
110 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in get_target()
111 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in get_target()
112 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in get_target()
113 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in get_target()
114 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in get_target()
119 else if( (!memcmp(rd_id, MSM8930_ID_1, LENGTH(MSM8930_ID_1)) in get_target()
120 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_1)])) || in get_target()
121 (!memcmp(rd_id, MSM8930_ID_2, LENGTH(MSM8930_ID_2)) in get_target()
122 && IS_STR_END(rd_id[LENGTH(MSM8930_ID_2)])) ) in get_target()