Lines Matching refs:code
90 make_code(uint32 value, char *code)
92 code[0] = (value >> 24) & 0xFF;
93 if (isprint(code[0])) {
94 code[1] = (value >> 16) & 0xFF;
95 if (isprint(code[1])) {
96 code[2] = (value >> 8) & 0xFF;
97 if (isprint(code[2])) {
98 code[3] = value & 0xFF;
99 if (isprint(code[3])) {
100 code[4] = '\0';
114 char code[5];
115 if (make_code(value, code))
116 fprintf(sOutputFile, "'%s'", code);
126 // field's type code (which goes to the left of the field name) and
193 char code[5];
197 } else if (make_code(type, code)) {
198 fprintf(sOutputFile, "resource(%s%s_%s) ", PREFIX, code, name);
199 fprintf(sHeaderFile, "\t%s%s_%s = %" B_PRId32 ",\n", PREFIX, code,