Home
last modified time | relevance | path

Searched refs:category (Results 1 - 25 of 25) sorted by relevance

/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/src/
H A Dphone_number_rule.cpp108 std::string category = reinterpret_cast<const char*>(cur->name); in InitRule() local
109 ParseXmlNode(cur, category); in InitRule()
115 void PhoneNumberRule::ParseXmlNode(xmlNodePtr cur, std::string& category) in ParseXmlNode() argument
122 if (category == "common_exit") { in ParseXmlNode()
144 SetRules(category, content, valid, handle, insensitive, type); in ParseXmlNode()
173 void PhoneNumberRule::SetRules(std::string& category, icu::UnicodeString& content, std::string& valid, in SetRules() argument
176 if (category == "negative" || (category == "common" && commonExit)) { in SetRules()
178 } else if (category == "positive") { in SetRules()
180 } else if (category in SetRules()
[all...]
/base/startup/appspawn/modules/sandbox/
H A Dappspawn_mount_template.c92 return DEF_MOUNT_ARG_TMP[i].category; in GetMountCategory()
98 const MountArgTemplate *GetMountArgTemplate(uint32_t category) in GetMountArgTemplate() argument
101 if (category > count) { in GetMountArgTemplate()
105 if (DEF_MOUNT_ARG_TMP[i].category == category) { in GetMountArgTemplate()
176 const MountArgTemplate *tmp = GetMountArgTemplate(pathNode->category); in DumpMountPathMountNode()
180 APPSPAPWN_DUMP(" sandbox node category: %{public}u(%{public}s)", tmp->category, tmp->name); in DumpMountPathMountNode()
H A Dappspawn_sandbox.h129 uint32_t category; member
346 uint32_t category; member
359 const MountArgTemplate *GetMountArgTemplate(uint32_t category);
H A Dappspawn_sandbox.c253 uint32_t category = sandboxNode->category; in GetMountArgs() local
254 const MountArgTemplate *tmp = GetMountArgTemplate(category); in GetMountArgs()
262 return category; in GetMountArgs()
392 static int32_t SetMountArgsOption(const SandboxContext *context, uint32_t category, uint32_t operation, MountArg *args) in SetMountArgsOption() argument
394 if ((category != MOUNT_TMP_DAC_OVERRIDE) && (category != MOUNT_TMP_DAC_OVERRIDE_DELETE)) { in SetMountArgsOption()
419 uint32_t category = GetMountArgs(context, sandboxNode, operation, args); in DoSandboxMountByCategory() local
422 ret = SetMountArgsOption(context, category, operation, args); in DoSandboxMountByCategory()
428 if (category in DoSandboxMountByCategory()
444 uint32_t category = GetMountArgs(context, sandboxNode, operation, &args); DoSandboxPathNodeMount() local
[all...]
H A Dsandbox_load.c230 sandboxNode->category = GetMountCategory(GetStringFromJsonObj(config, "category")); in DecodeMountPathConfig()
/base/global/i18n/frameworks/intl/entity_recognition/phone_number_recognition/include/
H A Dphone_number_rule.h50 void SetRules(std::string& category, icu::UnicodeString& content, std::string& valid,
52 void ParseXmlNode(xmlNodePtr cur, std::string& category);
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Ddate_time_rule.cpp102 std::string category = reinterpret_cast<const char*>(cur->name); in InitRules() local
103 if (category == "sub_rules_map") { in InitRules()
115 } else if (this->loadMap.find(category) != this->loadMap.end()) { in InitRules()
117 LoadStrToStr(this->loadMap[category], valueNext); in InitRules()
118 } else if (category == "pattern") { in InitRules()
137 std::string category = reinterpret_cast<const char*>(cur->name); in InitRuleBackup() local
139 if (category == "param") { in InitRuleBackup()
141 } else if (category == "locale_rules") { in InitRuleBackup()
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/
H A Dpanic_error_info_handle.h34 char category[CATEGORY_MAX_LEN]; member
56 * Get Top category when painc.
61 * Get category when painc.
H A Dpanic_error_info_handle.cpp34 /* fault category type */
44 /* top category type */
68 const char *category; member
147 fout << "category[" << GetCategory(info->module, info->event) << "],"; in SaveHistoryLog()
156 HIVIEW_LOGE("category: %{public}s, event: %{public}s", in SaveHistoryLog()
215 return g_errorInfoCategories[i].map.category; in GetCategory()
/base/global/i18n/frameworks/intl/src/
H A Dcharacter.cpp138 int8_t category = u_charType(char32); in GetType() local
139 return categoryMap[UCharCategory(category)]; in GetType()
/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_call_parcel.h161 int32_t category = 0; member
/base/telephony/ril_adapter/test/fuzztest/callemergencynotice_fuzzer/
H A Dcallemergencynotice_fuzzer.cpp46 info.category = static_cast<int32_t>(*data + offset); in DoSomethingInterestingWithMyAPI()
/base/telephony/sms_mms/services/sms/include/
H A Dsms_cb_data.h35 uint16_t category = static_cast<uint16_t>(SmsCmaeCategory::RESERVED); member
/base/telephony/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_call_defs.h380 int32_t category; member
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandbox_new_test.cpp55 \"category\": \"shared\", \
62 \"category\": \"rdonly\", \
69 \"category\": \"epfs\", \
76 \"category\": \"dac_override\", \
81 \"category\": \"fuse\", \
93 \"category\": \"shared\" \
107 \"category\": \"shared\" \
116 \"category\": \"shared\" \
129 \"category\": \"shared\" \
142 \"category\"
[all...]
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_cb_handler.cpp381 cbMessage->GetServiceCategory(sendData.category); in GetCbData()
396 want.SetParam(SmsCbData::SERVICE_CATEGORY, static_cast<int>(sendData.category)); in PackageWantData()
/base/telephony/sms_mms/services/sms/cdma/
H A Dcdma_sms_receive_handler.cpp301 want.SetParam(SmsCbData::SERVICE_CATEGORY, static_cast<int>(sendData.category)); in SetCBBroadcastParam()
340 sendData.category = message->GetServiceCategoty(); in GetCBData()
H A Dcdma_sms_message.cpp112 /* 2. Set Service category */ in GreateTransMsg()
370 category_ = static_cast<int8_t>(deliver.cmasData.category); in AnalsisCMASMsg()
H A Dcdma_sms_sub_parameter.cpp887 data_.category = static_cast<enum SmsCmaeCategory>(v1); in DecodeType1Data()
/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_config.cpp560 to.eccType = EccType(from.category); in BuildEmergencyCall()
796 std::string category = number.substr(startOps, pos); in BuildDefaultEmergencyCall() local
797 emergencyCall.eccType = static_cast<EccType>(std::atoi(category.c_str())); in BuildDefaultEmergencyCall()
/base/telephony/sms_mms/services/sms/include/cdma/
H A Dcdma_sms_common.h281 SmsCmaeCategory category; member
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_call.c238 if (NextInt(&pStr, &pEmergencyInfo.category) < 0) { in ReportEmergencyNumberList()
1333 if (NextInt(&pLine, &outCall->category) < 0) { in CallCmdXLEMA()
1463 emergencyInfo[i].total, emergencyInfo[i].eccNum, emergencyInfo[i].category, emergencyInfo[i].simpresent, in ReqSetEmergencyCallList()
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_call.cpp761 callInfo.eccType = static_cast<OHOS::HDI::Ril::V1_1::EccType>(curPtr->category); in BuildIEmergencyCallList()
811 emergencyInfoCalls[i].category = static_cast<int32_t>(call.eccType); in CopyToHRilEmergencyInfoArray()
/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_call.cpp676 call.category = ecc.simpresent; in BuildEmergencyInfoList()
/base/telephony/sms_mms/test/unittest/
H A Dcdma_sms_test.cpp292 cout << s << "category : " << static_cast<uint32_t>(cmasData.category) << endl; in PrintCmasData()

Completed in 26 milliseconds