/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
D | PrefixParser.cpp | 148 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/qcom/sdm845/data/ipacfg-mgr/hal/src/ |
D | PrefixParser.cpp | 154 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/sm8150/data/ipacfg-mgr/hal/src/ |
D | PrefixParser.cpp | 154 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/sm8150p/gps/core/ |
D | LocAdapterBase.cpp | 44 LocAdapterBase::LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, in LocAdapterBase() argument 47 mIsMaster(isMaster), mEvtMask(mask), mContext(context), in LocAdapterBase() 265 LocationCapabilitiesMask mask = 0; in getCapabilities() local 269 mask |= LOCATION_CAPABILITIES_TIME_BASED_TRACKING_BIT; in getCapabilities() 272 mask |= LOCATION_CAPABILITIES_TIME_BASED_BATCHING_BIT | in getCapabilities() 276 mask |= LOCATION_CAPABILITIES_DISTANCE_BASED_TRACKING_BIT; in getCapabilities() 279 mask |= LOCATION_CAPABILITIES_OUTDOOR_TRIP_BATCHING_BIT; in getCapabilities() 282 mask |= LOCATION_CAPABILITIES_GEOFENCE_BIT; in getCapabilities() 284 mask |= LOCATION_CAPABILITIES_GNSS_MEASUREMENTS_BIT; in getCapabilities() 288 mask |= LOCATION_CAPABILITIES_GNSS_MSB_BIT; in getCapabilities() [all …]
|
/hardware/libhardware/modules/input/evdev/ |
D | BitUtils.cpp | 54 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/qcom/sm7150/gps/core/ |
D | LocAdapterBase.cpp | 44 LocAdapterBase::LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, in LocAdapterBase() argument 48 mIsMaster(isMaster), mEvtMask(mask), mContext(context), in LocAdapterBase() 272 LocationCapabilitiesMask mask = 0; in getCapabilities() local 276 mask |= LOCATION_CAPABILITIES_TIME_BASED_TRACKING_BIT; in getCapabilities() 279 mask |= LOCATION_CAPABILITIES_TIME_BASED_BATCHING_BIT | in getCapabilities() 283 mask |= LOCATION_CAPABILITIES_DISTANCE_BASED_TRACKING_BIT; in getCapabilities() 286 mask |= LOCATION_CAPABILITIES_OUTDOOR_TRIP_BATCHING_BIT; in getCapabilities() 289 mask |= LOCATION_CAPABILITIES_GEOFENCE_BIT; in getCapabilities() 291 mask |= LOCATION_CAPABILITIES_GNSS_MEASUREMENTS_BIT; in getCapabilities() 295 mask |= LOCATION_CAPABILITIES_GNSS_MSB_BIT; in getCapabilities() [all …]
|
/hardware/qcom/sm8150/gps/core/ |
D | LocAdapterBase.cpp | 44 LocAdapterBase::LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, in LocAdapterBase() argument 48 mIsMaster(isMaster), mEvtMask(mask), mContext(context), in LocAdapterBase() 272 LocationCapabilitiesMask mask = 0; in getCapabilities() local 276 mask |= LOCATION_CAPABILITIES_TIME_BASED_TRACKING_BIT; in getCapabilities() 279 mask |= LOCATION_CAPABILITIES_TIME_BASED_BATCHING_BIT | in getCapabilities() 283 mask |= LOCATION_CAPABILITIES_DISTANCE_BASED_TRACKING_BIT; in getCapabilities() 286 mask |= LOCATION_CAPABILITIES_OUTDOOR_TRIP_BATCHING_BIT; in getCapabilities() 289 mask |= LOCATION_CAPABILITIES_GEOFENCE_BIT; in getCapabilities() 291 mask |= LOCATION_CAPABILITIES_GNSS_MEASUREMENTS_BIT; in getCapabilities() 295 mask |= LOCATION_CAPABILITIES_GNSS_MSB_BIT; in getCapabilities() [all …]
|
/hardware/interfaces/usb/gadget/1.1/default/lib/ |
D | MonitorFfs.cpp | 73 if (i->mask & IN_ACCESS) ALOGE("IN_ACCESS "); in displayInotifyEvent() 74 if (i->mask & IN_ATTRIB) ALOGE("IN_ATTRIB "); in displayInotifyEvent() 75 if (i->mask & IN_CLOSE_NOWRITE) ALOGE("IN_CLOSE_NOWRITE "); in displayInotifyEvent() 76 if (i->mask & IN_CLOSE_WRITE) ALOGE("IN_CLOSE_WRITE "); in displayInotifyEvent() 77 if (i->mask & IN_CREATE) ALOGE("IN_CREATE "); in displayInotifyEvent() 78 if (i->mask & IN_DELETE) ALOGE("IN_DELETE "); in displayInotifyEvent() 79 if (i->mask & IN_DELETE_SELF) ALOGE("IN_DELETE_SELF "); in displayInotifyEvent() 80 if (i->mask & IN_IGNORED) ALOGE("IN_IGNORED "); in displayInotifyEvent() 81 if (i->mask & IN_ISDIR) ALOGE("IN_ISDIR "); in displayInotifyEvent() 82 if (i->mask & IN_MODIFY) ALOGE("IN_MODIFY "); in displayInotifyEvent() [all …]
|
/hardware/google/pixel/usb/ |
D | MonitorFfs.cpp | 77 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/msm8x09/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #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/ |
D | msm-adie-codec.h | 39 #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/msm8x26/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #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/ |
D | msm-adie-codec.h | 39 #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/msm8x84/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #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/ |
D | msm-adie-codec.h | 39 #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/msm8996/kernel-headers/linux/mfd/ |
D | msm-adie-codec.h | 39 #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/gps/msm8960/utils/ |
D | loc_log.h | 51 #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/gps/msm8994/utils/ |
D | loc_log.h | 51 #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/msm8960/utils/ |
D | loc_log.h | 51 #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/msm8084/utils/ |
D | loc_log.h | 51 #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/ |
D | loc_log.h | 51 #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/gps/utils/ |
D | loc_log.h | 51 #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/ |
D | loc_log.h | 51 #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/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
D | loc_api_log.c | 249 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/ |
D | loc_api_log.c | 249 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()
|