• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/bstring/

Lines Matching defs:terminator

1796 /*  int bassigngets (bstring b, bNgetc getcPtr, void * parm, char terminator)
1800 * bstring b. The stream read is terminated by the passed in terminator
1803 * If getcPtr returns with a negative number, or the terminator character
1809 int bassigngets (bstring b, bNgetc getcPtr, void * parm, char terminator) {
1825 if (c == terminator) break;
1834 /* int bgetsa (bstring b, bNgetc getcPtr, void * parm, char terminator)
1838 * bstring b. The stream read is terminated by the passed in terminator
1841 * If getcPtr returns with a negative number, or the terminator character
1847 int bgetsa (bstring b, bNgetc getcPtr, void * parm, char terminator) {
1863 if (c == terminator) break;
1872 /* bstring bgetstream (bNgetc getcPtr, void * parm, char terminator)
1876 * The stream read is terminated by the passed in terminator function.
1878 * If getcPtr returns with a negative number, or the terminator character
1883 bstring bgetstream (bNgetc getcPtr, void * parm, char terminator) {
1886 if (0 > bgetsa (buff = bfromcstr (""), getcPtr, parm, terminator) || 0 >= buff->slen) {
1957 /* int bsreadlna (bstring r, struct bStream * s, char terminator)
1959 * Read a bstring terminated by the terminator character or the end of the
1964 int bsreadlna (bstring r, struct bStream * s, char terminator) {
1976 /* First check if the current buffer holds the terminator */
1977 b[l] = terminator; /* Set sentinel */
1978 for (i=0; b[i] != terminator; i++) ;
2006 b[l] = terminator; /* Set sentinel */
2007 for (i=0; b[i] != terminator; i++) ;
2045 /* First check if the current buffer holds the terminator */
2156 /* int bsreadln (bstring r, struct bStream * s, char terminator)
2158 * Read a bstring terminated by the terminator character or the end of the
2163 int bsreadln (bstring r, struct bStream * s, char terminator) {
2168 return bsreadlna (r, s, terminator);