Lines Matching refs:currpos
74 int currpos = 0; in memcpy_EBCDIC() local
88 pwbuf[ currpos++ ] = p[ processedchars++ ]; in memcpy_EBCDIC()
91 pwbuf[ currpos++ ] = p[ processedchars++ ]; in memcpy_EBCDIC()
101 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\n'] ); in memcpy_EBCDIC()
106 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\t'] ); in memcpy_EBCDIC()
111 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\v'] ); in memcpy_EBCDIC()
116 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\b'] ); in memcpy_EBCDIC()
121 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\r'] ); in memcpy_EBCDIC()
126 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\f'] ); in memcpy_EBCDIC()
131 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\a'] ); in memcpy_EBCDIC()
136 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\\'] ); in memcpy_EBCDIC()
141 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\?'] ); in memcpy_EBCDIC()
146 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\''] ); in memcpy_EBCDIC()
151 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1['\"'] ); in memcpy_EBCDIC()
165 int startpos = currpos; in memcpy_EBCDIC()
167 pwbuf[ currpos++ ] = '\\'; in memcpy_EBCDIC()
169 … while( p[ processedchars ] >= '0' && p[ processedchars ] <= '7' && (currpos < startpos + 4) ) in memcpy_EBCDIC()
170 pwbuf[ currpos++ ] = (unsigned char)p[ processedchars++ ]; in memcpy_EBCDIC()
178 int startpos = currpos; in memcpy_EBCDIC()
180 pwbuf[ currpos++ ] = '\\'; in memcpy_EBCDIC()
181 pwbuf[ currpos++ ] = 'x'; in memcpy_EBCDIC()
184 while( isxdigit( p[ processedchars ] ) && (currpos < startpos + 4) ) in memcpy_EBCDIC()
185 pwbuf[ currpos++ ] = (unsigned char)p[ processedchars++ ]; in memcpy_EBCDIC()
192 currpos += sprintf( &pwbuf[ currpos ], MASK, toLatin1[p[ processedchars++ ]] ); in memcpy_EBCDIC()
197 pwbuf[ currpos++ ] = p[ processedchars ]; in memcpy_EBCDIC()
199 return currpos; in memcpy_EBCDIC()