• Home
  • Raw
  • Download

Lines Matching refs:value_length

78   unsigned int value_length;  member
109 matchlet->value_length = 0; in _xdg_mime_magic_matchlet_new()
380 matchlet->value_length = 0; in _xdg_mime_magic_parse_magic_line()
387 matchlet->value_length = c & 0xFF; in _xdg_mime_magic_parse_magic_line()
388 matchlet->value_length = matchlet->value_length << 8; in _xdg_mime_magic_parse_magic_line()
396 matchlet->value_length = matchlet->value_length + (c & 0xFF); in _xdg_mime_magic_parse_magic_line()
398 matchlet->value = malloc (matchlet->value_length); in _xdg_mime_magic_parse_magic_line()
406 bytes_read = fread (matchlet->value, 1, matchlet->value_length, magic_file); in _xdg_mime_magic_parse_magic_line()
407 if (bytes_read != matchlet->value_length) in _xdg_mime_magic_parse_magic_line()
419 matchlet->mask = malloc (matchlet->value_length); in _xdg_mime_magic_parse_magic_line()
426 bytes_read = fread (matchlet->mask, 1, matchlet->value_length, magic_file); in _xdg_mime_magic_parse_magic_line()
427 if (bytes_read != matchlet->value_length) in _xdg_mime_magic_parse_magic_line()
480 if (matchlet->value_length % matchlet->word_size != 0) in _xdg_mime_magic_parse_magic_line()
487 for (i = 0; i < matchlet->value_length; i = i + matchlet->word_size) in _xdg_mime_magic_parse_magic_line()
529 if (i + matchlet->value_length > len) in _xdg_mime_magic_matchlet_compare_to_data()
534 for (j = 0; j < matchlet->value_length; j++) in _xdg_mime_magic_matchlet_compare_to_data()
546 for (j = 0; j < matchlet->value_length; j++) in _xdg_mime_magic_matchlet_compare_to_data()
718 extent = matchlet->value_length + matchlet->offset + matchlet->range_length; in _xdg_mime_update_mime_magic_extents()