Home
last modified time | relevance | path

Searched refs:LENGTH (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/gps/msm8960/utils/
Dloc_target.cpp56 #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()
[all …]
/hardware/qcom/gps/utils/
Dloc_target.cpp56 #define LENGTH(s) (sizeof(s) - 1) macro
210 if( !memcmp(baseband, STR_APQ, LENGTH(STR_APQ)) ){ in loc_get_target()
211 if( !memcmp(rd_id, MPQ8064_ID_1, LENGTH(MPQ8064_ID_1)) in loc_get_target()
212 && IS_STR_END(rd_id[LENGTH(MPQ8064_ID_1)]) ) in loc_get_target()
218 if( (!memcmp(rd_hw_platform, STR_LIQUID, LENGTH(STR_LIQUID)) in loc_get_target()
219 && IS_STR_END(rd_hw_platform[LENGTH(STR_LIQUID)])) || in loc_get_target()
220 (!memcmp(rd_hw_platform, STR_SURF, LENGTH(STR_SURF)) in loc_get_target()
221 && IS_STR_END(rd_hw_platform[LENGTH(STR_SURF)])) || in loc_get_target()
222 (!memcmp(rd_hw_platform, STR_MTP, LENGTH(STR_MTP)) in loc_get_target()
223 && IS_STR_END(rd_hw_platform[LENGTH(STR_MTP)]))) { in loc_get_target()
[all …]