Searched refs:error (Results 26 - 50 of 90) sorted by relevance

1234

/system/bluetooth/tools/
H A Dasocket_test.c402 if (fd < 0) goto error;
404 if (_bind(fd, type) < 0) goto error;
406 if (_listen(fd, type) < 0) goto error;
414 error:
424 if (fd < 0) goto error;
426 if (_bind(fd, type) < 0) goto error;
428 if (_listen(fd, type) < 0) goto error;
439 error:
449 if (fd < 0) goto error;
451 if (_bind(fd, type) < 0) goto error;
[all...]
/system/core/toolbox/
H A Dvmstat.c138 int error; local
140 error = read_meminfo(s);
141 if (error) {
142 fprintf(stderr, "vmstat: could not read /proc/meminfo: %s\n", strerror(error));
146 error = read_stat(s);
147 if (error) {
148 fprintf(stderr, "vmstat: could not read /proc/stat: %s\n", strerror(error));
152 error = read_vmstat(s);
153 if (error) {
154 fprintf(stderr, "vmstat: could not read /proc/vmstat: %s\n", strerror(error));
[all...]
H A Dmount.c150 int error = 0; local
184 error = errno;
189 if (error == ENODEV || error == EINVAL)
197 if (error == EACCES &&
206 if (error) {
207 errno = error;
/system/core/libcutils/
H A Dashmem-host.c70 goto error;
73 goto error;
76 error:
/system/core/sh/
H A Dhistedit.c60 #include "error.h"
251 error("history not active");
254 error("missing history argument");
276 error("option -%c expects argument", optopt);
280 error("unknown option: -%c", optopt);
307 error("called recursively too many times");
350 error("too many args");
379 error("can't create temporary file %s", editfile);
382 error("can't allocate stdio buffer for temp");
515 error("histor
[all...]
H A Darith_lex.l47 #include "error.h"
71 error("arith: syntax error: \"%s\"", arith_startbuf);
95 . { error("arith: syntax error: \"%s\"", arith_startbuf); }
H A Dcd.c62 #include "error.h"
98 error("HOME not set");
103 error("PWD not set");
106 error("bad substitution");
139 error("can't cd to %s", dest);
316 error("unexpected argument");
394 error("getcwd() failed: %s", strerror(errno));
407 error("Pipe call failed");
432 error((char *)0);
438 error("pw
[all...]
H A Dmiscbltin.c63 #include "error.h"
118 error("arg count");
270 error("Illegal number: %s", argv[1]);
275 error("Illegal mode: %s", ap);
369 error("internal error (%c)", what);
376 error("too many arguments");
389 error("bad number");
424 error("error settin
[all...]
H A Darith.y48 #include "error.h"
57 int error(char *);
181 error(s)
197 error("arithmetic expression: %s: \"%s\"", s, arith_startbuf);
H A Derror.h1 /* $NetBSD: error.h,v 1.16 2003/08/07 09:05:30 agc Exp $ */
34 * @(#)error.h 8.2 (Berkeley) 5/4/95
66 extern int exerrno; /* error for EXEXEC */
70 #define EXERROR 1 /* a generic error */
93 void error(const char *, ...) __attribute__((__noreturn__));
H A Dsyntax.c9 #error initialisation assumes 'CWORD' is zero
H A Doptions.c60 #include "error.h"
119 error("Bad -c option");
232 error("Illegal option -o %s", name);
247 error("Illegal option -%c", flag);
324 error("can't shift that many");
383 error("usage: getopts optstring var [arg]");
518 error("Illegal option -%c", c);
524 error("No arg for -%c option", c);
H A Dredir.c66 #include "error.h"
102 * standard output, and the standard error if it becomes a duplicate of
150 error("%d: %s", fd, strerror(errno));
245 error("cannot create %s: %s", fname, errmsg(errno, E_CREAT));
247 error("cannot open %s: %s", fname, errmsg(errno, E_OPEN));
264 error("Pipe call failed");
322 * Undo all redirections. Called on error or interrupt.
386 error("%d: %s", from, strerror(errno));
/system/extras/ext4_utils/
H A Dwipe.c59 error("wipe not supported on non-linux platforms");
H A Dcontents.c114 error("failed to allocate inode\n");
122 error("failed to get inode %u", inode_num);
128 error("failed to allocate %u extents", len);
140 error("failed to add . directory");
146 error("failed to add .. directory");
154 critical_error("internal error: dentry for %s ends at %d, past %d\n",
158 error("failed to add directory");
180 error("failed to allocate inode\n");
186 error("failed to get inode %u", inode_num);
209 error("faile
[all...]
H A Dextent.c86 error("Failed to allocate %d blocks\n", block_len + 1);
133 error("File size %llu is too big to fit in a single extent block\n",
189 error("failed to allocate extents for %llu bytes", len);
196 error("failed to create backing for %llu bytes", backing_len);
213 error("failed to allocate extents for %llu bytes", len);
229 error("failed to allocate extents for %llu bytes", len);
H A Dmake_ext4fs.c157 error("can't set android permissions - built without android support");
165 error("cannot lookup security context for %s", sepath);
191 error("unknown file type on %s", dentries[i].path);
209 error("unknown file type on %s", dentries[i].path);
218 error("failed to set permissions on %s\n", dentries[i].path);
221 error("failed to set SELinux context on %s\n", dentries[i].path);
407 error("failed to reserve first 10 inodes");
442 error("cannot lookup security context for %s", sepath);
/system/extras/tests/bionic/libstdc++/
H A Dtest_climits.cpp32 #error "Wrong header file included!!"
H A Dtest_cstdlib.cpp31 #error "Wrong header file included!!"
/system/extras/librank/
H A Dlibrank.c185 int i, j, error; local
218 error = pm_kernel_create(&ker);
219 if (error) {
225 error = pm_kernel_pids(ker, &pids, &num_procs);
226 if (error) {
232 error = pm_process_create(ker, pids[i], &proc);
233 if (error) {
240 error = pm_process_maps(proc, &maps, &num_maps);
241 if (error) {
256 error
[all...]
/system/core/fastboot/
H A Dusb_osx.c277 goto error;
285 goto error;
299 goto error;
305 goto error;
311 goto error;
317 goto error;
323 goto error;
329 goto error;
364 goto error;
370 error
[all...]
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c121 int volatile error; member in struct:__anon504
127 ErrorMgr error = (ErrorMgr) cinfo->err; local
129 (*error->jpeg_mgr.output_message) (cinfo);
132 longjmp(error->jumper, -1);
144 int volatile error = 0; local
156 errmgr.error = 0;
160 fprintf(stderr, "returning error from jpeglib ---\n" );
204 return error;
/system/core/libnl_2/
H A Dsocket.c114 goto error;
118 goto error;
121 error:
/system/extras/libublock/
H A Dublock.c355 goto error;
363 goto error;
374 goto error;
380 goto error;
384 goto error;
396 goto error;
405 error:
/system/core/adb/
H A Dadb_client.c40 /* name from it. two emulators is an error */
236 if(readx(fd, buf, 4)) goto error;
240 if(n > (int)sizeof(buf)) goto error;
241 if(readx(fd, buf, n)) goto error;
244 if (sscanf(buf, "%04x", &version) != 1) goto error;
274 error:
304 fprintf(stderr,"error: %s\n", __adb_error);

Completed in 179 milliseconds

1234