Searched refs:bufsize (Results 1 - 25 of 260) sorted by last modified time

1234567891011

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/papd/
H A Dmain.c607 char *getpname(char **area, int bufsize);
H A Dppd.c71 static char* my_fgets(char *buf, size_t bufsize, FILE *stream) argument
76 while (count < (bufsize - 1) && EOF != (p=fgetc(stream))) {
H A Dprintcap.c105 int getprent( char *cap, char *bp, int bufsize) argument
146 if (++i >= bufsize) {
482 decodename(char *str, char **area, int bufsize) argument
490 while ((c = *str++) && --bufsize && c != ':' && c != '|' ) {
525 getpname(char **area, int bufsize) argument
527 return( decodename( tbuf, area, bufsize));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/test/afpd/
H A Dafpfunc_helpers.c110 const int bufsize = 256; local
111 char buf[bufsize];
129 const int bufsize = 256; local
130 char buf[bufsize];
145 const int bufsize = 256; local
146 char buf[bufsize];
160 const int bufsize = 256; local
161 char buf[bufsize];
175 const int bufsize = 256; local
176 char buf[bufsize];
200 const int bufsize = 32; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/
H A Dad_cp.c651 static size_t bufsize; local
750 * Note that buf and bufsize are static. If
756 bufsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
758 bufsize = BUFSIZE_SMALL;
759 buf = malloc(bufsize);
765 while ((rcount = read(from_fd, buf, bufsize)) > 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/
H A Dftw.c282 size_t bufsize = 1024; local
283 char *buf = malloc (bufsize);
296 if (actsize + this_len + 2 >= bufsize)
299 bufsize += MAX (1024, 2 * this_len);
300 newp = (char *) realloc (buf, bufsize);
H A Dstrlcpy.c34 terminates. bufsize is the size of the destination buffer */
35 size_t strlcpy(char *d, const char *s, size_t bufsize) argument
40 if (bufsize <= 0)
43 if (len >= bufsize)
44 len = bufsize-1;
54 terminates. bufsize is the length of the buffer, which should
56 size_t strlcat(char *d, const char *s, size_t bufsize) argument
62 if (len1 >= bufsize) {
65 if (len1+len2 >= bufsize) {
66 len2 = bufsize
[all...]
H A Dvolinfo.c136 static char * make_path_absolute(char *path, size_t bufsize) argument
178 if (strlen(abspath) > bufsize)
181 strlcpy(path, abspath, bufsize);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/vfs/
H A Dea.c205 size_t bufsize = EA_HEADER_SIZE; local
223 bufsize += (*(ea->ea_entries))[count].ea_namelen + 1;
228 bufsize += (eacount * 4); /* header + ea_size for each EA */
229 if (bufsize > ea->ea_size) {
231 if ( ! (buf = realloc(ea->ea_data, bufsize)) ) {
237 ea->ea_size = bufsize;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/unicode/
H A Diconv.c219 size_t bufsize; local
231 bufsize = sizeof(cvtbuf);
233 if (cd->pull(cd->cd_pull, (char **)inbuf, inbytesleft, &bufp, &bufsize) == (size_t)-1
239 bufsize = sizeof(cvtbuf) - bufsize;
241 if (cd->push(cd->cd_push, &bufp, &bufsize, outbuf, outbytesleft) == (size_t)-1) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/
H A Dconfigure34233 char *strerror_r(int errnum, char *workbuf, $arg3 bufsize);
34336 int strerror_r(int errnum, char *resultbuf, $arg3 bufsize);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dhostip.c170 * bufsize bytes big.
175 Curl_printable_address(const Curl_addrinfo *ai, char *buf, size_t bufsize) argument
189 bufsize);
195 bufsize);
H A Dhostip.h169 * bufsize bytes big.
172 char *buf, size_t bufsize);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tests/server/
H A Dgetpart.c75 * and 'bufsize' pointers to avoid multiple buffer allocations. Buffer
76 * will be reallocated and 'bufsize' increased until whole line fits in
87 static int readline(char **buffer, size_t *bufsize, FILE *stream) argument
97 *bufsize = 128;
101 int bytestoread = curlx_uztosi(*bufsize - offset);
110 if(length < *bufsize - 1)
113 newptr = realloc(*buffer, *bufsize * 2);
117 *bufsize *= 2;
250 size_t bufsize = 0; local
272 while((error = readline(&buffer, &bufsize, strea
[all...]
H A Dtftpd.c114 size_t bufsize; /* size of the data in buffer */ member in struct:testcase
1041 test->bufsize = count; /* set total count */
1097 test->bufsize = count; /* set total count */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/examples/nss/
H A Dnss_winbind.c231 unsigned bufsize = 10; local
241 buf = malloc(bufsize);
247 status = _nss_getusersids(user_sid, &s, &num_groups, buf, bufsize,
257 bufsize *= 2;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/client/
H A Dclitar.c561 static int padit(char *buf, int bufsize, int padsize) argument
567 memset(buf, 0, bufsize);
569 bytestowrite= MIN(bufsize, padsize);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/include/
H A Dclient.h105 unsigned int bufsize; member in struct:cli_state
H A Dincludes.h1046 size_t strlcpy(char *d, const char *s, size_t bufsize);
1050 size_t strlcat(char *d, const char *s, size_t bufsize);
H A Dlibsmbclient.h777 * @param bufsize Size of buf in bytes
793 ssize_t smbc_read(int fd, void *buf, size_t bufsize);
805 * @param bufsize Size of buf in bytes
821 ssize_t smbc_write(int fd, void *buf, size_t bufsize);
H A Drpc_reg.h551 uint32 bufsize; member in struct:q_reg_info_info
H A Dxfile.h31 int bufsize; member in struct:__anon1663
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dgetsmbpass.c106 static size_t bufsize = sizeof(buf); local
147 fgets(buf, bufsize, in);
H A Diconv.c164 size_t bufsize; local
176 bufsize = sizeof(cvtbuf);
179 inbuf, inbytesleft, &bufp, &bufsize) == -1
183 bufsize = sizeof(cvtbuf) - bufsize;
186 (const char **)&bufp, &bufsize,
H A Dreplace.c45 terminates. bufsize is the size of the destination buffer */
46 size_t strlcpy(char *d, const char *s, size_t bufsize) argument
50 if (bufsize <= 0) return 0;
51 if (len >= bufsize) len = bufsize-1;
60 terminates. bufsize is the length of the buffer, which should
62 size_t strlcat(char *d, const char *s, size_t bufsize) argument
68 if (len1 >= bufsize) {
71 if (len1+len2 >= bufsize) {
72 len2 = bufsize
[all...]

Completed in 408 milliseconds

1234567891011