Home
last modified time | relevance | path

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

/external/clearsilver/util/
Dwdb.c97 return nerr_raise (NERR_NOMEM, in wdb_encode_str_alloc()
137 return nerr_raise (NERR_NOMEM, in wdb_decode_str_alloc()
188 return nerr_raise (NERR_NOMEM, "Unable to allocate memory for WDB"); in wdb_alloc()
246 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
248 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
276 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
293 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
295 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
308 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
314 return nerr_raise (NERR_ASSERT, "Invalid ondisk mapping for %s", k); in wdb_load_defn_v1()
[all …]
Dulocks.c83 return nerr_raise (NERR_NOT_FOUND, "Unable to find lock file %s", file); in fFind()
119 return nerr_raise (NERR_LOCK, "Unable to initialize mutex: %s", in mCreate()
139 return nerr_raise(NERR_LOCK, "Mutex lock failed: %s", strerror(err)); in mLock()
149 return nerr_raise(NERR_LOCK, "Mutex unlock failed: %s", strerror(err)); in mUnlock()
159 return nerr_raise(NERR_LOCK, "Unable to initialize condition variable: %s", in cCreate()
178 return nerr_raise(NERR_LOCK, "Condition wait failed: %s", strerror(err)); in cWait()
188 return nerr_raise(NERR_LOCK, "Condition broadcast failed: %s", in cBroadcast()
199 return nerr_raise (NERR_LOCK, "Condition signal failed: %s", strerror(err)); in cSignal()
Dulist.c40 return nerr_raise(NERR_NOMEM, in check_resize()
64 return nerr_raise(NERR_NOMEM, "Unable to create ULIST: Out of memory"); in uListInit()
70 return nerr_raise(NERR_NOMEM, "Unable to create ULIST: Out of memory"); in uListInit()
124 return nerr_raise(NERR_OUTOFRANGE, "uListPop: empty list"); in uListPop()
141 return nerr_raise(NERR_OUTOFRANGE, "uListInsert: past end (%d > %d)", in uListInsert()
164 return nerr_raise(NERR_OUTOFRANGE, "uListDelete: past end (%d > %d)", in uListDelete()
183 return nerr_raise(NERR_OUTOFRANGE, "uListGet: past end (%d > %d)", in uListGet()
187 return nerr_raise(NERR_OUTOFRANGE, "uListGet: past beginning (%d < 0)", x); in uListGet()
197 return nerr_raise(NERR_OUTOFRANGE, "uListSet: past end (%d > %d)", in uListSet()
Dneo_hdf.c62 return nerr_raise (NERR_NOMEM, "Unable to allocate memory for hdf element"); in _alloc_hdf()
75 return nerr_raise (NERR_NOMEM, in _alloc_hdf()
92 return nerr_raise (NERR_NOMEM, in _alloc_hdf()
358 return nerr_raise (NERR_NOMEM, "Unable to allocate copy of %s", name); in hdf_get_copy()
370 return nerr_raise (NERR_NOMEM, "Unable to allocate copy of %s", name); in hdf_get_copy()
409 return nerr_raise(NERR_ASSERT, "Unable to set attribute on none existant node"); in hdf_set_attr()
433 return nerr_raise(NERR_NOMEM, "Unable to set attr %s to %s", key, value); in hdf_set_attr()
441 return nerr_raise(NERR_NOMEM, "Unable to set attr %s to %s", key, value); in hdf_set_attr()
449 return nerr_raise(NERR_NOMEM, "Unable to set attr %s to %s", key, value); in hdf_set_attr()
455 return nerr_raise(NERR_NOMEM, "Unable to set attr %s to %s", key, value); in hdf_set_attr()
[all …]
Dneo_net.c136 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for NSOCK"); in ne_net_accept()
170 return nerr_raise(NERR_IO, "Host not found: %s", hstrerror(h_errno)); in ne_net_connect()
221 return nerr_raise(NERR_IO, "Connection to %s:%d failed: Timeout", host, in ne_net_connect()
269 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for NSOCK"); in ne_net_connect()
347 return nerr_raise(NERR_IO, "read failed: Timeout"); in ne_net_fill()
393 return nerr_raise(NERR_IO, "write failed: Timeout"); in ne_net_flush()
508 return nerr_raise(NERR_PARSE, "Format error on stream, expected '%c'", end); in _ne_net_read_int()
514 return nerr_raise(NERR_PARSE, "Format error on stream, expected number followed by '%c'", end); in _ne_net_read_int()
542 return nerr_raise(NERR_NOMEM, in ne_net_read_binary()
562 return nerr_raise(NERR_PARSE, "Format error on stream, expected ','"); in ne_net_read_binary()
Dfilter.c37 else return nerr_raise(NERR_SYSTEM, "Child %d returned status %d:", rpid, in filter_wait()
43 return nerr_raise(NERR_SYSTEM, "Child %d died on signal %d:", rpid, r); in filter_wait()
48 return nerr_raise(NERR_SYSTEM, "Child %d stopped on signal %d:", rpid, r); in filter_wait()
51 return nerr_raise(NERR_ASSERT, "ERROR: waitpid(%d, %d) returned (%d, %d)", in filter_wait()
Dneo_str.c92 return nerr_raise (NERR_NOMEM, "Unable to allocate render buf of size %d", in string_check_length()
104 return nerr_raise (NERR_NOMEM, "Unable to allocate STRING buf of size %d", in string_check_length()
167 return nerr_raise(NERR_NOMEM, in string_appendvf()
223 return nerr_raise (NERR_ASSERT, "separator must be at least one character"); in string_array_split()
238 else err = nerr_raise(NERR_NOMEM, in string_array_split()
248 else err = nerr_raise(NERR_NOMEM, in string_array_split()
455 return nerr_raise (NERR_NOMEM, "Unable to allocate memory to escape %s", in neos_escape()
638 return nerr_raise (NERR_NOMEM, "Unable to allocate memory to escape %s", in neos_js_escape()
702 return nerr_raise (NERR_NOMEM, "Unable to allocate memory to escape %s", in neos_url_escape()
790 err = nerr_raise (NERR_ASSERT, "src[x] == '%c'", src[x]); in neos_html_escape()
[all …]
Dneo_files.c79 return nerr_raise (NERR_NOT_FOUND, "File %s not found", path); in ne_load_file_len()
94 return nerr_raise (NERR_NOMEM, in ne_load_file_len()
154 return nerr_raise (NERR_ASSERT, "Path %s is not a directory", path); in ne_remove_dir()
219 return nerr_raise(NERR_ASSERT, "Invalid call to ne_listdir_fmatch"); in ne_listdir_fmatch()
Dneo_hash.c30 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for NE_HASH"); in ne_hash_init()
41 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for NE_HASHNODES"); in ne_hash_init()
91 return nerr_raise(NERR_NOMEM, "Unable to allocate NE_HASHNODE"); in ne_hash_insert()
229 return nerr_raise(NERR_NOMEM, "Unable to allocate memory to resize NE_HASH"); in _hash_resize()
Ddict.c95 return nerr_raise(NERR_ASSERT, "value or new are NULL"); in dictNewItem()
98 return nerr_raise(NERR_NOMEM, "Unable to allocate new dictItem"); in dictNewItem()
102 return nerr_raise(NERR_NOMEM, "Unable to allocate new id for dictItem"); in dictNewItem()
174 return nerr_raise(NERR_NOT_FOUND, "Entry is NULL"); in dictUpdate()
229 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for dictEntry"); in dictInsert()
562 return nerr_raise (NERR_NOMEM, "Unable to allocate memory for dictCtx"); in dictCreate()
Dskiplist.c155 return nerr_raise(NERR_NOMEM, "Unable to allocate space for skipItem"); in skipAllocItem()
367 return nerr_raise(NERR_NOMEM, "Unable to allocate memore for skiplist"); in skipNewList()
370 return nerr_raise(NERR_ASSERT, "maxLevel must be greater than 0"); in skipNewList()
529 return nerr_raise(NERR_ASSERT, "value must be non-zero"); in skipInsert()
531 return nerr_raise(NERR_ASSERT, "key must not be 0 or -1"); in skipInsert()
544 return nerr_raise(NERR_DUPLICATE, "key %u exists in skiplist", key); in skipInsert()
Dneo_err.h87 #define nerr_raise(e,f,...) \ macro
90 #define nerr_raise(e,f,a...) \ macro
Drcfs.c229 return nerr_raise (NERR_NOT_FOUND, "Directory %s doesn't exist", path); in rcfs_listdir()
242 return nerr_raise (NERR_NOMEM, in rcfs_listdir()
Dneo_server.c129 return nerr_raise(NERR_ASSERT, "nserver requires a request callback"); in nserver_proc_start()
/external/clearsilver/cgi/
Dcgiwrap.c103 return nerr_raise (NERR_NOMEM, "Unable to duplicate env var %s=%s", in cgiwrap_getenv()
120 return nerr_raise(NERR_NOMEM, "putenv_cb says nomem when %s=%s", k, v); in cgiwrap_putenv()
129 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for putenv %s=%s", k, v); in cgiwrap_putenv()
132 return nerr_raise(NERR_NOMEM, "putenv says nomem when %s", buf); in cgiwrap_putenv()
147 return nerr_raise(NERR_SYSTEM, "iterenv_cb returned %d", r); in cgiwrap_iterenv()
159 return nerr_raise(NERR_NOMEM, "iterenv says nomem for %s", s); in cgiwrap_iterenv()
165 return nerr_raise(NERR_NOMEM, "iterenv says nomem for %s", s); in cgiwrap_iterenv()
Drfc2388.c47 return nerr_raise (NERR_NOMEM, "Unable to allocate space for val"); in _header_value()
89 return nerr_raise (NERR_NOMEM, "Unable to allocate value"); in _header_attr()
113 return nerr_raise (NERR_NOMEM, "Unable to allocate value"); in _header_attr()
136 return nerr_raise (NERR_NOMEM, "Unable to allocate cgi buf"); in _read_line()
185 return nerr_raise (CGIUploadCancelled, "Upload Cancelled"); in _read_line()
238 return nerr_raise(NERR_ASSERT, "read_header_line exceeded 50MB"); in _read_header_line()
402 err = nerr_raise (NERR_ASSERT, "form-data encoding is not supported"); in _read_part()
562 return nerr_raise (NERR_ASSERT, "No content type header?"); in parse_rfc2388()
569 return nerr_raise (CGIUploadCancelled, "Upload Cancelled"); in parse_rfc2388()
Dhtml.c124 return nerr_raise (NERR_PARSE, "Unable to compile EmailRE: %s", errbuf); in split_and_convert()
129 return nerr_raise (NERR_PARSE, "Unable to compile URLRe: %s", errbuf); in split_and_convert()
325 err = nerr_raise (NERR_ASSERT, "src[x] == '%c'", src[x]); in split_and_convert()
391 err = nerr_raise(NERR_NOMEM, in split_and_convert()
404 err = nerr_raise(NERR_NOMEM, in split_and_convert()
422 err = nerr_raise(NERR_NOMEM, "Unable to allocate memory to convert url"); in split_and_convert()
Dcgi.c391 return nerr_raise (NERR_NOMEM, in _parse_post_form()
411 return nerr_raise (NERR_IO, "Short read on CGI POST input (%d < %d)", in _parse_post_form()
588 return nerr_raise(NERR_ASSERT, "method and type must not be NULL to register cb"); in cgi_register_parse_cb()
592 return nerr_raise(NERR_NOMEM, "Unable to allocate memory to register parse cb"); in cgi_register_parse_cb()
603 return nerr_raise(NERR_NOMEM, "Unable to allocate memory to register parse cb"); in cgi_register_parse_cb()
756 return nerr_raise(NERR_NOMEM, "Unable to allocate space for CGI"); in cgi_init()
893 return nerr_raise(NERR_NOMEM, "Destination too big: %d", *olen); in cgi_compress()
902 return nerr_raise(NERR_SYSTEM, "deflateInit2 returned %d", err); in cgi_compress()
907 return nerr_raise(NERR_SYSTEM, "deflate returned %d", err); in cgi_compress()
/external/clearsilver/cs/
Dcsparse.c265 return nerr_raise (NERR_NOMEM, "Unable to allocate memory for node"); in alloc_node()
378 return nerr_raise (NERR_NOMEM, in _store_error()
409 return nerr_raise (NERR_ASSERT, "path is NULL"); in cs_parse_file()
595 return nerr_raise (NERR_PARSE, "%s Missing end ?> at %s", in cs_parse_string()
601 return nerr_raise (NERR_PARSE, "%s Missing end ?> at %s", in cs_parse_string()
620 return nerr_raise (NERR_PARSE, in cs_parse_string()
652 return nerr_raise (NERR_NOMEM, in cs_parse_string()
682 return nerr_raise (NERR_PARSE, "%s Unknown command %s", in cs_parse_string()
700 return nerr_raise (NERR_PARSE, "%s Non-terminted %s clause", in cs_parse_string()
794 return nerr_raise(NERR_NOMEM, "Unable to allocate memory to create mapped name"); in var_set_value()
[all …]
Dcstest.c33 return nerr_raise(NERR_NOMEM, "Unable to duplicate string in test_strfunc"); in test_strfunc()
/external/clearsilver/util/test/
Dhash_test.c57 err = nerr_raise(NERR_ASSERT, "Unable to find word %s in hash", buf); in dictionary_test()
62 err = nerr_raise(NERR_ASSERT, "Lookup returned wrong word: %s != %s", buf, word); in dictionary_test()
90 err = nerr_raise(NERR_ASSERT, "Unable to find word %s in hash", buf); in dictionary_test()
95 err = nerr_raise(NERR_ASSERT, "Lookup returned wrong word: %s != %s", buf, word); in dictionary_test()
Dnet_test.c90 …err = nerr_raise(NERR_ASSERT, "Incoming length is not equal to expected length: %d != %d", x, uLis… in server_proc()
105 …err = nerr_raise(NERR_ASSERT, "Incoming %d number is not equal to expected: %d != %d", x, i, thing… in server_proc()
116 …err = nerr_raise(NERR_ASSERT, "Incoming %d string is not equal to expected: '%s' != '%s'", x, s, t… in server_proc()
Dulist_test.c39 return nerr_raise(NERR_ASSERT, in TestIntegerStorage()
/external/clearsilver/imd/
Dimd.c221 return nerr_raise(NERR_ASSERT, "Only support gif/jpeg for rotation, ext %s", in rotate_image()
242 return nerr_raise(NERR_ASSERT, "currently only support 90/-90/180 rotations"); in rotate_image()
504 return nerr_raise(NERR_IO, "Unable to opendir %s: [%d] %s", path, errno, in load_images()
749 return nerr_raise(CGIFinished, "Finished"); in dowork_picture()
939 return nerr_raise(CGIFinished, "Finished"); in dowork_album()
1027 return nerr_raise(CGIFinished, "Finished"); in dowork_image()
/external/clearsilver/java-jni/
Dj_neo_util.c257 return nerr_raise(NERR_ASSERT, in jni_fileload_cb()
268 return nerr_raise(NERR_ASSERT, in jni_fileload_cb()