Lines Matching defs:def
1902 Attribute.Layout def = attrDefs.get(ctype).get(ai);
1903 if (def == null) continue; // unused flag bit
1905 res.add(def);
1914 // If the bit is set, it was explicitly def'd.
2019 Attribute.Layout def = Attribute.find(ctype, name, layout).layout();
2020 //def.predef = true;
2022 setAttributeLayoutIndex(def, index);
2027 assert(attrBandTable.get(def) == null); // no redef
2028 attrBandTable.put(def, ab);
2029 assert(def.bandCount == ab.length)
2030 : (def+" // "+Arrays.asList(ab));
2032 assert(assertBandOKForElems(ab, def.elems));
2033 return def;
2041 //Attribute.Layout def = Attribute.find(ctype, name, layout).layout();
2042 Attribute.Layout def = attr.layout();
2043 int ctype = def.ctype();
2045 makeNewAttributeBands(bandPrefix, def,
2047 def.name(), def.layout());
2057 Attribute.Layout def = defList.get(index);
2058 assert(def != null);
2060 attrIndexTable.put(def, null);
2061 // Clear the def bit. (For predefs, it's already clear.)
2065 Band[] ab = attrBandTable.get(def);
2092 Attribute.Layout def = attrDefs.get(ctype).get(i);
2093 if (def == null) continue; // unused flag bit
2094 if (def.bandCount == 0) continue; // empty attr
2097 assert(attrBandTable.get(def) != null);
2101 String pfx = cname+"_"+def.name()+"_"; // debug only
2103 Utils.log.fine("Making new bands for "+def);
2104 Band[] newAB = makeNewAttributeBands(pfx, def,
2106 assert(newAB.length == def.bandCount);
2107 Band[] prevAB = attrBandTable.put(def, newAB);
2119 Band[] makeNewAttributeBands(String pfx, Attribute.Layout def,
2122 makeNewAttributeBands(pfx, def.elems, addHere);
2214 protected int setAttributeLayoutIndex(Attribute.Layout def, int index) {
2215 int ctype = def.ctype;
2221 defList.add(def);
2223 Utils.log.info("Adding new attribute at "+def +": "+index);
2224 attrIndexTable.put(def, index);
2230 throw new RuntimeException("Multiple explicit definition at "+index+": "+def);
2238 +": "+def
2244 defList.set(index, def);
2245 attrIndexTable.put(def, index);