Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/native/
DSocketOutputStream.c61 int buflen; in SocketOutputStream_socketWrite0() local
81 buflen = MAX_BUFFER_LEN; in SocketOutputStream_socketWrite0()
83 buflen = min(MAX_HEAP_BUFFER_LEN, len); in SocketOutputStream_socketWrite0()
84 bufP = (char *)malloc((size_t)buflen); in SocketOutputStream_socketWrite0()
89 buflen = MAX_BUFFER_LEN; in SocketOutputStream_socketWrite0()
95 int chunkLen = min(buflen, len); in SocketOutputStream_socketWrite0()
DUnixNativeDispatcher.c1015 int buflen; in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() local
1019 buflen = (int)sysconf(_SC_GETPW_R_SIZE_MAX); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1020 if (buflen == -1) in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1021 buflen = ENT_BUF_SIZE; in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1022 pwbuf = (char*)malloc(buflen); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1032 RESTARTABLE_RETURN_PTR(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen), p); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1034 RESTARTABLE(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen, &p), res); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid()
1060 int buflen; in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid() local
1064 buflen = (int)sysconf(_SC_GETGR_R_SIZE_MAX); in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid()
1065 if (buflen == -1) in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid()
[all …]
DLinuxNativeDispatcher.c177 int buflen = sizeof(buf); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent() local
187 m = getmntent_r(fp, &ent, (char*)&buf, buflen); in Java_sun_nio_fs_LinuxNativeDispatcher_getmntent()
/libcore/ojluni/src/main/java/java/net/
DSocketInputStream.java247 int buflen = (int) Math.min(1024, n); in skip() local
248 byte data[] = new byte[buflen]; in skip()
250 int r = read(data, 0, (int) Math.min((long) buflen, n)); in skip()