Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/native/
Dnet_util_md.c1072 int *bufsize; in NET_SetSockOpt() local
1124 int *bufsize, maxbuf; in NET_SetSockOpt() local
1166 bufsize = (int *)arg; in NET_SetSockOpt()
1167 if (*bufsize > maxbuf) { in NET_SetSockOpt()
1168 *bufsize = maxbuf; in NET_SetSockOpt()
1182 int *bufsize = (int *)arg; in NET_SetSockOpt() local
1183 if (*bufsize < 1024) { in NET_SetSockOpt()
1184 *bufsize = 1024; in NET_SetSockOpt()
1219 bufsize = (int *)arg; in NET_SetSockOpt()
1220 if (*bufsize > maxsockbuf) { in NET_SetSockOpt()
[all …]
Dzip_util.c975 readCENHeader(jzfile *zip, jlong cenpos, jint bufsize) in readCENHeader() argument
980 if (bufsize > zip->len - cenpos) in readCENHeader()
981 bufsize = (jint)(zip->len - cenpos); in readCENHeader()
982 if ((cen = malloc(bufsize)) == NULL) goto Catch; in readCENHeader()
983 if (readFullyAt(zfd, cen, bufsize, cenpos) == -1) goto Catch; in readCENHeader()
985 if (censize <= bufsize) return cen; in readCENHeader()
987 if (readFully(zfd, cen+bufsize, censize-bufsize) == -1) goto Catch; in readCENHeader()