Lines Matching refs:printBuf
108 #define startRequest sprintf(printBuf, "(")
109 #define closeRequest sprintf(printBuf, "%s)", printBuf)
111 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
113 #define startResponse sprintf(printBuf, "%s {", printBuf)
114 #define closeResponse sprintf(printBuf, "%s}", printBuf)
115 #define printResponse RLOGD("%s", printBuf)
117 #define clearPrintBuf printBuf[0] = 0
118 #define removeLastChar printBuf[strlen(printBuf)-1] = 0
119 #define appendPrintBuf(x...) snprintf(printBuf, PRINTBUF_SIZE, x)
250 static char printBuf[PRINTBUF_SIZE];
609 appendPrintBuf("%s%s", printBuf, string8);
669 appendPrintBuf("%s%s,", printBuf, pStrings[i]);
725 appendPrintBuf("%s%d,", printBuf, t);
777 appendPrintBuf("%s%d,%s,smsc=%s", printBuf, args.status,
870 appendPrintBuf("%snum=%s,clir=%d", printBuf, dial.address, dial.clir);
872 appendPrintBuf("%s,uusType=%d,uusDcs=%d,uusLen=%d", printBuf,
949 appendPrintBuf("%scmd=0x%X,efid=0x%X,path=%s,%d,%d,%d,%s,pin2=%s,aid=%s", printBuf,
1029 printBuf, apdu.sessionid, apdu.cla, apdu.instruction, apdu.p1, apdu.p2,
1105 appendPrintBuf("%sstat=%d,reason=%d,serv=%d,toa=%d,%s,tout=%d", printBuf,
1151 appendPrintBuf("%sraw_size=%d", printBuf, len);
1234 printBuf, rcsm.uTeleserviceID,rcsm.bIsServicePresent,rcsm.uServicecategory,
1318 appendPrintBuf("%stech=%d, retry=%d, messageRef=%d, ", printBuf,
1352 appendPrintBuf("%s%s,", printBuf, pStrings[i]);
1450 printBuf, rcsa.uErrorClass, rcsa.uSMSCauseCode);
1503 fromCodeScheme=%d, toCodeScheme=%d, selected =%d]", printBuf, i,
1561 entries.bSelected =%d]", printBuf, i, cdmaBci[i].service_category,
1668 printBuf, rcsw.status, rcsw.message.uTeleserviceID, rcsw.message.bIsServicePresent,
1791 printBuf, pf.apn, pf.protocol, pf.authtype, pf.username, pf.password);
1837 appendPrintBuf("%snvri.itemID=%d, ", printBuf, nvri.itemID);
1872 appendPrintBuf("%snvwi.itemID=%d, value=%s, ", printBuf, nvwi.itemID,
2046 waitTime =%d, enabled =%d]", printBuf, i, dataProfiles[i].profileId,
2125 logicalModemUuid:%s, status:%d", printBuf, rc.version, rc.session,
2186 printBuf, cr.len_allowed_carriers, cr.len_excluded_carriers);
2188 appendPrintBuf("%s allowed_carriers:", printBuf);
2200 printBuf, i, p_cr->mcc, p_cr->mnc, p_cr->match_type, p_cr->match_data);
2214 printBuf, i, p_cr->mcc, p_cr->mnc, p_cr->match_type, p_cr->match_data);
2361 appendPrintBuf("%s%d,", printBuf, p_int[i]);
2382 appendPrintBuf("%s%d,", printBuf, p_int[0]);
2389 appendPrintBuf("%s[cause_code=%d,vendor_cause=%s]", printBuf, p_fail_cause_info->cause_code,
2436 appendPrintBuf("%s%s,", printBuf, (char*)p_cur[i]);
2453 appendPrintBuf("%s%s", printBuf, (char*)response);
2513 printBuf,
2518 printBuf,
2525 printBuf,
2556 appendPrintBuf("%s%d,%s,%d", printBuf, p_cur->messageRef,
2591 appendPrintBuf("%s[cid=%d,%s,%s,%s],", printBuf,
2635 appendPrintBuf("%s[status=%d,retry=%d,cid=%d,%s,%s,%s,%s,%s,%s],", printBuf,
2685 appendPrintBuf("%s[status=%d,retry=%d,cid=%d,%s,%s,%s,%s,%s,%s,%s],", printBuf,
2736 appendPrintBuf("%s[status=%d,retry=%d,cid=%d,%s,%s,%s,%s,%s,%s,%s,mtu=%d],", printBuf,
2826 appendPrintBuf("%ssw1=0x%X,sw2=0x%X,%s", printBuf, p_cur->sw1, p_cur->sw2,
2862 appendPrintBuf("%s[%s,reason=%d,cls=%d,toa=%d,%s,tout=%d],", printBuf,
2894 appendPrintBuf("%s%s,code=%d,id=%d,type=%d,%s", printBuf,
2928 appendPrintBuf("%s[cid=%s,rssi=%d],", printBuf,
3037 printBuf, (int)infoRec->rec.signal.isPresent,
3082 lineCtrlPowerDenial=%d, ", printBuf,
3092 appendPrintBuf("%scause%d", printBuf, infoRec->rec.clir.cause);
3099 appendPrintBuf("%supLink=%d, downLink=%d, ", printBuf,
3219 printBuf,
3264 printBuf,
3317 printBuf,
3339 printBuf,
3363 printBuf,
3623 appendPrintBuf("%s modem: uuid=%s,state=%d,rat=%08x,maxV=%d,maxD=%d,maxS=%d", printBuf,
3633 appendPrintBuf("%s sim: uuid=%s,state=%d,modem-uuid=%s", printBuf,
3667 printBuf,
3721 appendPrintBuf("%s[%s,reason=%d,cls=%d,toa=%d,%s,tout=%d],", printBuf,
3732 appendPrintBuf("%s%d,", printBuf, p_cur->ssInfo[i]);
3787 printBuf,
3871 printBuf, i, p_cur[i]->fromServiceId, p_cur[i]->toServiceId,
3895 printBuf, i, p_cur[i]->service_category, p_cur[i]->language,
3954 printBuf, p_cur->uTeleserviceID,p_cur->bIsServicePresent,p_cur->uServicecategory,
3974 appendPrintBuf("%s[time=%d,powerState=%d]", printBuf,
4082 appendPrintBuf(" %s len_allowed_carriers: %d, len_excluded_carriers: %d,", printBuf,
4085 appendPrintBuf(" %s allowed_carriers:", printBuf);
4092 appendPrintBuf(" %s [%d mcc: %s, mnc: %s, match_type: %d, match_data: %s],", printBuf,
4096 appendPrintBuf(" %s excluded_carriers:", printBuf);
4103 appendPrintBuf(" %s [%d mcc: %s, mnc: %s, match_type: %d, match_data: %s],", printBuf,
5115 appendPrintBuf("%s fails by %s", printBuf, failCauseToString(e));
5402 appendPrintBuf("%s {%s}", printBuf,