Searched refs:slen (Results 1 - 5 of 5) sorted by relevance

/system/core/toolbox/
H A Ddynarray.c69 void strlist_append_b( strlist_t *list, const void* str, size_t slen )
71 char *copy = malloc(slen+1);
72 memcpy(copy, str, slen);
73 copy[slen] = '\0';
H A Ddynarray.h69 /* append a new string made of the first 'slen' characters from 'str'
72 void strlist_append_b( strlist_t *list, const void* str, size_t slen );
/system/core/adb/
H A Dutils.c42 int slen = strlen(s); local
44 return buff_addb(buff, buffEnd, s, slen);
H A Dfile_sync_client.c574 int slen = strlen(spath); local
577 int ssize = slen + nlen + 2;
/system/extras/tests/bionic/libc/common/
H A Dtest_udp.c44 int s, i, slen=sizeof(si_other); local
89 if (recvfrom(s, buf, BUFLEN, 0, (struct sockaddr*)&si_other, (socklen_t*)&slen)==-1)
113 if (sendto(s, buf, BUFLEN, 0, (struct sockaddr*)&si_other, slen)==-1)

Completed in 1040 milliseconds