/vbox/src/VBox/Runtime/common/string/ |
H A D | memcmp.cpp | 70 register int32_t iDiff = *uDst.pu32++ - *uSrc.pu32++; variable 71 if (iDiff) 72 return iDiff; 79 register int8_t iDiff = *uDst.pu8++ - *uSrc.pu8++; variable 80 if (iDiff) 81 return iDiff;
|
H A D | utf-16-case.cpp | 55 register int iDiff = wc1 - wc2; local 56 if (iDiff) 65 iDiff = RTUniCpToUpper(wc1) - RTUniCpToUpper(wc2); 66 if (iDiff) 67 iDiff = RTUniCpToLower(wc1) - RTUniCpToLower(wc2); 77 return iDiff; 80 return iDiff; 88 return iDiff; 92 iDiff = RTUniCpToUpper(uc1) - RTUniCpToUpper(uc2); 93 if (iDiff) [all...] |
H A D | strversion.cpp | 216 int iDiff = RTStrNICmp(pszBlock1, pszBlock2, RT_MIN(cchBlock1, cchBlock2)); local 217 if (!iDiff && cchBlock1 != cchBlock2) 218 iDiff = cchBlock1 < cchBlock2 ? -1 : 1; 219 if (iDiff) 220 return iDiff < 0 ? -1 : 1;
|
H A D | utf-8-case.cpp | 94 int iDiff = uc1 - uc2; local 95 if (iDiff) 97 iDiff = RTUniCpToUpper(uc1) != RTUniCpToUpper(uc2); 98 if (iDiff) 100 iDiff = RTUniCpToLower(uc1) - RTUniCpToLower(uc2); /* lower case diff last! */ 101 if (iDiff) 102 return iDiff; 175 int iDiff = uc1 - uc2; local 176 if (iDiff) 178 iDiff [all...] |
H A D | strformattype.cpp | 184 int iDiff = memcmp(pszType, pType->szType, cch); local 185 if (!iDiff) 189 iDiff = cchType < pType->cchType ? -1 : 1; 191 return iDiff; 212 int iDiff = rtstrFormatTypeCompare(pszType, cchType, &g_aTypes[i]); local 213 if (!iDiff) 217 if (iDiff < 0) 276 int iDiff = rtstrFormatTypeCompare(pszType, cchType, &g_aTypes[i]); 277 if (!iDiff) 282 if (iDiff < [all...] |
H A D | utf-16.cpp | 177 register int iDiff = wcs - *pwsz2; local 178 if (iDiff || !wcs) 179 return iDiff;
|
H A D | strformatrt.cpp | 382 int iDiff = strncmp(pszType, s_aTypes[i].sz, s_aTypes[i].cch); local 383 if (!iDiff) 390 if (iDiff < 0) 973 int iDiff = strncmp(pszType, s_aTypes[i].sz, s_aTypes[i].cch); local 974 if (!iDiff) 981 if (iDiff < 0)
|
/vbox/src/VBox/Runtime/common/path/ |
H A D | comparepaths.cpp | 69 int iDiff = 0; local 88 iDiff = uc1 > uc2 ? 1 : -1; /* (overflow/underflow paranoia) */ 90 iDiff = 0; 103 return iDiff;
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-ut-boolean.cpp | 173 int iDiff; local 177 iDiff = (int)pLeft->fValue - (int)pRight->fValue; 179 iDiff = -1; 182 iDiff = 0 - (int)RTAsn1Boolean_IsPresent(pRight); 183 return iDiff;
|
H A D | asn1-ut-core.cpp | 150 int iDiff; local 155 iDiff = memcmp(pLeft->uData.pv, pRight->uData.pv, RT_MIN(pLeft->cb, pRight->cb)); 156 if (!iDiff) 159 iDiff = pLeft->cb < pRight->cb ? -1 : 1; 163 iDiff = pLeft->uTag < pRight->uTag ? -1 : 1; 165 iDiff = pLeft->fClass < pRight->fClass ? -1 : 1; 169 iDiff = iDiff < 0 ? -1 : 1; 172 iDiff = -1; 175 iDiff [all...] |
H A D | asn1-ut-octetstring.cpp | 353 int iDiff; local 366 iDiff = pLeft->pEncapsulated->pOps->pfnCompare(pLeft->pEncapsulated, pRight->pEncapsulated); 388 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/); 395 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/); 398 iDiff = -1; 401 iDiff = 0 - (int)RTAsn1OctetString_IsPresent(pRight); 402 return iDiff;
|
H A D | asn1-ut-time.cpp | 78 int iDiff = RTAsn1Time_IsPresent(pLeft) ? 0 : -1; local 79 if (!iDiff) 84 iDiff = RTTimeSpecCompare(&TsLeft, pTsRight); 87 return iDiff; 167 int iDiff; local 178 iDiff = RTTimeSpecCompare(&TsLeft, &TsRight); 181 iDiff = -1; 184 iDiff = 0 - (int)RTAsn1Time_IsPresent(pRight); 185 return iDiff; 236 int iDiff [all...] |
H A D | asn1-ut-bitstring.cpp | 440 int iDiff; local 453 iDiff = pLeft->pEncapsulated->pOps->pfnCompare(pLeft->pEncapsulated, pRight->pEncapsulated); 475 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/); 482 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/); 485 iDiff = -1; 488 iDiff = 0 - (int)RTAsn1BitString_IsPresent(pRight); 489 return iDiff;
|
H A D | asn1-ut-integer.cpp | 211 int iDiff; local 242 iDiff = 0; 244 iDiff = pLeft->uValue.u < pRight->uValue.u ? -1 : 1; 247 iDiff = -1; 250 iDiff = 0 - (int)RTAsn1Integer_IsPresent(pRight); 251 return iDiff; 257 int iDiff; local 268 iDiff = 0; 270 iDiff = pThis->uValue.u < u64Const ? -1 : 1; 273 iDiff [all...] |
H A D | asn1-ut-string.cpp | 1384 int iDiff; local 1390 iDiff = RTAsn1Core_CompareEx(&pLeft->Asn1Core, &pRight->Asn1Core, true /*fIgnoreTagAndClass*/); 1392 iDiff = RTASN1CORE_GET_TAG(&pLeft->Asn1Core) < RTASN1CORE_GET_TAG(&pRight->Asn1Core) ? -1 : 1; 1395 iDiff = 1; 1398 iDiff = 0 - RTAsn1String_IsPresent(pRight); 1399 return iDiff; 1408 int iDiff; local 1419 iDiff = strncmp(pThis->pszUtf8, pszString, cchString); 1420 if (!iDiff && pThis->cchUtf8 != cchString) 1421 iDiff [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstNoCrt-1.cpp | 167 if (!(iDiff op 0)) \ 169 RTPrintf("tstNoCrt-1(%d): iDiff=%d expected: %s 0\n", __LINE__, iDiff, #op); \ 173 int iDiff; local 408 iDiff = RT_NOCRT(strcmp)(pszDst, pszSrc); CHECK_DIFF( == ); 419 iDiff = RT_NOCRT(strcmp)(pszDst, pszSrc); CHECK_DIFF( == ); 457 iDiff = RT_NOCRT(memcmp)(s_szTest1, s_szTest1, sizeof(s_szTest1)); CHECK_DIFF( == ); 458 iDiff = RT_NOCRT(memcmp)(s_szTest1, s_szTest2, sizeof(s_szTest1)); CHECK_DIFF( == ); 459 iDiff = RT_NOCRT(memcmp)(s_szTest2, s_szTest1, sizeof(s_szTest1)); CHECK_DIFF( == ); 460 iDiff [all...] |
/vbox/src/VBox/HostDrivers/VBoxNetFlt/darwin/ |
H A D | VBoxNetFlt-darwin.cpp | 171 int const iDiff = iPromisc ? 1 : -1; local 179 if (((int*)pIfNet)[i] - aiSavedState[i] == iDiff)
|
/vbox/src/VBox/Frontends/VirtualBox/src/ |
H A D | UIVMLogViewer.cpp | 299 int iDiff = fStartCurrent ? 0 : 1; local 303 iResult = strText.indexOf(m_pSearchEditor->text(), iAnc + iDiff,
|
/vbox/include/iprt/ |
H A D | uint128.h | 1294 int iDiff; local 1315 iDiff = RTUInt128Compare(pValue1, pValue2); 1316 if (iDiff < 0) 1323 else if (iDiff == 0)
|
/vbox/src/VBox/Runtime/generic/ |
H A D | env-generic.cpp | 745 int iDiff = strcmp((const char *)pvElement1, (const char *)pvElement2); local 746 if (iDiff < 0) 747 iDiff = -1; 748 else if (iDiff > 0) 749 iDiff = 1; 750 return iDiff;
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | STAM.cpp | 633 int iDiff = memcmp(pNode->szName, pchName, cchComp); local 634 if (!iDiff && pNode->cch != cchName) 635 iDiff = pNode->cch > cchName ? 2 : -2; 636 return iDiff; 751 int iDiff = stamR3LookupCmp(pParent->papChildren[iChild], pchName, cchName); 752 if (!iDiff) 760 if (iDiff < 0) 792 int iDiff = stamR3LookupCmp(pParent->papChildren[iChild], pchName, cchName); 793 if (iDiff <= 0) 797 return !iDiff [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | HostUSBDeviceImpl.cpp | 972 int iDiff = aDev1->idVendor - aDev2->idVendor; local 973 if (iDiff) 974 return iDiff; 976 iDiff = aDev1->idProduct - aDev2->idProduct; 977 if (iDiff) 978 return iDiff; 980 iDiff = aDev1->bcdDevice - aDev2->bcdDevice; 981 if (iDiff) 984 return iDiff; 1004 iDiff [all...] |
H A D | USBProxyService.cpp | 902 int iDiff; local 904 iDiff = 1; 908 iDiff = -1; 910 iDiff = pHostDevice->i_compare(pDevices); 912 if (!iDiff) 935 if (iDiff > 0)
|
/vbox/src/VBox/HostDrivers/Support/win/ |
H A D | SUPR3HardenedMainImports-win.cpp | 385 int iDiff = strcmp(pszExpName, pImport->pszName); local 386 if (iDiff > 0) /* pszExpName > pszSymbol: search chunck before i */ 388 else if (iDiff < 0) /* pszExpName < pszSymbol: search chunk after i */
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | ntBldSymDb.cpp | 384 int iDiff = rtNtOsVerInfoCompare(&pInsertBefore->OsVerInfo, &pSet->OsVerInfo); local 385 if (iDiff >= 0) 387 if (iDiff > 0 || pInsertBefore->enmArch > pSet->enmArch)
|