/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | bytes.cpp | 136 size_t maxlen = nlen; local 137 if (maxlen < 128) maxlen = 128; 138 if (maxlen < allocated*2) maxlen = allocated*2; 142 b.malloc(maxlen); 143 if (b.len == maxlen) 146 b.realloc(maxlen); 149 if (allocated != maxlen) {
|
H A D | jni.cpp | 60 void* buf, jlong minlen, jlong maxlen); 126 void* buf, jlong minlen, jlong maxlen) { 128 jobject pbuf = env->NewDirectByteBuffer(buf, maxlen); 125 read_input_via_jni(unpacker* self, void* buf, jlong minlen, jlong maxlen) argument
|
H A D | main.cpp | 85 void* buf, jlong minlen, jlong maxlen) { 86 assert(minlen <= maxlen); // don't talk nonsense 90 // read available input, up to buf.length or maxlen 92 if (readlen > (maxlen - numread)) 93 readlen = (int)(maxlen - numread); 112 assert(numread <= maxlen); 115 // (int)minlen, (int)maxlen, (int)numread); 84 read_input_via_stdio(unpacker* u, void* buf, jlong minlen, jlong maxlen) argument
|
H A D | zip.cpp | 431 void* buf, jlong minlen, jlong maxlen) { 432 assert(minlen <= maxlen); // don't talk nonsense 442 if (readlen > (maxlen - numread)) 443 readlen = (int)(maxlen - numread); 458 assert(numread <= maxlen); 482 // (int)minlen, (int)maxlen, (int)numread); 430 read_input_via_gzip(unpacker* u, void* buf, jlong minlen, jlong maxlen) argument
|
H A D | unpack.cpp | 1083 int maxlen = 0; local 1101 if (maxlen < prefix + suffix) { 1102 maxlen = prefix + suffix; 1138 bigbuf.malloc(maxlen * 3 + 1); // max Utf8 length, plus slop for null
|
/openjdk7/jdk/src/share/back/ |
H A D | transport.c | 62 int maxlen; local 66 maxlen = len+len/2+2; /* Should allow for plenty of room */ 67 utf8msg = (jbyte*)jvmtiAllocate(maxlen+1); 69 msg, len, utf8msg, maxlen); local 70 utf8msg[maxlen] = 0;
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | UnixFileSystem_md.c | 285 int len, maxlen; local 302 maxlen = 16; 303 rv = (*env)->NewObjectArray(env, maxlen, JNU_ClassString(env), NULL); 311 if (len == maxlen) { 313 rv = (*env)->NewObjectArray(env, maxlen <<= 1,
|
/openjdk7/jdk/src/share/demo/jvmti/minst/ |
H A D | minst.c | 317 int maxlen; local 319 maxlen = MAX_METHOD_NAME_LENGTH; 321 gdata->include = (char*)calloc(maxlen+1, 1); 328 realloc((void*)gdata->include, used+maxlen+1); 334 next = get_token(next, ",=", gdata->include+used, maxlen); 341 int maxlen; local 343 maxlen = MAX_METHOD_NAME_LENGTH; 345 gdata->exclude = (char*)calloc(maxlen+1, 1); 352 realloc((void*)gdata->exclude, used+maxlen+1); 358 next = get_token(next, ",=", gdata->exclude+used, maxlen); [all...] |
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | Win32FileSystem_md.c | 339 int len, maxlen; local 349 maxlen = 16; 350 rv = (*env)->NewObjectArray(env, maxlen, JNU_ClassString(env), NULL); 358 if (len == maxlen) { 360 rv = (*env)->NewObjectArray(env, maxlen <<= 1,
|
H A D | WinNTFileSystem_md.c | 615 int len, maxlen; local 674 maxlen = 16; 675 rv = (*env)->NewObjectArray(env, maxlen, JNU_ClassString(env), NULL); 687 if (len == maxlen) { 689 rv = (*env)->NewObjectArray(env, maxlen <<= 1,
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_TextArea.cpp | 99 size_t AwtTextArea::CountNewLines(JNIEnv *env, jstring jStr, size_t maxlen) argument 115 for (size_t i = 0; i < maxlen && i < length - 1; i++) {
|
H A D | awt_PrintJob.cpp | 1915 int maxlen = static_cast<int>(sizeof(lf.lfFaceName)) - 1; local 1916 // maxlen is int due to cbMultiByte parameter is int 1922 maxlen, // max len
|
/openjdk7/jdk/src/share/demo/jvmti/mtrace/ |
H A D | mtrace.c | 153 get_thread_name(jvmtiEnv *jvmti, jthread thread, char *tname, int maxlen) argument 174 if ( len < maxlen ) { 641 int maxlen; local 643 maxlen = MAX_METHOD_NAME_LENGTH; 645 gdata->include = (char*)calloc(maxlen+1, 1); 652 realloc((void*)gdata->include, used+maxlen+1); 658 next = get_token(next, ",=", gdata->include+used, maxlen); 665 int maxlen; local 667 maxlen = MAX_METHOD_NAME_LENGTH; 669 gdata->exclude = (char*)calloc(maxlen [all...] |
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | output_h.cpp | 132 size_t maxlen = 0; local 137 if (len > maxlen) maxlen = len; 147 for (size_t i = strlen(reg_def->_regname); i < maxlen; i++) fprintf(fp_hpp, " ");
|
/openjdk7/jdk/src/share/native/sun/security/ec/impl/ |
H A D | mpi.c | 4754 mp_to_unsigned_octets(const mp_int *mp, unsigned char *str, mp_size maxlen) argument 4762 ARGCHK(bytes <= maxlen, MP_BADARG); 4786 mp_to_signed_octets(const mp_int *mp, unsigned char *str, mp_size maxlen) argument 4794 ARGCHK(bytes <= maxlen, MP_BADARG); 4808 ARGCHK(bytes + 1 <= maxlen, MP_BADARG); 4809 if (bytes + 1 > maxlen)
|