Searched refs:buflen (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/native/ |
D | SocketOutputStream.c | 61 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()
|
D | UnixNativeDispatcher.c | 975 int buflen; in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() local 979 buflen = (int)sysconf(_SC_GETPW_R_SIZE_MAX); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() 980 if (buflen == -1) in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() 981 buflen = ENT_BUF_SIZE; in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() 982 pwbuf = (char*)malloc(buflen); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() 992 RESTARTABLE_RETURN_PTR(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen), p); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() 994 RESTARTABLE(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen, &p), res); in Java_sun_nio_fs_UnixNativeDispatcher_getpwuid() 1020 int buflen; in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid() local 1024 buflen = (int)sysconf(_SC_GETGR_R_SIZE_MAX); in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid() 1025 if (buflen == -1) in Java_sun_nio_fs_UnixNativeDispatcher_getgrgid() [all …]
|
D | LinuxNativeDispatcher.c | 177 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/ |
D | SocketInputStream.java | 241 int buflen = (int) Math.min(1024, n); in skip() local 242 byte data[] = new byte[buflen]; in skip() 244 int r = read(data, 0, (int) Math.min((long) buflen, n)); in skip()
|