Home
last modified time | relevance | path

Searched refs:iwrc_set_errno (Results 1 – 25 of 34) sorted by relevance

12

/third_party/iowow/src/platform/unix/
Dunix.c56 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwp_clock_get_time()
63 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwp_clock_get_time()
91 return (errno == ENOENT) ? IW_ERROR_NOT_EXISTS : iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwp_fstat()
95 return (errno == ENOENT) ? IW_ERROR_NOT_EXISTS : iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwp_fstat()
133 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_flock()
146 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_unlock()
157 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_closefh()
177 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_pread()
199 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_read()
221 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_pwrite()
[all …]
/third_party/iowow/src/rdb/
Diwrdb.c28 return (rci ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci) : 0); in _wlock()
33 return (rci ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci) : 0); in _rlock()
38 return (rci ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci) : 0); in _unlock()
48 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _initlocks()
60 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _initlocks()
72 IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci), rc); in _destroy_locks()
126 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwrdb_open()
139 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwrdb_open()
149 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwrdb_open()
/third_party/iowow/src/utils/
Diwstw.c93 iwrc rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in iwstw_shutdown()
116 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, errno); in iwstw_schedule()
151 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwstw_start()
162 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, errno); in iwstw_start()
167 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, errno); in iwstw_start()
Diwarr.c190 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_init()
282 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_push()
305 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_pop()
328 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_shift()
347 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_insert()
385 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_remove()
399 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwulist_unshift()
424 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwlist_init()
525 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwlist_push()
533 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwlist_push()
[all …]
Diwstree.c271 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _iwstree_put()
281 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _iwstree_put()
340 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _iter_push()
/third_party/iowow/src/fs/
Diwfile.c107 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwfs_sync()
111 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwfs_sync()
115 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwfs_sync()
179 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwfs_file_open()
197 rc = iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwfs_file_open()
203 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in iwfs_file_open()
260 rc = iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwfs_file_open()
Diwexfile.c73 return rv ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rv) : 0; in _exfile_wlock()
85 return rv ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rv) : 0; in _exfile_rlock()
97 return rv ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rv) : 0; in _exfile_unlock()
108 return rv ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rv) : 0; in _exfile_unlock2()
120 return rv ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rv) : 0; in _exfile_destroylocks()
139 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in _exfile_initmmap_slot_lw()
143 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in _exfile_initmmap_slot_lw()
159 iwrc rc = iwrc_set_errno(IW_ERROR_ERRNO, errno); in _exfile_initmmap_slot_lw()
266 rc = iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _exfile_sync()
447 rc = iwrc_set_errno(IW_ERROR_ERRNO, errno); in _exfile_remove_mmap_lw()
[all …]
/third_party/ejdb/src/
Dejdb2_internal.h66 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_)
71 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_)
75 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_)
79 if (rci_) IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_), rc_)
84 if (rci_) IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_), rc_); \
Dejdb2.c78 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_coll_load_index_lr()
221 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_coll_init()
230 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_idx_add_meta_lr()
234 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_idx_add_meta_lr()
264 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_coll_add_meta_lr()
275 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_coll_add_meta_lr()
320 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_db_meta_load()
397 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _jb_coll_acquire_keeplock2()
413 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _jb_coll_acquire_keeplock2()
428 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jb_coll_acquire_keeplock2()
[all …]
/third_party/iowow/src/kv/
Diwal.c64 return (rci ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci) : 0); in _lock()
69 return (rci ? iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci) : 0); in _unlock()
107 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _init_locks()
406 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in _rollforward_exl()
694 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in iwal_poke_checkpoint()
712 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in iwal_poke_savepoint()
815 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _cpt_worker_fn()
884 rc = iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwal_online_backup()
993 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _init_cpt()
998 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _init_cpt()
[all …]
Diwkv_internal.h329 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_)
340 if (rci_) return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_)
350 if (rci_) IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_), rc_)
358 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_); \
374 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_); \
387 if (rci_) IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci_), rc_); \
Diwkv.c214 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _iwkv_worker_inc_nolk()
236 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _db_worker_inc_nolk()
260 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _iwkv_worker_dec_nolk()
278 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _db_worker_dec_nolk()
290 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _wnw_iwkw_wl()
299 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _wnw()
312 IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci), rc); in _wnw()
322 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in _wnw_db()
335 IWRC(iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci), rc); in _wnw_db()
350 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _db_at()
[all …]
/third_party/ejdb/src/jbi/
Djbi_sorter_consumer.c121 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbi_scan_sorter_do()
216 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_sorter_consumer()
236 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_sorter_consumer()
241 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_sorter_consumer()
247 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_sorter_consumer()
274 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_sorter_consumer()
Djbi_consumer.c44 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_consumer()
78 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbi_consumer()
/third_party/iowow/src/platform/
Diwp.c150 return iwrc_set_errno(IW_ERROR_ERRNO, errno);
165 return iwrc_set_errno(IW_ERROR_ERRNO, errno);
177 return iwrc_set_errno(IW_ERROR_ERRNO, errno);
/third_party/ejdb/src/jql/
Djql.c105 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_json2()
125 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_json_jbl()
141 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_i64()
153 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_f64()
167 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_str2()
183 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_bool()
197 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_regexp2()
201 iwrc rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_regexp2()
219 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jql_set_null()
268 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jql_init_expression_node()
[all …]
/third_party/iowow/src/log/tests/
Diwlog_test1.c50 rc = iwrc_set_errno(rc, ec); in iwlog_test1()
76 iwrc ecode = iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwlog_test2()
/third_party/ejdb/src/jbr/
Djbr.c162 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_query_visitor()
219 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_on_query()
427 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_on_get()
460 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_on_options()
728 iwlog_ecode_error3(iwrc_set_errno(IW_ERROR_ALLOC, errno)); in _jbr_ws_send_error()
810 rc = iwrc_set_errno(rc, IW_ERROR_ALLOC); in _jbr_ws_get_document()
900 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_ws_query_visitor()
952 iwlog_ecode_error3(iwrc_set_errno(IW_ERROR_ALLOC, errno)); in _jbr_ws_query()
963 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_ws_query()
1017 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbr_ws_info()
[all …]
/third_party/ejdb/src/jbl/
Djbl.c23 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_create_empty_object()
32 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_create_empty_array()
294 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_from_buf_keep()
310 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_clone()
357 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_clone_into_pool()
411 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_create_iterator_holder()
507 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbl_from_json()
787 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in jbl_fstream_json_printer()
799 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in jbl_fstream_json_printer()
1043 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbl_ptr_pool()
[all …]
Djbl_json.c47 ctx->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbl_json_create_node()
198 ctx->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbl_parse_key()
300 ctx->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbl_parse_value()
550 *rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jbl_clone_node_visit()
564 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbn_clone()
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c233 *rcp = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_string()
362 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jb_jbn_alloc()
366 iwrc rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jb_jbn_alloc()
400 *rcp = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_work_create()
405 *rcp = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_work_create()
417 *rcp = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_work_alloc_data()
856 work->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_get_complete()
1065 work->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_info_complete()
1355 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_jql_init()
1360 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in jn_jql_init()
[all …]
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Dejdb2_dart.c407 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in ejd_exec_pause_guard()
412 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in ejd_exec_pause_guard()
430 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in ejd_exec_visitor()
483 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in ejd_exec_port_handler()
579 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in ejd_exec()
652 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in ejd_exec_check()
746 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in ejd_jql_set()
763 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in ejd_jql_set()
776 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in ejd_jql_set()
868 return iwrc_set_errno(IW_ERROR_THREADING_ERRNO, rci); in ejdb2_isolate_shared_open()
[all …]
/third_party/iowow/src/platform/win32/
Dwin32.c39 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwp_clock_get_time()
105 rc = iwrc_set_errno(IW_ERROR_THREADING_ERRNO, errno); in iwp_sleep()
114 return (errno == ENOENT) ? IW_ERROR_NOT_EXISTS : iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_fstat()
/third_party/ejdb/src/jql/inc/
Djqpx.c29 aux->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jqp_malloc()
39 aux->rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jqp_realloc()
49 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jqp_aux_set_input()
68 JQRC(yy, iwrc_set_errno(IW_ERROR_ALLOC, errno)); in _jqp_unit()
81 JQRC(yy, iwrc_set_errno(IW_ERROR_ALLOC, errno)); in _jqp_push()
359 JQRC(yy, iwrc_set_errno(IW_ERROR_ALLOC, errno)); in _jqp_unescaped_string()
381 JQRC(yy, iwrc_set_errno(IW_ERROR_ALLOC, errno)); in _jqp_json_string()
935 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jqp_finish()
940 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in _jqp_finish()
974 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jqp_aux_create()
[all …]
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c134 return iwrc_set_errno(rc, IW_ERROR_ALLOC); in jbn_init_pctx()
730 return iwrc_set_errno(IW_ERROR_ALLOC, errno); in jbn_exec_visitor()
802 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in Java_com_softmotions_ejdb2_JQL__1execute()
872 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in Java_com_softmotions_ejdb2_JQL__1execute_1scalar_1long()
953 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in Java_com_softmotions_ejdb2_JQL__1set_1string()
969 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in Java_com_softmotions_ejdb2_JQL__1set_1string()
980 rc = iwrc_set_errno(IW_ERROR_ALLOC, errno); in Java_com_softmotions_ejdb2_JQL__1set_1string()

12