Lines Matching refs:code
88 // the string as number and use it directly as type code
93 // if that didn't work, try the string as a char-type-code
108 fprintf(stderr, "usage: %s [-t type|-c code] [ -P ] attr value file1 [file2...]\n"
109 " or: %s [-f value-from-file] [-t type|-c code] [ -P ] attr file1 [file2...]\n\n"
116 "\t\tor an escape-quoted type code, eg. \\'MICN\\'\n"
131 "\t\tor a quoted type code, eg.: \\'MICN\\'\n"
132 "\t\tOr enter the actual type code with the '-c' option\n");
141 fprintf(stderr, "%s: attribute type code \"%s\" is not valid\n", kProgramName,
219 // Get the type code directly
220 char code[] = "' '";
221 strncpy(code + 1, optarg, 4);
222 if (typeForString(code, &attrType) == B_OK)