Lines Matching refs:buffer
236 void tomoyo_print_ulong(char *buffer, const int buffer_len, in tomoyo_print_ulong() argument
240 snprintf(buffer, buffer_len, "%lu", value); in tomoyo_print_ulong()
242 snprintf(buffer, buffer_len, "0%lo", value); in tomoyo_print_ulong()
244 snprintf(buffer, buffer_len, "0x%lX", value); in tomoyo_print_ulong()
246 snprintf(buffer, buffer_len, "type(%u)", type); in tomoyo_print_ulong()
414 void tomoyo_normalize_line(unsigned char *buffer) in tomoyo_normalize_line() argument
416 unsigned char *sp = buffer; in tomoyo_normalize_line()
417 unsigned char *dp = buffer; in tomoyo_normalize_line()
571 bool tomoyo_domain_def(const unsigned char *buffer) in tomoyo_domain_def() argument
575 if (*buffer != '<') in tomoyo_domain_def()
577 cp = strchr(buffer, ' '); in tomoyo_domain_def()
579 len = strlen(buffer); in tomoyo_domain_def()
581 len = cp - buffer; in tomoyo_domain_def()
582 if (buffer[len - 1] != '>' || in tomoyo_domain_def()
583 !tomoyo_correct_word2(buffer + 1, len - 2)) in tomoyo_domain_def()