Lines Matching refs:fmt
161 static int fmtLen(int fmt) { return 1+(fmt-U1_FORMAT)/(U2_FORMAT-U1_FORMAT); }
165 static int makeDesc(int loc, int fmt) {
166 int desc = (loc << LOC_SHIFT) | fmt;
168 assert(descFmt(desc) == fmt);
171 int fetchDesc(int loc, int fmt) {
175 if (fmt == U2_FORMAT) {
184 boolean storeDesc(int loc, int fmt, int desc) {
189 switch (fmt) {
198 assert(fetchDesc(loc, fmt) == desc);
207 assert(fetchDesc(loc, fmt) == desc);
215 assert(fmt==U1_FORMAT || (bytes[loc+1]=(byte)bigDescs[BIGSIZE])!=999);
218 void storeIndex(int loc, int fmt, int value) {
219 storeIndex(bytes, loc, fmt, value);
222 void storeIndex(byte[] bytes, int loc, int fmt, int value) {
223 switch (fmt) {
246 public Fixup(int loc, int fmt, Entry entry) {
247 this.desc = makeDesc(loc, fmt);
287 int fmt = descFmt(thisDesc);
289 next = fetchDesc(loc, fmt);
293 assert(fmt==U1_FORMAT || bytes == null || bytes[loc+1]==(byte)bigIndex);
380 byte[] bytes, int loc, int fmt,
384 if (loc == SPECIAL_LOC && fmt == SPECIAL_FMT) {
400 f.add(loc, fmt, e);
483 int fmt = (isU1 ? U1_FORMAT : U2_FORMAT);
485 f.add(loc, fmt, e);
489 nextLoc += fmtLen(fmt) + (iptr < 5 ? 0 : 1);
496 if (fmt == U1_FORMAT) {