Home
last modified time | relevance | path

Searched refs:IWXSTR (Results 1 – 23 of 23) sorted by relevance

/third_party/iowow/src/utils/
Diwxstr.h35 typedef struct _IWXSTR IWXSTR; typedef
37 IW_EXPORT IWXSTR *iwxstr_new(void);
39 IW_EXPORT IWXSTR *iwxstr_new2(size_t siz);
41 IW_EXPORT void iwxstr_destroy(IWXSTR *xstr);
43 IW_EXPORT iwrc iwxstr_cat(IWXSTR *xstr, const void *buf, size_t size);
45 IW_EXPORT iwrc iwxstr_cat2(IWXSTR *xstr, const char *buf);
47 IW_EXPORT iwrc iwxstr_unshift(IWXSTR *xstr, const void *buf, size_t size);
49 IW_EXPORT iwrc iwxstr_printf(IWXSTR *xstr, const char *format, ...);
51 IW_EXPORT void iwxstr_shift(IWXSTR *xstr, size_t shift_size);
53 IW_EXPORT char *iwxstr_ptr(IWXSTR *xstr);
[all …]
Diwxstr.c20 IWXSTR *iwxstr_new2(size_t siz) { in iwxstr_new2()
22 IWXSTR *xstr = malloc(sizeof(*xstr)); in iwxstr_new2()
35 IWXSTR *iwxstr_new(void) { in iwxstr_new()
39 void iwxstr_destroy(IWXSTR *xstr) { in iwxstr_destroy()
45 void iwxstr_clear(IWXSTR *xstr) { in iwxstr_clear()
50 iwrc iwxstr_cat(IWXSTR *xstr, const void *buf, size_t size) { in iwxstr_cat()
71 iwrc iwxstr_cat2(IWXSTR *xstr, const char *buf) { in iwxstr_cat2()
75 iwrc iwxstr_unshift(IWXSTR *xstr, const void *buf, size_t size) { in iwxstr_unshift()
100 void iwxstr_shift(IWXSTR *xstr, size_t shift_size) { in iwxstr_shift()
114 static iwrc iwxstr_vaprintf(IWXSTR *xstr, const char *format, va_list ap) { in iwxstr_vaprintf()
[all …]
Diwutils.c255 iwrc iwu_replace(IWXSTR **result, in iwu_replace()
279 IWXSTR *bbuf = 0; in iwu_replace()
280 IWXSTR *inter = 0; in iwu_replace()
Diwutils.h398 IW_EXPORT iwrc iwu_replace(IWXSTR **result,
/third_party/ejdb/src/jbl/tests/
Djbl_test1.c27 IWXSTR *res = iwxstr_new(); in _jbl_test1_1()
92 IWXSTR *xstr = iwxstr_new(); in jbl_test1_2()
258 IWXSTR *xstr = iwxstr_new(); in jbl_test1_5()
324 void apply_patch(const char *data, const char *patch, const char *result, IWXSTR *xstr, iwrc *rcp) { in apply_patch()
361 void apply_merge_patch(const char *data, const char *patch, const char *result, IWXSTR *xstr, iwrc … in apply_merge_patch()
401 IWXSTR *xstr = iwxstr_new(); in jbl_test1_6()
630 IWXSTR *xstr = iwxstr_new(); in jbl_test1_7()
782 IWXSTR *xstr = iwxstr_new(); in jbl_test1_9()
802 IWXSTR *xstr = iwxstr_new(); in jbl_test1_10()
839 IWXSTR *xstr = iwxstr_new(); in jbl_test1_11()
/third_party/ejdb/src/tests/
Dejdb_test3.c25 IWXSTR *log = iwxstr_new(); in ejdb_test3_1()
27 IWXSTR *xstr = iwxstr_new(); in ejdb_test3_1()
354 IWXSTR *log = iwxstr_new(); in ejdb_test3_2()
356 IWXSTR *xstr = iwxstr_new(); in ejdb_test3_2()
534 IWXSTR *log = iwxstr_new(); in ejdb_test3_3()
536 IWXSTR *xstr = iwxstr_new(); in ejdb_test3_3()
709 IWXSTR *log = iwxstr_new(); in ejdb_test3_4()
711 IWXSTR *xstr = iwxstr_new(); in ejdb_test3_4()
849 IWXSTR *xstr = iwxstr_new(); in ejdb_test3_5()
944 IWXSTR *xstr = iwxstr_new(); in ejdb_test3_6()
[all …]
Dejdb_test2.c67 IWXSTR *xstr;
100 IWXSTR *xstr = iwxstr_new(); in ejdb_test2_1()
Dejdb_test4.c43 IWXSTR *xstr = iwxstr_new(); in ejdb_test4_1()
Dejdb_test1.c44 IWXSTR *xstr = iwxstr_new(); in ejdb_test1_3()
/third_party/ejdb/src/
Dejdb2.h183IWXSTR *log; /**< Optional query execution log buffer. If set major query execution…
348 IWXSTR *log, EJDB_LIST *listp);
367 IW_EXPORT WUR iwrc ejdb_list4(EJDB db, JQL q, int64_t limit, IWXSTR *log, EJDB_LIST *listp);
Dejdb2.c228 IWXSTR *xstr = iwxstr_new(); in _jb_idx_add_meta_lr()
961 static iwrc _jb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWXSTR *log, IWPOOL *pool) { in _jb_list()
985 static iwrc _jb_count(EJDB db, JQL q, int64_t *count, int64_t limit, IWXSTR *log) { in _jb_count()
1027 iwrc ejdb_list3(EJDB db, const char *coll, const char *query, int64_t limit, IWXSTR *log, EJDB_LIST… in ejdb_list3()
1058 iwrc ejdb_list4(EJDB db, JQL q, int64_t limit, IWXSTR *log, EJDB_LIST *listp) { in ejdb_list4()
/third_party/ejdb/src/jbr/
Djbr.c46 IWXSTR *wbuf;
112 IWXSTR *wbuf = rctx->wbuf; in _jbr_flush_chunk()
158 IWXSTR *wbuf = rctx->wbuf; in _jbr_query_visitor()
409 IWXSTR *xstr = 0; in _jbr_on_get()
458 IWXSTR *xstr = iwxstr_new2(jbl->bn.size * 2); in _jbr_on_options()
726 IWXSTR *xstr = iwxstr_new(); in _jbr_ws_send_error()
808 IWXSTR *xstr = iwxstr_new2(jbl->bn.size * 2); in _jbr_ws_get_document()
888 IWXSTR *wbuf;
896 IWXSTR *wbuf = qctx->wbuf; in _jbr_ws_query_visitor()
961 IWXSTR *wbuf = iwxstr_new(); in _jbr_ws_query()
[all …]
/third_party/ejdb/src/jbr/tests/
Djbr_test1.c24 IWXSTR *xstr = op; in curl_write_xstr()
56 IWXSTR *xstr = iwxstr_new(); in jbr_test1_1()
57 IWXSTR *hstr = iwxstr_new(); in jbr_test1_1()
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c53 IWXSTR *xstr;
63 IWXSTR *xstr = pctx->xstr; in jbn_json_printer()
112 IWXSTR *xstr = pctx->xstr; in jbn_flush_to_stream()
132 IWXSTR *xstr = iwxstr_new(); in jbn_init_pctx()
728 IWXSTR *xstr = iwxstr_new2(jbl_size(doc->raw) * 2); in jbn_exec_visitor()
771 IWXSTR *log = 0; in Java_com_softmotions_ejdb2_JQL__1execute()
853 IWXSTR *log = 0; in Java_com_softmotions_ejdb2_JQL__1execute_1scalar_1long()
/third_party/ejdb/src/jbi/
Djbi_selection.c5 static void _jbi_print_index(struct _JBIDX *idx, IWXSTR *xstr) { in _jbi_print_index()
37 static void _jbi_log_cursor_op(IWXSTR *xstr, IWKV_cursor_op op) { in _jbi_log_cursor_op()
60 static void _jbi_log_index_rules(IWXSTR *xstr, struct _JBMIDX *mctx) { in _jbi_log_index_rules()
/third_party/iowow/src/utils/tests/
Diwutils_test1.c28 IWXSTR *res = 0; in test_iwu_replace_into()
/third_party/ejdb/src/jql/
Djqp.h272 IWXSTR *xerr;
/third_party/ejdb/src/jql/tests/
Djql_test1.c25 IWXSTR *res = iwxstr_new(); in _jql_test1_1()
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Dejdb2_dart.c428 IWXSTR *xstr = iwxstr_new(); in ejd_exec_visitor()
472 IWXSTR *exlog = 0; in ejd_exec_port_handler()
1351 IWXSTR *xstr = 0; in ejd_info_wrapped()
1401 IWXSTR *xstr = 0; in ejd_get_wrapped()
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c854 IWXSTR *xstr = iwxstr_new2(jbl_size(wdata->jbl) * 2); in jn_get_complete()
1063 IWXSTR *xstr = iwxstr_new2(jbl_size(wdata->jbl) * 2); in jn_info_complete()
1420 IWXSTR *log;
1421 IWXSTR *document;
1569 IWXSTR *xstr = iwxstr_new(); in jn_jql_stream_visitor()
/third_party/ejdb/src/jbl/
Djbl.h851 IW_EXPORT iwrc jbl_ptr_serialize(JBL_PTR ptr, IWXSTR *xstr);
Djbl.c807 IWXSTR *xstr = op; in jbl_xstr_json_printer()
1104 iwrc jbl_ptr_serialize(JBL_PTR ptr, IWXSTR *xstr) { in jbl_ptr_serialize()
2854 IWXSTR *xstr = iwxstr_new(); in jbl_merge_patch_jbl()
/third_party/ejdb/src/jql/inc/
Djqpx.c921 IWXSTR *xstr = 0; in _jqp_finish()
1010 IW_INLINE iwrc _iwxstr_cat2(IWXSTR *xstr, const char *buf) { in _iwxstr_cat2()
1016 IWXSTR *xerr = aux->xerr; in yyerror()