Home
last modified time | relevance | path

Searched refs:ascii_len (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/
Dbinascii.c267 Py_ssize_t ascii_len, bin_len; in binascii_a2b_uu_impl() local
271 ascii_len = data->len; in binascii_a2b_uu_impl()
273 assert(ascii_len >= 0); in binascii_a2b_uu_impl()
277 ascii_len--; in binascii_a2b_uu_impl()
284 for( ; bin_len > 0 ; ascii_len--, ascii_data++ ) { in binascii_a2b_uu_impl()
286 this_ch = (ascii_len > 0) ? *ascii_data : 0; in binascii_a2b_uu_impl()
287 if ( this_ch == '\n' || this_ch == '\r' || ascii_len <= 0) { in binascii_a2b_uu_impl()
327 while( ascii_len-- > 0 ) { in binascii_a2b_uu_impl()
461 Py_ssize_t ascii_len, bin_len; in binascii_a2b_base64_impl() local
467 ascii_len = data->len; in binascii_a2b_base64_impl()
[all …]
/external/python/cpython2/Modules/
Dbinascii.c197 Py_ssize_t ascii_len, bin_len; in binascii_a2b_uu() local
202 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() local
374 ascii_len = pascii.len; in binascii_a2b_base64()
[all …]
/external/u-boot/drivers/ufs/
Dufs.c1520 int ascii_len; in ufshcd_read_string_desc() local
1526 ascii_len = (desc_len - QUERY_DESC_HDR_SIZE) / 2 + 1; in ufshcd_read_string_desc()
1527 if (size < ascii_len + QUERY_DESC_HDR_SIZE) { in ufshcd_read_string_desc()
1534 buff_ascii = kmalloc(ascii_len, GFP_KERNEL); in ufshcd_read_string_desc()
1545 (uint16_t *)&buf[QUERY_DESC_HDR_SIZE], ascii_len); in ufshcd_read_string_desc()
1548 for (i = 0; i < ascii_len; i++) in ufshcd_read_string_desc()
1553 memcpy(buf + QUERY_DESC_HDR_SIZE, buff_ascii, ascii_len); in ufshcd_read_string_desc()
1554 buf[QUERY_DESC_LENGTH_OFFSET] = ascii_len + QUERY_DESC_HDR_SIZE; in ufshcd_read_string_desc()
/external/ppp/pppd/
Dchap_ms.c569 ascii2unicode(char ascii[], int ascii_len, u_char unicode[]) in ascii2unicode() argument
573 BZERO(unicode, ascii_len * 2); in ascii2unicode()
574 for (i = 0; i < ascii_len; i++) in ascii2unicode()