Searched refs:szLine (Results 1 - 15 of 15) sorted by relevance

/vbox/src/VBox/Devices/PC/
H A DDrvACPI.cpp529 char szLine[1024]; local
556 rc = RTStrmGetLine(pStrmType, szLine, sizeof(szLine));
559 if (strcmp(szLine, "Mains") == 0)
565 rc = RTStrmGetLine(pStrmStatus, szLine, sizeof(szLine));
567 && strcmp(szLine, "1") == 0)
574 else if (strcmp(szLine, "Battery") == 0)
580 rc = RTStrmGetLine(pStrmStatus, szLine, sizeof(szLine));
[all...]
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmodnm.cpp215 char szLine[512]; local
217 while (RT_SUCCESS(rc = RTStrmGetLine(pStrm, szLine, sizeof(szLine))))
220 if (RT_C_IS_XDIGIT(szLine[0]))
228 rc = RTStrToUInt64Ex(szLine, &psz, 16, &u64Addr);
234 cchAddr = psz == &szLine[8] ? 8 : 16;
235 if (psz != &szLine[cchAddr])
241 fWithType = RT_C_IS_BLANK(szLine[cchAddr + 2]) ? 1 : 0; /* have type? Linux 2.4 /proc/ksyms doesn't. */
244 chType = szLine[cchAddr + 1];
245 pszName = &szLine[cchAdd
[all...]
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceStats.cpp270 char szLine[256];
280 rc = RTStrmGetLine(pStrm, szLine, sizeof(szLine));
283 if (strstr(szLine, "MemTotal:") == szLine)
285 rc = RTStrToUInt64Ex(RTStrStripL(&szLine[9]), &psz, 0, &u64Kb);
289 else if (strstr(szLine, "MemFree:") == szLine)
291 rc = RTStrToUInt64Ex(RTStrStripL(&szLine[8]), &psz, 0, &u64Kb);
295 else if (strstr(szLine, "Buffer
[all...]
/vbox/src/bldprogs/
H A Dpreload.cpp171 char szLine[4096]; local
172 while (fgets(szLine, sizeof(szLine), pFile))
174 char *psz = szLine;
H A DVBoxDef2LazyLoad.cpp108 char szLine[16384]; local
109 while (fgets(szLine, sizeof(szLine), pInput))
117 char *psz = leftStrip(szLine);
/vbox/src/VBox/Disassembler/testcase/
H A DtstDisasm-2.cpp52 char szLine[256]; /**< The disassembler text output. */ member in struct:MYDISSTATE
65 RTPrintf("%s", pState->szLine);
79 strcpy(szTmp, RTStrStripL(strchr(pState->szLine, ':') + 1));
105 RTPrintf(" %s ; %s", szTmp, pState->szLine);
116 RTPrintf("masm not implemented: %s", pState->szLine);
288 &State.Dis, &State.cbInstr, State.szLine, sizeof(State.szLine));
311 RTPrintf(" ; %s\n", State.szLine);
/vbox/src/VBox/Devices/BiosCommonCode/
H A DMakeAlternativeSource.cpp89 char szLine[16384]; member in struct:BIOSMAP
221 char szLine[4096]; local
222 while ((rc = RTStrmGetLine(hStrm, szLine, sizeof(szLine))) == VINF_SUCCESS)
227 char *psz = RTStrStrip(szLine);
1225 int rc = RTStrmGetLine(pMap->hStrm, pMap->szLine, sizeof(pMap->szLine));
1233 pMap->szLine[0] = '\0';
1240 pMap->cch = (uint32_t)strlen(pMap->szLine);
1243 if (!RT_C_IS_SPACE(pMap->szLine[
[all...]
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest2.cpp1295 char szLine[RTPATH_MAX + RTSHA512_DIGEST_LEN + 32];
1296 int rc = rtManifestReadLine(hVfsIos, szLine, sizeof(szLine));
1313 char *psz = RTStrStrip(szLine);
1333 RTStrPrintf(pszErr, cbErr, "Expected '(' after %zu on line %u", psz - szLine, iLine);
1354 RTStrPrintf(pszErr, cbErr, "Expected ')=' at %zu on line %u", psz - szLine, iLine);
1365 RTStrPrintf(pszErr, cbErr, "Expected value at %zu on line %u", psz - szLine, iLine);
1390 RTStrPrintf(pszErr, cbErr, "Malformed value ('%s') at %zu on line %u: %Rrc", pszValue, psz - szLine, iLine, rc);
1418 pszValue - szLine + off, iLine, pszValue, off);
1451 char szLine[RTPATH_MA
[all...]
/vbox/src/VBox/Runtime/common/string/
H A Duniread.cpp565 char szLine[4096]; local
567 while (GetLineFromFile(szLine, sizeof(szLine), pFile) != NULL)
569 if (IsCommentOrBlankLine(szLine))
573 char *pszCodePoint = FirstField(&pszCurField, StripLine(szLine)); /* 0 */
823 char szLine[4096]; local
824 while (GetLineFromFile(szLine, sizeof(szLine), pFile) != NULL)
826 if (IsCommentOrBlankLine(szLine))
829 char *pszRange = FirstField(&pszCurField, StripLine(szLine));
[all...]
/vbox/src/VBox/Debugger/
H A DDBGCCommands.cpp928 char szLine[8192]; local
929 while (fgets(szLine, sizeof(szLine), pFile))
932 char *pszEnd = strchr(szLine, '\0');
933 if (pszEnd == &szLine[sizeof(szLine) - 1])
941 char *psz = RTStrStripL(szLine);
1699 char szLine[4096]; local
1700 while (fgets(szLine, sizeof(szLine), pFil
[all...]
H A DDBGCEmulateCodeView.cpp1250 char szLine[4096]; local
1257 szLine[0] = '\0';
1258 if (!fgets(szLine, sizeof(szLine), phFile))
1267 size_t cch = strlen(szLine);
1268 while (cch > 0 && (szLine[cch - 1] == '\r' || szLine[cch - 1] == '\n' || RT_C_IS_SPACE(szLine[cch - 1])) )
1269 szLine[--cch] = '\0';
1273 rc = DBGCCmdHlpPrintf(pCmdHlp, " %4d: %s\n", Line.uLineNo - cBefore - 1, szLine);
[all...]
/vbox/src/VBox/Main/src-server/linux/
H A DUSBGetDevices.cpp539 char szLine[1024]; local
549 && fgets(szLine, sizeof(szLine), pFile))
555 psz = strchr(szLine, '\0');
558 AssertMsgFailed(("Line too long. (cch=%d)\n", strlen(szLine)));
563 psz = RTStrStrip(szLine);
/vbox/src/VBox/Devices/USB/linux/
H A DUSBProxyDevice-linux.cpp459 char szLine[1024];
460 while (RT_SUCCESS(RTStrmGetLine(pFile, szLine, sizeof(szLine))))
463 psz = RTStrStripL(szLine);
493 while (RT_SUCCESS(RTStrmGetLine(pFile, szLine, sizeof(szLine))))
495 psz = RTStrStripL(szLine);
/vbox/src/VBox/Main/src-client/
H A DConsoleImplTeleporter.cpp655 char szLine[RT_MAX(128, sizeof(g_szWelcome))]; local
656 RT_ZERO(szLine);
657 vrc = RTTcpRead(pState->mhSocket, szLine, sizeof(g_szWelcome) - 1, NULL);
660 if (strcmp(szLine, g_szWelcome))
661 return setError(E_FAIL, tr("Unexpected welcome %.*Rhxs"), sizeof(g_szWelcome) - 1, szLine);
/vbox/src/VBox/VMM/VMMR3/
H A DFTM.cpp762 char szLine[RT_MAX(128, sizeof(g_szWelcome))]; local
763 RT_ZERO(szLine);
764 rc = RTTcpRead(pVM->ftm.s.hSocket, szLine, sizeof(g_szWelcome) - 1, NULL);
766 && !strcmp(szLine, g_szWelcome))

Completed in 101 milliseconds