Lines Matching defs:buffer

247           assert(utf8_buffer != NULL, "null utf8 buffer");
1648 int ClassFileParser::skip_annotation(u1* buffer, int limit, int index) {
1653 int nmem = Bytes::get_Java_u2(buffer+index-2);
1656 index = skip_annotation_value(buffer, limit, index);
1662 int ClassFileParser::skip_annotation_value(u1* buffer, int limit, int index) {
1672 u1 tag = buffer[index-1];
1684 int nval = Bytes::get_Java_u2(buffer+index-2);
1686 index = skip_annotation_value(buffer, limit, index);
1691 index = skip_annotation(buffer, limit, index);
1701 void ClassFileParser::parse_annotations(u1* buffer, int limit,
1708 int nann = Bytes::get_Java_u2(buffer+index-2);
1725 index = skip_annotation(buffer, limit, index);
1726 u1* abase = buffer + index0;
2228 linenumber_table->buffer(), linenumber_table_length);
2512 assert(sde_buffer != NULL, "null sde buffer");
2631 // Restore buffer's current position.
2971 unsigned char* ptr = cfs->buffer();
2972 unsigned char* end_ptr = cfs->buffer() + cfs->length();
2979 if (ptr != cfs->buffer()) {
4267 void ClassFileParser::verify_legal_utf8(const unsigned char* buffer, int length, TRAPS) {
4272 unsigned char b0 = buffer[i];
4273 unsigned char b1 = buffer[i+1];
4274 unsigned char b2 = buffer[i+2];
4275 unsigned char b3 = buffer[i+3];
4289 guarantee_property((buffer[i] != 0), "Illegal UTF8 string in constant pool in class file %s", CHECK);
4290 if(buffer[i] < 128) {
4294 if (UTF8::is_supplementary_character(&buffer[i])) {
4295 c = UTF8::get_supplementary_character(&buffer[i]);
4300 switch (buffer[i] >> 4) {
4305 c = (buffer[i] & 0x1F) << 6;
4307 if ((i < length) && ((buffer[i] & 0xC0) == 0x80)) {
4308 c += buffer[i] & 0x3F;
4316 c = (buffer[i] & 0xF) << 12;
4318 if ((i < length) && ((buffer[i-1] & 0xC0) == 0x80) && ((buffer[i] & 0xC0) == 0x80)) {
4319 c += ((buffer[i-1] & 0x3F) << 6) + (buffer[i] & 0x3F);