Home | History | Annotate | Download | only in lib

Lines Matching refs:bufPos

1424     picoos_int32 bufPos;
1749 sdf->bufPos = 0;
1793 nrSamples = sdFile->bufPos;
1810 sdFile->bufPos = 0;
1816 if ((sdFile != NULL) && !(sdFile->aborted) && (sdFile->bufPos > 0)) {
1839 sdFile->buf[sdFile->bufPos++] = s;
1840 if (sdFile->bufPos >= PICOOS_SDF_BUF_LEN) {
1858 if (!((*sdFile)->aborted) && ((*sdFile)->bufPos > 0)) {
1929 * position bufpos. */
1930 static picoos_uint8 os_matched( picoos_char * str, picoos_uint32 strlen, picoos_char * buf, picoos_int32 bufpos) {
1932 while (i >= 0 && buf[bufpos] == str[i]) {
1934 bufpos--;
1935 if (bufpos < 0) {
1936 bufpos = strlen-1;
1963 picoos_uint8 strlen, bufpos;
1976 bufpos = strlen-1; /* last legal buf position */
1977 done = os_matched(str,strlen,buf,bufpos);
1980 bufpos = (bufpos + 1) % strlen;
1981 done = picoos_ReadBytes(f,(picoos_uint8 *)buf+bufpos,&n) && 1 == n;
1982 done = done && os_matched(str,strlen,buf,bufpos);