Lines Matching refs:ulIdx

54     uint32_t ulIdx = 0U;  in RedAtoI()  local
56 if( pszNum[ ulIdx ] == '+' ) in RedAtoI()
58 ulIdx++; in RedAtoI()
60 else if( pszNum[ ulIdx ] == '-' ) in RedAtoI()
62 ulIdx++; in RedAtoI()
71 while( ISDIGIT( pszNum[ ulIdx ] ) ) in RedAtoI()
74 lValue += pszNum[ ulIdx ] - '0'; in RedAtoI()
75 ulIdx++; in RedAtoI()
157 uint32_t ulIdx = 0U; in RedHtoULL() local
162 while( pszNum[ ulIdx ] != '\0' ) in RedHtoULL()
164 char cDigit = pszNum[ ulIdx ]; in RedHtoULL()
188 ulIdx++; in RedHtoULL()
189 pszReturn = &pszNum[ ulIdx ]; in RedHtoULL()
228 uint32_t ulIdx = 0U; in RedNtoUL() local
234 if( pszNum[ ulIdx ] == '-' ) in RedNtoUL()
237 ulIdx++; in RedNtoUL()
242 …if( ( pszNum[ ulIdx ] == '0' ) && ( ( pszNum[ ulIdx + 1U ] == 'x' ) || ( pszNum[ ulIdx + 1U ] == '… in RedNtoUL()
244 ulIdx += 2U; in RedNtoUL()
246 if( ISDIGIT( pszNum[ ulIdx ] ) || ISHEXDIGIT( pszNum[ ulIdx ] ) ) in RedNtoUL()
248 pszReturn = RedHtoUL( &pszNum[ ulIdx ], pulNum ); in RedNtoUL()
255 else if( ISDIGIT( pszNum[ ulIdx ] ) ) in RedNtoUL()
259 ulTemp = RedAtoI( &pszNum[ ulIdx ] ); in RedNtoUL()
261 while( ISDIGIT( pszNum[ ulIdx ] ) ) in RedNtoUL()
263 ulIdx++; in RedNtoUL()
277 pszReturn = &pszNum[ ulIdx ]; in RedNtoUL()
283 pszReturn = &pszNum[ ulIdx ]; in RedNtoUL()
318 uint32_t ulIdx = 0U; in RedNtoULL() local
324 if( pszNum[ ulIdx ] == '-' ) in RedNtoULL()
327 ulIdx++; in RedNtoULL()
332 …if( ( pszNum[ ulIdx ] == '0' ) && ( ( pszNum[ ulIdx + 1U ] == 'x' ) || ( pszNum[ ulIdx + 1U ] == '… in RedNtoULL()
334 ulIdx += 2U; in RedNtoULL()
336 if( ISDIGIT( pszNum[ ulIdx ] ) || ISHEXDIGIT( pszNum[ ulIdx ] ) ) in RedNtoULL()
338 pszReturn = RedHtoULL( &pszNum[ ulIdx ], pullNum ); in RedNtoULL()
345 else if( ISDIGIT( pszNum[ ulIdx ] ) ) in RedNtoULL()
349 while( ISDIGIT( pszNum[ ulIdx ] ) ) in RedNtoULL()
352 ullTemp += pszNum[ ulIdx ] - '0'; in RedNtoULL()
353 ulIdx++; in RedNtoULL()
367 pszReturn = &pszNum[ ulIdx ]; in RedNtoULL()
373 pszReturn = &pszNum[ ulIdx ]; in RedNtoULL()
408 uint32_t ulIdx = 0U; in RedSizeToUL() local
419 if( ( pszSuffix[ ulIdx ] == 'B' ) || ( pszSuffix[ ulIdx ] == 'b' ) ) in RedSizeToUL()
421 ulIdx++; in RedSizeToUL()
422 pszReturn = &pszSuffix[ ulIdx ]; in RedSizeToUL()
424 else if( ( ( pszSuffix[ ulIdx ] == 'M' ) || ( pszSuffix[ ulIdx ] == 'm' ) ) && in RedSizeToUL()
425 ( ( pszSuffix[ ulIdx + 1U ] == 'B' ) || ( pszSuffix[ ulIdx + 1U ] == 'b' ) ) ) in RedSizeToUL()
427 ulIdx += 2U; in RedSizeToUL()
436 pszReturn = &pszSuffix[ ulIdx ]; in RedSizeToUL()
445 if( ( ( pszSuffix[ ulIdx ] == 'K' ) || ( pszSuffix[ ulIdx ] == 'k' ) ) && in RedSizeToUL()
446 ( ( pszSuffix[ ulIdx + 1U ] == 'B' ) || ( pszSuffix[ ulIdx + 1U ] == 'b' ) ) ) in RedSizeToUL()
448 ulIdx += 2U; in RedSizeToUL()
460 pszReturn = &pszSuffix[ ulIdx ]; in RedSizeToUL()