Lines Matching defs:nbytes
416 check_heap_tags(struct LookupTable *utab, unsigned char *pstart, int nbytes)
440 while ( p < (pstart+nbytes) ) {
551 CHECK_FOR_ERROR(p==pstart+nbytes);
556 while ( p < (pstart+nbytes) ) {
693 " cid=0x%x, nbytes=%d\n",
822 CHECK_FOR_ERROR(p==pstart+nbytes);
846 check_tags(unsigned char *pstart, int nbytes)
860 while ( p < (pstart+nbytes) ) {
1082 CHECK_FOR_ERROR(p<=(pstart+nbytes));
1085 CHECK_FOR_ERROR(p==(pstart+nbytes));
1096 jlong nbytes;
1102 if ( (nbytes = md_seek(fd, (jlong)-1)) == (jlong)-1 ) {
1105 CHECK_FOR_ERROR(((jint)nbytes)>512);
1109 image = HPROF_MALLOC(((jint)nbytes)+1);
1113 nread = md_read(fd, image, (jint)nbytes);
1117 CHECK_FOR_ERROR(((jint)nbytes)==nread);
1119 *pnbytes = (jint)nbytes;
1131 int nbytes;
1134 image = get_binary_file_image(filename, &nbytes);
1141 check_printf("Filename=%s, nbytes=%d, header=\"%s\"\n",
1142 filename, nbytes, p);
1149 nrecords = check_tags(p, nbytes - (int)( p - image ) );
1150 check_printf("#%d total records found in %d bytes\n", nrecords, nbytes);