/third_party/iowow/src/utils/ |
D | iwbits.h | 49 IW_INLINE uint8_t iwbits_find_first_sbit64(uint64_t x) { in iwbits_find_first_sbit64() 81 IW_INLINE uint8_t iwbits_find_last_sbit64(uint64_t x) { in iwbits_find_last_sbit64() 114 IW_INLINE uint64_t iwbits_reverse_64(uint64_t x) { in iwbits_reverse_64()
|
D | iwhmap.c | 46 IW_INLINE uint32_t _n_buckets(hmap_t *hm) { in _n_buckets() 76 IW_INLINE uint32_t _hash_int32(uint32_t x) { in _hash_int32() 87 IW_INLINE uint32_t _hash_int64(uint64_t x) { in _hash_int64() 91 IW_INLINE uint32_t _hash_int64_key(const void *key) { in _hash_int64_key() 101 IW_INLINE uint32_t _hash_int32_key(const void *key) { in _hash_int32_key() 105 IW_INLINE uint32_t _hash_buf_key(const void *key) { in _hash_buf_key()
|
D | murmur3.c | 11 IW_INLINE uint32_t rotl32(uint32_t x, int8_t r) { in rotl32() 16 IW_INLINE uint64_t rotl64(uint64_t x, int8_t r) { in rotl64() 27 IW_INLINE uint32_t fmix32(uint32_t h) { in fmix32() 37 IW_INLINE uint64_t fmix64(uint64_t k) { in fmix64()
|
D | iwpool.c | 67 IW_INLINE int iwpool_extend(IWPOOL *pool, size_t siz) { in iwpool_extend() 134 IW_INLINE int _iwpool_printf_estimate_size(const char *format, va_list ap) { in _iwpool_printf_estimate_size()
|
D | iwuuid.c | 12 IW_INLINE bool _is_uuid_char(char ch) { in _is_uuid_char()
|
D | iwsha2.c | 36 IW_INLINE uint32_t right_rot(uint32_t value, unsigned int count) { in right_rot()
|
/third_party/iowow/src/ |
D | basedefs.h | 63 #define IW_INLINE static inline __attribute__((always_inline)) macro 65 #define IW_INLINE static inline macro
|
/third_party/iowow/src/kv/ |
D | iwkv_internal.h | 331 IW_INLINE iwrc _api_rlock(IWKV iwkv) { in _api_rlock() 342 IW_INLINE iwrc _api_wlock(IWKV iwkv) { in _api_wlock() 362 IW_INLINE iwrc _api_db_rlock(IWDB db) { in _api_db_rlock() 378 IW_INLINE iwrc _api_db_wlock(IWDB db) { in _api_db_wlock()
|
D | iwal.c | 62 IW_INLINE iwrc _lock(IWAL *wal) { in _lock() 67 IW_INLINE iwrc _unlock(IWAL *wal) { in _unlock() 159 IW_INLINE iwrc _truncate_wl(IWAL *wal) { in _truncate_wl() 193 IW_INLINE iwrc _write_op(IWAL *wal, const void *op, off_t oplen, const uint8_t *data, off_t len) { in _write_op() 604 IW_INLINE bool _need_checkpoint(IWAL *wal) { in _need_checkpoint()
|
D | iwkv.c | 152 IW_INLINE int _cmp_keys(iwdb_flags_t dbflg, const void *v1, int v1len, const IWKV_val *key) { in _cmp_keys() 170 IW_INLINE void _kv_val_dispose(IWKV_val *v) { in _kv_val_dispose() 178 IW_INLINE void _kv_dispose(IWKV_val *key, IWKV_val *val) { in _kv_dispose() 191 IW_INLINE void _num2lebuf(uint8_t buf[static 8], void *numdata, size_t sz) { in _num2lebuf() 684 IW_INLINE void _kvblk_create(IWLCTX *lx, off_t baddr, uint8_t kvbpow, KVBLK **oblk) { in _kvblk_create() 698 IW_INLINE WUR iwrc _kvblk_key_peek(const KVBLK *kb, in _kvblk_key_peek() 721 IW_INLINE void _kvblk_value_peek(const KVBLK *kb, uint8_t idx, const uint8_t *mm, uint8_t **obuf, u… in _kvblk_value_peek() 913 IW_INLINE off_t _kvblk_compacted_offset(KVBLK *kb) { in _kvblk_compacted_offset() 921 IW_INLINE off_t _kvblk_compacted_dsize(KVBLK *kb) { in _kvblk_compacted_dsize() 1026 IW_INLINE off_t _kvblk_maxkvoff(KVBLK *kb) { in _kvblk_maxkvoff() [all …]
|
/third_party/iowow/src/platform/win32/ |
D | win32.c | 16 IW_INLINE uint64_t _iwp_filetime2ticks(const FILETIME *ft) { in _iwp_filetime2ticks() 25 IW_INLINE void _iwp_filetime2timespec(const FILETIME *ft, struct timespec *spec) { in _iwp_filetime2timespec() 31 IW_INLINE uint64_t _iwp_filetime2millisecons(const FILETIME *ft) { in _iwp_filetime2millisecons()
|
/third_party/iowow/src/rdb/ |
D | iwrdb.c | 26 IW_INLINE iwrc _wlock(IWRDB db) { in _wlock() 31 IW_INLINE iwrc _rlock(IWRDB db) { in _rlock() 36 IW_INLINE iwrc _unlock(IWRDB db) { in _unlock()
|
/third_party/ejdb/src/bindings/ejdb2_dart/lib/ |
D | ejdb2_dart.c | 56 IW_INLINE Dart_Handle ejd_error_check_propagate(Dart_Handle handle); 57 IW_INLINE Dart_Handle ejd_error_rc_create(iwrc rc); 58 IW_INLINE void ejd_error_rc_throw(iwrc rc); 132 IW_INLINE char *cobject_str(Dart_CObject *co, bool nulls, iwrc *rcp) { in cobject_str() 145 IW_INLINE int64_t cobject_int(Dart_CObject *co, bool nulls, iwrc *rcp) { in cobject_int() 160 IW_INLINE bool cobject_bool(Dart_CObject *co, bool nulls, iwrc *rcp) { in cobject_bool() 173 IW_INLINE double cobject_double(Dart_CObject *co, bool nulls, iwrc *rcp) { in cobject_double() 186 IW_INLINE Dart_Handle ejd_error_check_propagate(Dart_Handle handle) { in ejd_error_check_propagate() 209 IW_INLINE Dart_Handle ejd_error_rc_create(iwrc rc) { in ejd_error_rc_create() 214 IW_INLINE Dart_Handle ejd_error_rc_create2(iwrc rc, const char *msg) { in ejd_error_rc_create2() [all …]
|
/third_party/iowow/src/fs/ |
D | iwfsmfile.c | 76 IW_INLINE int _fsm_cmp_ptr(const FSMBK *a, const FSMBK *b); 110 IW_INLINE int _fsm_cmp_ptr(const FSMBK *a, const FSMBK *b) { in _fsm_cmp_ptr() 119 IW_INLINE iwrc _fsm_ctrl_wlock(FSM *impl) { in _fsm_ctrl_wlock() 124 IW_INLINE iwrc _fsm_ctrl_rlock(FSM *impl) { in _fsm_ctrl_rlock() 129 IW_INLINE iwrc _fsm_ctrl_unlock(FSM *impl) { in _fsm_ctrl_unlock() 134 IW_INLINE iwrc _fsm_bmptr(FSM *impl, uint64_t **bmptr) { in _fsm_bmptr() 160 IW_INLINE WUR iwrc _fsm_init_fbk(FSMBK *bk, uint64_t offset_blk, uint64_t len_blk) { in _fsm_init_fbk() 176 IW_INLINE iwrc _fsm_del_fbk(FSM *impl, uint64_t offset_blk, uint64_t length_blk) { in _fsm_del_fbk() 201 IW_INLINE void _fsm_del_fbk2(FSM *impl, const FSMBK fbk) { in _fsm_del_fbk2() 222 IW_INLINE iwrc _fsm_put_fbk(FSM *impl, uint64_t offset_blk, uint64_t length_blk) { in _fsm_put_fbk() [all …]
|
D | iwexfile.c | 67 IW_INLINE iwrc _exfile_wlock(IWFS_EXT *f) { in _exfile_wlock() 79 IW_INLINE iwrc _exfile_rlock(IWFS_EXT *f) { in _exfile_rlock() 91 IW_INLINE iwrc _exfile_unlock(IWFS_EXT *f) { in _exfile_unlock() 103 IW_INLINE iwrc _exfile_unlock2(EXF *impl) { in _exfile_unlock2()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | ejdb2_node.c | 22 IW_INLINE bool jn_is_exception_pending(napi_env env) { in jn_is_exception_pending() 101 IW_INLINE bool jn_throw_error(napi_env env, iwrc rc, const char *location, const char *msg) { in jn_throw_error() 140 IW_INLINE napi_value jn_get_ref(napi_env env, napi_ref ref) { in jn_get_ref() 147 IW_INLINE napi_value jn_null(napi_env env) { in jn_null() 154 IW_INLINE napi_value jn_global(napi_env env) { in jn_global() 161 IW_INLINE napi_value jn_undefined(napi_env env) { in jn_undefined() 168 IW_INLINE bool jn_is_null(napi_env env, napi_value val) { in jn_is_null() 178 IW_INLINE bool jn_is_undefined(napi_env env, napi_value val) { in jn_is_undefined() 188 IW_INLINE bool jn_is_null_or_undefined(napi_env env, napi_value val) { in jn_is_null_or_undefined() 192 IW_INLINE napi_value jn_create_string(napi_env env, const char *str) { in jn_create_string() [all …]
|
/third_party/ejdb/src/jbr/ |
D | jbr.c | 61 IW_INLINE void _jbr_http_set_content_length(http_s *r, uintptr_t length) { in _jbr_http_set_content_length() 68 IW_INLINE void _jbr_http_set_content_type(http_s *r, const char *ctype) { in _jbr_http_set_content_type() 75 IW_INLINE void _jbr_http_set_header( in _jbr_http_set_header() 102 IW_INLINE iwrc _jbr_http_error_send(http_s *r, int status) { in _jbr_http_error_send() 106 IW_INLINE iwrc _jbr_http_error_send2(http_s *r, int status, const char *ctype, const char *body, in… in _jbr_http_error_send2() 692 IW_INLINE bool _jbr_ws_write_text(ws_s *ws, const char *data, int len) { in _jbr_ws_write_text() 702 IW_INLINE int _jbr_fill_prefix_buf(const char *key, int64_t id, char buf[static _WS_KEYPREFIX_BUFSZ… in _jbr_fill_prefix_buf()
|
/third_party/ejdb/src/jbl/ |
D | jbl_json.c | 62 IW_INLINE void _jbl_skip_bom(JCTX *ctx) { in _jbl_skip_bom() 69 IW_INLINE int _jbl_hex(char c) { in _jbl_hex()
|
D | jbl.c | 12 IW_INLINE int _jbl_printf_estimate_size(const char *format, va_list ap) { in _jbl_printf_estimate_size() 17 IW_INLINE void _jbn_remove_item(JBL_NODE parent, JBL_NODE child); 451 IW_INLINE jbl_type_t _jbl_binn_type(int btype) { in _jbl_binn_type() 1242 IW_INLINE bool _jbl_visitor_update_jptr_cursor(JBL_VCTX *vctx, int lvl, const char *key, int idx) { in _jbl_visitor_update_jptr_cursor() 1266 IW_INLINE bool _jbn_visitor_update_jptr_cursor(JBN_VCTX *vctx, int lvl, const char *key, int idx) { in _jbn_visitor_update_jptr_cursor() 1502 IW_INLINE void _jbl_node_reset_data(JBL_NODE target) { in _jbl_node_reset_data() 1510 IW_INLINE void _jbl_copy_node_data(JBL_NODE target, JBL_NODE value) { in _jbl_copy_node_data() 1839 IW_INLINE void _jbn_remove_item(JBL_NODE parent, JBL_NODE child) { in _jbn_remove_item() 2087 IW_INLINE JBL_NODE _jbl_node_find2(JBL_NODE node, JBL_PTR ptr) { in _jbl_node_find2()
|
/third_party/ejdb/src/jql/ |
D | jql.c | 35 IW_INLINE void _jql_jqval_destroy(JQP_STRING *pv) { in _jql_jqval_destroy() 400 IW_INLINE jqval_type_t _jql_binn_to_jqval(binn *vbinn, JQVAL *qval) { in _jql_binn_to_jqval() 472 IW_INLINE void _jql_node_to_jqval(JBL_NODE jn, JQVAL *qv) { in _jql_node_to_jqval() 1230 IW_INLINE bool _jql_match_node_field(MCTX *mctx, JQP_NODE *n, iwrc *rcp) { in _jql_match_node_field() 1241 IW_INLINE JQP_NODE *_jql_match_node_anys(MCTX *mctx, JQP_NODE *n, bool *res, iwrc *rcp) { in _jql_match_node_anys()
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 58 IW_INLINE char *_jqp_strdup(struct _yycontext *yy, const char *text) { in _jqp_strdup() 234 IW_INLINE int _jql_hex(char c) { in _jql_hex() 1010 IW_INLINE iwrc _iwxstr_cat2(IWXSTR *xstr, const char *buf) { in _iwxstr_cat2() 1184 IW_INLINE iwrc _print_placeholder(const char *value, jbl_json_printer pt, void *op) { in _print_placeholder()
|
/third_party/ejdb/src/ |
D | ejdb2.c | 9 IW_INLINE iwrc _jb_meta_nrecs_removedb(EJDB db, uint32_t dbid) { in _jb_meta_nrecs_removedb() 18 IW_INLINE iwrc _jb_meta_nrecs_update(EJDB db, uint32_t dbid, int64_t delta) { in _jb_meta_nrecs_update() 491 IW_INLINE iwrc _jb_coll_acquire_keeplock(EJDB db, const char *coll, bool wl, JBCOLL *jbcp) { in _jb_coll_acquire_keeplock() 655 IW_INLINE iwrc _jb_idx_record_remove(JBIDX idx, int64_t id, JBL jbl) { in _jb_idx_record_remove() 790 IW_INLINE iwrc _jb_put_impl(JBCOLL jbc, JBL jbl, int64_t id) { in _jb_put_impl()
|
/third_party/ejdb/src/jbi/ |
D | jbi_selection.c | 86 IW_INLINE int _jbi_idx_expr_op_weight(struct _JBMIDX *midx) { in _jbi_idx_expr_op_weight()
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/ |
D | ejdb2jni.c | 90 IW_INLINE iwrc jbn_db(JNIEnv *env, jobject thisObj, EJDB *db) { in jbn_db() 100 IW_INLINE iwrc jbn_jql_q(JNIEnv *env, jobject thisObj, JQL *q) { in jbn_jql_q()
|