Home
last modified time | relevance | path

Searched refs:pStr (Results 1 - 6 of 6) sorted by relevance

/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Dmock_domain_so_plugin.cpp29 static void SetPluginString(const std::string &str, PluginString &pStr) in SetPluginString() argument
33 pStr.data = nullptr; in SetPluginString()
34 pStr.length = 0; in SetPluginString()
37 pStr.data = strdup(str.c_str()); in SetPluginString()
38 if (pStr.data == nullptr) { in SetPluginString()
40 pStr.length = 0; in SetPluginString()
43 pStr.length = str.length(); in SetPluginString()
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_network.c627 static int32_t MoveLeftBracket(char **pStr) in MoveLeftBracket() argument
629 if (*pStr == NULL) { in MoveLeftBracket()
630 TELEPHONY_LOGE("pStr is nullptr"); in MoveLeftBracket()
633 *pStr = strchr(*pStr, '('); in MoveLeftBracket()
634 if (*pStr == NULL) { in MoveLeftBracket()
635 TELEPHONY_LOGE("pStr is nullptr"); in MoveLeftBracket()
638 (*pStr)++; in MoveLeftBracket()
864 char *pStr = (char *)str; in ParseCellInfoGsm() local
867 TELEPHONY_LOGD("ParseCellInfoGsm %{public}s", pStr); in ParseCellInfoGsm()
901 char *pStr = (char *)str; ParseCellInfoLte() local
935 char *pStr = (char *)str; ParseCellInfoWcdma() local
966 char *pStr = (char *)str; ParseCellInfoCdma() local
1012 char *pStr = (char *)str; ParseCellInfoTdscdma() local
1058 char *pStr = (char *)str; ParseCellInfoNr() local
1087 char *pStr = (char *)str; ParseCellInfos() local
1451 char *pStr = strsep(&str, ";"); ProcessCurrentCellList() local
[all...]
H A Dvendor_util.c397 char *pStr = str; in ParseReportError() local
399 if (pStr == NULL) { in ParseReportError()
403 if (!SkipATPrefix(&pStr)) { in ParseReportError()
404 NextInt(&pStr, &ret); in ParseReportError()
417 char *pStr = response->result; in GetReportErrorInfo() local
418 if (ReportStrWith(pStr, "+CME ERROR:")) { in GetReportErrorInfo()
420 } else if (ReportStrWith(pStr, "+CMS ERROR:")) { in GetReportErrorInfo()
425 ret = ParseReportError(pStr); in GetReportErrorInfo()
H A Dat_call.c123 char *pStr = (char *)str; in ReportCallStateUpdated() local
130 if (SkipATPrefix(&pStr) < 0) { in ReportCallStateUpdated()
133 if (NextInt(&pStr, &callId) < 0) { in ReportCallStateUpdated()
136 if (NextInt(&pStr, &state) < 0) { in ReportCallStateUpdated()
139 if (NextInt(&pStr, &voiceDomain) < 0) { in ReportCallStateUpdated()
151 char *pStr = (char *)str; in ReportSrvccStatusUpdate() local
156 if (SkipATPrefix(&pStr) < 0) { in ReportSrvccStatusUpdate()
159 if (err == HRIL_ERR_SUCCESS && NextInt(&pStr, &srvccStatus.status) < 0) { in ReportSrvccStatusUpdate()
172 char *pStr = (char *)str; in ReportCsChannelInfo() local
179 if (SkipATPrefix(&pStr) < in ReportCsChannelInfo()
221 char *pStr = (char *)str; ReportEmergencyNumberList() local
260 char *pStr = (char *)str; ReportCallUssdNotice() local
[all...]
H A Dat_data.c126 char *pStr = NULL; in ParsePdpCmd() local
132 pStr = str; in ParsePdpCmd()
134 if (SkipATPrefix(&pStr) < 0) { in ParsePdpCmd()
137 if (NextInt(&pStr, &outData->cid) < 0) { in ParsePdpCmd()
140 if (NextInt(&pStr, &outData->active) < 0) { in ParsePdpCmd()
145 if (SkipATPrefix(&pStr) < 0) { in ParsePdpCmd()
148 if (NextInt(&pStr, &outData->cid) < 0) { in ParsePdpCmd()
151 if (NextStr(&pStr, &outData->type) < 0) { in ParsePdpCmd()
395 char *pStr = NULL; in QueryAllSupportPDNInfos() local
410 pStr in QueryAllSupportPDNInfos()
[all...]
/base/account/os_account/services/accountmgr/src/domain_account/
H A Dinner_domain_account_manager.cpp329 static void SetPluginString(const std::string &str, PluginString &pStr) in SetPluginString() argument
333 pStr.data = nullptr; in SetPluginString()
334 pStr.length = 0; in SetPluginString()
337 pStr.data = strdup(str.c_str()); in SetPluginString()
338 if (pStr.data == nullptr) { in SetPluginString()
340 pStr.length = 0; in SetPluginString()
343 pStr.length = str.length(); in SetPluginString()
417 static ErrCode GetAndCleanPluginString(PluginString &pStr, std::string &str) in GetAndCleanPluginString() argument
419 if (pStr.data == nullptr) { in GetAndCleanPluginString()
423 str = std::string(pStr in GetAndCleanPluginString()
[all...]

Completed in 8 milliseconds