/freebsd/stand/ficl/ |
H A D | vm.c | 315 char *pEnd = vmGetInBufEnd(pVM); in vmGetWord0() local 320 pSrc = skipSpace(pSrc, pEnd); in vmGetWord0() 333 if (pEnd == pSrc) in vmGetWord0() 344 if ((pEnd != pSrc) && isspace(ch)) /* skip one trailing delimiter */ in vmGetWord0() 393 char *pEnd = vmGetInBufEnd(pVM); in vmParseStringEx() local 398 while ((pSrc != pEnd) && (*pSrc == delim)) in vmParseStringEx() 404 for (ch = *pSrc; (pSrc != pEnd) in vmParseStringEx() 415 if ((pSrc != pEnd) && (*pSrc == delim)) /* gobble trailing delimiter */ in vmParseStringEx()
|
H A D | words.c | 1041 char *pEnd = vmGetInBufEnd(pVM); in commentLine() local 1044 while ((cp != pEnd) && (ch != '\r') && (ch != '\n')) in commentLine() 1054 if (cp != pEnd) in commentLine() 1058 if ( (cp != pEnd) && (ch != *cp) in commentLine() 2671 char *pEnd = vmGetInBufEnd(pVM); in dotParen() local 2678 for (ch = *pSrc; (pEnd != pSrc) && (ch != ')'); ch = *++pSrc) in dotParen() 2682 if ((pEnd != pSrc) && (ch == ')')) in dotParen() 3156 char *pBuf, *pEnd; in accept() local 3163 pEnd = vmGetInBufEnd(pVM); in accept() 3164 len = pEnd - pBuf; in accept()
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | huf_decompress.c | 501 HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const… in HUF_decodeStreamX1() argument 506 if ((pEnd - p) > 3) { in HUF_decodeStreamX1() 507 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-3)) { in HUF_decodeStreamX1() 519 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd)) in HUF_decodeStreamX1() 523 while (p < pEnd) in HUF_decodeStreamX1() 526 return pEnd-pStart; in HUF_decodeStreamX1() 1177 HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, in HUF_decodeStreamX2() argument 1183 if ((size_t)(pEnd - p) >= sizeof(bitDPtr->bitContainer)) { in HUF_decodeStreamX2() 1186 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-9)) { in HUF_decodeStreamX2() 1195 …while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-(sizeof(bitDPtr->bitCont… in HUF_decodeStreamX2() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | huf_decompress.c | 215 HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const… in HUF_decodeStreamX1() argument 220 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-3)) { in HUF_decodeStreamX1() 229 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd)) in HUF_decodeStreamX1() 233 while (p < pEnd) in HUF_decodeStreamX1() 236 return pEnd-pStart; in HUF_decodeStreamX1() 696 HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, in HUF_decodeStreamX2() argument 702 …while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-(sizeof(bitDPtr->bitCont… in HUF_decodeStreamX2() 710 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p <= pEnd-2)) in HUF_decodeStreamX2() 713 while (p <= pEnd-2) in HUF_decodeStreamX2() 716 if (p < pEnd) in HUF_decodeStreamX2()
|
/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v02.c | 1692 static inline size_t HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, co… in HUF_decodeStreamX2() argument 1697 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-4)) in HUF_decodeStreamX2() 1706 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd)) in HUF_decodeStreamX2() 1710 while (p < pEnd) in HUF_decodeStreamX2() 1713 return pEnd-pStart; in HUF_decodeStreamX2() 2051 static inline size_t HUF_decodeStreamX4(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, const HU… in HUF_decodeStreamX4() argument 2056 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd-7)) in HUF_decodeStreamX4() 2065 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-2)) in HUF_decodeStreamX4() 2068 while (p <= pEnd-2) in HUF_decodeStreamX4() 2071 if (p < pEnd) in HUF_decodeStreamX4() [all …]
|
H A D | zstd_v03.c | 1689 static inline size_t HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, co… in HUF_decodeStreamX2() argument 1694 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-4)) in HUF_decodeStreamX2() 1703 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd)) in HUF_decodeStreamX2() 1707 while (p < pEnd) in HUF_decodeStreamX2() 1710 return pEnd-pStart; in HUF_decodeStreamX2() 2048 static inline size_t HUF_decodeStreamX4(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, const HU… in HUF_decodeStreamX4() argument 2053 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd-7)) in HUF_decodeStreamX4() 2062 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-2)) in HUF_decodeStreamX4() 2065 while (p <= pEnd-2) in HUF_decodeStreamX4() 2068 if (p < pEnd) in HUF_decodeStreamX4()
|
H A D | zstd_v04.c | 1841 static inline size_t HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, co… in HUF_decodeStreamX2() argument 1846 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-4)) in HUF_decodeStreamX2() 1855 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd)) in HUF_decodeStreamX2() 1859 while (p < pEnd) in HUF_decodeStreamX2() 1862 return pEnd-pStart; in HUF_decodeStreamX2() 2198 static inline size_t HUF_decodeStreamX4(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, const HU… in HUF_decodeStreamX4() argument 2203 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd-7)) in HUF_decodeStreamX4() 2212 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-2)) in HUF_decodeStreamX4() 2215 while (p <= pEnd-2) in HUF_decodeStreamX4() 2218 if (p < pEnd) in HUF_decodeStreamX4()
|
H A D | zstd_v05.c | 1933 …Fv05_decodeStreamX2(BYTE* p, BITv05_DStream_t* const bitDPtr, BYTE* const pEnd, const HUFv05_DEltX… in HUFv05_decodeStreamX2() argument 1938 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p <= pEnd-4)) { in HUFv05_decodeStreamX2() 1946 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p < pEnd)) in HUFv05_decodeStreamX2() 1950 while (p < pEnd) in HUFv05_decodeStreamX2() 1953 return pEnd-pStart; in HUFv05_decodeStreamX2() 2309 static inline size_t HUFv05_decodeStreamX4(BYTE* p, BITv05_DStream_t* bitDPtr, BYTE* const pEnd, co… in HUFv05_decodeStreamX4() argument 2314 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p < pEnd-7)) { in HUFv05_decodeStreamX4() 2322 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p <= pEnd-2)) in HUFv05_decodeStreamX4() 2325 while (p <= pEnd-2) in HUFv05_decodeStreamX4() 2328 if (p < pEnd) in HUFv05_decodeStreamX4()
|
H A D | zstd_v06.c | 2069 …Fv06_decodeStreamX2(BYTE* p, BITv06_DStream_t* const bitDPtr, BYTE* const pEnd, const HUFv06_DEltX… in HUFv06_decodeStreamX2() argument 2074 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p <= pEnd-4)) { in HUFv06_decodeStreamX2() 2082 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p < pEnd)) in HUFv06_decodeStreamX2() 2086 while (p < pEnd) in HUFv06_decodeStreamX2() 2089 return pEnd-pStart; in HUFv06_decodeStreamX2() 2438 static inline size_t HUFv06_decodeStreamX4(BYTE* p, BITv06_DStream_t* bitDPtr, BYTE* const pEnd, co… in HUFv06_decodeStreamX4() argument 2443 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p < pEnd-7)) { in HUFv06_decodeStreamX4() 2451 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p <= pEnd-2)) in HUFv06_decodeStreamX4() 2454 while (p <= pEnd-2) in HUFv06_decodeStreamX4() 2457 if (p < pEnd) in HUFv06_decodeStreamX4()
|
H A D | zstd_v07.c | 1844 …Fv07_decodeStreamX2(BYTE* p, BITv07_DStream_t* const bitDPtr, BYTE* const pEnd, const HUFv07_DEltX… in HUFv07_decodeStreamX2() argument 1849 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p <= pEnd-4)) { in HUFv07_decodeStreamX2() 1857 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p < pEnd)) in HUFv07_decodeStreamX2() 1861 while (p < pEnd) in HUFv07_decodeStreamX2() 1864 return pEnd-pStart; in HUFv07_decodeStreamX2() 2249 static inline size_t HUFv07_decodeStreamX4(BYTE* p, BITv07_DStream_t* bitDPtr, BYTE* const pEnd, co… in HUFv07_decodeStreamX4() argument 2254 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p < pEnd-7)) { in HUFv07_decodeStreamX4() 2262 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p <= pEnd-2)) in HUFv07_decodeStreamX4() 2265 while (p <= pEnd-2) in HUFv07_decodeStreamX4() 2268 if (p < pEnd) in HUFv07_decodeStreamX4()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-dpdk.c | 533 char *pEnd; in portid_by_device() local 544 ret_ul = strtoul(&(device[prefix_len]), &pEnd, 10); in portid_by_device() 545 if (pEnd == &(device[prefix_len]) || *pEnd != '\0'){ in portid_by_device()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 401 U32 p, pEnd, length; in ZDICT_analyzePos() local 409 pEnd = (U32)(testedPos + length); in ZDICT_analyzePos() 410 for (p=testedPos; p<pEnd; p++) in ZDICT_analyzePos()
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 17543 void *pEnd; /* First byte past end of available space */ member 20461 Expr *pEnd; /* Expression for "<expr> FOLLOWING" */ member 24112 assert( db->lookaside.pEnd==db->lookaside.pTrueEnd ); in sqlite3_db_status() 24113 db->lookaside.pEnd = db->lookaside.pStart; in sqlite3_db_status() 24139 db->lookaside.pEnd = db->lookaside.pTrueEnd; in sqlite3_db_status() 24157 assert( db->lookaside.pEnd==db->lookaside.pTrueEnd ); in sqlite3_db_status() 24158 db->lookaside.pEnd = db->lookaside.pStart; in sqlite3_db_status() 24162 db->lookaside.pEnd = db->lookaside.pTrueEnd; in sqlite3_db_status() 30659 if( ((uptr)p)<(uptr)(db->lookaside.pEnd) ){ in sqlite3DbFreeNN() 30698 if( ((uptr)p)<(uptr)(db->lookaside.pEnd) ){ in sqlite3DbNNFreeNN() [all …]
|
H A D | shell.c | 1347 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() argument 1348 return (pEnd->tv_usec - pStart->tv_usec)*0.000001 + in timeDiff() 1349 (double)(pEnd->tv_sec - pStart->tv_sec); in timeDiff() 1425 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() argument 1427 sqlite_int64 i64End = *((sqlite_int64 *) pEnd); in timeDiff() 10064 u8 *pEnd = &aExtra[nExtra]; in zipfileScanExtra() local 10066 while( p<pEnd ){ in zipfileScanExtra() 13296 IdxWrite *pEnd = 0; in idxProcessTriggers() local 13299 while( rc==SQLITE_OK && pFirst!=pEnd ){ in idxProcessTriggers() 13301 for(pIter=pFirst; rc==SQLITE_OK && pIter!=pEnd; pIter=pIter->pNext){ in idxProcessTriggers() [all …]
|