Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 231) sorted by relevance

12345678910

/base/user_iam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/enrollmentstartview/config/
DdefaultConstant.ets20 public static ICON_WIDTH: number = 25;
21 public static ICON_HEIGHT: number = 35;
22 public static BACK_ICON_HEIGHT: number = 80;
23 public static BACK_ICON_WIDTH: number = 40;
24 public static RADIO_SIZE: number = 30;
25 public static SINGLE_HEIGHT: number = 100;
26 public static DOUBLE_HEIGHT: number = 120;
27 public static SINGLE_HEIGHT_: number = 70;
28 public static DOUBLE_HEIGHT_: number = 84;
29 public static DIVIDER: number = 1;
[all …]
/base/telephony/core_service/services/sim/src/
Dsim_number_decode.cpp54 bool SimNumberDecode::IsValidNumberString(const std::string &number) in IsValidNumberString() argument
56 for (const auto &num : number) { in IsValidNumberString()
123 …const std::string &number, std::vector<uint8_t> &bcdCodes, const bool includeLen, const int bcdExt… in NumberConvertToBCD() argument
129 const bool hasPlus = (number.find('+') != std::string::npos); in NumberConvertToBCD()
130 uint8_t length = number.length(); in NumberConvertToBCD()
140 for (const auto &num : number) { in NumberConvertToBCD()
186 const std::vector<uint8_t>::const_iterator &codeEnd, std::string &number, const int bcdExtType) in BCDSectionConvertToString() argument
199 number.push_back(c); in BCDSectionConvertToString()
209 number.push_back(c); in BCDSectionConvertToString()
215 const std::vector<uint8_t>::const_iterator &codeEnd, std::string &number, const int bcdExtType) in BCDConvertToString() argument
[all …]
/base/compileruntime/js_sys_module/
DREADME_zh.md62 | const uid :number | 返回进程的数字用户 ID。 |
63 | const gid :number | 返回进程的数字组 ID。 |
64 | const euid :number | 返回进程的数字有效用户身份。 |
65 | const egid :number | 返回 node.js 进程的数字有效组 ID。 |
66 | const groups :number[] | 返回具有补充组 ID 的数组。 |
67 | const pid :number | 返回进程的PID。 |
68 | const ppid :number | 返回当前进程的父进程的PID。 |
70 | uptime() :number | 返回当前系统已经运行的秒数。 |
71 | Kill(pid:number, signal:number) :boolean | 将信号发送到识别的进程PID,true表示发送成功。 |
74 | exit(code:number):void | 导致 node.js 进程立即退出。 |
[all …]
DREADME.md62 | const uid :number | returns the digital user ID of the process. |
63 | const gid :number | returns the numeric group ID of the process. |
64 | const euid :number | returns the numeric valid user identity of the process. |
65 | const egid :number | returns the numeric valid group ID of the node.js process. |
66 | const groups :number[] | returns an array with supplementary group ID. |
67 | const pid :number | returns the PID of the process. |
68 | const ppid :number | returns the PID of the parent process of the current process. |
70 | uptime() :number | returns the number of seconds the current system has been running. |
71 | Kill(pid:number, signal:number) :boolean | send the signal to the identified process PID, and tru…
74 | exit(code:number):void | cause the node.js process to exit immediately. |
[all …]
/base/telephony/core_service/
DREADME_zh.md74 | function getSimState(slotId: number, callback: AsyncCallback\<SimState>): void; | 获取指定卡槽的SIM卡状态 …
75 | function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的GID1(Gr…
76 | function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的ICCID(…
77 | function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡…
78 | function getSimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽S…
79 | function getSimSpn(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的运营商SPN(S…
80 | function getDefaultVoiceSlotId(callback: AsyncCallback\<number>): void; | 获取语音业务的默认卡卡槽 …
81 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | 检查指定卡槽的SIM卡是否激活 …
82 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | 检查SIM卡是否插入指定卡槽 …
83 | function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void | 获取指定卡槽SI…
[all …]
DREADME.md74 | function getSimState(slotId: number, callback: AsyncCallback\<SimState>): void; | Get the SIM car…
75 | function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void; | Get the GID1 of th…
76 | function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void; | Get the ICCID (In…
77 | function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void; | Get t…
78 …SimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void; | Get the PLMN (Public…
79 | function getSimSpn(slotId: number, callback: AsyncCallback\<string>): void; | Get the SPN (Servic…
80 | function getDefaultVoiceSlotId(callback: AsyncCallback\<number>): void; | Get the default card sl…
81 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | Check whether the…
82 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | Check whether the…
83 | function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void | Get the …
[all …]
/base/global/i18n_lite/frameworks/i18n/src/
Dplural_format_impl.cpp77 int PluralFormatImpl::GetPluralRuleIndex(double number, I18nStatus status) const in GetPluralRuleIndex() argument
85 int integerNumber = (int)number; in GetPluralRuleIndex()
87 ComputeDecimalInfo(number, integerNumber, numberInfo, NUMBER_INFO_SIZE); in GetPluralRuleIndex()
133 void PluralFormatImpl::ComputeDecimalInfo(double number, int integerNumber, int *numberInfo, in ComputeDecimalInfo() argument
141 double temp = number * pow(10, i); in ComputeDecimalInfo()
217 int PluralFormatImpl::GetPluralRuleIndex(int number, I18nStatus status) const in GetPluralRuleIndex() argument
225 …s->mZeroRuleSize > 0) && ParseRule(mPluralRules->mZeroRule, mPluralRules->mZeroRuleSize, number)) { in GetPluralRuleIndex()
228 ParseRule(mPluralRules->mOneRule, mPluralRules->mOneRuleSize, number)) { in GetPluralRuleIndex()
231 ParseRule(mPluralRules->mTwoRule, mPluralRules->mTwoRuleSize, number)) { in GetPluralRuleIndex()
234 ParseRule(mPluralRules->mFewRule, mPluralRules->mFewRuleSize, number)) { in GetPluralRuleIndex()
[all …]
Dplural_format.cpp59 int PluralFormat::GetPluralRuleIndex(int number, I18nStatus status) in GetPluralRuleIndex() argument
67 return impl->GetPluralRuleIndex(number, status); in GetPluralRuleIndex()
70 int PluralFormat::GetPluralRuleIndex(double number, I18nStatus status) in GetPluralRuleIndex() argument
78 return impl->GetPluralRuleIndex(number, status); in GetPluralRuleIndex()
/base/telephony/sms_mms/
DREADME_zh.md58 | function createMessage(pdu: Array\<number>, specification: string, callback: AsyncCallback、\<Shor…
59 | function createMessage(pdu: Array\<number>, specification: string): Promise\<ShortMessage> | 根据协议…
60 | function getDefaultSmsSlotId(callback: AsyncCallback\<number>): void | 获取发送短信的默认SIM卡槽,使用callback方…
61 | function getDefaultSmsSlotId():Promise\<number> | 获取发送短信的默认SIM卡,使用Promise方式异步返回默认SIM…
62 | function setSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback\<void>): void | 设置…
63 | function setSmscAddr(slotId: number, smscAddr: string): Promise\<void> | 设置短信服务中心地址,使用Promise方式异步…
64 | function getSmscAddr(slotId: number, callback: AsyncCallback\<string>): void | 获取短信服务中心地址,使用callb…
65 | function getSmscAddr(slotId: number): Promise\<string> | 获取短信服务中心地址,使用Promise方式异步返回短信服务中心地址…
71 | slotId | number | 卡槽id | 是 …
74 | content | content \| Array\<number> | 短信内容 | 是 …
[all …]
/base/global/i18n_lite/frameworks/i18n/include/
Dplural_format_impl.h30 int GetPluralRuleIndex(int number, I18nStatus status) const;
31 int GetPluralRuleIndex(double number, I18nStatus status) const;
39 bool ParseRule(const std::string &rule, const int ruleSize, const int number) const;
40 …bool ParseFormula(const std::string &rule, const int ruleSize, int &index, const int number) const;
41 …bool CompareResult(const std::string &rule, const int ruleSize, int &index, const int number) cons…
42 …areNotEqualResult(const std::string &rule, const int ruleSize, int &index, const int number) const;
48 …void ComputeDecimalInfo(double number, int integerNumber, int *numberInfo, const int numberInfoSiz…
/base/telephony/core_service/interfaces/innerkits/include/
Ddialling_numbers_info.h102 DiallingNumbersInfo(std::u16string &alphaTag, std::u16string &number) in DiallingNumbersInfo() argument
104 DiallingNumbersInfo(0, 0, alphaTag, number); in DiallingNumbersInfo()
107 …DiallingNumbersInfo(std::u16string alphaTag, std::u16string number, std::vector<std::u16string> &e… in DiallingNumbersInfo() argument
109 DiallingNumbersInfo(0, 0, alphaTag, number, emails); in DiallingNumbersInfo()
112 …lingNumbersInfo(int32_t efid, int32_t recordNumber, std::u16string alphaTag, std::u16string number, in DiallingNumbersInfo() argument
118 number_ = number; in DiallingNumbersInfo()
122 …ngNumbersInfo(int32_t efid, int32_t recordNumber, std::u16string &alphaTag, std::u16string &number) in DiallingNumbersInfo() argument
127 number_ = number; in DiallingNumbersInfo()
152 void UpdateNumber(std::u16string number) in UpdateNumber() argument
154 number_ = number; in UpdateNumber()
/base/miscservices/inputmethod/interfaces/kits/js/napi/inputmethodengine/src/
Djs_text_input_client.cpp113 int32_t number; in OnDeleteForward() local
114 if (!ConvertFromJsValue(engine, nativeString, number)) { in OnDeleteForward()
119 InputMethodAbility::GetInstance()->DeleteForward(number); in OnDeleteForward()
137 int32_t number; in OnDeleteBackward() local
138 if (!ConvertFromJsValue(engine, nativeString, number)) { in OnDeleteBackward()
143 InputMethodAbility::GetInstance()->DeleteBackward(number); in OnDeleteBackward()
161 int32_t number; in OnSendFunctionKey() local
162 if (!ConvertFromJsValue(engine, nativeString, number)) { in OnSendFunctionKey()
167 InputMethodAbility::GetInstance()->SendFunctionKey(number); in OnSendFunctionKey()
185 int32_t number; in OnGetForward() local
[all …]
/base/global/i18n_standard/frameworks/intl/src/
Dplural_rules.cpp107 …numberFormatter = icu::number::NumberFormatter::withLocale(locale).roundingMode(UNUM_ROUND_HALFUP); in InitNumberFormatter()
109 … numberFormatter = numberFormatter.integerWidth(icu::number::IntegerWidth::zeroFillTo(minInteger)); in InitNumberFormatter()
114 … icu::number::Precision precision = icu::number::Precision::minMaxSignificantDigits(minSignificant, in InitNumberFormatter()
118 …icu::number::Precision precision = icu::number::Precision::minMaxFraction(minFraction, maxFraction… in InitNumberFormatter()
139 std::string PluralRules::Select(double number) in Select() argument
142 icu::number::FormattedNumber formattedNumber = numberFormatter.formatDouble(number, status); in Select()
145 formattedNumber = numberFormatter.formatDouble(number, status); in Select()
Dphone_number_format.cpp54 bool PhoneNumberFormat::isValidPhoneNumber(const std::string &number) const in isValidPhoneNumber()
57 PhoneNumberUtil::ErrorType type = util->Parse(number, country, &phoneNumber); in isValidPhoneNumber()
64 std::string PhoneNumberFormat::format(const std::string &number) const in format()
67 PhoneNumberUtil::ErrorType type = util->Parse(number, country, &phoneNumber); in format()
Dnumber_format.cpp72 numberFormat = icu::number::NumberFormatter::withLocale(locale); in NumberFormat()
81 numberFormat = icu::number::NumberFormatter::withLocale(locale); in NumberFormat()
121 …numberFormat = numberFormat.precision(icu::number::Precision::maxFraction(DEFAULT_FRACTION_DIGITS)… in InitProperties()
141 …numberFormat = numberFormat.precision(icu::number::Precision::maxSignificantDigits(maxSignificantD… in InitDigitsProperties()
145 …numberFormat = numberFormat.precision(icu::number::Precision::minSignificantDigits(minSignificantD… in InitDigitsProperties()
150 … numberFormat.integerWidth(icu::number::IntegerWidth::zeroFillTo(std::stoi(minimumIntegerDigits))); in InitDigitsProperties()
154 … numberFormat.precision(icu::number::Precision::minFraction(std::stoi(minimumFractionDigits))); in InitDigitsProperties()
158 … numberFormat.precision(icu::number::Precision::maxFraction(std::stoi(maximumFractionDigits))); in InitDigitsProperties()
207 notation = icu::number::Notation::scientific(); in ParseDigitsConfigs()
209 notation = icu::number::Notation::engineering(); in ParseDigitsConfigs()
[all …]
/base/hiviewdfx/faultloggerd/services/
Dfault_logger_config.cpp29 FaultLoggerConfig::FaultLoggerConfig(const int number, const long size, const std::string& path, co… in FaultLoggerConfig() argument
30 :logFileNumber_(number), logFileSize_(size), logFilePath_(path), debugLogFilePath_(debugPath) in FaultLoggerConfig()
33 FAULTLOGGER_CONFIG_TAG.c_str(), number, size, path.c_str(), debugPath.c_str()); in FaultLoggerConfig()
47 bool FaultLoggerConfig::SetLogFileMaxNumber(const int number) in SetLogFileMaxNumber() argument
49 logFileNumber_ = number; in SetLogFileMaxNumber()
/base/startup/init_lite/services/begetctl/
Dmain.c61 int number = argc; in main() local
64 number = argc - 1; in main()
67 if (number >= 1 && strcmp(args[0], "devctl") == 0) { in main()
75 BShellEnvDirectExecute(g_handle, number, args); in main()
/base/miscservices/inputmethod/frameworks/inputmethod_controller/src/
Dinput_data_channel_stub.cpp62 auto number = data.ReadInt32(); in OnRemoteRequest() local
63 reply.WriteString16(GetTextBeforeCursor(number)); in OnRemoteRequest()
67 auto number = data.ReadInt32(); in OnRemoteRequest() local
68 reply.WriteString16(GetTextAfterCursor(number)); in OnRemoteRequest()
148 std::u16string InputDataChannelStub::GetTextBeforeCursor(int32_t number) in GetTextBeforeCursor() argument
151 return InputMethodController::GetInstance()->GetTextBeforeCursor(number); in GetTextBeforeCursor()
154 std::u16string InputDataChannelStub::GetTextAfterCursor(int32_t number) in GetTextAfterCursor() argument
157 return InputMethodController::GetInstance()->GetTextAfterCursor(number); in GetTextAfterCursor()
/base/telephony/call_manager/services/audio/src/
Dcall_state_processor.cpp100 int32_t number = EMPTY_VALUE; in GetCallNumber() local
103 number = alertingCalls_.size(); in GetCallNumber()
106 number = incomingCalls_.size(); in GetCallNumber()
109 number = activeCalls_.size(); in GetCallNumber()
112 number = holdingCalls_.size(); in GetCallNumber()
117 return number; in GetCallNumber()
/base/telephony/core_service/services/sim/include/
Dsim_number_decode.h34 static bool NumberConvertToBCD(const std::string &number, std::vector<uint8_t> &bcdCodes,
38 const std::vector<uint8_t>::const_iterator &codeEnd, std::string &number,
44 static bool IsValidNumberString(const std::string &number);
48 … const std::vector<uint8_t>::const_iterator &codeEnd, std::string &number, const int bcdExtType);
/base/miscservices/screenlock/
DREADME_ZH.md51 | on(type: 'beginSleep' , callback: Callback<number>): void; | 锁屏应用注册开始休眠监听事件 |
52 | on(type: 'endSleep' , callback: Callback<number>): void; | 锁屏应用注册结束休眠监听事件 |
53 | on(type: 'changeUser', callback: Callback<number>): void; | 锁屏应用注册切换用户监听事件 |
64 | off(type: 'beginSleep' , callback: Callback<number>): void;<boolean>): void; | 锁屏应用取消开始休眠监听事件 |
65 | off(type: 'endSleep' , callback: Callback<number>): void;<boolean>): void; | 锁屏应用取消结束休眠监听事件 |
66 | off(type: 'changeUser', callback: Callback<number>): void;<boolean>): void; | 锁屏应用取消切换用户监听事件 |
68 | sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void; | …
69 | sendScreenLockEvent(event: String, parameter: number): Promise<boolean>; | 锁屏应用给锁屏管理服务发送事件,promis…
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp710 std::string number = "0-0-0"; variable
711 std::u16string phoneNumber = Str8ToStr16(number);
727 std::string number = "112"; variable
728 std::u16string phoneNumber = Str8ToStr16(number);
744 std::string number = "911"; variable
745 std::u16string phoneNumber = Str8ToStr16(number);
761 std::string number = "08"; variable
762 std::u16string phoneNumber = Str8ToStr16(number);
778 std::string number = "118"; variable
779 std::u16string phoneNumber = Str8ToStr16(number);
[all …]
/base/telephony/state_registry/
DREADME_zh.md55 | function on(type: String, options: { slotId?: number }, callback: AsyncCallback\<T\>): void; | 开启…
57 | function once(type: String, options: { slotId?: number }, callback: AsyncCallback\<T\>): void; | …
98 console.log(`success on. number is ` + value.number + ", state is " + value.state);
109 console.log(`success once. number is ` + value.number + ", state is " + value.state);
/base/global/i18n_lite/interfaces/kits/i18n/include/
Dplural_format.h82 int GetPluralRuleIndex(int number, I18nStatus status);
92 int GetPluralRuleIndex(double number, I18nStatus status);
/base/user_iam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/enrollmentstartview/controller/
DcommonController.ets56 getHeightPercentageBegin(width: number, height: number) :string {
65 setNonAppBarDisplaySize(nonAppBarDisplayWidth: number, nonAppBarDisplayHeight: number) {
78 setDisplaySize(displayWidth: number, displayHeight: number) {

12345678910