Searched refs:buff (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/unistd/ |
D | perror.c | 34 char buff[256]; in perror() local 36 strerror_r( errno, buff, sizeof(buff) ); in perror() 42 write( 2, buff, strlen(buff) ); in perror()
|
D | ptsname.c | 37 static char buff[64]; in ptsname() local 42 snprintf( buff, sizeof(buff), "/dev/pts/%u", pty_num ); in ptsname() 43 return buff; in ptsname()
|
D | ptsname_r.c | 38 char buff[64]; in ptsname_r() local 49 len = snprintf( buff, sizeof(buff), "/dev/pts/%u", pty_num ); in ptsname_r() 54 memcpy( buf, buff, len+1 ); in ptsname_r()
|
D | gethostname.c | 33 int gethostname(char* buff, size_t buflen) in gethostname() argument 47 memcpy( buff, name.nodename, namelen+1 ); in gethostname()
|
D | sysconf.c | 278 char buff[128]; member 286 p->len = (int)sizeof(p->buff); in line_parser_init() 309 p->buff[p->rpos] = 0; in line_parser_addc() 313 p->buff[p->rpos++] = (char) c; in line_parser_addc() 349 return p->buff; in line_parser_gets()
|
/bionic/libc/netbsd/resolv/ |
D | res_cache.c | 325 char buff[1024]; in XLOG_BYTES() local 326 char* p = buff, *end = p + sizeof(buff); in XLOG_BYTES() 329 XLOG("%s",buff); in XLOG_BYTES() 448 _dnsPacket_init( DnsPacket* packet, const uint8_t* buff, int bufflen ) in _dnsPacket_init() argument 450 packet->base = buff; in _dnsPacket_init() 451 packet->end = buff + bufflen; in _dnsPacket_init() 452 packet->cursor = buff; in _dnsPacket_init()
|