/external/clearsilver/util/ |
rcfs.h | 20 NEOERR * rcfs_init (RCFS **rcfs); 21 NEOERR * rcfs_destroy (RCFS **rcfs); 23 NEOERR * rcfs_load (const char *path, int version, char **data); 24 NEOERR * rcfs_save (const char *path, const char *data, const char *user, 26 NEOERR * rcfs_lock (const char *path, int *lock); 28 NEOERR * rcfs_meta_load (const char *path, HDF **meta); 29 NEOERR * rcfs_meta_save (const char *path, HDF *meta); 30 NEOERR * rcfs_listdir (const char *path, ULIST **list); 31 NEOERR * rcfs_link (const char *src_path, const char *dest_path); 32 NEOERR * rcfs_unlink (const char *path) [all...] |
ulocks.h | 21 NEOERR *fCreate(int *plock, const char *file); 34 NEOERR *fFind(int *plock, const char *file); 59 NEOERR *fLock(int lock); 86 NEOERR *mCreate(pthread_mutex_t *mutex); 107 NEOERR *mLock(pthread_mutex_t *mutex); 119 NEOERR *mUnlock(pthread_mutex_t *mutex); 130 NEOERR *cCreate(pthread_cond_t *cond); 152 NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex); 165 NEOERR *cBroadcast(pthread_cond_t *cond); 177 NEOERR *cSignal(pthread_cond_t *cond) [all...] |
neo_files.h | 25 NEOERR *ne_mkdirs (const char *path, mode_t mode); 26 NEOERR *ne_load_file (const char *path, char **str); 27 NEOERR *ne_load_file_len (const char *path, char **str, int *len); 28 NEOERR *ne_save_file (const char *path, char *str); 29 NEOERR *ne_remove_dir (const char *path); 30 NEOERR *ne_listdir(const char *path, ULIST **files); 31 NEOERR *ne_listdir_match(const char *path, ULIST **files, const char *match); 32 NEOERR *ne_listdir_fmatch(const char *path, ULIST **files, MATCH_FUNC fmatch,
|
neo_net.h | 37 NEOERR *ne_net_listen(int port, int *fd); 38 NEOERR *ne_net_accept(NSOCK **sock, int fd, int data_timeout); 39 NEOERR *ne_net_connect(NSOCK **sock, const char *host, int port, 41 NEOERR *ne_net_close(NSOCK **sock); 42 NEOERR *ne_net_read(NSOCK *sock, UINT8 *buf, int buflen); 43 NEOERR *ne_net_read_line(NSOCK *sock, char **buf); 44 NEOERR *ne_net_read_binary(NSOCK *sock, UINT8 **b, int *blen); 45 NEOERR *ne_net_read_str_alloc(NSOCK *sock, char **s, int *len); 46 NEOERR *ne_net_read_int(NSOCK *sock, int *i); 47 NEOERR *ne_net_write(NSOCK *sock, const char *b, int blen) [all...] |
wdb.h | 75 NEOERR * wdb_open (WDB **wdb, const char *name, int flags); 76 NEOERR * wdb_save (WDB *wdb); 77 NEOERR * wdb_update (WDB *wdb, const char *name, const char *key); 78 NEOERR * wdb_create (WDB **wdb, const char *path, const char *name, 81 NEOERR * wdb_column_insert (WDB *wdb, int loc, const char *key, char type); 82 NEOERR * wdb_column_delete (WDB *wdb, const char *name); 83 NEOERR * wdb_column_update (WDB *wdb, const char *oldkey, const char *newkey); 84 NEOERR * wdb_column_exchange (WDB *wdb, const char *key1, const char *key2); 97 NEOERR * wdb_keys (WDB *wdb, char **primary_key, ULIST **data); 99 NEOERR * wdb_attr_get (WDB *wdb, const char *key, char **value) [all...] |
ulist.h | 28 NEOERR * uListInit(ULIST **ul, int size, int flags); 29 NEOERR * uListvInit(ULIST **ul, ...); 31 NEOERR * uListAppend (ULIST *ul, void *data); 32 NEOERR * uListPop (ULIST *ul, void **data); 33 NEOERR * uListInsert (ULIST *ul, int x, void *data); 34 NEOERR * uListDelete (ULIST *ul, int x, void **data); 35 NEOERR * uListGet (ULIST *ul, int x, void **data); 36 NEOERR * uListSet (ULIST *ul, int x, void *data); 37 NEOERR * uListReverse (ULIST *ul); 38 NEOERR * uListSort (ULIST *ul, int (*compareFunc)(const void*, const void*)) [all...] |
neo_str.h | 58 NEOERR *string_set (STRING *str, const char *buf); 59 NEOERR *string_append (STRING *str, const char *buf); 60 NEOERR *string_appendn (STRING *str, const char *buf, int l); 61 NEOERR *string_append_char (STRING *str, char c); 62 NEOERR *string_appendf (STRING *str, const char *fmt, ...) ATTRIBUTE_PRINTF(2,3); 63 NEOERR *string_appendvf (STRING *str, const char *fmt, va_list ap); 64 NEOERR *string_readline (STRING *str, FILE *fp); 71 NEOERR *string_array_split (ULIST **list, char *s, const char *sep, 88 NEOERR* neos_escape(UINT8 *buf, int buflen, char esc_char, const char *escape, 96 NEOERR *neos_var_escape (NEOS_ESCAPE context [all...] |
neo_hdf.h | 37 typedef NEOERR* (*HDFFILELOAD)(void *ctx, HDF *hdf, const char *filename, 83 NEOERR* hdf_init (HDF **hdf); 179 NEOERR* hdf_get_copy (HDF *hdf, const char *name, char **value, 205 NEOERR * hdf_get_node (HDF *hdf, const char *name, HDF **ret); 235 NEOERR* hdf_set_attr (HDF *hdf, const char *name, const char *key, 324 NEOERR* hdf_set_value (HDF *hdf, const char *name, const char *value); 348 NEOERR* hdf_set_valuef (HDF *hdf, const char *fmt, ...) 350 NEOERR* hdf_set_valuevf (HDF *hdf, const char *fmt, va_list ap); 363 NEOERR* hdf_set_int_value (HDF *hdf, const char *name, int value); 377 NEOERR* hdf_set_copy (HDF *hdf, const char *dest, const char *src) [all...] |
neo_err.h | 26 #define STATUS_OK ((NEOERR *)0) 28 #define INTERNAL_ERR ((NEOERR *)1) 31 /* NEOERR flags */ 61 } NEOERR; 83 * returns: a pointer to a NEOERR, or INTERNAL_ERR if allocation of 84 * NEOERR fails 94 NEOERR *nerr_raisef (const char *func, const char *file, int lineno, 108 NEOERR *nerr_raise_errnof (const char *func, const char *file, int lineno, 124 NEOERR *nerr_passf (const char *func, const char *file, int lineno, 125 NEOERR *err) [all...] |
filter.h | 36 NEOERR *filter_wait(pid_t pid, int options, int *exitcode); 65 NEOERR *filter_create_fd(const char *cmd, int *fdin, int *fdout, int *fderr, 87 NEOERR *filter_create_fp(const char *cmd, FILE **in, FILE **out, FILE **err,
|
neo_server.h | 19 typedef NEOERR *(*NSERVER_REQ_CB)(void *rock, int num, NSOCK *sock); 20 typedef NEOERR *(*NSERVER_CB)(void *rock, int num); 44 NEOERR *nserver_proc_start(NSERVER *server, BOOL debug);
|
ulocks.c | 26 NEOERR *fCreate(int *plock, const char *file) 28 NEOERR *err; 75 NEOERR *fFind(int *plock, const char *file) 92 NEOERR *fLock(int lock) 114 NEOERR *mCreate(pthread_mutex_t *mutex) 134 NEOERR *mLock(pthread_mutex_t *mutex) 144 NEOERR *mUnlock(pthread_mutex_t *mutex) 154 NEOERR *cCreate(pthread_cond_t *cond) 173 NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex) 183 NEOERR *cBroadcast(pthread_cond_t *cond) [all...] |
dict.h | 23 NEOERR *dictCreate(dictCtx *dict, BOOL threaded, UINT32 root, UINT32 maxLevel, 116 NEOERR *dictSetValue(dictCtx dict, const char *id, void *value); 129 typedef NEOERR *(*dictNewValueCB)(const char *id, void *rock, void **new_val); 130 typedef NEOERR *(*dictUpdateValueCB)(const char *id, void *value, void *rock); 132 NEOERR *dictModifyValue(dictCtx dict, const char *id, dictNewValueCB new_cb,
|
neo_err.c | 38 static NEOERR *FreeList = NULL; 46 /* Set this to 1 to enable non-thread safe re-use of NEOERR data 53 static NEOERR *_err_alloc(void) 55 NEOERR *err; 59 err = (NEOERR *)calloc (1, sizeof (NEOERR)); 62 ne_warn ("INTERNAL ERROR: Unable to allocate memory for NEOERR"); 77 static int _err_free (NEOERR *err) 97 NEOERR *nerr_raisef (const char *func, const char *file, int lineno, int error, 100 NEOERR *err [all...] |
skiplist.h | 45 NEOERR *skipNewList(skipList *skip, int threaded, int root, int maxLevel, 129 NEOERR *skipInsert(skipList list, UINT32 key, void *value, int allowUpdate);
|
ulist.c | 24 static NEOERR *check_resize (ULIST *ul, int size) 51 NEOERR *uListInit(ULIST **ul, int size, int flags) 81 NEOERR *uListvInit(ULIST **ul, ...) 83 NEOERR *err; 107 NEOERR *uListAppend (ULIST *ul, void *data) 109 NEOERR *r; 121 NEOERR *uListPop (ULIST *ul, void **data) 132 NEOERR *uListInsert (ULIST *ul, int x, void *data) 135 NEOERR *r; 156 NEOERR *uListDelete (ULIST *ul, int x, void **data [all...] |
/external/clearsilver/cgi/ |
html.h | 34 NEOERR *convert_text_html_alloc (const char *src, int slen, char **out); 35 NEOERR *convert_text_html_alloc_options (const char *src, int slen, 38 NEOERR *html_escape_alloc (const char *src, int slen, char **out); 39 NEOERR *html_strip_alloc(const char *src, int slen, char **out);
|
cgi.h | 34 typedef NEOERR* (*CGI_PARSE_CB)(CGI *, char *method, char *ctype, void *rock); 111 NEOERR *cgi_init (CGI **cgi, HDF *hdf); 140 NEOERR *cgi_parse (CGI *cgi); 191 NEOERR *cgi_register_parse_cb(CGI *cgi, const char *method, const char *ctype, 217 NEOERR *cgi_cs_init(CGI *cgi, CSPARSE **cs); 231 NEOERR *cgi_display (CGI *cgi, const char *cs_file); 244 NEOERR *cgi_output (CGI *cgi, STRING *output); 264 * Function: cgi_neo_error - display a NEOERR call backtrace 266 * NEOERR call backtrace. This function is likely to be 270 * err - a NEOERR (see util/neo_err.h for details [all...] |
cgiwrap.h | 88 NEOERR *cgiwrap_getenv (const char *k, char **v); 104 NEOERR *cgiwrap_putenv (const char *k, const char *v); 117 NEOERR *cgiwrap_iterenv (int n, char **k, char **v); 127 NEOERR *cgiwrap_writef (const char *fmt, ...) 141 NEOERR *cgiwrap_writevf (const char *fmt, va_list ap); 152 NEOERR *cgiwrap_write (const char *buf, int buf_len);
|
date.h | 19 NEOERR *export_date_tm (HDF *obj, const char *prefix, struct tm *ttm); 20 NEOERR *export_date_time_t (HDF *obj, const char *prefix, const char *timezone,
|
/external/clearsilver/util/test/ |
ulist_test.c | 20 NEOERR *TestIntegerStorage() { 21 NEOERR *err; 50 NEOERR *err;
|
/external/clearsilver/dso/ |
dsotest.c | 7 NEOERR *err;
|
/external/clearsilver/java-jni/ |
j_neo_util.h | 17 NEOERR *jni_fileload_cb(void *ctx, HDF *hdf, const char *filename,
|
j_neo_cgi.c | 17 int jNeoErr (JNIEnv *env, NEOERR *err); 22 NEOERR *err; 36 NEOERR *err;
|
/external/clearsilver/cs/ |
cs.h | 176 typedef NEOERR* (*CSOUTFUNC)(void *, char *); 182 typedef NEOERR* (*CSFUNCTION)(CSPARSE *parse, CS_FUNCTION *csf, CSARG *args, 190 typedef NEOERR* (*CSSTRFUNC)(const char *str, char **ret); 200 typedef NEOERR* (*CSFILELOAD)(void *ctx, HDF *hdf, const char *filename, 250 NEOERR *err; 315 NEOERR *cs_init (CSPARSE **parse, HDF *hdf); 334 NEOERR *cs_parse_file (CSPARSE *parse, const char *path); 356 NEOERR *cs_parse_string (CSPARSE *parse, char *buf, size_t blen); 373 * typedef NEOERR* (*CSOUTFUNC)(void *, char *); 379 NEOERR *cs_render (CSPARSE *parse, void *ctx, CSOUTFUNC cb) [all...] |