Lines Matching refs:line_buf
471 char line_buf[(MAX_NCI_PACKET_SIZE*2)+1];
474 for(i = 0, j = 0; i < len && j < sizeof(line_buf)-3; i++)
476 line_buf[j++] = sTable[(*data >> 4) & 0xf];
477 line_buf[j++] = sTable[*data & 0xf];
480 line_buf[j] = '\0';
482 __android_log_write(ANDROID_LOG_DEBUG, (is_recv) ? "BrcmNciR": "BrcmNciX", line_buf);
532 char line_buf[400];
537 if (nBytes > sizeof(line_buf))
544 for(i = 0, j = 0; i < len && j < sizeof(line_buf)-3; i++)
546 line_buf[j++] = sTable[(*data >> 4) & 0xf];
547 line_buf[j++] = sTable[*data & 0xf];
550 line_buf[j] = '\0';
552 __android_log_write(ANDROID_LOG_DEBUG, (is_recv) ? "BrcmHcpR": "BrcmHcpX", line_buf);