| /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/openzfs/module/zstd/lib/decompress/ |
| H A D | huf_decompress.c | 547 HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const… in HUF_decodeStreamX1() argument 552 if ((pEnd - p) > 3) { in HUF_decodeStreamX1() 553 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-3)) { in HUF_decodeStreamX1() 565 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd)) in HUF_decodeStreamX1() 569 while (p < pEnd) in HUF_decodeStreamX1() 572 return (size_t)(pEnd-pStart); in HUF_decodeStreamX1() 1309 HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, in HUF_decodeStreamX2() argument 1315 if ((size_t)(pEnd - p) >= sizeof(bitDPtr->bitContainer)) { in HUF_decodeStreamX2() 1318 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-9)) { in HUF_decodeStreamX2() 1327 …while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-(sizeof(bitDPtr->bitCont… in HUF_decodeStreamX2() [all …]
|
| /freebsd/sys/contrib/zstd/lib/decompress/ |
| H A D | huf_decompress.c | 546 HUF_decodeStreamX1(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, const HUF_DEltX1* const… in HUF_decodeStreamX1() argument 551 if ((pEnd - p) > 3) { in HUF_decodeStreamX1() 552 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-3)) { in HUF_decodeStreamX1() 564 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd)) in HUF_decodeStreamX1() 568 while (p < pEnd) in HUF_decodeStreamX1() 571 return (size_t)(pEnd-pStart); in HUF_decodeStreamX1() 1308 HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, in HUF_decodeStreamX2() argument 1314 if ((size_t)(pEnd - p) >= sizeof(bitDPtr->bitContainer)) { in HUF_decodeStreamX2() 1317 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-9)) { in HUF_decodeStreamX2() 1326 …while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) & (p < pEnd-(sizeof(bitDPtr->bitCont… in HUF_decodeStreamX2() [all …]
|
| /freebsd/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v02.c | 1631 static inline size_t HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, co… in HUF_decodeStreamX2() argument 1636 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-4)) in HUF_decodeStreamX2() 1645 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd)) in HUF_decodeStreamX2() 1649 while (p < pEnd) in HUF_decodeStreamX2() 1652 return pEnd-pStart; in HUF_decodeStreamX2() 1990 static inline size_t HUF_decodeStreamX4(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, const HU… in HUF_decodeStreamX4() argument 1995 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd-7)) in HUF_decodeStreamX4() 2004 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-2)) in HUF_decodeStreamX4() 2007 while (p <= pEnd-2) in HUF_decodeStreamX4() 2010 if (p < pEnd) in HUF_decodeStreamX4() [all …]
|
| H A D | zstd_v03.c | 1627 static inline size_t HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, co… in HUF_decodeStreamX2() argument 1632 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-4)) in HUF_decodeStreamX2() 1641 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd)) in HUF_decodeStreamX2() 1645 while (p < pEnd) in HUF_decodeStreamX2() 1648 return pEnd-pStart; in HUF_decodeStreamX2() 1986 static inline size_t HUF_decodeStreamX4(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, const HU… in HUF_decodeStreamX4() argument 1991 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd-7)) in HUF_decodeStreamX4() 2000 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-2)) in HUF_decodeStreamX4() 2003 while (p <= pEnd-2) in HUF_decodeStreamX4() 2006 if (p < pEnd) in HUF_decodeStreamX4()
|
| H A D | zstd_v04.c | 1785 static inline size_t HUF_decodeStreamX2(BYTE* p, BIT_DStream_t* const bitDPtr, BYTE* const pEnd, co… in HUF_decodeStreamX2() argument 1790 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-4)) in HUF_decodeStreamX2() 1799 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd)) in HUF_decodeStreamX2() 1803 while (p < pEnd) in HUF_decodeStreamX2() 1806 return pEnd-pStart; in HUF_decodeStreamX2() 2142 static inline size_t HUF_decodeStreamX4(BYTE* p, BIT_DStream_t* bitDPtr, BYTE* const pEnd, const HU… in HUF_decodeStreamX4() argument 2147 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p < pEnd-7)) in HUF_decodeStreamX4() 2156 while ((BIT_reloadDStream(bitDPtr) == BIT_DStream_unfinished) && (p <= pEnd-2)) in HUF_decodeStreamX4() 2159 while (p <= pEnd-2) in HUF_decodeStreamX4() 2162 if (p < pEnd) in HUF_decodeStreamX4()
|
| H A D | zstd_v05.c | 1881 …Fv05_decodeStreamX2(BYTE* p, BITv05_DStream_t* const bitDPtr, BYTE* const pEnd, const HUFv05_DEltX… in HUFv05_decodeStreamX2() argument 1886 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p <= pEnd-4)) { in HUFv05_decodeStreamX2() 1894 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p < pEnd)) in HUFv05_decodeStreamX2() 1898 while (p < pEnd) in HUFv05_decodeStreamX2() 1901 return pEnd-pStart; in HUFv05_decodeStreamX2() 2257 static inline size_t HUFv05_decodeStreamX4(BYTE* p, BITv05_DStream_t* bitDPtr, BYTE* const pEnd, co… in HUFv05_decodeStreamX4() argument 2262 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p < pEnd-7)) { in HUFv05_decodeStreamX4() 2270 while ((BITv05_reloadDStream(bitDPtr) == BITv05_DStream_unfinished) && (p <= pEnd-2)) in HUFv05_decodeStreamX4() 2273 while (p <= pEnd-2) in HUFv05_decodeStreamX4() 2276 if (p < pEnd) in HUFv05_decodeStreamX4()
|
| H A D | zstd_v06.c | 2013 …Fv06_decodeStreamX2(BYTE* p, BITv06_DStream_t* const bitDPtr, BYTE* const pEnd, const HUFv06_DEltX… in HUFv06_decodeStreamX2() argument 2018 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p <= pEnd-4)) { in HUFv06_decodeStreamX2() 2026 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p < pEnd)) in HUFv06_decodeStreamX2() 2030 while (p < pEnd) in HUFv06_decodeStreamX2() 2033 return pEnd-pStart; in HUFv06_decodeStreamX2() 2382 static inline size_t HUFv06_decodeStreamX4(BYTE* p, BITv06_DStream_t* bitDPtr, BYTE* const pEnd, co… in HUFv06_decodeStreamX4() argument 2387 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p < pEnd-7)) { in HUFv06_decodeStreamX4() 2395 while ((BITv06_reloadDStream(bitDPtr) == BITv06_DStream_unfinished) && (p <= pEnd-2)) in HUFv06_decodeStreamX4() 2398 while (p <= pEnd-2) in HUFv06_decodeStreamX4() 2401 if (p < pEnd) in HUFv06_decodeStreamX4()
|
| H A D | zstd_v07.c | 1789 …Fv07_decodeStreamX2(BYTE* p, BITv07_DStream_t* const bitDPtr, BYTE* const pEnd, const HUFv07_DEltX… in HUFv07_decodeStreamX2() argument 1794 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p <= pEnd-4)) { in HUFv07_decodeStreamX2() 1802 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p < pEnd)) in HUFv07_decodeStreamX2() 1806 while (p < pEnd) in HUFv07_decodeStreamX2() 1809 return pEnd-pStart; in HUFv07_decodeStreamX2() 2194 static inline size_t HUFv07_decodeStreamX4(BYTE* p, BITv07_DStream_t* bitDPtr, BYTE* const pEnd, co… in HUFv07_decodeStreamX4() argument 2199 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p < pEnd-7)) { in HUFv07_decodeStreamX4() 2207 while ((BITv07_reloadDStream(bitDPtr) == BITv07_DStream_unfinished) && (p <= pEnd-2)) in HUFv07_decodeStreamX4() 2210 while (p <= pEnd-2) in HUFv07_decodeStreamX4() 2213 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 | 322 U32 p, pEnd, length; in ZDICT_analyzePos() local 330 pEnd = (U32)(testedPos + length); in ZDICT_analyzePos() 331 for (p=testedPos; p<pEnd; p++) in ZDICT_analyzePos()
|
| /freebsd/contrib/sqlite3/ |
| H A D | sqlite3.c | 17976 void *pEnd; /* First byte past end of available space */ member 20936 Expr *pEnd; /* Expression for "<expr> FOLLOWING" */ member 24608 assert( db->lookaside.pEnd==db->lookaside.pTrueEnd ); in sqlite3_db_status() 24609 db->lookaside.pEnd = db->lookaside.pStart; in sqlite3_db_status() 24635 db->lookaside.pEnd = db->lookaside.pTrueEnd; in sqlite3_db_status() 24653 assert( db->lookaside.pEnd==db->lookaside.pTrueEnd ); in sqlite3_db_status() 24654 db->lookaside.pEnd = db->lookaside.pStart; in sqlite3_db_status() 24658 db->lookaside.pEnd = db->lookaside.pTrueEnd; in sqlite3_db_status() 31173 if( ((uptr)p)<(uptr)(db->lookaside.pEnd) ){ in sqlite3DbFreeNN() 31212 if( ((uptr)p)<(uptr)(db->lookaside.pEnd) ){ in sqlite3DbNNFreeNN() [all …]
|
| H A D | shell.c | 696 static double timeDiff(struct timeval *pStart, struct timeval *pEnd){ in timeDiff() argument 697 return (pEnd->tv_usec - pStart->tv_usec)*0.000001 + in timeDiff() 698 (double)(pEnd->tv_sec - pStart->tv_sec); in timeDiff() 774 static double timeDiff(FILETIME *pStart, FILETIME *pEnd){ in timeDiff() argument 776 sqlite_int64 i64End = *((sqlite_int64 *) pEnd); in timeDiff() 10903 u8 *pEnd = &aExtra[nExtra]; in zipfileScanExtra() local 10905 while( p<pEnd ){ in zipfileScanExtra() 14135 IdxWrite *pEnd = 0; in idxProcessTriggers() local 14138 while( rc==SQLITE_OK && pFirst!=pEnd ){ in idxProcessTriggers() 14140 for(pIter=pFirst; rc==SQLITE_OK && pIter!=pEnd; pIter=pIter->pNext){ in idxProcessTriggers() [all …]
|