Home
last modified time | relevance | path

Searched refs:stringPtr (Results 1 – 11 of 11) sorted by relevance

/external/zstd/programs/
Dzstdcli.c286 static int readU32FromCharChecked(const char** stringPtr, unsigned* value) in readU32FromCharChecked() argument
289 while ((**stringPtr >='0') && (**stringPtr <='9')) { in readU32FromCharChecked()
294 result += (unsigned)(**stringPtr - '0'); in readU32FromCharChecked()
296 (*stringPtr)++ ; in readU32FromCharChecked()
298 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromCharChecked()
302 if (**stringPtr=='M') { in readU32FromCharChecked()
306 (*stringPtr)++; /* skip `K` or `M` */ in readU32FromCharChecked()
307 if (**stringPtr=='i') (*stringPtr)++; in readU32FromCharChecked()
308 if (**stringPtr=='B') (*stringPtr)++; in readU32FromCharChecked()
319 static unsigned readU32FromChar(const char** stringPtr) { in readU32FromChar() argument
[all …]
/external/zstd/examples/
Dstreaming_memory_usage.c32 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
35 while ((**stringPtr >='0') && (**stringPtr <='9')) in readU32FromChar()
36 result *= 10, result += **stringPtr - '0', (*stringPtr)++ ; in readU32FromChar()
37 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
39 if (**stringPtr=='M') result <<= 10; in readU32FromChar()
40 (*stringPtr)++ ; in readU32FromChar()
41 if (**stringPtr=='i') (*stringPtr)++; in readU32FromChar()
42 if (**stringPtr=='B') (*stringPtr)++; in readU32FromChar()
/external/lz4/programs/
Dlz4cli.c261 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
264 while ((**stringPtr >='0') && (**stringPtr <='9')) { in readU32FromChar()
266 result += (unsigned)(**stringPtr - '0'); in readU32FromChar()
267 (*stringPtr)++ ; in readU32FromChar()
269 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
271 if (**stringPtr=='M') result <<= 10; in readU32FromChar()
272 (*stringPtr)++ ; in readU32FromChar()
273 if (**stringPtr=='i') (*stringPtr)++; in readU32FromChar()
274 if (**stringPtr=='B') (*stringPtr)++; in readU32FromChar()
284 static int longCommandWArg(const char** stringPtr, const char* longCommand) in longCommandWArg() argument
[all …]
/external/zstd/tests/
Dfullbench.c763 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
767 while ((**stringPtr >='0') && (**stringPtr <='9')) { in readU32FromChar()
771 result += (unsigned)(**stringPtr - '0'); in readU32FromChar()
772 (*stringPtr)++ ; in readU32FromChar()
774 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
778 if (**stringPtr=='M') { in readU32FromChar()
782 (*stringPtr)++; /* skip `K` or `M` */ in readU32FromChar()
783 if (**stringPtr=='i') (*stringPtr)++; in readU32FromChar()
784 if (**stringPtr=='B') (*stringPtr)++; in readU32FromChar()
789 static int longCommandWArg(const char** stringPtr, const char* longCommand) in longCommandWArg() argument
[all …]
Dparamgrill.c2569 static int longCommandWArg(const char** stringPtr, const char* longCommand) in longCommandWArg() argument
2572 int const result = !strncmp(*stringPtr, longCommand, comSize); in longCommandWArg()
2573 if (result) *stringPtr += comSize; in longCommandWArg()
2587 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
2592 if(**stringPtr == '-') { sign = (unsigned)-1; (*stringPtr)++; } in readU32FromChar()
2593 while ((**stringPtr >='0') && (**stringPtr <='9')) { in readU32FromChar()
2597 assert(**stringPtr >= '0'); in readU32FromChar()
2598 result += (unsigned)(**stringPtr - '0'); in readU32FromChar()
2599 (*stringPtr)++ ; in readU32FromChar()
2601 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
[all …]
Ddecodecorpus.c1778 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
1781 while ((**stringPtr >='0') && (**stringPtr <='9')) in readU32FromChar()
1782 result *= 10, result += **stringPtr - '0', (*stringPtr)++ ; in readU32FromChar()
1783 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
1785 if (**stringPtr=='M') result <<= 10; in readU32FromChar()
1786 (*stringPtr)++ ; in readU32FromChar()
1787 if (**stringPtr=='i') (*stringPtr)++; in readU32FromChar()
1788 if (**stringPtr=='B') (*stringPtr)++; in readU32FromChar()
1798 static unsigned longCommandWArg(const char** stringPtr, const char* longCommand) in longCommandWArg() argument
1801 int const result = !strncmp(*stringPtr, longCommand, comSize); in longCommandWArg()
[all …]
Dfuzzer.c3642 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
3645 while ((**stringPtr >='0') && (**stringPtr <='9')) in readU32FromChar()
3646 result *= 10, result += **stringPtr - '0', (*stringPtr)++ ; in readU32FromChar()
3647 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
3649 if (**stringPtr=='M') result <<= 10; in readU32FromChar()
3650 (*stringPtr)++ ; in readU32FromChar()
3651 if (**stringPtr=='i') (*stringPtr)++; in readU32FromChar()
3652 if (**stringPtr=='B') (*stringPtr)++; in readU32FromChar()
3662 static int longCommandWArg(const char** stringPtr, const char* longCommand) in longCommandWArg() argument
3665 int const result = !strncmp(*stringPtr, longCommand, comSize); in longCommandWArg()
[all …]
/external/zstd/contrib/largeNbDicts/
DlargeNbDicts.c877 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
880 while ((**stringPtr >='0') && (**stringPtr <='9')) { in readU32FromChar()
883 result *= 10, result += (unsigned)**stringPtr - '0', (*stringPtr)++ ; in readU32FromChar()
885 if ((**stringPtr=='K') || (**stringPtr=='M')) { in readU32FromChar()
889 if (**stringPtr=='M') { in readU32FromChar()
893 (*stringPtr)++; /* skip `K` or `M` */ in readU32FromChar()
894 if (**stringPtr=='i') (*stringPtr)++; in readU32FromChar()
895 if (**stringPtr=='B') (*stringPtr)++; in readU32FromChar()
905 static int longCommandWArg(const char** stringPtr, const char* longCommand) in longCommandWArg() argument
908 int const result = !strncmp(*stringPtr, longCommand, comSize); in longCommandWArg()
[all …]
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c847 static unsigned readU32FromChar(const char** stringPtr) in readU32FromChar() argument
850 while ((**stringPtr >='0') && (**stringPtr <='9')) in readU32FromChar()
851 result *= 10, result += (unsigned)(**stringPtr - '0'), (*stringPtr)++ ; in readU32FromChar()
/external/libiio/src/bindings/matlab/
Dlibiio_if_daq2.m649 pData = libpointer('stringPtr', data);
Dlibiio_if.m649 pData = libpointer('stringPtr', data);