Searched refs:ascii_len (Results 1 – 3 of 3) sorted by relevance
197 Py_ssize_t ascii_len, bin_len; in binascii_a2b_uu() local202 ascii_len = pascii.len; in binascii_a2b_uu()204 assert(ascii_len >= 0); in binascii_a2b_uu()208 ascii_len--; in binascii_a2b_uu()217 for( ; bin_len > 0 ; ascii_len--, ascii_data++ ) { in binascii_a2b_uu()219 this_ch = (ascii_len > 0) ? *ascii_data : 0; in binascii_a2b_uu()220 if ( this_ch == '\n' || this_ch == '\r' || ascii_len <= 0) { in binascii_a2b_uu()257 while( ascii_len-- > 0 ) { in binascii_a2b_uu()368 Py_ssize_t ascii_len, bin_len; in binascii_a2b_base64() local374 ascii_len = pascii.len; in binascii_a2b_base64()[all …]
282 Py_ssize_t ascii_len, bin_len; in binascii_a2b_uu_impl() local286 ascii_len = data->len; in binascii_a2b_uu_impl()288 assert(ascii_len >= 0); in binascii_a2b_uu_impl()292 ascii_len--; in binascii_a2b_uu_impl()299 for( ; bin_len > 0 ; ascii_len--, ascii_data++ ) { in binascii_a2b_uu_impl()301 this_ch = (ascii_len > 0) ? *ascii_data : 0; in binascii_a2b_uu_impl()302 if ( this_ch == '\n' || this_ch == '\r' || ascii_len <= 0) { in binascii_a2b_uu_impl()342 while( ascii_len-- > 0 ) { in binascii_a2b_uu_impl()447 size_t ascii_len = data->len; in binascii_a2b_base64_impl() local450 Py_ssize_t bin_len = ((ascii_len+3)/4)*3; /* Upper bound, corrected later */ in binascii_a2b_base64_impl()[all …]
569 ascii2unicode(char ascii[], int ascii_len, u_char unicode[]) in ascii2unicode() argument573 BZERO(unicode, ascii_len * 2); in ascii2unicode()574 for (i = 0; i < ascii_len; i++) in ascii2unicode()