Lines Matching refs:NumToString
196 code += " " + ev.name + ": " + NumToString(ev.value); in GenEnum()
264 return context + ".createLong(" + NumToString((int32_t)constant) + in GenDefaultValue()
265 ", " + NumToString((int32_t)(constant >> 32)) + ")"; in GenDefaultValue()
317 return value != 0 ? " + " + NumToString(value) : ""; in MaybeAdd()
322 return value != 1 ? " * " + NumToString(value) : ""; in MaybeScale()
350 *body += NumToString(struct_def.minalign) + ", "; in GenStructBody()
351 *body += NumToString(struct_def.bytesize) + ");\n"; in GenStructBody()
357 *body += " builder.pad(" + NumToString(field.padding) + ");\n"; in GenStructBody()
452 NumToString(field.value.offset) + ");\n return offset ? "; in GenStruct()
589 …code += " var offset = this.bb.__offset(this.bb_pos, " + NumToString(field.value.offset) + ");\n\… in GenStruct()
654 code += " builder.startObject(" + NumToString( in GenStruct()
676 code += NumToString(it - struct_def.fields.vec.begin()) + ", "; in GenStruct()
705 code += " builder.startVector(" + NumToString(elem_size); in GenStruct()
706 code += ", data.length, " + NumToString(alignment) + ");\n"; in GenStruct()
724 code += " builder.startVector(" + NumToString(elem_size); in GenStruct()
725 code += ", numElems, " + NumToString(alignment) + ");\n"; in GenStruct()
742 code += NumToString(field.value.offset); in GenStruct()