Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DPrefixParser.cpp154 int mask = parseSubnetMask(subnet, famHint); in add() local
155 if (!isMaskValid(mask, famHint)) { in add()
172 if (famHint == IP_FAM::V4 && !populateV4Mask(mask, pre)) { in add()
173 mLastErr = "Failed to populate IPv4 Mask(" + std::to_string(mask) in add()
176 } else if (!populateV6Mask(mask, pre)) { in add()
177 mLastErr = "Failed to populate IPv6 Mask(" + std::to_string(mask) in add()
213 bool PrefixParser::splitIntoAddrAndMask(string in, string &addr, string &mask) { in splitIntoAddrAndMask() argument
231 mask = in.substr(pos + 1); in splitIntoAddrAndMask()
237 mask = ""; in splitIntoAddrAndMask()
240 mask = ""; in splitIntoAddrAndMask()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DPrefixParser.cpp148 int mask = parseSubnetMask(subnet, famHint); in add() local
149 if (!isMaskValid(mask, famHint)) { in add()
166 if (famHint == IP_FAM::V4 && !populateV4Mask(mask, pre)) { in add()
167 mLastErr = "Failed to populate IPv4 Mask(" + std::to_string(mask) in add()
170 } else if (!populateV6Mask(mask, pre)) { in add()
171 mLastErr = "Failed to populate IPv6 Mask(" + std::to_string(mask) in add()
207 bool PrefixParser::splitIntoAddrAndMask(string in, string &addr, string &mask) { in splitIntoAddrAndMask() argument
225 mask = in.substr(pos + 1); in splitIntoAddrAndMask()
231 mask = ""; in splitIntoAddrAndMask()
234 mask = ""; in splitIntoAddrAndMask()
[all …]
/hardware/libhardware/modules/input/evdev/
DBitUtils.cpp54 uint8_t mask = 0xff; in testBitInRange() local
61 mask &= 0xff << (start % 8); in testBitInRange()
65 mask &= 0xff >> (8 - (end % 8)); in testBitInRange()
68 ALOGD("mask: %s%s", bitstrings[mask >> 4], bitstrings[mask & 0x0f]); in testBitInRange()
71 if (bits & mask) return true; in testBitInRange()
/hardware/google/pixel/usb/
DMonitorFfs.cpp77 if (i->mask & IN_ACCESS) in displayInotifyEvent()
79 if (i->mask & IN_ATTRIB) in displayInotifyEvent()
81 if (i->mask & IN_CLOSE_NOWRITE) in displayInotifyEvent()
83 if (i->mask & IN_CLOSE_WRITE) in displayInotifyEvent()
85 if (i->mask & IN_CREATE) in displayInotifyEvent()
87 if (i->mask & IN_DELETE) in displayInotifyEvent()
89 if (i->mask & IN_DELETE_SELF) in displayInotifyEvent()
91 if (i->mask & IN_IGNORED) in displayInotifyEvent()
93 if (i->mask & IN_ISDIR) in displayInotifyEvent()
95 if (i->mask & IN_MODIFY) in displayInotifyEvent()
[all …]
/hardware/qcom/msm8x26/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
62 u8 mask; member
/hardware/qcom/msm8960/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
62 u8 mask; member
/hardware/qcom/msm8x09/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg,mask,val) ((val) | (mask << 8) | (reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xff))); ((ma… argument
62 u8 mask; member
/hardware/qcom/msm8998/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg,mask,val) ((val) | (mask << 8) | (reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xff))); ((ma… argument
62 u8 mask; member
/hardware/qcom/msm8996/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg,mask,val) ((val) | (mask << 8) | (reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xff))); ((ma… argument
62 u8 mask; member
/hardware/qcom/msm8x84/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
62 u8 mask; member
/hardware/qcom/msm8994/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 …define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
62 u8 mask; member
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
Dloc_api_log.c249 rpc_loc_sv_info_valid_mask_type mask = sv->valid_mask; in log_satellite_report() local
251 CHECK_MASK(int, sv->system, mask, RPC_LOC_SV_INFO_VALID_SYSTEM), in log_satellite_report()
252 CHECK_MASK(int, sv->prn, mask, RPC_LOC_SV_INFO_VALID_PRN), in log_satellite_report()
253 CHECK_MASK(int, sv->health_status, mask, RPC_LOC_SV_INFO_VALID_HEALTH_STATUS), in log_satellite_report()
254 CHECK_MASK(int, sv->process_status, mask, RPC_LOC_SV_INFO_VALID_PROCESS_STATUS), in log_satellite_report()
255 CHECK_MASK(int, sv->has_eph, mask, RPC_LOC_SV_INFO_VALID_HAS_EPH), in log_satellite_report()
256 CHECK_MASK(int, sv->has_alm, mask, RPC_LOC_SV_INFO_VALID_HAS_ALM), in log_satellite_report()
257 CHECK_MASK(float, sv->elevation, mask, RPC_LOC_SV_INFO_VALID_ELEVATION), in log_satellite_report()
258 CHECK_MASK(float, sv->azimuth, mask, RPC_LOC_SV_INFO_VALID_AZIMUTH), in log_satellite_report()
259 CHECK_MASK(float, sv->snr, mask, RPC_LOC_SV_INFO_VALID_SNR) in log_satellite_report()
/hardware/qcom/sdm845/gps/sdm845/core/
DLocAdapterBase.h75 LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask,
80 inline LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask,
83 LocAdapterBase(mask, context, false, adapterProxyBase) {} in LocAdapterBase() argument
86 checkMask(LOC_API_ADAPTER_EVENT_MASK_T mask) const { in checkMask() argument
87 return mEvtMask & mask; in checkMask()
159 virtual bool requestATL(int connHandle, LocAGpsType agps_type, LocApnTypeMask mask);
161 virtual bool requestSuplES(int connHandle, LocApnTypeMask mask);
/hardware/qcom/sdm845/gps/msm8084/utils/
Dloc_log.h51 #define CHECK_MASK(type, value, mask_var, mask) \ argument
52 ((mask_var & mask) ? (type) value : (type) (-1))
55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
/hardware/qcom/sdm845/gps/utils/
Dloc_log.h51 #define CHECK_MASK(type, value, mask_var, mask) \ argument
52 ((mask_var & mask) ? (type) value : (type) (-1))
55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);
/hardware/qcom/sdm845/gps/msm8994/utils/
Dloc_log.h51 #define CHECK_MASK(type, value, mask_var, mask) \ argument
52 ((mask_var & mask) ? (type) value : (type) (-1))
55 const char* loc_get_name_from_mask(loc_name_val_s_type table[], int table_size, long mask);

12345678910>>...17