Searched refs:mid (Results 1 – 10 of 10) sorted by relevance
/base/update/updateservice/services/firmware/utils/src/ |
D | firmware_combine_version_utils.cpp | 62 std::string::size_type mid = start; in HandleBaseVersionLog() local 64 while (mid < end) { in HandleBaseVersionLog() 65 mid++; in HandleBaseVersionLog() 66 if (isdigit(baseVersion[mid])) { in HandleBaseVersionLog() 74 if ((mid == end) && (!isNumbers)) { in HandleBaseVersionLog() 75 log = baseVersion.substr(start, mid - start); in HandleBaseVersionLog() 79 base = baseVersion.substr(start, mid - start); in HandleBaseVersionLog() 80 log = baseVersion.substr(mid, end - mid); in HandleBaseVersionLog() 85 std::string::size_type mid = custVersion.find_last_of("("); in HandleCustVersion() local 88 if ((start == std::string::npos) || (mid == std::string::npos) || (end == std::string::npos)) { in HandleCustVersion() [all …]
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | data_resource.cpp | 130 int32_t mid = low + (high - low) / 2; in BinarySearchString() local 131 if (mid > static_cast<int32_t>(stringLength)) { in BinarySearchString() 134 uint32_t temp = indexArray[mid]; in BinarySearchString() 136 return stringArray[mid]; in BinarySearchString() 138 low = mid + 1; in BinarySearchString() 140 high = mid - 1; in BinarySearchString() 451 int32_t mid = low + (high - low) / 2; in BinarySearchLocale() local 452 if (mid > 1024) { // locales count < 1024 in BinarySearchLocale() 455 uint32_t midMask = ConvertUint(locales + mid * GLOBAL_LOCALE_MASK_ITEM_SIZE); in BinarySearchLocale() 457 return mid; in BinarySearchLocale() [all …]
|
/base/hiviewdfx/faultloggerd/frameworks/unwinder/ |
D | dfx_symbols.cpp | 114 size_t mid = begin + (end - begin) / 2; in GetNameAndOffsetByPc() local 115 const SymbolInfo& symbol = symbols_[mid]; in GetNameAndOffsetByPc() 117 end = mid; in GetNameAndOffsetByPc() 123 begin = mid + 1; in GetNameAndOffsetByPc()
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril_sms_parcel.h | 163 int32_t mid = 0; member
|
D | hril_vendor_sms_defs.h | 139 int32_t mid; member
|
/base/telephony/core_service/services/sim/test/ |
D | test.cpp | 295 static bool Among(int mid, PinWordSize min, PinWordSize max) in Among() argument 299 return ((mid >= minValue) && (mid <= maxValue)); in Among() 302 static bool AmongLock(int mid, PinLockEnable min, PinLockEnable max) in AmongLock() argument 306 return ((mid >= minValue) && (mid <= maxValue)); in AmongLock() 322 static bool AmongLockType(int mid, LockTypeTest min, LockTypeTest max) in AmongLockType() argument 326 return ((mid >= minValue) && (mid <= maxValue)); in AmongLockType() 329 static bool AmongPersoLockType(int mid, PersoLockTypeTest min, PersoLockTypeTest max) in AmongPersoLockType() argument 333 return ((mid >= minValue) && (mid <= maxValue)); in AmongPersoLockType()
|
/base/telephony/core_service/services/tel_ril/src/ |
D | tel_ril_sms.cpp | 448 cellBroadConfigReportInfo->mid = iCellBroadConfigReportInfo.mid; in BuildCBConfigReportInfo()
|
/base/telephony/sms_mms/test/gtest/ |
D | cb_gtest.cpp | 816 message->mid = 0; in ReceiveCellBroadCastTestFunc() 837 message->mid = 0; in ReceiveCellBroadCastTestFunc2()
|
/base/telephony/ril_adapter/services/hril/src/ |
D | hril_sms.cpp | 664 result.mid = cellBroadcastReportInfo->mid; in MakeCBConfigResult()
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_sms.c | 44 ret = NextInt(&pBuff, &response->mid); in ProcessCellBroadcast()
|