|
| static int | sl_pack_loop (DALLOC_CTX *query, char *buf, int offset, char *toc_buf, int *toc_idx) |
| static int | sl_unpack_loop (DALLOC_CTX *query, const char *buf, int offset, uint count, const uint toc_offset, const uint encoding, int depth) |
| static int | sl_unpack_cpx (DALLOC_CTX *query, const char *buf, const int offset, uint cpx_query_type, uint cpx_query_count, const uint toc_offset, const uint encoding, int depth) |
| static int | sl_unpack_r (DALLOC_CTX *query, const char *buf, int depth) |
| static int | sivalc (char *buf, off_t off, off_t maxoff, uint32_t val) |
| static int | slvalc (char *buf, off_t off, off_t maxoff, uint64_t val) |
| static uint | spotlight_get_utf16_string_encoding (const char *buf, int offset, int query_length, uint encoding) |
| | Returns the UTF-16 string encoding, by checking the 2-byte byte order mark.
|
| static uint64_t | sl_pack_tag (uint16_t type, uint16_t size_or_count, uint32_t val) |
| static int | sl_pack_float (double d, char *buf, int offset) |
| static int | sl_pack_uint64 (uint64_t u, char *buf, int offset) |
| static int | sl_pack_bool (sl_bool_t bl, char *buf, int offset) |
| static int | sl_pack_nil (char *buf, int offset) |
| static int | sl_pack_date (sl_time_t t, char *buf, int offset) |
| static int | sl_pack_uuid (sl_uuid_t *uuid, char *buf, int offset) |
| static int | sl_pack_CNID (sl_cnids_t *cnids, char *buf, int offset, char *toc_buf, int *toc_idx) |
| static int | sl_pack_array (sl_array_t *array, char *buf, int offset, char *toc_buf, int *toc_idx) |
| static int | sl_pack_dict (sl_array_t *dict, char *buf, int offset, char *toc_buf, int *toc_idx) |
| static int | sl_pack_filemeta (sl_filemeta_t *fm, char *buf, int offset, char *toc_buf, int *toc_idx) |
| static int | sl_pack_string (char *s, char *buf, int offset, char *toc_buf, int *toc_idx) |
| static uint64_t | sl_unpack_uint64 (const char *buf, int offset, uint encoding) |
| static int | sl_unpack_ints (DALLOC_CTX *query, const char *buf, int offset, uint encoding) |
| static int | sl_unpack_date (DALLOC_CTX *query, const char *buf, int offset, uint encoding) |
| static int | sl_unpack_uuid (DALLOC_CTX *query, const char *buf, int offset, uint encoding) |
| static int | sl_unpack_floats (DALLOC_CTX *query, const char *buf, int offset, uint encoding) |
| static int | sl_unpack_CNID (DALLOC_CTX *query, const char *buf, int offset, int length, uint encoding) |
| static const char * | spotlight_get_qtype_string (uint64_t query_type) |
| static const char * | spotlight_get_cpx_qtype_string (uint64_t cpx_query_type) |
| int | sl_pack (DALLOC_CTX *query, char *buf) |
| int | sl_unpack (DALLOC_CTX *query, const char *buf) |