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