Changeset 33540 in vbox for trunk/src/VBox/Runtime/common/string
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67140
- Location:
- trunk/src/VBox/Runtime/common/string
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/base64.cpp
r33529 r33540 229 229 * @param pszString The Base64 string. Whether the entire string or 230 230 * just the start of the string is in Base64 depends 231 * on w ther ppszEnd is specified or not.231 * on whether ppszEnd is specified or not. 232 232 * @param pvData Where to store the decoded data. 233 233 * @param cbData The size of the output buffer that pvData points to. 234 234 * @param pcbActual Where to store the actual number of bytes returned. 235 235 * Optional. 236 * @param ppszEnd Indicat s that the string may contain other stuff236 * @param ppszEnd Indicates that the string may contain other stuff 237 237 * after the Base64 encoded data when not NULL. Will 238 238 * be set to point to the first char that's not part of -
trunk/src/VBox/Runtime/common/string/memmove.asm
r28800 r33540 60 60 ; Decide which direction to perform the copy in. 61 61 ; 62 %if 1 ; keep it simp e for now.62 %if 1 ; keep it simple for now. 63 63 cmp xDI, xSI 64 64 jnb .backward -
trunk/src/VBox/Runtime/common/string/simplepattern.cpp
r28800 r33540 53 53 case '*': 54 54 { 55 /* collapse '*' and '?', they are sup urfluous */55 /* collapse '*' and '?', they are superfluous */ 56 56 while ((chPat = *++pszPattern) == '*' || chPat == '?') 57 57 /* nothing */; … … 110 110 case '*': 111 111 { 112 /* Collapse '*' and '?', they are sup urfluous. End of the pattern == match. */112 /* Collapse '*' and '?', they are superfluous. End of the pattern == match. */ 113 113 do 114 114 { -
trunk/src/VBox/Runtime/common/string/strcache.cpp
r30320 r33540 74 74 /** Pointer to the main string cache structure. */ 75 75 struct RTSTRCACHEINT *pCache; 76 /** Padding to align the entries on a 32-byte bound rary. */76 /** Padding to align the entries on a 32-byte boundary. */ 77 77 uint32_t au32Padding[8 - (ARCH_BITS == 64) - 4]; 78 78 /** The index of the first unused entry. */ -
trunk/src/VBox/Runtime/common/string/strformat.cpp
r33496 r33540 190 190 191 191 /* 192 * Determin value length192 * Determine value length 193 193 */ 194 194 cchValue = 0; -
trunk/src/VBox/Runtime/common/string/strformattype.cpp
r28800 r33540 401 401 402 402 /** 403 * Formats a type using a register d callback handler.403 * Formats a type using a registered callback handler. 404 404 * 405 405 * This will handle %R[type]. -
trunk/src/VBox/Runtime/common/string/stringalloc.cpp
r32047 r33540 190 190 191 191 /* 192 * Determin the length of each string and calc the new total.192 * Determine the length of each string and calc the new total. 193 193 */ 194 194 struct RTStrAAppendExNVStruct -
trunk/src/VBox/Runtime/common/string/strspace.cpp
r30611 r33540 102 102 * 103 103 * @returns true on success. 104 * @returns false if the string colli eded with an existing string.104 * @returns false if the string collided with an existing string. 105 105 * @param pStrSpace The space to insert it into. 106 106 * @param pStr The string node. -
trunk/src/VBox/Runtime/common/string/strtonum.cpp
r28800 r33540 1 1 /* $Id$ */ 2 2 /** @file 3 * IPRT - String To Number Conver tion.3 * IPRT - String To Number Conversion. 4 4 */ 5 5 … … 93 93 * 94 94 * @returns iprt status code. 95 * Warnings are used to indicate conver tion problems.95 * Warnings are used to indicate conversion problems. 96 96 * @retval VWRN_NUMBER_TOO_BIG 97 97 * @retval VWRN_NEGATIVE_UNSIGNED … … 217 217 * 218 218 * @returns iprt status code. 219 * Warnings are used to indicate conver tion problems.219 * Warnings are used to indicate conversion problems. 220 220 * @retval VWRN_NUMBER_TOO_BIG 221 221 * @retval VWRN_NEGATIVE_UNSIGNED … … 273 273 * 274 274 * @returns iprt status code. 275 * Warnings are used to indicate conver tion problems.275 * Warnings are used to indicate conversion problems. 276 276 * @retval VWRN_NUMBER_TOO_BIG 277 277 * @retval VWRN_NEGATIVE_UNSIGNED … … 308 308 * 309 309 * @returns iprt status code. 310 * Warnings are used to indicate conver tion problems.310 * Warnings are used to indicate conversion problems. 311 311 * @retval VWRN_NUMBER_TOO_BIG 312 312 * @retval VWRN_NEGATIVE_UNSIGNED … … 360 360 * 361 361 * @returns iprt status code. 362 * Warnings are used to indicate conver tion problems.362 * Warnings are used to indicate conversion problems. 363 363 * @retval VWRN_NUMBER_TOO_BIG 364 364 * @retval VWRN_NEGATIVE_UNSIGNED … … 395 395 * 396 396 * @returns iprt status code. 397 * Warnings are used to indicate conver tion problems.397 * Warnings are used to indicate conversion problems. 398 398 * @retval VWRN_NUMBER_TOO_BIG 399 399 * @retval VWRN_NEGATIVE_UNSIGNED … … 447 447 * 448 448 * @returns iprt status code. 449 * Warnings are used to indicate conver tion problems.449 * Warnings are used to indicate conversion problems. 450 450 * @retval VWRN_NUMBER_TOO_BIG 451 451 * @retval VWRN_NEGATIVE_UNSIGNED … … 482 482 * 483 483 * @returns iprt status code. 484 * Warnings are used to indicate conver tion problems.484 * Warnings are used to indicate conversion problems. 485 485 * @retval VWRN_NUMBER_TOO_BIG 486 486 * @retval VWRN_NEGATIVE_UNSIGNED … … 539 539 * 540 540 * @returns iprt status code. 541 * Warnings are used to indicate conver tion problems.541 * Warnings are used to indicate conversion problems. 542 542 * @retval VWRN_NUMBER_TOO_BIG 543 543 * @retval VWRN_TRAILING_CHARS … … 658 658 * 659 659 * @returns iprt status code. 660 * Warnings are used to indicate conver tion problems.660 * Warnings are used to indicate conversion problems. 661 661 * @retval VWRN_NUMBER_TOO_BIG 662 662 * @retval VINF_SUCCESS … … 713 713 * 714 714 * @returns iprt status code. 715 * Warnings are used to indicate conver tion problems.715 * Warnings are used to indicate conversion problems. 716 716 * @retval VWRN_NUMBER_TOO_BIG 717 717 * @retval VWRN_TRAILING_CHARS … … 748 748 * 749 749 * @returns iprt status code. 750 * Warnings are used to indicate conver tion problems.750 * Warnings are used to indicate conversion problems. 751 751 * @retval VWRN_NUMBER_TOO_BIG 752 752 * @retval VINF_SUCCESS … … 800 800 * 801 801 * @returns iprt status code. 802 * Warnings are used to indicate conver tion problems.802 * Warnings are used to indicate conversion problems. 803 803 * @retval VWRN_NUMBER_TOO_BIG 804 804 * @retval VWRN_TRAILING_CHARS … … 835 835 * 836 836 * @returns iprt status code. 837 * Warnings are used to indicate conver tion problems.837 * Warnings are used to indicate conversion problems. 838 838 * @retval VWRN_NUMBER_TOO_BIG 839 839 * @retval VINF_SUCCESS … … 887 887 * 888 888 * @returns iprt status code. 889 * Warnings are used to indicate conver tion problems.889 * Warnings are used to indicate conversion problems. 890 890 * @retval VWRN_NUMBER_TOO_BIG 891 891 * @retval VWRN_TRAILING_CHARS … … 922 922 * 923 923 * @returns iprt status code. 924 * Warnings are used to indicate conver tion problems.924 * Warnings are used to indicate conversion problems. 925 925 * @retval VWRN_NUMBER_TOO_BIG 926 926 * @retval VINF_SUCCESS -
trunk/src/VBox/Runtime/common/string/uniread.cpp
r28876 r33540 152 152 * 153 153 * @returns Pointer to the next field. 154 * @param ppsz Where to get and store the string pos tition.154 * @param ppsz Where to get and store the string position. 155 155 */ 156 156 static char *NextField(char **ppsz) … … 265 265 266 266 /** 267 * For converting the decomp isition mappings field and similar.267 * For converting the decomposition mappings field and similar. 268 268 * 269 269 * @returns Mapping array or NULL if none. -
trunk/src/VBox/Runtime/common/string/utf-8.cpp
r31420 r33540 646 646 else 647 647 { 648 /* generate surr ugate pair */648 /* generate surrogate pair */ 649 649 Assert((uch & (RT_BIT(7) | RT_BIT(6) | RT_BIT(5) | RT_BIT(4) | RT_BIT(3))) == (RT_BIT(7) | RT_BIT(6) | RT_BIT(5) | RT_BIT(4))); 650 650 RTUNICP uc = (puch[3] & 0x3f)
Note:
See TracChangeset
for help on using the changeset viewer.