Searched refs:author_length (Results 1 – 9 of 9) sorted by relevance
/dports/net-im/uTox/uTox/tests/ |
H A D | test_chatlog.c | 40 size_t author_length = 9; in create_mock_message() local 47 header.author_length = author_length; in create_mock_message() 53 *length = sizeof(header) + msg_length + author_length + 1; /* extra \n char */ in create_mock_message() 60 memcpy(data + sizeof(header), author, author_length); in create_mock_message() 61 memcpy(data + sizeof(header) + author_length, msg, msg_length); in create_mock_message()
|
/dports/net-im/uTox/uTox/src/ |
H A D | chatlog.c | 61 fseeko(file, header.author_length + header.msg_length + 1, SEEK_CUR); in utox_count_chatlog() 128 fseeko(file, header.author_length, SEEK_CUR); /* Skip the recorded author */ in utox_load_chatlog() 138 fseeko(file, header.author_length, SEEK_CUR); in utox_load_chatlog() 176 msg->via.txt.author_length = header.author_length; in utox_load_chatlog() 281 fseek(file, header.author_length, SEEK_CUR); in utox_export_chatlog() 285 for (size_t i = 0; i < header.author_length; ++i) { in utox_export_chatlog()
|
H A D | messages.c | 285 msg->via.txt.author_length = self.name_length; in message_add_type_text() 291 msg->via.txt.author_length = f->name_length; in message_add_type_text() 340 msg->via.txt.author_length = f->name_length; in message_add_type_action() 370 msg->via.txt.author_length = self.name_length; in message_add_type_notice() 474 size_t author_length; in message_log_to_disk() local 477 author_length = self.name_length; in message_log_to_disk() 480 author_length = f->name_length; in message_log_to_disk() 486 header.author_length = author_length; in message_log_to_disk() 625 header.author_length = msg->via.txt.author_length; in messages_clear_receipt() 1683 p += msg->via.grp.author_length; in messages_selection() [all …]
|
H A D | messages.h | 33 uint16_t author_length; member 41 uint16_t author_length; member
|
H A D | chatlog.h | 16 size_t author_length; member
|
H A D | groups.c | 127 msg->via.grp.author_length = peer->name_length; in group_add_message()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/library/ |
H A D | __init__.py | 22 author_length=7, argument 41 all_authors = [randstr(author_length) for j in range(num_of_authors)]
|
/dports/databases/namazu2/namazu-2.0.21/filter/ |
H A D | taro7_10.pl | 129 my $author_length = unpack("v", substr($pps[0]->{Data}, 132 $position + 86, $author_length);
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/demuxers/ |
H A D | asfheader.c | 677 …uint16_t title_length = 0, author_length = 0, copyright_length = 0, description_length = 0, rating… in asf_header_parse_content_description() local 696 author_length = _X_LE_16 (p + 2); in asf_header_parse_content_description() 702 content->author = asf_reader_get_string(&reader, author_length, iconv_cd); in asf_header_parse_content_description() 708 lprintf("author: %d chars: \"%s\"\n", author_length, content->author); in asf_header_parse_content_description()
|