Lines Matching refs:pi
155 char **argv, int *pi)
160 NOREF(pi);
440 * @param psz Where in *pi to start looking for the value argument.
441 * @param pi Where to find and perhaps update the argument index.
446 int VBoxServiceArgUInt32(int argc, char **argv, const char *psz, int *pi, uint32_t *pu32, uint32_t u32Min, uint32_t u32Max)
452 if (*pi + 1 >= argc)
453 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "Missing value for the '%s' argument\n", argv[*pi]);
454 psz = argv[++*pi];
468 int VBoxServiceArgString(int argc, char **argv, const char *psz, int *pi, char *pszBuf, size_t cbBuf)
477 if (*pi + 1 >= argc)
478 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "Missing string for the '%s' argument\n", argv[*pi]);
479 psz = argv[++*pi];
483 return RTMsgErrorExit(RTEXITCODE_FAILURE, "String for '%s' argument too big\n", argv[*pi]);