/vbox/src/bldprogs/ |
H A D | scmdiff.h | 35 PSCMSTREAM pRight; member in struct:SCMDIFFSTATE 54 size_t ScmDiffStreams(const char *pszFilename, PSCMSTREAM pLeft, PSCMSTREAM pRight, bool fIgnoreEol,
|
H A D | scmdiff.cpp | 141 size_t c = ScmStreamCountLines(pState->pRight); 182 scmDiffPrintLines(pState, '>', pState->pRight, iRight, cRight); 188 ScmStreamSeekByLine(pState->pRight, iRight + cRight + cMatches); 267 const char *pchRight = ScmStreamGetLineByNo(pState->pRight, iRight + iLine, &cchRight, &enmEolRight); 290 size_t const iStartRight = ScmStreamTellLine(pState->pRight) - 1; 313 const char *pchRight = ScmStreamGetLineByNo(pState->pRight, iStartRight + iRight, 330 pchLine = ScmStreamGetLineByNo(pState->pRight, iStartRight + iRange, &cchLine, &enmEol); 354 * Creates a diff of the changes between the streams @a pLeft and @a pRight. 364 * @param pRight The right side stream. 373 size_t ScmDiffStreams(const char *pszFilename, PSCMSTREAM pLeft, PSCMSTREAM pRight, boo argument [all...] |
H A D | VBoxCPP.cpp | 278 PVBCPPEXPR pRight; member in struct:VBCPPEXPR::__anon17018::__anon17020 3258 vbcppExprDestoryTree(pExpr->u.Binary.pRight); 3360 AssertReturn(pCur->u.Binary.pRight, vbcppExprParseError(pParser, "internal error")); 3533 pExpr->u.Binary.pRight = NULL; 3556 AssertReturn(pParent->u.Binary.pRight, vbcppExprParseError(pParser, "internal error")); 3561 if (pParent->u.Binary.pRight == pChild) 3562 ppPlace = &pParent->u.Binary.pRight; 3599 pParser->ppCur = &pExpr->u.Binary.pRight; 4063 rcExit = vbcppExprEvaluteTree(pThis, pRoot->u.Binary.pRight, &Result2);
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-ut-dyntype.cpp | 116 RTDECL(int) RTAsn1DynType_Compare(PCRTASN1DYNTYPE pLeft, PCRTASN1DYNTYPE pRight) argument 118 if (RTAsn1DynType_IsPresent(pLeft) && RTAsn1DynType_IsPresent(pRight)) 120 if (pLeft->enmType != pRight->enmType) 121 return pLeft->enmType < pRight->enmType ? -1 : 1; 125 case RTASN1TYPE_CORE: return RTAsn1Core_Compare(&pLeft->u.Core, &pRight->u.Core); break; 126 case RTASN1TYPE_NULL: return RTAsn1Null_Compare(&pLeft->u.Asn1Null, &pRight->u.Asn1Null); 127 case RTASN1TYPE_INTEGER: return RTAsn1Integer_Compare(&pLeft->u.Integer, &pRight->u.Integer); 128 case RTASN1TYPE_BOOLEAN: return RTAsn1Boolean_Compare(&pLeft->u.Boolean, &pRight->u.Boolean); 129 case RTASN1TYPE_STRING: return RTAsn1String_Compare(&pLeft->u.String, &pRight->u.String); 130 case RTASN1TYPE_OCTET_STRING: return RTAsn1OctetString_Compare(&pLeft->u.OctetString, &pRight [all...] |
H A D | asn1-ut-null.cpp | 110 RTDECL(int) RTAsn1Null_Compare(PCRTASN1NULL pLeft, PCRTASN1NULL pRight) argument 113 Assert(pRight && (!RTAsn1Null_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1Null_Vtable)); 115 return (int)RTAsn1Null_IsPresent(pLeft) - (int)RTAsn1Null_IsPresent(pRight);
|
H A D | asn1-ut-boolean.cpp | 168 RTDECL(int) RTAsn1Boolean_Compare(PCRTASN1BOOLEAN pLeft, PCRTASN1BOOLEAN pRight) argument 171 Assert(pRight && (!RTAsn1Boolean_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable)); 176 if (RTAsn1Boolean_IsPresent(pRight)) 177 iDiff = (int)pLeft->fValue - (int)pRight->fValue; 182 iDiff = 0 - (int)RTAsn1Boolean_IsPresent(pRight);
|
H A D | asn1-ut-core.cpp | 148 RTDECL(int) RTAsn1Core_CompareEx(PCRTASN1CORE pLeft, PCRTASN1CORE pRight, bool fIgnoreTagAndClass) argument 153 if (RTASN1CORE_IS_PRESENT(pRight)) 155 iDiff = memcmp(pLeft->uData.pv, pRight->uData.pv, RT_MIN(pLeft->cb, pRight->cb)); 158 if (pLeft->cb != pRight->cb) 159 iDiff = pLeft->cb < pRight->cb ? -1 : 1; 162 if (pLeft->uTag != pRight->uTag) 163 iDiff = pLeft->uTag < pRight->uTag ? -1 : 1; 164 else if (pLeft->fClass != pRight->fClass) 165 iDiff = pLeft->fClass < pRight 252 RTAsn1Core_Compare(PCRTASN1CORE pLeft, PCRTASN1CORE pRight) argument [all...] |
H A D | asn1-ut-octetstring.cpp | 348 RTDECL(int) RTAsn1OctetString_Compare(PCRTASN1OCTETSTRING pLeft, PCRTASN1OCTETSTRING pRight) argument 351 Assert(pRight && (!RTAsn1OctetString_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1OctetString_Vtable)); 356 if (RTAsn1OctetString_IsPresent(pRight)) 361 if (pLeft->pEncapsulated || pRight->pEncapsulated) 364 && pRight->pEncapsulated 365 && pLeft->pEncapsulated->pOps == pRight->pEncapsulated->pOps) 366 iDiff = pLeft->pEncapsulated->pOps->pfnCompare(pLeft->pEncapsulated, pRight->pEncapsulated); 379 if ( pRight [all...] |
H A D | asn1-ut-time.cpp | 162 RTDECL(int) RTAsn1Time_Compare(PCRTASN1TIME pLeft, PCRTASN1TIME pRight) argument 165 Assert(pRight && (!RTAsn1Time_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1Time_Vtable)); 170 if (RTAsn1Time_IsPresent(pRight)) 176 AssertReturn(RTTimeImplode(&TsRight, &pRight->Time), 1); 184 iDiff = 0 - (int)RTAsn1Time_IsPresent(pRight); 234 RTDECL(int) RT_CONCAT(a_Api,_Compare)(PCRTASN1TIME pLeft, PCRTASN1TIME pRight) \ 236 int iDiff = RTAsn1Time_Compare(pLeft, pRight); \ 239 if (RTASN1CORE_GET_TAG(&pLeft->Asn1Core) == RTASN1CORE_GET_TAG(&pRight [all...] |
H A D | asn1-ut-bitstring.cpp | 435 RTDECL(int) RTAsn1BitString_Compare(PCRTASN1BITSTRING pLeft, PCRTASN1BITSTRING pRight) argument 438 Assert(pRight && (!RTAsn1BitString_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1BitString_Vtable)); 443 if (RTAsn1BitString_IsPresent(pRight)) 448 if (pLeft->pEncapsulated || pRight->pEncapsulated) 451 && pRight->pEncapsulated 452 && pLeft->pEncapsulated->pOps == pRight->pEncapsulated->pOps) 453 iDiff = pLeft->pEncapsulated->pOps->pfnCompare(pLeft->pEncapsulated, pRight->pEncapsulated); 466 if ( pRight [all...] |
H A D | asn1-ut-integer.cpp | 206 RTDECL(int) RTAsn1Integer_UnsignedCompare(PCRTASN1INTEGER pLeft, PCRTASN1INTEGER pRight) argument 209 Assert(pRight && (!RTAsn1Integer_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1Integer_Vtable)); 214 if (RTAsn1Integer_IsPresent(pRight)) 217 || pRight->Asn1Core.cb > 8) 220 uint32_t iRight = RTAsn1Integer_UnsignedLastBit(pRight); 228 uint8_t const *pbRight = &pRight->Asn1Core.uData.pu8[pRight->Asn1Core.cb - i - 1]; 241 if (pLeft->uValue.u == pRight 429 RTAsn1Integer_Compare(PCRTASN1INTEGER pLeft, PCRTASN1INTEGER pRight) argument [all...] |
H A D | asn1-ut-objid.cpp | 505 RTDECL(int) RTAsn1ObjId_Compare(PCRTASN1OBJID pLeft, PCRTASN1OBJID pRight) argument 509 if (RTAsn1ObjId_IsPresent(pRight)) 511 uint8_t cComponents = RT_MIN(pLeft->cComponents, pRight->cComponents); 513 if (pLeft->pauComponents[i] != pRight->pauComponents[i]) 514 return pLeft->pauComponents[i] < pRight->pauComponents[i] ? -1 : 1; 516 if (pLeft->cComponents == pRight->cComponents) 518 return pLeft->cComponents < pRight->cComponents ? -1 : 1; 522 return 0 - (int)RTAsn1ObjId_IsPresent(pRight);
|
H A D | asn1-ut-string.cpp | 1373 RTDECL(int) RTAsn1String_CompareValues(PCRTASN1STRING pLeft, PCRTASN1STRING pRight) argument 1375 return RTAsn1String_CompareEx(pLeft, pRight, false /*fTypeToo*/); 1379 RTDECL(int) RTAsn1String_CompareEx(PCRTASN1STRING pLeft, PCRTASN1STRING pRight, bool fTypeToo) argument 1382 Assert(pRight && (!RTAsn1String_IsPresent(pRight) || pRight->Asn1Core.pOps == &g_RTAsn1String_Vtable)); 1387 if (RTAsn1String_IsPresent(pRight)) 1389 if (!fTypeToo || RTASN1CORE_GET_TAG(&pLeft->Asn1Core) == RTASN1CORE_GET_TAG(&pRight->Asn1Core)) 1390 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/); 1392 iDiff = RTASN1CORE_GET_TAG(&pLeft->Asn1Core) < RTASN1CORE_GET_TAG(&pRight 1744 RTAsn1String_Compare(PCRTASN1STRING pLeft, PCRTASN1STRING pRight) argument [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | MMAllHyper.cpp | 967 PMMHYPERCHUNKFREE pRight = NULL; local 972 pRight = (PMMHYPERCHUNKFREE)((char *)pFree + pFree->core.offNext); 973 ASSERT_CHUNK(pHeap, &pRight->core); 974 while (!MMHYPERCHUNK_ISFREE(&pRight->core)) 976 if (!pRight->core.offNext) 978 pRight = NULL; 981 pRight = (PMMHYPERCHUNKFREE)((char *)pRight + pRight->core.offNext); 982 ASSERT_CHUNK(pHeap, &pRight [all...] |
/vbox/src/VBox/Runtime/common/alloc/ |
H A D | heapoffset.cpp | 696 PRTHEAPOFFSETFREE pRight; local 707 pRight = NULL; 710 pRight = RTHEAPOFF_TO_PTR_N(pHeapInt, pFree->Core.offNext, PRTHEAPOFFSETFREE); 711 while (pRight && !RTHEAPOFFSETBLOCK_IS_FREE(&pRight->Core)) 713 ASSERT_BLOCK(pHeapInt, &pRight->Core); 714 pRight = RTHEAPOFF_TO_PTR_N(pHeapInt, pRight->Core.offNext, PRTHEAPOFFSETFREE); 716 if (!pRight) 720 ASSERT_BLOCK_FREE(pHeapInt, pRight); [all...] |
H A D | heapsimple.cpp | 688 PRTHEAPSIMPLEFREE pRight; local 699 pRight = NULL; 702 pRight = (PRTHEAPSIMPLEFREE)pFree->Core.pNext; 703 while (pRight && !RTHEAPSIMPLEBLOCK_IS_FREE(&pRight->Core)) 705 ASSERT_BLOCK(pHeapInt, &pRight->Core); 706 pRight = (PRTHEAPSIMPLEFREE)pRight->Core.pNext; 708 if (!pRight) 712 ASSERT_BLOCK_FREE(pHeapInt, pRight); [all...] |
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | x509-core.cpp | 478 PCRTCRX509ATTRIBUTETYPEANDVALUE pRight) 480 if (RTAsn1ObjId_Compare(&pLeft->Type, &pRight->Type) == 0) 486 if (pLeft->Value.enmType != RTASN1TYPE_STRING || pRight->Value.enmType != RTASN1TYPE_STRING) 488 if (RTAsn1DynType_Compare(&pLeft->Value, &pRight->Value) == 0) 495 && pRight->Value.enmType == RTASN1TYPE_STRING) 504 rc = RTAsn1String_QueryUtf8(&pRight->Value.u.String, &pszRight, &cchRight); 539 PCRTCRX509RELATIVEDISTINGUISHEDNAME pRight) 545 if (cItems == pRight->cItems) 556 if (RTCrX509AttributeTypeAndValue_MatchAsRdnByRfc5280(pLeftAttr, &pRight->paItems[iRight])) 575 RTDECL(bool) RTCrX509Name_MatchByRfc5280(PCRTCRX509NAME pLeft, PCRTCRX509NAME pRight) argument 477 RTCrX509AttributeTypeAndValue_MatchAsRdnByRfc5280(PCRTCRX509ATTRIBUTETYPEANDVALUE pLeft, PCRTCRX509ATTRIBUTETYPEANDVALUE pRight) argument 538 RTCrX509RelativeDistinguishedName_MatchByRfc5280(PCRTCRX509RELATIVEDISTINGUISHEDNAME pLeft, PCRTCRX509RELATIVEDISTINGUISHEDNAME pRight) argument [all...] |
/vbox/include/iprt/ |
H A D | time.h | 546 * @param pRight The 2nd time spec. 548 DECLINLINE(int) RTTimeSpecCompare(PCRTTIMESPEC pLeft, PCRTTIMESPEC pRight) argument 550 if (pLeft->i64NanosecondsRelativeToUnixEpoch == pRight->i64NanosecondsRelativeToUnixEpoch) 552 return pLeft->i64NanosecondsRelativeToUnixEpoch < pRight->i64NanosecondsRelativeToUnixEpoch ? -1 : 1;
|
H A D | string.h | 3063 PRTSTRSPACECORE pRight; member in struct:RTSTRSPACECORE
|
H A D | avl.h | 56 struct _AVLPVNodeCore *pRight; /** Pointer to right leaf node. */ member in struct:_AVLPVNodeCore 101 struct _AVLULNodeCore *pRight; /** Pointer to right leaf node. */ member in struct:_AVLULNodeCore 145 struct AVLRPVNodeCore *pRight; /**< Pointer to right leaf node. */ member in struct:AVLRPVNodeCore 189 struct _AVLU32NodeCore *pRight; /**< Pointer to right leaf node. */ member in struct:_AVLU32NodeCore 235 AVLOU32 pRight; member in struct:_AVLOU32NodeCore 279 struct _AVLLU32NodeCore *pRight; /**< Pointer to right leaf node. */ member in struct:_AVLLU32NodeCore 323 struct AVLRU64NodeCore *pRight; /**< Pointer to right leaf node. */ member in struct:AVLRU64NodeCore 374 AVLOGCPHYS pRight; member in struct:_AVLOGCPhysNodeCore 428 AVLROGCPHYS pRight; member in struct:_AVLROGCPhysNodeCore 479 struct _AVLGCPtrNodeCore *pRight; member in struct:_AVLGCPtrNodeCore 525 AVLOGCPTR pRight; member in struct:_AVLOGCPtrNodeCore 573 struct _AVLRGCPtrNodeCore *pRight; member in struct:_AVLRGCPtrNodeCore 629 AVLROGCPTR pRight; member in struct:_AVLROGCPtrNodeCore 686 AVLROOGCPTR pRight; member in struct:_AVLROOGCPtrNodeCore 738 struct _AVLUIntPtrNodeCore *pRight; member in struct:_AVLUIntPtrNodeCore 789 struct _AVLRUIntPtrNodeCore *pRight; member in struct:_AVLRUIntPtrNodeCore 845 AVLOHCPHYS pRight; member in struct:_AVLOHCPhysNodeCore 897 AVLOIOPORTPTR pRight; member in struct:_AVLOIOPortNodeCore 951 AVLROIOPORTPTR pRight; member in struct:_AVLROIOPortNodeCore 999 AVLHCPHYSPTR pRight; member in struct:_AVLHCPhysNodeCore 1048 AVLGCPHYSPTR pRight; member in struct:_AVLGCPhysNodeCore 1097 struct _AVLRFOFFNodeCore *pRight; member in struct:_AVLRFOFFNodeCore [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PGMPhys.cpp | 658 PPGMRAMRANGE pRight = pgmR3PhysRebuildRamRangeSearchTreesRecursively(ppRam, iDepth - 1); local 659 if (pRight) 660 INSERT_RIGHT(pRam, pRight); 690 PPGMRAMRANGE pRight = pgmR3PhysRebuildRamRangeSearchTreesRecursively(&pRam, iDepth); local 691 if (pRight) 692 INSERT_RIGHT(pRoot, pRight);
|