/third_party/ejdb/src/tests/ |
D | ejdb_test3.c | 54 …CU_ASSERT_PTR_NOT_NULL_FATAL(strstr(iwxstr_ptr(log), "[INDEX] MATCHED UNIQUE|I64|10 /f/b EXPR1: '… in ejdb_test3_1() 56 …CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(log), "[INDEX] SELECTED UNIQUE|I64|10 /f/b EXPR1: 'b = 1'… in ejdb_test3_1() 63 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":{\"b\":1},\"n\":1}"); in ejdb_test3_1() 72 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(log), "MATCHED UNIQUE|I64|10 /f/b EXPR1: 'b > 1' " in ejdb_test3_1() 74 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(log), "SELECTED UNIQUE|I64|10 /f/b EXPR1: 'b > 1' " in ejdb_test3_1() 83 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":{\"b\":2},\"n\":2}"); in ejdb_test3_1() 85 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":{\"b\":10},\"n\":10}"); in ejdb_test3_1() 101 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":{\"b\":3},\"n\":3}"); in ejdb_test3_1() 103 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":{\"b\":10},\"n\":10}"); in ejdb_test3_1() 119 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":{\"b\":8},\"n\":8}"); in ejdb_test3_1() [all …]
|
D | ejdb_test2.c | 137 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"a\":\"bar\"}"); in ejdb_test2_1() 140 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"a\":\"gaz\"}"); in ejdb_test2_1() 143 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"a\":\"foo\"}"); in ejdb_test2_1() 146 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":2}"); in ejdb_test2_1() 178 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"a\":\"gaz\"}"); in ejdb_test2_1() 194 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"a\":\"foo\"}"); in ejdb_test2_1() 217 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":1}"); in ejdb_test2_1() 220 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":2}"); in ejdb_test2_1() 223 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":3}"); in ejdb_test2_1() 226 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"f\":5}"); in ejdb_test2_1() [all …]
|
D | ejdb_test1.c | 49 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "{\"foo\":\"bar\",\"baz\":\"qux\"}"); in ejdb_test1_3()
|
/third_party/ejdb/src/jbr/tests/ |
D | jbr_test1.c | 86 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), "1"); in jbr_test1_1() 104 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), in jbr_test1_1() 109 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(hstr), "content-type:application/json")); in jbr_test1_1() 110 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(hstr), "content-length:17")); in jbr_test1_1() 145 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), in jbr_test1_1() 150 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(hstr), "content-type:application/json")); in jbr_test1_1() 151 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(hstr), "content-length:19")); in jbr_test1_1() 172 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(xstr), "33\t{\"foo\":\"b\\nar\"}")); in jbr_test1_1() 173 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(xstr), "1\t{\"foo\":\"bar\"}")); in jbr_test1_1() 192 CU_ASSERT_PTR_NOT_NULL(strstr(iwxstr_ptr(xstr), "[INDEX] NO [COLLECTOR] PLAIN")); in jbr_test1_1() [all …]
|
/third_party/ejdb/src/jbl/tests/ |
D | jbl_test1.c | 57 fprintf(f2, "\n%s", iwxstr_ptr(res)); in _jbl_test1_1() 62 fprintf(stderr, "ED %s\n", iwxstr_ptr(res)); in _jbl_test1_1() 64 CU_ASSERT_EQUAL_FATAL(strcmp(edata, iwxstr_ptr(res)), 0); in _jbl_test1_1() 98 int res = strcmp(iwxstr_ptr(xstr), in jbl_test1_2() 296 res = strcmp(iwxstr_ptr( in jbl_test1_5() 315 res = strcmp(iwxstr_ptr(xstr), in jbl_test1_5() 342 CU_ASSERT_STRING_EQUAL(result2, iwxstr_ptr(xstr)); in apply_patch() 379 CU_ASSERT_STRING_EQUAL(result2, iwxstr_ptr(xstr)); in apply_merge_patch() 790 CU_ASSERT_STRING_EQUAL(iwxstr_ptr( in jbl_test1_9() 830 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(xstr), in jbl_test1_10() [all …]
|
/third_party/iowow/src/utils/tests/ |
D | iwutils_test1.c | 34 fprintf(stderr, "\n%s", iwxstr_ptr(res)); in test_iwu_replace_into() 35 CU_ASSERT_STRING_EQUAL(iwxstr_ptr(res), "What I said about my Mother?!!"); in test_iwu_replace_into()
|
/third_party/ejdb/src/jbr/ |
D | jbr.c | 135 if (fio_write(uuid, iwxstr_ptr(wbuf), iwxstr_size(wbuf)) < 0) { in _jbr_flush_chunk() 167 rc = iwxstr_cat(wbuf, iwxstr_ptr(ux->log), iwxstr_size(ux->log)); in _jbr_query_visitor() 264 _jbr_http_send(req, 200, "text/plain", iwxstr_ptr(ux.log), iwxstr_size(ux.log)); in _jbr_on_query() 435 xstr ? iwxstr_ptr(xstr) : 0, in _jbr_on_get() 484 iwxstr_ptr(xstr), in _jbr_on_options() 740 _jbr_ws_write_text(wctx->ws, iwxstr_ptr(xstr), iwxstr_size(xstr)); in _jbr_ws_send_error() 827 _jbr_ws_write_text(wctx->ws, iwxstr_ptr(xstr), iwxstr_size(xstr)); in _jbr_ws_get_document() 907 rc = iwxstr_printf(wbuf, "%s\texplain\t%s", qctx->key, iwxstr_ptr(ux->log)); in _jbr_ws_query_visitor() 911 _jbr_ws_write_text(qctx->wctx->ws, iwxstr_ptr(wbuf), iwxstr_size(wbuf)); in _jbr_ws_query_visitor() 924 if (!_jbr_ws_write_text(qctx->wctx->ws, iwxstr_ptr(wbuf), iwxstr_size(wbuf))) { in _jbr_ws_query_visitor() [all …]
|
/third_party/iowow/src/utils/ |
D | iwutils.c | 310 rc = iwxstr_cat(inter, iwxstr_ptr(bbuf), iwxstr_size(bbuf)); in iwu_replace() 312 ptr = iwxstr_ptr(inter); in iwu_replace()
|
D | iwxstr.h | 53 IW_EXPORT char *iwxstr_ptr(IWXSTR *xstr);
|
D | iwxstr.c | 201 char *iwxstr_ptr(IWXSTR *xstr) { in iwxstr_ptr() function
|
/third_party/ejdb/src/bindings/ejdb2_dart/lib/ |
D | ejdb2_dart.c | 447 rv2.value.as_string = iwxstr_ptr(xstr); in ejd_exec_visitor() 450 rv3.value.as_string = iwxstr_ptr(ux->log); in ejd_exec_visitor() 511 rv3.value.as_string = iwxstr_ptr(exlog); in ejd_exec_port_handler() 518 result.value.as_string = iwxstr_ptr(exlog); in ejd_exec_port_handler() 1379 rv1.value.as_string = iwxstr_ptr(xstr); in ejd_info_wrapped() 1435 rv1.value.as_string = iwxstr_ptr(xstr); in ejd_get_wrapped()
|
/third_party/ejdb/src/jql/tests/ |
D | jql_test1.c | 58 CU_ASSERT_EQUAL_FATAL(strcmp(edata, iwxstr_ptr(res)), 0); in _jql_test1_1()
|
/third_party/ejdb/src/bindings/ejdb2_jni/src/ |
D | ejdb2jni.c | 121 (*env)->SetByteArrayRegion(env, arr, 0, xsz, (void*) iwxstr_ptr(xstr)); in jbn_flush_to_stream() 739 json = (*env)->NewStringUTF(env, iwxstr_ptr(xstr)); in jbn_exec_visitor() 831 (*env)->SetByteArrayRegion(env, arr, 0, xsz, (void*) iwxstr_ptr(log)); in Java_com_softmotions_ejdb2_JQL__1execute() 899 (*env)->SetByteArrayRegion(env, arr, 0, xsz, (void*) iwxstr_ptr(log)); in Java_com_softmotions_ejdb2_JQL__1execute_1scalar_1long()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | ejdb2_node.c | 861 JNGO(ns, env, napi_create_string_utf8(env, iwxstr_ptr(xstr), iwxstr_size(xstr), &rv), finish0); in jn_get_complete() 1070 JNGO(ns, env, napi_create_string_utf8(env, iwxstr_ptr(xstr), iwxstr_size(xstr), &rv), finish0); in jn_info_complete() 1469 vdoc = jn_create_string(env, iwxstr_ptr(cs->document)); in jn_resultset_tsf() 1485 vlog = jn_create_string(env, iwxstr_ptr(cs->log)); in jn_resultset_tsf()
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 952 rc = jbl_ptr_alloc_pool(iwxstr_ptr(xstr), &aux->orderby_ptrs[cnt], aux->pool); in _jqp_finish() 1051 iwlog_error("%s\n", iwxstr_ptr(aux->xerr)); in jqp_parse()
|
/third_party/iowow/ |
D | Changelog | 418 * Return type of iwxstr_ptr() changed to char* (iwxstr.h)
|
/third_party/ejdb/src/jql/ |
D | jql.c | 1418 return iwxstr_ptr(q->aux->xerr); in jql_error()
|
/third_party/ejdb/src/ |
D | ejdb2.c | 241 if ( !binn_object_set_str(meta, "ptr", iwxstr_ptr(xstr)) in _jb_idx_add_meta_lr()
|
/third_party/ejdb/src/jbl/ |
D | jbl.c | 2860 rc = jbl_merge_patch(jbl, iwxstr_ptr(xstr)); in jbl_merge_patch_jbl()
|