/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/ |
H A D | stdarg.h | 2 This header, <stdarg.h>, declares type va_list and defines macros: va_start, va_arg, va_end; 11 macros va_start, va_arg, and va_end. If access to the varying arguments 14 an argument to another function; if the receiving function invokes the va_arg macro 18 The va_start and va_arg macros must be implemented as macros, not as actual 38 macros va_start, va_arg, and va_end. 51 The va_start macro initializes ap for subsequent use by va_arg and va_end. 56 that subsequent successive invocations of va_arg will 76 The va_arg macro expands to an expression that has the type and value of 78 va_list ap initialized by va_start. Each invocation of va_arg modifies ap 86 Synopsys: type va_arg(va_lis 99 #define va_arg macro 101 #define va_arg macro [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/include/ |
H A D | stdarg.h | 8 #define va_arg( ap, type ) __builtin_va_arg ( ap, type ) macro
|
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/ |
H A D | stdarg.h | 51 #define va_arg __builtin_va_arg macro
|
/vbox/include/iprt/nocrt/compiler/ |
H A D | gcc.h | 117 #define va_arg(va, type) __builtin_va_arg(va, type) macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ |
H A D | xf86_ansic.h | 42 # define va_arg(ap,t) (ap += _VA_ROUND (t), *(t *)(ap - _VA_ROUND (t))) macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | xf86_ansic.h | 46 # define va_arg(ap,t) (ap += _VA_ROUND (t), *(t *)(ap - _VA_ROUND (t))) macro
|
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/os-support/ |
H A D | xf86_ansic.h | 47 # define va_arg(ap,t) (ap += _VA_ROUND (t), *(t *)(ap - _VA_ROUND (t))) macro
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | xf86_ansic.h | 46 # define va_arg(ap,t) (ap += _VA_ROUND (t), *(t *)(ap - _VA_ROUND (t))) macro
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/ |
H A D | OpenSslSupport.h | 35 #define va_arg VA_ARG macro 40 #define va_arg(Marker, TYPE) __va_arg(Marker, TYPE) macro
|
/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackManagerImpl.cpp | 2180 pszLastArg = va_arg(va, const char *); 2179 AssertReturn(cArgs < RT_ELEMENTS(apszArgs) - 1, E_UNEXPECTED); pszLastArg = va_arg(va, const char *); if (!pszLastArg) break; LogRel((�, pszLastArg)); apszArgs[cArgs++] = pszLastArg; }; va_end(va); LogRel((�)); apszArgs[cArgs] = NULL; RTPIPE hPipeR; RTHANDLE hStdErrPipe; hStdErrPipe.enmType = RTHANDLETYPE_PIPE; vrc = RTPipeCreate(&hPipeR, &hStdErrPipe.u.hPipe, RTPIPE_C_INHERIT_WRITE); AssertLogRelRCReturn(vrc, E_UNEXPECTED); HRESULT hrc; RTPROCESS hProcess; vrc = RTProcCreateEx(szExecName, apszArgs, RTENV_DEFAULT, 0 , NULL , NULL , &hStdErrPipe, NULL , NULL , &hProcess); if (RT_SUCCESS(vrc)) { vrc = RTPipeClose(hStdErrPipe.u.hPipe); hStdErrPipe.u.hPipe = NIL_RTPIPE; RTPROCSTATUS ProcStatus = { -42, RTPROCEXITREASON_ABEND }; size_t cbStdErrBuf = 0; size_t offStdErrBuf = 0; char *pszStdErrBuf = NULL; do { if (hPipeR != NIL_RTPIPE) { char achBuf[1024]; size_t cbRead; vrc = RTPipeReadBlocking(hPipeR, achBuf, sizeof(achBuf), &cbRead); if (RT_SUCCESS(vrc)) { size_t cbBufReq = offStdErrBuf + cbRead + 1; if ( cbBufReq > cbStdErrBuf && cbBufReq < _256K) { size_t cbNew = RT_ALIGN_Z(cbBufReq, 16); void *pvNew = RTMemRealloc(pszStdErrBuf, cbNew); if (pvNew) { pszStdErrBuf = (char *)pvNew; cbStdErrBuf = cbNew; } } if (cbBufReq <= cbStdErrBuf) { memcpy(&pszStdErrBuf[offStdErrBuf], achBuf, cbRead); offStdErrBuf = offStdErrBuf + cbRead; pszStdErrBuf[offStdErrBuf] = �; } } else { AssertLogRelMsg(vrc == VERR_BROKEN_PIPE, (�, vrc)); RTPipeClose(hPipeR); hPipeR = NIL_RTPIPE; } } if (hProcess != NIL_RTPROCESS) { vrc = RTProcWait(hProcess, hPipeR == NIL_RTPIPE ? RTPROCWAIT_FLAGS_BLOCK : RTPROCWAIT_FLAGS_NOBLOCK, &ProcStatus); if (RT_SUCCESS(vrc)) hProcess = NIL_RTPROCESS; else AssertLogRelMsgStmt(vrc == VERR_PROCESS_RUNNING, (�, vrc), hProcess = NIL_RTPROCESS); } } while ( hPipeR != NIL_RTPIPE || hProcess != NIL_RTPROCESS); LogRel((�, ProcStatus.enmReason, ProcStatus.iStatus, offStdErrBuf ? pszStdErrBuf : �)); if (offStdErrBuf > 0) { RTStrStripR(pszStdErrBuf); offStdErrBuf = strlen(pszStdErrBuf); } char *pszSuccessInd = findSuccessIndicator(pszStdErrBuf, offStdErrBuf); if (pszSuccessInd) { *pszSuccessInd = �; offStdErrBuf = pszSuccessInd - pszStdErrBuf; } else if ( ProcStatus.enmReason == RTPROCEXITREASON_NORMAL && ProcStatus.iStatus == 0) ProcStatus.iStatus = offStdErrBuf ? 667 : 666; if ( ProcStatus.enmReason == RTPROCEXITREASON_NORMAL && ProcStatus.iStatus == 0) hrc = S_OK; else if (ProcStatus.enmReason == RTPROCEXITREASON_NORMAL) { AssertMsg(ProcStatus.iStatus != 0, (�, pszStdErrBuf)); hrc = setError(E_FAIL, tr(�), ProcStatus.iStatus, offStdErrBuf ? pszStdErrBuf : �); } else if (ProcStatus.enmReason == RTPROCEXITREASON_SIGNAL) hrc = setError(E_UNEXPECTED, tr(�), ProcStatus.iStatus, offStdErrBuf ? pszStdErrBuf : �); else if (ProcStatus.enmReason == RTPROCEXITREASON_ABEND) hrc = setError(E_UNEXPECTED, tr(�), offStdErrBuf ? pszStdErrBuf : �); else hrc = setError(E_UNEXPECTED, tr(�), ProcStatus.enmReason, ProcStatus.iStatus, offStdErrBuf ? pszStdErrBuf : �); RTMemFree(pszStdErrBuf); } else hrc = setError(VBOX_E_IPRT_ERROR, tr(�), szExecName, vrc); RTPipeClose(hPipeR); RTPipeClose(hStdErrPipe.u.hPipe); return hrc; } ExtPack *ExtPackManager::i_findExtPack(const char *a_pszName) { size_t cchName = strlen(a_pszName); for (ExtPackList::iterator it = m->llInstalledExtPacks.begin(); it != m->llInstalledExtPacks.end(); it++) argument
|