Searched refs:bufsize (Results 1 – 2 of 2) sorted by relevance
1053 int *bufsize; in NET_SetSockOpt() local1111 int *bufsize, maxbuf; in NET_SetSockOpt() local1153 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() local1170 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 …]
1056 readCENHeader(jzfile *zip, jlong cenpos, jint bufsize) in readCENHeader() argument1061 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()