Searched defs:error (Results 1 - 22 of 22) sorted by relevance

/system/extras/libpagemap/
H A Dpm_map.c35 int error; local
40 error = pm_map_pagemap(map, &pagemap, &len);
41 if (error) return error;
50 error = pm_kernel_count(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]),
52 if (error) goto out;
62 error = 0;
67 return error;
75 int error; local
80 error
[all...]
H A Dpm_kernel.c30 int error; local
41 error = errno;
43 return error;
48 error = errno;
51 return error;
67 int error; local
87 error = errno;
90 return error;
105 error = errno;
107 return error;
[all...]
H A Dpm_process.c35 int error; local
47 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid);
48 if (error < 0 || error >= MAX_FILENAME) {
49 error = (error < 0) ? (errno) : (-1);
51 return error;
56 error = errno;
58 return error;
61 error
74 int error; local
100 int error; local
165 int error; local
229 int error; local
[all...]
/system/core/libsparse/
H A Dsparse_defs.h46 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); } while (0) macro
47 #define error_errno(s, args...) error(s ": %s", ##args, strerror(errno))
/system/core/sh/
H A Derror.c1 /* $NetBSD: error.c,v 1.31 2003/08/07 09:05:30 agc Exp $ */
38 static char sccsid[] = "@(#)error.c 8.2 (Berkeley) 5/4/95";
40 __RCSID("$NetBSD: error.c,v 1.31 2003/08/07 09:05:30 agc Exp $");
59 #include "error.h"
149 * Exverror is called to raise the error exception. If the second argument
150 * is not NULL then error prints an error message using printf style
151 * formatting. It then raises the error exception.
177 error(const char *msg, ...) function
200 * error/warnin
[all...]
H A Darith.c161 #include "error.h"
170 int error(char *);
180 /* Enabling verbose error messages. */
398 "$end", "error", "$undefined", "ARITH_NUM", "ARITH_LPAREN",
436 means the default is an error. */
475 If YYTABLE_NINF, syntax error. */
579 yyerror ("syntax error: cannot back up");\
905 /* Number of tokens to shift before error messages enabled. */
1078 detect an error, take that action. */
1104 /* Count tokens shifted since error; afte
1567 error(s) function
[all...]
/system/media/audio_utils/
H A Dresampler.c196 int error; local
218 &error);
220 ALOGW("ReSampler: Cannot create speex resampler: %s", speex_resampler_strerror(error));
/system/core/toolbox/
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;
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...]
/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/extras/procmem/
H A Dprocmem.c75 int error; local
102 error = pm_kernel_create(&ker);
103 if (error) {
104 fprintf(stderr, "error creating kernel interface -- "
111 error = pm_process_create(ker, pid, &proc);
112 if (error) {
113 fprintf(stderr, "error creating process interface -- "
119 error = pm_process_workingset(proc, NULL, 1);
120 if (error) {
121 fprintf(stderr, "error resettin
[all...]
/system/extras/procrank/
H A Dprocrank.c126 int error; local
155 error = pm_kernel_create(&ker);
156 if (error) {
162 error = pm_kernel_pids(ker, &pids, &num_procs);
163 if (error) {
182 error = pm_process_create(ker, pids[i], &proc);
183 if (error) {
190 error = pm_process_usage(proc, &procs[i]->usage);
193 error = pm_process_workingset(proc, &procs[i]->usage, 0);
196 error
[all...]
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_mutex.c61 error(int errcode, const char* func, const char* format, ...) function
68 fprintf(stderr, " error=%d: %s\n", errcode, strerror(errcode));
96 #define ERROR(errcode,...) error((errcode),__FUNCTION__,__VA_ARGS__)
H A Dtest_pthread_rwlock.c60 error(int errcode, const char* func, const char* format, ...) function
67 fprintf(stderr, " error=%d: %s\n", errcode, strerror(errcode));
95 #define ERROR(errcode,...) error((errcode),__FUNCTION__,__VA_ARGS__)
/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/netd/
H A DDnsProxyListener.cpp256 uint32_t error = h_errno; local
258 &error, sizeof(error));
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp79 * Checks this thread's OpenSSL error queue and logs if
83 int error = ERR_get_error(); local
85 if (error != 0) {
87 ERR_error_string_n(error, message, sizeof(message));
88 ALOGE("OpenSSL error in %s %d: %s", location, error, message);
187 ALOGE("public key length encoding error: size=%ld, end=%d", publicLen, end - p);
201 ALOGE("private key length encoding error: size=%ld, end=%d", privateLen, end - p);
/system/extras/ext4_utils/
H A Dext4_utils.h59 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); if (!force) longjmp(setjmp_env, EXIT_FAILURE); } while (0) macro
60 #define error_errno(s, args...) error(s ": %s", ##args, strerror(errno))
61 #define critical_error(fmt, args...) do { fprintf(stderr, "critical error: %s: " fmt "\n", __func__, ## args); longjmp(setjmp_env, EXIT_FAILURE); } while (0)
/system/extras/tests/sdcard/
H A Dsysutil.cpp70 // Read a C-string from a file. If the buffer is too short, an error
76 // to end the string) or -1 if there was an error.
96 bool error = false; local
101 while (size > 0 && !error && !eof && attempts < kMaxAttempts)
109 error = EAGAIN != errno && EINTR != errno;
110 if (error)
129 if (error)
162 bool error = false; local
165 while (size > 0 && !error && attempts < kMaxAttempts)
171 error
448 bool error = false; local
523 bool error; local
[all...]
/system/core/libpixelflinger/
H A Dpixelflinger.cpp85 void ggl_error(context_t* c, GGLenum error) argument
87 if (c->error == GGL_NO_ERROR)
88 c->error = error;
/system/core/include/private/pixelflinger/
H A Dggl_context.h548 GGLenum error; member in struct:android::context_t
555 void ggl_error(context_t* c, GGLenum error);
/system/core/sdcard/
H A Dfuse.h549 __s32 error; member in struct:fuse_out_header

Completed in 134 milliseconds