Searched refs:error (Results 1 - 25 of 90) sorted by relevance

1234

/system/extras/tests/bionic/libstdc++/
H A Dtest_cctype.cpp31 #error "Wrong header file included!!"
42 #error "should be a real function"
45 #error "should be a real function"
48 #error "should be a real function"
51 #error "should be a real function"
54 #error "should be a real function"
57 #error "should be a real function"
60 #error "should be a real function"
63 #error "should be a real function"
66 #error "shoul
[all...]
H A Dtest_cassert.cpp32 #error "Wrong header file included!!"
42 #error "assert must be a macro"
H A Dtest_ctime.cpp31 #error "Wrong header file included!!"
44 #error "CLOCKS_PER_SEC must be a macro"
48 #error "should be a real function"
51 #error "should be a real function"
54 #error "should be a real function"
57 #error "should be a real function"
60 #error "should be a real function"
63 #error "should be a real function"
66 #error "should be a real function"
69 #error "shoul
[all...]
H A Dtest_csignal.cpp31 #error "Wrong header file included!!"
43 #error "raise must not be a macro"
47 #error "SIGABRT must be a macro"
51 #error "SIGILL must be a macro"
H A Dtest_cstdio.cpp31 #error "Wrong header file included!!"
43 #error "BUFSIZ must be a macro"
47 #error "EOF must be a macro"
51 #error "FILENAME_MAX must be a macro"
55 #error "FOPEN_MAX must be a macro"
59 #error "L_tmpnam must be a macro"
63 #error "NULL must be a macro"
67 #error "SEEK_CUR must be a macro"
71 #error "SEEK_END must be a macro"
74 #error "SEEK_SE
[all...]
H A Dtest_cstdint.cpp31 #error "Wrong header file included!!"
H A Dtest_csetjmp.cpp31 #error "Wrong header file included!!"
44 #error "longjmp must not be a macro"
48 #error "setjmp must be a macro"
H A Dtest_cstddef.cpp31 #error "Wrong header file included!!"
77 #error "offsetof is not a macro"
88 #error "NULL is not a macro"
H A Dtest_cstring.cpp31 #error "Wrong header file included!!"
66 #error "NULL must be a macro"
H A Dtest_cmath.cpp31 #error "Wrong header file included!!"
/system/extras/libpagemap/
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...]
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...]
/system/core/include/cutils/
H A Datomic-inline.h43 # error "Must define ANDROID_SMP before including atomic-inline.h"
53 #error atomic operations are unsupported
/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/libcutils/
H A Dsocket_local_client.c58 goto error;
75 goto error;
88 goto error;
100 goto error;
113 error:
119 * returns same fd or -1 on error.
120 * fd is not closed on error. that's your job.
135 goto error;
139 goto error;
144 error
[all...]
H A Dashmem-dev.c37 * descriptor, or <0 on error
56 goto error;
61 goto error;
65 error:
/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/core/adb/
H A Dmutex_list.h7 #error ADB_MUTEX not defined when including this file
/system/extras/ext4_utils/
H A Dindirect.c60 error("failed to reserve oob block");
65 error("failed to advance %d blocks", len);
73 error("failed to reserve oob block");
90 error("failed to reserve oob block");
119 error("failed to reserve oob block");
133 error("failed to advance %d blocks", ind_block_len);
149 error("failed to reserve oob block");
179 error("failed to advance %d blocks", len);
200 error("failed to advance oob block");
211 error("faile
[all...]
/system/core/toolbox/grep/
H A Dfile.c112 /* Make sure we exit with an error */
149 goto error;
172 goto error;
176 goto error;
187 goto error;
196 error:
208 goto error;
212 goto error;
217 goto error;
225 error
[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 Dmystring.c57 #include "error.h"
106 * Convert a string of digits to an integer, printing an error message on
115 error("Illegal number: %s", s);
/system/bluetooth/tools/
H A Dsocktest.c416 if (fd < 0) goto error;
418 if (_bind(fd, type) < 0) goto error;
420 if (_listen(fd, type) < 0) goto error;
428 error:
438 if (fd < 0) goto error;
440 if (_bind(fd, type) < 0) goto error;
442 if (_listen(fd, type) < 0) goto error;
453 error:
463 if (fd < 0) goto error;
465 if (_bind(fd, type) < 0) goto error;
[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...]

Completed in 277 milliseconds

1234