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.c1053 int *bufsize; in NET_SetSockOpt() local
1111 int *bufsize, maxbuf; in NET_SetSockOpt() local
1153 bufsize = (int *)arg; in NET_SetSockOpt()
1154 if (*bufsize > maxbuf) { in NET_SetSockOpt()
1155 *bufsize = maxbuf; in NET_SetSockOpt()
1169 int *bufsize = (int *)arg; in NET_SetSockOpt() local
1170 if (*bufsize < 1024) { in NET_SetSockOpt()
1171 *bufsize = 1024; in NET_SetSockOpt()
1206 bufsize = (int *)arg; in NET_SetSockOpt()
1207 if (*bufsize > maxsockbuf) { in NET_SetSockOpt()
[all …]
Dzip_util.c1056 readCENHeader(jzfile *zip, jlong cenpos, jint bufsize) in readCENHeader() argument
1061 if (bufsize > zip->len - cenpos) in readCENHeader()
1062 bufsize = (jint)(zip->len - cenpos); in readCENHeader()
1063 if ((cen = malloc(bufsize)) == NULL) goto Catch; in readCENHeader()
1064 if (readFullyAt(zfd, cen, bufsize, cenpos) == -1) goto Catch; in readCENHeader()
1066 if (censize <= bufsize) return cen; in readCENHeader()
1068 if (readFullyAt(zfd, cen+bufsize, censize-bufsize, cenpos + bufsize) == -1) goto Catch; in readCENHeader()